@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu", sans-serif;
  box-sizing: border-box;
  transition: all 0.4s ease;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 10px;
}

/* navbar section */

.nav-colored {
  background-color: rgb(212, 28, 28);
  padding: 1.5rem 7rem !important;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  transition: all 0.5s ease;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 2.3rem 7rem;
}
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-item {
  margin-left: 6rem;
}

.nav-link {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 500;
}

.change a:hover {
  color: var(--main-bg-color);
}
.nav-logo span {
  color: var(--main-bg-color);
}
.nav-logo {
  color: white;
  font-size: 3.3rem;
  font-weight: 600;
  margin-left: 6rem;
}
.hamburger {
  display: none;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  display: block;
  margin: 5px auto;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

/* home section */

.home {
  margin-top: -10rem;
}
.home-background {
  background-color: black;
  padding-bottom: 8rem;
  display: flex;
}
.home-content {
  margin-top: 14rem;
  margin-left: 13rem;
  color: white;
}
.profile {
  margin-top: 13rem;
  margin-left: 12rem;
}
.profile img {
  width: 29rem;
  height: 29rem;
  object-fit: cover;
  border-radius: 33.5rem;
}

.text-1 {
  font-size: 3rem;
}
.text-2 {
  font-size: 7rem;
  font-weight: 600;
}
.text-3 {
  font-size: 4rem;
  font-weight: 500;
  color: #c4bebe;
}
.abt-flex {
  display: flex;
  margin-bottom: 5.4rem;
  flex-wrap: wrap;
  transition: all 0.3s linear;
}
/* start skills */
.head .title {
  text-align: center;
  font-size: 4rem;
  margin-top: 6rem;
  font-weight: 600;
}
.head p {
  text-align: center;
  margin-top: 1rem;
  font-size: 2rem;
  color: #3d3232;
}
.skills-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}
.skill-list {
  min-height: 8rem;
  display: flex;
  align-items: center;
  padding: 2rem;
  border-radius: 15px;
}
.skill-list:hover {
  background-color: black;
  color: white;
}
.skill-list i {
  font-size: 5rem;
}
.skill-list svg {
  font-size: 5rem;
  color: #509941;
}
.skills-list p {
  font-size: 2rem;
  margin-left: 3rem;
}
.fa-js-square {
  color: #dd9c25;
}
.fa-java {
  color: #006b8f;
}
.fa-html5 {
  color: #e96227;
}
.fa-css3-alt {
  color: #2862e9;
}
.fa-sass {
  color: #c76395;
}
.fa-bootstrap {
  color: #7f4dcb;
}
.fa-react {
  color: #5ed3f3;
}
.fa-node-js {
  color: #509941;
}
.fa-digital-ocean {
  color: rgb(0, 97, 235);
}
.fa-git-alt {
  color: #e84d31;
}
.fa-github {
  color: #f67c7d;
}

/*end skills */

.abt-left {
  display: flex;
  justify-content: center;
}
.abt-left img {
  width: 38rem;
  height: 36rem;
  object-fit: cover;
  border-radius: 33.5rem;
}
.abt-right {
  flex: 2 1 39rem;
  margin: 0 auto;
  margin-top: 4rem;
}
.abt-name {
  font-size: 2rem;
  font-weight: 600;
  line-height: 5rem;
}
.abt-detail {
  text-align: justify;
  font-size: 1.5rem;
  font-weight: lighter;
}
.abt-detail >ul > li{
  list-style: disc;
}
.abt-detail >ul {
  margin-left: 3rem;
}

.abt-right span {
  color: var(--main-bg-color);
}
.abt-item {
  margin-right: 2rem;
}

/* start work styling */
.box {
  width: 43rem;
  height: 27rem;
  position: relative;
  margin: 2rem;
  transition: all 0.5s ease;
  /* margin-bottom: 10rem; */
  overflow: hidden;
  border-radius: 0.6rem;
}

.work__link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--main-bg-color);
  opacity: 0;
  top: 0;
  left: 0;
  transition: all 0.5s ease;
  padding: 1.5rem;
}
.overlay .overlay__text h2 {
  display: block;
  margin-bottom: 16px;
  font-size: 2.5rem;
  color: white;
}
.overlay .overlay__text p {
  font-size: 1.5rem;
  color: black;
  text-align: justify;
  font-family: 'Times New Roman', Times, serif;

}

.overlay__link a {
  font-size: 1.5rem;
  background: black;
  padding: 1.2rem 1.8rem;
  border-radius: 10px;
  display: inline-block;
  color: #fff;
}
.overlay__technology span {
  margin-bottom: 1.4rem;
  display: block;
  color: black;
  font-size: 1.3rem;
  font-family: 'Times New Roman', Times, serif;
}

.overlay__technology h3 {
  margin: 1.2rem 0;
  color: white;
  font-size: 2rem;
}
.box:hover .overlay {
  opacity: 1;
}
.more-abt {
  background-color: red !important;
  /* z-index: 100; */
  position: static;
  /* width: 100%; */
  /* height: 16%; */
  background-color: black;
  /* top: 24rem; */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto;
}
/* .overlay a {
  font-size: 5rem;
  font-weight: bolder;
  color: #fff;
} */

.zoom {
  height: 100%;
  width: 100%;
  transition: all 0.5s ease;
  object-fit: contain;
  /* background-color: rgb(212, 28, 28); */
}
.box:hover .zoom {
  transform: scale(1.2);
}
.work-head .title {
  text-align: center;
  font-size: 4rem;
  padding: 2rem 0px;
}
.p-work {
  display: flex;
  height: auto;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
/* end work styling  */

.skill-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.line {
  width: 100%;
  height: 0.5rem;
  background-color: lightgray;
  position: relative;
}
.line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: var(--main-bg-color);
  transition: all 0.5s ease;
}
.html::before {
  width: 90%;
}
.css::before {
  width: 80%;
}
.JavaScript::before {
  width: 30%;
}
.python::before {
  width: 70%;
}
.django::before {
  width: 30%;
}

.bars:not(:first-child) {
  margin-top: 3rem;
}
.contact-flex {
  display: flex;
  margin: 2rem 0;
  font-size: 1.4rem;
  align-items: center;
}
.detail {
  margin-left: 2rem;
}
.logo img {
  filter: invert(19%) sepia(75%) saturate(7055%) hue-rotate(341deg)
    brightness(89%) contrast(94%);
}
.contact-right {
  width: 50%;
  height: 30rem;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 10rem 8rem;
  grid-template-columns: 1fr 1fr;
  row-gap: 1rem;
  column-gap: 1rem;
  font-size: 2rem;
}
.contact-right h3 {
  grid-column: 1 / span 2;
  padding-top: 2rem;
}
.contact-right input {
  height: 2rem;
}
.contact-right input,
textarea {
  padding: 2.3rem 0;
  border-radius: 0.7rem;
  padding-left: 1rem;
  border: 0.1rem solid gray;
}
.colum {
  grid-column: 1 / span 2;
}
.send {
  width: 13rem;
  height: 1.5rem;
}
.footer {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 2.5rem;
}
.footer a {
  font-size: 2rem;
  color: var(--main-bg-color);
}
.footer span {
  color: #fff;
  font-size: 2rem;
}
.go-up {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  background-color: var(--main-bg-color);
  position: fixed;
  right: 4rem;
  bottom: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
