* {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  text-decoration: none;
}

.name::placeholder,
.email::placeholder,
.msg::placeholder {
  color: gray;
}

.about-items h3 {
  margin-left: 10px;
}

.btn-cv {
  background: #fff;
  border-radius: 8px;
  width: 142px;
  height: 48px;
  left: 24px;
  border: 1px solid #7f8cff;
  top: 5317px;
  align-items: center;
  padding: 12px 16px;
  color: #6070ff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 17px;
}

.lf {
  width: 100%;
}

.headie {
  padding-top: 118px;
  animation: slideIn 2s ease-in-out;
}

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
    color: #ff5733;
  }

  100% {
    transform: translateX(0);
    color: #05175f;
  }
}

.white-cover {
  background-color: #fff;
}

.skills-js {
  height: 30px;
  align-items: center;
}

.ul-categories {
  width: 100%;
  box-sizing: border-box;
}

img:hover {
  transform: scale(1.04);
}

ul {
  list-style: none;
}

body {
  background-color: #e5e5e5;
  margin: 0;
}

.landing-page {
  width: 100%;
  height: 100vh;
  background-color: #fff;
}

.desktop-container {
  display: none;
}

.mobile-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.logo {
  margin-left: 40px;
  color: #6070ff;
  font-family: "poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.hamburger.active span {
  background-color: white;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger {
  z-index: 2;
  margin-right: 15px;
}

.bar {
  display: block;
  background-color: #6070ff;
  width: 30px;
  height: 3px;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  left: 100%;
  top: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  background-color: rgba(41, 58, 208, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.menu-mobile.active {
  left: 0;
}

.nav-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  height: 100vh;
  top: 15%;
}

.a-links {
  color: white;
  font-size: 30px;
  text-decoration: none;
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 92px 0;
  background-image: url("./assets/images/mobile-bg-image.png");
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0;
  width: 100%;
  height: 604px;
  position: top left;
  border-bottom-left-radius: 60px;
}

.headline-text {
  margin: 0;
  padding-left: 24px;
  padding-right: 24px;
  width: 87.2%;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  display: flex;
  align-items: center;
  color: #172b4d;
}

.headline-paragraph {
  margin: 0;
  padding-left: 24px;
  padding-right: 24px;
  width: 87.2%;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #344563;
  align-items: center;
}

.heading-social {
  margin: 0;
  padding-left: 24px;
  height: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #7f8cff;
}

.icons {
  display: flex;
  flex-direction: row;
  padding-left: 24px;
  gap: 0 12px;
}

.projects-section {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(1fr);
  margin-top: 40px;
  gap: 50px;
  margin-left: 10px;
  margin-right: 10px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-radius: 16px;
  border: solid #e5e5e5 1px;
  background-color: #fff;
}

.card-image {
  width: 100%;
}

.modals .card-image {
  width: 100%;
  height: 300px;
}

.tonic-area {
  width: 100%;
}

.card-details {
  color: #172b4d;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
}

.projects-section-desktop {
  display: none;
}

.highlight {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.highlight-text {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 13px;
  font-style: normal;
  line-height: 16px;
  color: #344563;
}

.countertext {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-style: normal;
  font-weight: 600;
  color: #7a869a;
}

.year {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #7a869a;
  font-size: 13px;
  line-height: 16px;
}

.card-description {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 24px;
  font-style: normal;
  font-weight: 400;
  color: #344563;
}

.skills {
  display: float;
  display: flex;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #6070ff;
  list-style-type: none;
  gap: 16px;
  padding-left: 0;
}

.skills li {
  float: left;
  background: #ebebff;
  border-radius: 8px;
  padding: 4px 12px;
}

.popup {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  border-radius: 8px;
  background-color: inherit;
  padding: 8px;
  gap: 10px;
  line-height: 24px;
  color: #396df2;
  border: 1px solid #6070ff;
  text-decoration: none;
}

.about {
  background-color: #fff;
  border-top-right-radius: 50px;
  padding-top: 8%;
  margin-top: 12px;
  width: 100%;
}

#about {
  padding-top: 150px;
}

.connect {
  color: #7f8cff;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.heading-main {
  color: #172b4d;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.lang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #000;
  margin-left: 24px;
  margin-top: 0;
  margin-bottom: 0;
  list-style-type: none;
  padding-left: 0;
}

.lang li h4 {
  width: 254px;
}

.icons-lang {
  list-style-type: none;
  padding-left: 0;
}

.arrows {
  width: 256px;
}

.icons-lang li {
  display: flex;
  align-items: center;
  background: #f7f7f9;
  border-radius: 8px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #253858;
  margin: 16px;
  gap: 16px;
  padding: 12px;
}

.Separator {
  width: 100%;
}

#soc_icons {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style-type: none;
  padding-left: 8px;
}

.skills li:hover {
  cursor: pointer;
  background-color: #6070ff;
  color: #fff;
}

.popup:hover {
  cursor: pointer;
  color: #fff;
  background-color: #6070ff;
}

.popup:active {
  box-shadow: 2px 2px 5px #6070ff;
}

.contact-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #6070ff;
  width: 100%;
  height: 900px;
  border-radius: 70px 0 0 0;
  background-image: url("./assets/images/contact\ form\ shapes-mobile@2x.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 12px 0 12px;
}

.contact-heading {
  font-family: "poppins", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #fff;
  padding-top: 130px;
}

.contact-description {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ebebff;
  padding: 0 0 0 24px;
}

.name {
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 327px;
  height: 48px;
}

input::placeholder {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 17px;
  padding: 16px;
  color: #172b4d;
}

.email {
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 327px;
  height: 48px;
}

textarea {
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  width: 327px;
  height: 170px;
}

textarea::placeholder {
  color: #b3bac5;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding: 16px;
}

.btn {
  background: #fff;
  border-radius: 8px;
  width: 142px;
  height: 48px;
  left: 24px;
  border: 1px solid #7f8cff;
  top: 5317px;
  align-items: center;
  padding: 12px 16px;
  color: #6070ff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 17px;
}

.btn:active {
  background-color: #2230d2;
}

.btn:hover {
  color: #6070ff;
}

.shape {
  display: grid;
  width: 134px;
  place-items: center;
  margin-top: 55px;
}

#error-msg {
  background-color: red;
  color: #050505;
  visibility: hidden;
}

