* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: inherit;
  resize: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Poppins;
  src: url(../fonts/Poppins/Poppins-Medium.ttf);
}

@font-face {
  font-family: Poppins-thin;
  src: url(../fonts/Poppins/Poppins-Light.ttf);
}

body {
  margin-top: 48.34px;
  font-family: Poppins, serif;
  background-color: #f7f7f9;
}

.flex {
  display: flex;
  align-items: center;
}

.block {
  display: block;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-center {
  justify-content: center;
}

.self-center {
  align-self: center;
}

.grow {
  flex-grow: 1;
}

.wrap {
  flex-wrap: wrap;
}

#header {
  background-color: white;
  z-index: 1;
  position: fixed;
  height: 48px;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 10px;
}

#myLogo {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  color: #6070ff;
  text-decoration: none;
}

#navbar {
  background: center no-repeat url(../icons/menu.svg);
  background-size: 50%;
  height: 38px;
  width: 38px;
}

#nav__list {
  display: none;
}

#aboutMeSection {
  height: 40rem;
  margin-bottom: 5rem;
  padding-top: 6rem;
  border-bottom-left-radius: 5rem;
}

#humberger {
  position: fixed;
  z-index: 100;
  top: 0;
  bottom: 0;
  width: 100%;
  right: -100%;
  background: hsla(235, 100%, 69%, 90%);
  backdrop-filter: blur(100em);
  -webkit-backdrop-filter: blur(100em);
  mix-blend-mode: multiply;
  padding: 2rem 2rem 0.6rem 2rem;
  gap: 3rem;
  transition: all 0.5s ease;
  opacity: 0;
}

#humberger.active {
  right: 0;
  transition: all 0.6s ease;
  opacity: 1;
}

#humbergerClose {
  height: 30px;
  width: 30px;
  align-self: end;
}

.header__container img,
.header__container2 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: 1s ease-in;
}

#humbergerClose img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#humbergerList {
  list-style: none;
  gap: 2rem;
  align-self: start;
  align-items: start;
}

.black__line {
  width: 50%;
  height: 5px;
  flex-grow: 1;
  border-radius: 7px;
}

.black_line {
  width: 100%;
  height: 5px;
  background-color: #0d151e;
  border-radius: 7px;
  align-self: end;
}

.hidden {
  visibility: hidden;
}

a {
  color: inherit;
}

