.warpper {
  background: linear-gradient(120deg, #f0f4ff, #ffe0fc);
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 3px;
  overflow-x: hidden;
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  -webkit-transition: all ease 0.35s;
  transition: all ease 0.35s;
  z-index: 3;
}
#header .header-container {
  max-width: 80rem;
  margin: 0 auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 5.625rem;
}
#header.scrolled {
  background-color: #ffffff;
  -webkit-box-shadow: 0 0.375rem 0.75rem rgba(119, 118, 156, 0.1);
          box-shadow: 0 0.375rem 0.75rem rgba(119, 118, 156, 0.1);
}

.header-container .logo {
  width: 3.875rem;
}
.header-container .logo img {
  width: 100%;
}
.header-container .bars {
  margin-right: 1rem;
  font-size: 1.5rem;
  background-color: transparent;
}

nav {
  display: none;
}
nav ul {
  gap: 1rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: absolute;
  width: 100%;
  top: 5rem;
  left: 0;
  background-color: #ffffff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
nav ul a {
  color: #323258;
  font-size: 1rem;
}
nav ul a:hover {
  color: #1877F2;
}

.banner {
  padding: 4rem 0;
  max-width: 80rem;
  margin: 5rem auto 0 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.banner-left .hand-img {
  width: 1.563rem;
  margin-right: 0.625rem;
}
.banner-left .hand-img img {
  width: 100%;
}

.banner-left h6 {
  font-size: 1.125rem;
  color: #323258;
  letter-spacing: 0.125rem;
}
.banner-left h1 {
  font-size: 10rem;
  font-weight: 800;
  line-height: 1;
  background: -webkit-gradient(linear, left top, right top, from(#1877F2), to(#8e2de2));
  background: linear-gradient(to right, #1877F2, #8e2de2);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner-left p {
  font-size: 1.125rem;
  margin: 0.625rem 0 1.563rem 0;
  color: #323258;
}

.banner-left h2 {
  font-size: 1.25rem;
  color: #323258;
  font-weight: 600;
  letter-spacing: 0.063rem;
}
.banner-left h2 span {
  display: inline-block;
  color: #1877F2;
  overflow: hidden;
  -webkit-animation: typing 3s steps(13, end) 1s infinite forwards, blink 0.5s step-end infinite alternate;
          animation: typing 3s steps(13, end) 1s infinite forwards, blink 0.5s step-end infinite alternate;
  border-right: 0.188rem solid #1877F2;
  margin-left: 0.313rem;
}

@-webkit-keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 13ch;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 13ch;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.banner-right {
  width: 35rem;
  -webkit-animation: slideInRight 1.2s ease-out both;
          animation: slideInRight 1.2s ease-out both;
}
.banner-right img {
  width: 100%;
}

@-webkit-keyframes slideInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(6.25rem);
            transform: translateX(6.25rem);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(6.25rem);
            transform: translateX(6.25rem);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
.about {
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, #fef3ff, #dee9ff);
}
.about h2 {
  font-size: 3.125rem;
  color: #323258;
}

.about-container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 3rem;
}

.about-left {
  width: 30rem;
}

.about-right {
  max-width: 41.25rem;
}
.about-right h6 {
  color: #1877F2;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.188rem;
}
.about-right h2 {
  color: #323258;
  font-size: 2.5rem;
  font-weight: 500;
}
.about-right h2 strong {
  font-weight: 800;
}
.about-right h5 {
  color: #687898;
  font-size: 1.375rem;
  font-weight: 500;
}

.about-right .text {
  margin: 1.875rem 0;
}
.about-right p {
  color: #687898;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}

.about-right .info {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 2rem;
}
.about-right .info .col {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-column-gap: 0.625rem;
     -moz-column-gap: 0.625rem;
          column-gap: 0.625rem;
  row-gap: 1rem;
}

.info strong,
.info a {
  color: #323258;
}

.resume {
  padding: 4rem 0;
  background: linear-gradient(135deg, #e6f0ff, #fceff9);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5rem;
}
.resume h2 {
  font-size: 3.125rem;
  color: #323258;
}
.resume .resume-container {
  max-width: 80rem;
  margin: 0 auto;
  gap: 6rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.skills-container .box {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.skills-container .html {
  background-color: #FFE5DC;
}
.skills-container .tool {
  width: 3rem;
}

.skills-container {
  width: 100%;
  gap: 3.125rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 0.8rem;
}
.skills-container span {
  color: #323258;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 3px;
}
.skills-container h6 {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: #687898;
}

.skill-list {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.625rem;
}
.skill-list .css {
  background-color: #DEE4FF;
}
.skill-list .js {
  background-color: #F5F5DC;
}
.skill-list .reactjs {
  background-color: #D6EEF5;
}
.skill-list .sass {
  background-color: #FAD0DF;
}
.skill-list .bootstrap {
  background-color: #C6B1D8;
}
.skill-list .github {
  background-color: #B3B3B3;
}

.experience-container {
  width: 100%;
}
.experience-container .row {
  gap: 5rem;
}
.experience-container .row h4 {
  color: #1877F2;
  font-size: 1.25rem;
}
.experience-container .row h5 {
  font-size: 1rem;
  color: #687898;
  font-weight: 500;
}

.experience-container h3 {
  color: #323258;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.experience-container a {
  text-transform: uppercase;
  color: #687898;
  font-size: 0.938rem;
  font-weight: 300;
}

.services {
  padding: 4rem 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, #e6f0ff, #fceff9);
}
.services h2 {
  font-size: 3.125rem;
  color: #323258;
}

.services-container {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 4rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.services-container .card {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 2rem 2rem;
  width: 27rem;
  gap: 1.25rem;
  position: relative;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  cursor: pointer;
  border-radius: 2.25rem;
}
.services-container .card:hover {
  -webkit-transform: translateY(-0.625rem) scale(1.03);
          transform: translateY(-0.625rem) scale(1.03);
  -webkit-box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
          box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
}
.services-container .icon {
  width: 3.75rem;
}
.services-container .icon img {
  width: 100%;
}

.services-container .slide-left,
.projects-container .slide-left {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}
.services-container .slide-right,
.projects-container .slide-right {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}
.services-container .in-view,
.projects-container .in-view {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.services-container h5 {
  color: #323258;
  font-size: 1.25rem;
}
.services-container p {
  color: #687898;
  font-size: 1rem;
  text-align: center;
}

.projects-container {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
}
.projects-container .project-card {
  width: 27rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.projects-container .project-card img {
  width: 100%;
  border-radius: 2rem;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.project-card:hover::before {
  opacity: 1;
}
.project-card:hover .overlay-content {
  opacity: 1;
}

.project-card .overlay-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  padding: 1rem;
  gap: 0.5rem;
}
.project-card .overlay-content p {
  color: #f1f1f1;
  font-size: 1rem;
  text-align: center;
}
.project-card .overlay-content a {
  background: #d9f3ff;
  color: #0077b6;
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.project-card .overlay-content a:hover {
  background: #0077b6;
  color: #ffffff;
}

.contact {
  background: linear-gradient(135deg, #ebf4ff, #fff1f7);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-top: 7.5rem;
}
.contact h2 {
  font-size: 3.125rem;
  color: #323258;
  text-align: center;
}
.contact p {
  color: #323258;
  font-size: 1.2rem;
  text-align: center;
  padding: 0 1rem;
}
.contact hr {
  width: 100%;
  background-color: black;
  height: 0.063rem;
  margin-top: 9rem;
}

form {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 3rem;
}
form .row {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 2rem;
}
form .row .field {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
}
form .row .field.half {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
}
form .row .field input,
form .row .field textarea {
  width: 100%;
  outline: none;
  border: none;
  color: #323258;
  background-color: transparent;
  border-bottom: 1px solid #323258;
  padding: 1rem 0;
  font-size: 1.2rem;
  resize: none;
}
form .row .field input:focus + label, form .row .field input:valid + label,
form .row .field textarea:focus + label,
form .row .field textarea:valid + label {
  top: -0.5rem;
  font-size: 0.9rem;
  color: #888;
}
form .row .field label {
  position: absolute;
  left: 0;
  top: 1.2rem;
  color: #555;
  font-size: 0.95rem;
  pointer-events: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

form button {
  max-width: 11.25rem;
}

footer {
  max-width: 80rem;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
footer .logo {
  width: 3.875rem;
}
footer .logo img {
  width: 100%;
}

.footer-left {
  color: #687898;
  font-size: 2rem;
}

.footer-right {
  gap: 0.6rem;
}
.footer-right a {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #1877F2;
  border: 0.063rem solid #1877F2;
  font-size: 2rem;
}
.footer-right a:hover {
  background-color: #1877F2;
  color: #ffffff;
}

#scrollTopBtn {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  z-index: 4;
  background-color: #1877F2;
  color: white;
  border: none;
  outline: none;
  width: 3.125rem;
  height: 3.125rem;
  font-size: 1.5rem;
  border-radius: 50%;
  -webkit-box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3);
          box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.3);
  -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
  transition: background-color 0.3s, -webkit-transform 0.3s;
  transition: background-color 0.3s, transform 0.3s;
  transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

#scrollTopBtn:hover {
  background-color: #323258;
  -webkit-transform: translateY(-0.125rem);
          transform: translateY(-0.125rem);
}

@media screen and (min-width: 180px) {
  html {
    font-size: 4px;
  }
}
@media screen and (min-width: 320px) {
  html {
    font-size: 8px;
  }
}
@media screen and (min-width: 380px) {
  html {
    font-size: 10px;
  }
}
@media screen and (min-width: 480px) {
  html {
    font-size: 11px;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 7px;
  }
  .warpper {
    height: 100vh;
  }
  .header-container nav {
    display: block;
  }
  .header-container nav ul {
    gap: 3.5rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    position: static;
    background-color: transparent;
  }
  .header-container nav ul a {
    color: #323258;
    font-size: 1rem;
  }
  .header-container nav ul a:hover {
    color: #1877F2;
  }
  .header-container .bars {
    display: none;
  }
  .banner {
    height: calc(100vh - 5.625rem);
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin: 0 auto;
  }
  .resume {
    height: 100vh;
  }
  .resume .resume-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .skills-container,
  .experience-container {
    width: 50%;
  }
  .about-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .about-container .info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 45rem;
    margin: 0;
  }
  .about-container .info .col {
    width: 50%;
    margin: 2.813rem 0;
  }
  .services {
    min-height: 100vh;
  }
  .services .services-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  form {
    width: 53.5rem;
    padding: 0;
  }
  form .row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  form .row .field.half {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 48%;
            flex: 1 1 48%;
  }
  footer {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 0;
  }
  .footer-left {
    font-size: 1.2rem;
  }
  .footer-right a {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }
}
@media screen and (min-width: 1024px) {
  html {
    font-size: 9.4px;
  }
}
@media screen and (min-width: 1280px) {
  html {
    font-size: 10.7px;
  }
}
@media screen and (min-width: 1534px) {
  html {
    font-size: 12.8px;
  }
}
@media screen and (min-width: 1744px) {
  html {
    font-size: 14.6px;
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 16px;
  }
}
@media screen and (min-width: 2133px) {
  html {
    font-size: 17.8px;
  }
}
@media screen and (min-width: 2400px) {
  html {
    font-size: 20px;
  }
}
@media screen and (min-width: 2560px) {
  html {
    font-size: 21.5px;
  }
}
@media screen and (min-width: 2880px) {
  html {
    font-size: 24px;
  }
}
@media screen and (min-width: 3840px) {
  html {
    font-size: 32px;
  }
}
@media screen and (min-width: 5760px) {
  html {
    font-size: 48px;
  }
}
@media screen and (min-width: 7680px) {
  html {
    font-size: 64px;
  }
}