.overlays {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 823px;
  background: #c1c7d0;
  visibility: hidden;
}

.overlays:target {
  visibility: visible;
  opacity: 1;
}

.modals {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  overflow: hidden;
  position: fixed;
  height: 100vh;
  z-index: 2;
  background: #fff;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
}

::-webkit-scrollbar {
  width: 0; /* For vertical scrollbar */
  height: 0; /* For horizontal scrollbar */
}

.title {
  width: 259px;
  height: 8px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
  margin-left: -40px;
}

.mobile-popup-window .close-btn {
  position: absolute;
  color: #67798e;
  margin-top: 32px;
  margin-right: 15px;
  display: flex;
  align-self: flex-end;
  align-content: flex-end;
  font-size: 30px;
}

.close-btn:target {
  visibility: visible;
}

.modals .highlight-text {
  margin-left: -90px;
}

.modals .skills {
  margin-left: -115px;
}

.border {
  border: 1px solid #ebecf0;
  width: 100%;
  margin-top: -10px;
}

.modal-links {
  display: flex;
  margin-top: 6px;
  margin-left: -15px;
}

.see-link {
  margin-right: 14px;
}

.modal-links a {
  margin: 0 0.5rem;
  font-weight: 700;
  font-size: 14px;
  color: #6070ff;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #7f8cff;
  display: flex;
  padding: 10px 23px;
  align-items: center;
}

.desktopModal {
  display: none;
}

.ul-categories img {
  width: 100%;
  height: 380px;
}

