@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crete Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=InaiMathi&display=swap');

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.menu-list {
  display: none;
}

#title {
  font-family: 'Crete Round', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
}

#close-menu {
  border: none;
  color: #67798e;
  background-color: #3c3a39;
  font-size: 25px;
  margin-right: 30px;
  float: right;
  font-weight: 800;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100vh;
  display: block;
  background-color: #3c3a39;
  padding-top: 30px;
  transition: 0.4s;
}

.mobile-nav.is-active {
  left: 0;
}

.project1 {
  padding: 0 24px 24px;
}

.mobile-nav a {
  display: block;
  width: 80%;
  text-align: left;
  padding: 12px 16px;
  color: #fff5e1;
  text-decoration: none;
  border-bottom: 1px solid #6f6c6b;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: #3c3a39;
  padding: 40px;
  padding-bottom: 10px;
}

/* animtions and transitions */
.navbar-brand {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: all 0.3s ease-in-out;
}

#open-menu {
  color: #fff;
  border: none;
  background-color: #3c3a39;
  font-size: 25px;
}

.navbar-brand:hover,
#open-menu:hover,
#close-menu:hover {
  cursor: pointer;
  color: #ff6b00;
  transform: scale(1.5);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.social-icons {
  order: -1;
}

.social i {
  color: #505f79;
  list-style: none;
  margin-inline: 7px;
  font-size: x-large;
}

.navbar i:hover {
  cursor: pointer;
  color: #ff6b00;
  transform: scale(1.9);
}