.humberger__li a {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.eclips__dots {
  position: absolute;
  z-index: -1;
  top: 50px;
  left: 0;
  height: 40rem;
  width: 100%;
  overflow: hidden;
  border-bottom-left-radius: 5rem;
}

.eclips__dots2 {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.eclips__4 {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 41%;
  bottom: 20px;
  border-radius: 50%;
  background: #6070ff;
}

.eclips__11 {
  height: 20px;
  width: 38px;
  position: absolute;
  top: 40px;
  left: -16px;
  background: center no-repeat url(../icons/Ellipse\ 11.svg);
  background-size: contain;
}

.eclips__3 {
  position: absolute;
  width: 90px;
  height: 90px;
  right: -40px;
  top: 55px;
  background: center no-repeat url(../icons/Ellipse\ 3.svg);
  background-size: contain;
}

.eclips__5,
.eclips__b5 {
  position: absolute;
  width: 11px;
  height: 10px;
  left: 132.98px;
  top: 61px;
  background: center no-repeat url(../icons/Ellipse\ 5.svg);
  background-size: contain;
  transform: rotate(52.97deg);
}

.rectangle__7 {
  position: absolute;
  width: 26.46px;
  height: 4.73px;
  left: 127.18px;
  top: 57px;
  background: #6070ff;
  transform: matrix(0.76, 0.65, 0.65, -0.76, 0, 0);
}

.rectange__4 {
  position: absolute;
  width: 75px;
  height: 20px;
  right: -10px;
  top: 41px;
  background-color: #ebebff;
  transform: rotate(-30deg);
}

.rectangle__5 {
  position: absolute;
  width: 68.06px;
  height: 12.18px;
  right: 40.5%;
  bottom: 16px;
  background: #ebebff;
  transform: rotate(23.34deg);
}

.rectangle__6,
.rectangle__b6 {
  position: absolute;
  width: 51.99px;
  height: 9.3px;
  left: -39px;
  top: 30px;
  background: #ebebff;
  transform: rotate(-46.14deg);
}

.eclips__8,
.eclips__b8 {
  position: absolute;
  width: 15px;
  height: 15px;
  left: 214px;
  top: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cbcdff;
}

.eclips__12 {
  position: absolute;
  width: 24.14px;
  height: 12.07px;
  right: 20px;
  bottom: 70px;
  background: center no-repeat url(../icons/Ellipse\ 12.svg);
  background-size: contain;
}

.eclips__13 {
  position: absolute;
  width: 30.1px;
  height: 30.1px;
  right: 25px;
  bottom: 44px;
  background: center no-repeat url(../icons/Ellipse\ 13.svg);
  background-size: contain;
}

.eclips__14 {
  position: absolute;
  width: 11px;
  height: 11px;
  left: 298px;
  top: 315px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cbcdff;
}

.eclips__15 {
  box-sizing: border-box;
  position: absolute;
  width: 15px;
  height: 15px;
  left: 45px;
  bottom: 35px;
  border: 1px solid #cbcdff;
  border-radius: 50%;
}

.about__me {
  width: 100%;

  /* height: fit-content; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px 0 24px;
  gap: 16px;
}

.about__title {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
  width: 15rem;
}

.about__more {
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 30px;
  color: #344563;
}

.about__links {
  color: #7f8cff;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.about__links__icons {
  gap: 10px;
  list-style: none;
}

.about__links__icons li {
  height: 17px;
  width: 17px;
  background-size: contain !important;
}

.about__links__icons :first-child {
  background: no-repeat center url(../icons/twitter.svg);
}

.about__links__icons :nth-child(2) {
  background: no-repeat center url(../icons/linkedin.svg);
}

.about__links__icons :nth-child(3) {
  background: no-repeat center url(../icons/m.svg);
}

.about__links__icons :nth-child(4) {
  background: no-repeat center url(../icons/git.svg);
}

.about__links__icons :nth-child(5) {
  background: no-repeat center url(../icons/peace.svg);
}

.about_paragraph {
  color: #344563;
}

/* Works session */
.works {
  display: grid;
  padding: 10px;
  grid-template-columns: auto;
  gap: 88px;
  margin-bottom: 5rem;

  /* background-color: #344563; */
}

.works > .works__item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1.2px solid #dfe1e6;
  border-radius: 16px;
  padding: 16px;
  gap: 15px;
  overflow: hidden;
}

.project__popup .works__item {
  display: flex;
  flex-direction: column;
  background-color: white;
  gap: 15px;
}

.tonic__details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header__container,
.header__container2 {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.see__project_popup {
  display: none;
  transition: all 0.5s ease;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.act {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project__popup {
  width: 90%;
  height: 90%;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  overflow: scroll;
  padding: 1rem;
}

.works__item .card__head {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.item__title {
  justify-content: space-between;
}

.closePopup {
  cursor: pointer;
  height: 20px;
  width: 20px;
  align-self: start;
  background: center no-repeat url(../icons/cross.svg);
}

.see__project_btn {
  justify-content: space-between;
  width: 100%;
}

.goLive,
.seeCode {
  margin-left: 0.6rem;
  height: 20px;
  width: 20px;
}

.goLive {
  background: center no-repeat url(../icons/golive.svg);
}

.seeCode {
  background: center no-repeat url(../icons/seecode.svg);
}

.project__title {
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
}

.project__tags,
.project__title {
  color: #344563;
}

.project__tags {
  display: flex;
  gap: 12px;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

.project__tags-boulet {
  width: 8px;
  height: 8px;
  background: #c1c7d0;
  border-radius: 50%;
  align-self: center;
}

.gray_color {
  color: #7a869a;
}

.project__languages {
  display: flex;
  list-style: none;
  gap: 8px;
  width: fit-content;
}

.project__languages li {
  padding: 4px 12px;
  background: #ebebff;
  border-radius: 8px;
  color: #6070ff;
}

.see__project,
.get__resume {
  width: fit-content;
  border: 1px solid #6070ff;
  transition: 100ms ease-in-out;
  border-radius: 8px;
  padding: 12px;
  color: #396df2;
  text-align: center;
  letter-spacing: 0.03em;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  background-color: unset;
}

/* about__mySelf section */
.flex-col {
  display: flex;
  flex-direction: column;
}

.about__mySelf {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 5rem;
  background-color: white;
  border-top-right-radius: 5rem;
}

.about__div1,
.about__div2 {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mySelf__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
}

.about__paragraph {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
}

.languages_title {
  display: flex;

  /* height: fit-content; */
  justify-content: space-between;
  padding: 10px;
}

.languages_title p {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: black;
}

.lang__dropdown,
.go__drop {
  background-size: contain;
  height: 20px;
  width: 20px;
  align-self: center;
}

.lang__dropdown {
  background: center no-repeat url(../icons/dopdown_arrow.svg);
}

.go__drop {
  background: center no-repeat url(../icons/go_drop.svg);
}

.languages__pinned {
  flex-direction: column;
  padding: 12px;
  gap: 12px;
  list-style: none;
}

.language__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.language__view {
  gap: 16px;
  background-color: #f7f7f9;
}

.js_icon {
  background: center no-repeat url(../icons/js_icon.svg);
}

.html_icon {
  background: center no-repeat url(../icons/html_icon.svg);
}

.css_icon {
  background: center no-repeat url(../icons/css_icon.svg);
}

.contact_form {
  background-color: #6070ff;
  padding: 80px 20px 40px 20px;
  border-top-left-radius: 5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
  gap: 15px;
}

.contact__title,
.contact__paragraph {
  width: fit-content;
  align-self: center;
}

.contact__title {
  font-size: 40px;
  font-weight: 700;
}

.contact__paragraph {
  font-family: Poppins-thin, serif;
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  font-weight: lighter;
}

.form__list__ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__list__ul li {
  display: flex;
  flex-direction: column;
}

.input__li {
  flex-grow: 1;
}

.input__name,
.input__mail {
  padding: 5px;
  height: 48px;
}

.input__name,
.input__mail,
.input__message,
.submit__form {
  border-radius: 8px;
  outline: none;
  border: unset;
}

.submit__form {
  padding: 12px 16px;
  width: 142px;
}

#errorMsg {
  color: red;
}

.input__message {
  height: 8rem;
  padding: 10px;
}

@media only screen and (min-width: 768px) {
  * {
    text-decoration: none;
  }

  #header {
    padding: 0 70px 0 70px;
  }

  #nav__list {
    list-style: none;
    display: flex;
    align-self: center;
    gap: 32px;
  }

  #navbar {
    display: flex;
    background: unset;
    width: fit-content;
  }

  .nav__li a {
    color: #344563;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
  }

  .about__me {
    width: 60%;
  }

  .about__title {
    width: fit-content;
  }

  .eclips__dots {
    height: 91.5vh;
    background-color: white;
  }

  #aboutMeSection {
    height: 91.5vh;
  }

  .rectange__4 {
    right: 7.6rem;
    width: 155px;
    height: 30px;
  }

  .eclips__3 {
    right: 4.5rem;
    height: 160px;
    width: 160px;
  }

  .eclips__11 {
    height: 70px;
    width: 88px;
    top: 4rem;
    left: 3rem;
  }

  .rectangle__6,
  .rectangle__b6 {
    width: 61.99px;
    height: 13.3px;
    left: 1rem;
    top: 3.6rem;
  }

  .eclips__8 {
    width: 25px;
    height: 25px;
    left: 50rem;
    top: 2rem;
  }

  .rectangle__7 {
    width: 26.46px;
    height: 4.73px;
    left: 40rem;
    top: 5rem;
    transform: rotate(-10deg);
  }

  .eclips__5,
  .eclips__b5 {
    width: 11px;
    height: 11px;
    left: 40.4rem;
    top: 5.3rem;
    border-radius: 50%;
  }

  .eclips__4 {
    width: 30px;
    height: 30px;
    bottom: 2rem;
  }

  .rectangle__5 {
    width: 80px;
    height: 14px;
    right: 40.5%;
    bottom: 1.9rem;
  }

  .eclips__13 {
    width: 33px;
    height: 33px;
    right: unset;
    left: 18rem;
    bottom: 2.82rem;
  }

  .eclips__12 {
    width: 29.14px;
    height: 17.07px;
    right: unset;
    left: 19rem;
  }

  .eclips__15 {
    width: 35px;
    height: 35px;
    left: unset;
    right: 15rem;
    bottom: 10rem;
  }

  /* ----works session */

  .works > .works__item {
    /* width: 100%; */
    margin: auto;
    flex-direction: row;
    height: 496px;
    transition: 150ms ease-in-out;
  }

  .works > .works__item:hover {
    filter: drop-shadow(0 48px 48px rgba(37, 47, 137, 0.08));
    transition: 150ms ease-in-out;
  }

  .order__last {
    order: 2;
  }

  .submit__form {
    margin: auto;
  }

  .see__project:hover,
  .get__resume:hover,
  .submit__form:hover {
    cursor: pointer;
    background-color: #6070ff;
    color: white;
    transition: 100ms ease-in-out;
  }

  .see__project:active,
  .get__resume:active,
  .submit__form:active {
    content: "";
    background-color: #2230d2;
    box-shadow: 0 8px 16px rgba(64, 83, 252, 0.24);
    color: white;
    transition: 100ms ease-in-out;
  }

  .see__project:disabled,
  .get__resume:disabled,
  .submit__form:disabled {
    background-color: #c1c7d0;
    border: 1px solid #c1c7d0;
    color: #5e6c84;
  }

  /* ------about me section---- */
  .about__mySelf {
    flex-direction: row;
    padding: 5% 10%;
  }

  .about__div1 {
    flex-basis: 40%;
  }

  .about__paragraph,
  .contact__paragraph {
    font-family: Poppins-thin, serif;
  }

  .about__div2 {
    flex-grow: 1;
  }

  .lang__dropdown {
    display: none;
  }

  .languages__pinned {
    flex-direction: row;
  }

  .language__view {
    flex-direction: column;
    height: 120px;
    width: 120px;
    border-radius: 8px;
    padding: 15px;
  }

  .language__name {
    align-self: unset;
  }

  .about__links__icons li {
    cursor: pointer;
    transform: scale(1);
    transition: 0.2s ease-in;
  }

  /* ---contact form section---- */
  .eclips__dots2 {
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .contact_form {
    overflow: hidden;
    position: relative;
    gap: 15px;
  }

  .contact__form {
    width: 60%;
    align-self: center;
  }

  .contact_form form {
    width: 50%;
    align-self: center;
  }

  .input__li {
    border-radius: unset;
  }

  .form__list__ul {
    gap: 24px;
  }

  .rectange__b4 {
    position: absolute;
    top: 1.4rem;
    right: 4.3rem;
    width: 80px;
    height: 15px;
    background-color: #7f8cff;
    transform: rotate(-30deg);
  }

  .eclips__b3 {
    position: absolute;
    width: 80px;
    height: 80px;
    right: 3rem;
    top: 2rem;
    background: center no-repeat url(../icons/Ellipse3.svg);
    background-size: contain;
  }

  .eclips__b8 {
    width: 45px;
    height: 45px;
    left: unset;
    right: 10rem;
    top: 23rem;
    border: unset;
    background-color: #7f8cff;
  }

  .rectangle__b6,
  .eclips__b5 {
    background-color: #7f8cff;
  }

  /* Transitions and Animations  */

  #myLogo {
    rotate: y 360deg;
    transition: 10s ease-in-out;
  }

  .about__links__icons li:hover {
    transform: scale(1.5);
    transition: 0.2s ease-out;
  }

  .header__container2 img {
    height: 50vh;
  }

  .header__container img:hover,
  .header__container2 img:hover {
    transition: 1s ease-out;
    transform: scale(1.5);
  }

  .nav__li:hover {
    transition: 1s ease-in-out;
  }

  .nav__li:hover a {
    color: #6070fe;
    font-weight: 500;
  }

  /* cards popups */

  .project__popup {
    overflow: hidden;
  }

  .ttt {
    flex-direction: row;
    gap: 1rem;
  }

  .ttt .tonic__details {
    width: 40%;
  }

  .ttt .project__description {
    width: 60%;
    color: #344563;
  }

  .see__project_btn {
    justify-content: start;
    gap: 1rem;
  }

  .see__project_btn button {
    padding: 0.4rem 1rem;
  }

  .tonic__details hr {
    flex-grow: 0;
    border: 1px solid #ebecf0;
  }
}