@media screen and (min-width: 767px) {
  .ul-categories img {
    width: 100%;
  }

  .landing-page {
    width: 100%;
    margin: auto;
    height: 100vh;
    border-radius: 0 0 0 70px;
  }

  .mobile-container {
    display: none;
  }

  .desktop-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    background-color: #fff;
    height: 48px;
    top: 0;
  }

  .logo {
    margin-left: 80px;
    color: #6070ff;
    font-family: "poppins", sans-serif;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.5s ease-out;
  }

  .logo:hover {
    background-color: #e5e5e5;
  }

  .desktop-nav-menu {
    margin-right: 100px;
  }

  .nav-tabs {
    list-style-type: none;
    padding: 0;
  }

  .tab-links {
    display: inline-block;
    padding: 0 1.25rem;
  }

  .tab-links a {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #344563;
    text-decoration: none;
    transition: all 0.5s ease-out;
  }

  .modal-links {
    display: flex;
    margin-top: 6px;
    padding-left: 30px;
  }

  .modal-links a {
    margin: 0 0.5rem;
    font-weight: 700;
    font-size: 14px;
    color: #6070ff;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #7f8cff;
    display: flex;
    padding: 10px 23px;
    align-items: center;
    margin-right: 0%;
  }

  .tab-links:hover a {
    text-decoration: none;
    color: #344563;
    background-color: #e5e5e5;
    transform: scale(1.04);
  }

  .nav-link:hover {
    color: #344563;
    background-color: #e5e5e5;
    transform: scale(1.04);
  }

  .headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("./assets/images/header-bg.png");
    background-repeat: no-repeat;
    background-position: 20px 0;
    height: 100vh;
    width: 100%;
  }

  .headline-text {
    padding-top: 116px;
  }

  #headline-paragraph,
  #headline-text {
    width: 64%;
  }

  .about .headline-paragraph {
    font-weight: 500;
    font-size: 16px;
  }

  #heading-social,
  #icons {
    align-self: flex-start;
    position: relative;
    left: 16%;
  }

  .break {
    display: none;
  }

  .projects-section {
    display: none;
  }

  .projects-section-desktop {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(1fr);
    place-items: center;
    margin-top: 100px;
    gap: 50px;
  }

  .projects-section-desktop .card {
    display: flex;
    flex-direction: row;
    border: 1px solid #dfe1e6;
    height: 496px;
    width: 80%;
  }

  .projects-section-desktop .card-image {
    width: 47%;
    margin: 2%;
    height: 400px;
  }

  .projects-section-desktop .tonic-area {
    color: #344563;
    font-size: 2vw;
    margin: 2%;
    width: 46%;
  }

  .projects-section-desktop .cards-details {
    color: #091e42;
  }

  .projects-section-desktop .highlight-text {
    margin: 10px 10px 10px 0;
  }

  .projects-section-desktop .countertext {
    margin: 10px;
  }

  .projects-section-desktop .year {
    margin-left: 10px;
  }

  .projects-section-desktop .skills {
    margin: 20px 10px 30px 0;
  }

  .project2 {
    flex-direction: row-reverse !important;
  }

  #project4 {
    flex-direction: row-reverse;
  }

  .about {
    display: flex;
    flex-direction: row;
    margin: 50px 0 0 0;
    width: 100%;
    height: auto;
  }

  .about-mobile {
    margin-top: -10.4%;
    margin-bottom: 50px;
    width: 50%;
    box-sizing: border-box;
    margin-right: 1.5%;
  }

  .about-lang {
    margin-top: -12%;
    margin-bottom: 80px;
    font-size: 2vw;
    width: 53%;
  }

  .lang {
    margin-top: 12px;
  }

  .icons-lang {
    display: flex;
    flex-direction: row;
  }

  .icons-lang li {
    align-items: flex-start;
    margin-top: 0;
    margin-right: 5px;
  }

  .li-icons {
    display: flex;
    flex-direction: column;
    width: 122px;
    height: 120px;
  }

  .Separator {
    width: 100%;
  }

  .contact-page-container {
    background-image: url("./assets/images/contact\ form\ background\ shapes@2x.png");
    width: 100%;
    margin-bottom: 0;
  }

  .contact-description {
    width: 40%;
    position: bottom;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #ebebff;
  }

  .form {
    align-items: center;
  }

  .shape {
    display: none;
  }

  .btn:hover {
    background-color: #6070ff;
    color: fff;
  }

  .arrows {
    width: 2px;
  }

  .desktopModal {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(1fr);
    place-items: center;
    margin: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    background: #c1c7d0;
    height: 100vh;
    transform: matrix(0.5);
    visibility: hidden;
  }

  .desktopModal:target {
    visibility: visible;
    opacity: 1;
  }

  .desktopModal .card {
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe1e6;
    width: 80%;
    margin-top: 77px;
    background: #fff;
  }

  .desktopModal .card-image {
    width: 50%;
    margin: 2%;
    max-height: 350px;
    align-self: center;
  }

  .desktopModal .tonic-area {
    color: #344563;
    font-size: 2vw;
    width: 96%;
  }

  .desktopModal .tonic-area2 {
    display: flex;
    flex-direction: row;
    color: #344563;
    font-size: 2vw;
    width: 96%;
  }

  .desktopModal .cards-details {
    color: #091e42;
  }

  .desktopModal .highlight-text {
    margin: 10px 10px 10px 0;
  }

  .desktopModal .countertext {
    margin: 10px;
  }

  .desktopModal .year {
    margin-left: 10px;
  }

  .desktopModal .cards-description {
    width: 67%;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #344563;
    margin-right: 34px;
  }

  .desktopModal .skills {
    margin: 20px 10px 30px 0;
    display: flex;
    flex-flow: row wrap;
    width: 350px;
  }

  .desktopModal .skills :hover {
    background-color: #6070ff;
    color: #fff;
  }

  .desktopModal .skills li {
    background: #ebebff;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    list-style: none;
  }

  .border {
    border: 1px solid #ebecf0;
    width: 80%;
    margin-left: 45px;
  }

  .see-link {
    margin-right: 14px;
  }

  .close-btn {
    color: #67798e;
    background: #fff;
    border: none;
    margin-bottom: 0;
    padding: 0;
    display: flex;
    font-size: 30px;
    margin-left: 90%;
    align-self: center;
  }

  .close-btn:target {
    visibility: visible;
    opacity: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .card-image {
    height: 200px;
  }

  .projects-section-desktop .card-image {
    width: 50%;
    height: 280px;
  }
}