.socials i:hover,
.social i:hover {
  cursor: pointer;
  color: #ff6b00;
  transform: scale(1.5);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.mobile-container {
  background-color: #1c1a19;
  height: 650px;
}

.info {
  padding: 80px 24px 120px 24px;
}

.see-proj {
  padding: 0 24px 24px 24px;
}

.intro {
  font-family: 'Crete Round', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 46px;
  color: #ff6b00;
  transition: all 0.5s ease-in;
  animation: spin 1s linear 1;
}

.intro:hover {
  cursor: pointer;
  color: #fff;
}

#works {
  padding: 0 24px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.skill {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  animation: color-change 2s infinite alternate;
}

@keyframes color-change {
  0% {
    color: #edda0d;
  }

  25% {
    color: #14932f;
  }

  75% {
    color: #1e1868;
  }

  100% {
    color: #f3f4f7;
  }
}

.bio {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  animation: fade-in 0.8s alternate;
}

.bio:hover {
  cursor: pointer;
  color: #ff6b00;
}

@keyframes fade-in {
  0% {
    opacity: 1;
    color: #ff6b00;
  }

  100% {
    opacity: 0;
  }
}

.projects-btn {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #fff;
  padding: 10px 12px 10px 12px;
  background-color: rgba(255, 255, 255, 0.24);
  border: none;
  margin-left: -8px;
  margin-inline: 5px;
}

.project-btn ul,
li {
  display: flex;
  margin-inline: 5px;
  padding-left: 0;
}

.projects-btn:hover {
  cursor: pointer;
  background-color: #ff6b00;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.works-btn {
  padding: 10px 12px 10px 12px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #091e42;
  background-color: #fff;
  border: 1px solid;
  border-color: #8993a4;
}

.see,
.resume {
  padding: 10px 12px 10px 12px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: #fff;
  background-color: #ff6b00;
  border: none;
}

.see:hover,
.works-btn:hover {
  cursor: pointer;
  color: #f4f5f7;
  background-color: #091e42;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.see-project {
  width: 327px;
  background-color: #ff6b00;
  border: none;
  padding: 20px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: #fff;
}

.sees-project {
  width: 327px;
  background-color: #ff6b00;
  border: none;
  padding: 20px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: #fff;
  margin-top: 38px;
}

.get-in-touch {
  margin-top: 50px;
  padding: 12px;
  background-color: #ff6b00;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  border: none;
}

.sees-project:hover,
.see-project:hover,
.get-in-touch:hover,
.resume:hover {
  cursor: pointer;
  background-color: #8993a4;
  transform: scale(1.01);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.social-icons ul {
  display: flex;
  padding-left: 0;
}

.socials a {
  color: #fff;
  list-style: none;
  margin-inline: 10px;
  margin-left: 0;
  font-size: larger;
  cursor: pointer;
}

.back a {
  text-decoration: none;
  color: #ff6b00;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.mobile-nav a:hover {
  color: #ff6b00;
}

.social-icons li img:hover {
  color: #ff6b00;
}

.projects-background h2,
.projects-heading {
  font-family: 'Crete Round', Arial, Helvetica, sans-serif;
  font-size: 32px;
  color: #fff;
  font-weight: 400;
  margin-top: -5px;
}

.first-page-deco-img {
  background-image: url('./assets/Illustration.png');
  background-repeat: no-repeat;
  height: 300px;
  margin-top: -320px;
  background-position: right;
  padding-right: 0;
}

.recent-works h1 {
  color: #1c1a19;
  font-family: 'crete Round', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 40px;
}

.gymnast {
  background-image: url('./assets/pic.png');
  background-repeat: no-repeat;
  height: 237px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.recent1 {
  font-family: 'Crete Round', Arial, Helvetica, sans-serif;
  font-size: 32px;
  color: #091e42;
  font-weight: 400;
  margin-top: -40px;
}

.About h1 {
  font-family: 'Crete Round', Arial, Helvetica, sans-serif;
  font-size: 72px;
  color: #ff6b00;
  margin-bottom: 10px;
  font-weight: 400;
}

.grid h2:hover,
.flex h1:hover {
  cursor: pointer;
  color: #ff6b00;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.recentp {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #091e42;
  width: 327px;
}

.languages {
  margin-left: -45px;
}

.langu {
  display: flex;
  list-style: none;
}

.projects-background {
  background-image: url('./assets/projects-background.png');
  background-repeat: no-repeat;
  width: 327px;
  height: 370px;
  margin-top: 24px;
}

.background {
  padding: 62px 13px 1px 13px;
}

.gymnast:hover {
  transform: scale(1.05);
}

.projects-background:hover {
  cursor: pointer;
  transform: scale(1.01);
}

.projects-background .para {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #fff;
}

#pro-btn,
#pro-btn1 {
  margin-left: -10px;
}

.projects-background li {
  list-style: none;
}

.About {
  background-color: #1c1a19;
  margin-top: 50px;
  padding: 50px 24px 50px 24px;
}

.About h1:hover {
  cursor: pointer;
  color: white;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(251, 198, 40, 0.5);
}

.About p {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #f4f5f7;
  margin-bottom: 40px;
}

.deco-img {
  background-image: url("./assets/illustration-about-me-mobile.png");
  background-repeat: no-repeat;
  height: 258px;
  margin-right: -23px;
  margin-top: -40px;
  background-position: right;
}

.myUL li {
  margin-top: 100px;
  justify-content: center;
  color: #fff;
  font-family: 'InaiMathi', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-left: -45px;
}

.myUL1 li {
  justify-content: center;
  margin-bottom: 40px;
  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-left: -45px;
}

.myUL2 li {
  justify-content: center;
  margin-bottom: 40px;
  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-left: -45px;
}

.Skills,
.framework {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 32px;
  color: #fff;
  margin-left: -45px;
}

.myUL-frameworks li,
.myUL-skills li {
  justify-content: center;
}

.horizontal {
  border: 1px solid #dfe1e6;
  margin-top: -40px;
}

.social-icon ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.fieldset {
  border: none;
}

.line {
  margin-top: 50px;
  height: 5px;
  display: flex;
  justify-content: center;
}

.contact {
  padding: 1px 1px 10px 1px;
}

.contact-form {
  padding: 40px 24px 80px 24px;
}

.contact-me {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #172b4d;
  line-height: 52px;
}

.name-field,
.email-field {
  border: 1px solid;
  border-color: #ded8d7;
  border-top: none;
  border-left: none;
  border-right: none;
  margin-top: 50px;
  width: 98%;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1919;
  padding-left: 10px;
}

.text-area-field {
  width: 98%;
  background-color: #fbf8f7;
  margin-top: 20px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-style: italic;
  border: none;
  padding-top: 10px;
  padding-left: 10px;
}

.get {
  display: flex;
  justify-content: center;
}

.back {
  margin-top: -20px;
  margin-left: 50px;
}

.modal {
  position: fixed;
  top: 5%;
  left: 63px;
  transform: translate(-50px, -50px) scale(0);
  width: 310px;
  height: 718px;
  transition: 200ms ease-in-out;
  padding: 16px 16px 16px 16px;
  border: 1px solid #dfe1e6;
  background-color: #fff;
  z-index: 98;
}

.modal.active {
  transform: translate(-50px, -50px) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
}

.mod-header {
  margin-top: 4px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  color: #172b4d;
}

#mod-button {
  background-color: #fff;
  color: #67798e;
  font-size: 25px;
  border: none;
  margin-top: 16px;
}

.mod-btn {
  list-style: none;
  padding: 12px;
  border: 1px solid #dfe1e6;
  background-color: transparent;
  color: #3c3a39;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 24px;
  font-weight: 700;
}

.mod-btn:hover {
  cursor: pointer;
  color: #fff;
  background-color: #ff6b00;
  transform: scale(1.05);
}

.mod-buttons {
  display: flex;
  margin-left: -44px;
}

.mod-para {
  color: #344563;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.mod-btns {
  list-style: none;
  padding: 12px;
  border: 1px solid #dfe1e6;
  background-color: #ff6b00;
  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
}

.mod-btns:hover {
  cursor: pointer;
  background-color: #091e42;
  transform: scale(1.05);
}

#overlay {
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 200ms ease-in-out;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

.background1 {
  margin: 40px;
}

@media only screen and (max-width: 768px) {
  .Desktop-heading,
  #my,
  .heading3,
  .mod-header1,
  .first,
  .mod-img1 {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .menu-list {
    display: flex;
    margin-right: 100px;
  }

  .menu {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    margin-inline: 10px;
    transition: all 0.3s ease-in-out;
  }

  /* animations and transitions */
  .menu:hover,
  .menu:active,
  .menu i:hover {
    cursor: pointer;
    color: #ff6b00;
    transform: scale(1.5);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .info {
    display: flex;
  }

  .intro1 {
    width: 40%;
    margin-left: 50px;
  }

  .intro {
    font-size: 72px;
  }

  .skill {
    font-size: 32px;
    margin-top: -50px;
  }

  .recent-works {
    padding: 120px;
  }

  .recent1 {
    margin-top: -70px;
  }

  .bio {
    font-size: 20px;
  }

  .social-icons ul {
    display: inline-block;
    padding-top: 150px;
    margin-left: 30px;
  }

  .socials {
    margin-block: 20px;
  }

  .mobile-container {
    height: 850px;
  }

  .second-img {
    background-image: url('./assets/Illustration-header@2x.png');
    background-repeat: no-repeat;
    height: 768px;
    margin-top: -43%;
    background-position: right;
    background-size: 49%;
  }

  .recentp {
    width: 100%;
  }

  .see {
    height: 50px;
    width: 30%;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    margin-top: 120px;
  }

  .grid h2 {
    padding-top: 45px;
    font-size: 40px;
  }

  .grid p {
    font-size: 20px;
  }

  .gymnast {
    background-image: url('./assets/gymnast.png');
    height: 448px;
    transition: transform 0.3s ease-out;
    margin-top: -30px;
  }

  .About h1 {
    font-size: 72px;
  }

  .flex {
    display: flex;
    flex: 1;
  }

  .hor {
    flex-grow: 1;
    height: 0;
  }

  .flex h1 {
    flex-grow: 0.1;
    margin-top: -20px;
  }

  #bg1 {
    background-image: url('./assets/whitebg.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 435px;
    margin-top: 12px;
  }

  #see-proj-btn {
    width: 370px;
    background-color: #ff6b00;
    border: none;
    padding: 20px;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 17px;
    color: #fff;
    margin-top: 280px;
    position: absolute;
  }

  #see-proj-btn:hover {
    cursor: pointer;
    background-color: #8993a4;
    transform: scale(1.01);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  #bg2 {
    background-image: url('./assets/bg2.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 425px;
    margin-top: 24px;
  }

  #bg3 {
    background-image: url('./assets/bg3.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 425px;
    margin-top: 24px;
  }

  #bg4 {
    background-image: url('./assets/bg4.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 425px;
    margin-top: 24px;
  }

  #bg5 {
    background-image: url('./assets/bg5.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 425px;
    margin-top: 24px;
  }

  #bg6 {
    background-image: url('./assets/bg6.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 425px;
    margin-top: 24px;
  }

  .gymnast:hover {
    transform: scale(1.05);
  }

  .About {
    padding: 130px 142px 130px 142px;
  }

  .About p {
    font-size: 20px;
    line-height: 32px;
  }

  .grider {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .group {
    background-image: url('./assets/Group.png');
    background-repeat: no-repeat;
    height: 353px;
    background-position: right;
    margin-right: -150px;
  }

  .resume {
    margin-bottom: 150px;
  }

  .abilities {
    display: flex;
    margin-top: 144px;
  }

  .myUL li {
    justify-content: left;
  }

  .myUL1 li {
    justify-content: left;
    margin-left: 200px;
  }

  .Skills {
    margin-left: 100px;
  }

  .framework {
    margin-left: 185px;
  }

  #myUL-heading {
    margin-top: -80px;
  }

  .myUL2 li {
    justify-content: left;
    margin-bottom: 40px;
    color: #fff;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 400;
    margin-left: -15px;
  }

  .contact-form {
    padding: 120px 135px 180px 135px;
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    padding-left: 140px;
    padding-right: 140px;
    gap: 40px;
  }

  .Initials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 99%;
  }

  .contact-me {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-align: left;
    color: #172b4d;
    line-height: 52px;
  }

  .get {
    justify-content: left;
  }

  .para {
    margin-right: 40px;
  }

  .hamburger,
  .first-page-deco-img,
  .see-project,
  .projects-heading,
  #whitebg h2,
  #whitebg .para,
  .deco-img,
  .line,
  .btn-ul li,
  .mobile-nav,
  #open-menu,
  .mod-img,
  .mod-header,
  .p,
  .heading1,
  #p,
  #h,
  #pro-btn1 {
    display: none;
  }

  #grid-projects h2 {
    margin-top: 60px;
  }

  #b3 h2 {
    margin-top: 210px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -150px;
    padding: 0 90px;
  }

  #d-heading2 {
    margin-top: 120px;
  }

  #d-heading {
    margin-top: 70px;
  }

  .modal {
    width: 80%;
    height: 631px;
    top: 13%;
    left: 15%;
  }

  .images-popup {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
  }

  #modal-btn {
    margin-top: 40px;
  }

  .mod-para {
    line-height: 30px;
    font-size: 16px;
    margin-top: -20px;
  }

  .mod-header1 {
    font-family: 'Crete Round', Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 44px;
    letter-spacing: 0;
    text-align: left;
  }
}
