html {
  font-size: 62.5%;
  font-family: 'Mulish', sans-serif;
  font-family: 'PT Sans', sans-serif;
  color: #EEEEEE;
  overflow-x: hidden;
}

body {
  padding: 0;
  margin: 0;
  background-color: #222831;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #EEEEEE;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
}

.btn-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 34.5rem;
  height: 5rem;
}

.btn-box .btn {
  background-color: #00ADB5;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15rem;
  height: 100%;
  border: 0.2rem solid #00ADB5;
  border-radius: .8rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: #222831;
  overflow: hidden;
  z-index: 1;
  transition: .5s;
}

.btn-box .btn:hover {
  color: #00ADB5;
}

.btn-box .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #222831;
  z-index: -1;
  transition: all .5s;
}

.btn-box .btn:hover::before {
  width: 100%;
}

.btn-box .btn:nth-child(2) {
  background-color: transparent;
  color: #00ADB5;
}

.btn-box .btn:nth-child(2):hover {
  color: #222831;
}

.btn-box .btn:nth-child(2)::before {
  background-color: #00ADB5;
}

.heading {
  text-align: center;
  font-weight: bold;
  font-size: 4rem;
  position: relative;
  margin: 2rem 0;
}

.heading h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 20px;
  height: 8px;
  background-color: #FBDA11;
  bottom: -10px;
  left: calc(50% - 15px);
  z-index: 2;
}

.heading h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 15rem;
  height: 3px;
  background-color: #00ADB5;
  bottom: -8px;
  z-index: 1;
  left: calc(50% - 8rem);
}

.animate {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #222831;
  z-index: 98;
}

.home-img {
  width: 50%;
}

.scroll {
  transition: 1s ease;
  transition-delay: calc(.1s / var(--i));
  animation: none;
}

section:nth-child(odd) .animate.scroll,
.footer .animate.scroll {
  background: #393E46;
}

@keyframes homeBgText {
  0%, 10%, 100% {
    background-position: -30rem 0;
  }
  65%, 85% {
    background-position: 0 0;
  }
}

@keyframes homeCursorText {
  0%, 10%, 100% {
    width: 0;
  }
  65%, 78%, 85% {
    width: 100%;
    opacity: 1;
  }
  75%, 81% {
    opacity: 0;
  }
}

@keyframes aboutSpinner {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes showRight {
  100% {
    width: 0;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 2rem 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header .logo {
  position: relative;
}

.header .logo img {
  height: 80px;
  width: 80px;
}

.header .navbar {
  position: relative;
}

.header .navbar a {
  font-size: 1.7rem;
  color: #EEEEEE;
  font-weight: 500;
  margin-left: 3.5rem;
}

.header #menu-icon {
  position: relative;
  font-size: 3.6rem;
  cursor: pointer;
  display: none;
}

.navbar a:hover,
.navbar a.active {
  color: #FBDA11;
}

/*
    .nav-bar{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 40px 15px 0;
        font-size: 1.4rem;
        .logo{
            img{
                width: 6rem;
                height: 6rem;
            }
        }
        #menu-icon{
            cursor: pointer;
            display: none;
        }
        .menu{
            
            ul{
                display: flex;
                a{
                    padding: 15px;
                    position: relative;
                    
                }
                .active{
                    &::before{
                        content: '';
                        position: absolute;
                        display: block;
                        width: 1.3rem;
                        height: 3px;
                        background-color:$thirdColor;
                        top: 75%;
                        left: 49.5%;
                        border-radius: 2px;
                    }
                    &::after{
                        content: '';
                        position: absolute;
                        display: block;
                        width: 1.3rem;
                        height: 3px;
                        background-color:$thirdColor;
                        top: 75%;
                        right: 49.5%;
                        border-radius: 2px;
                    }
                }
                
            }
        }
        
    }
}*/
.sticky {
  background-color: #222831;
}

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(../images/home.webp) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0 9%;
}

.home .home-content {
  max-width: 60rem;
  z-index: 98;
}

.home .home-content h1 {
  position: relative;
  display: inline-block;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.3;
}

.home .home-content .text-animate {
  position: relative;
  width: 30rem;
}

.home .home-content .text-animate h3 {
  position: relative;
  font-size: 3.2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 0.7px #00ADB5;
  background-image: linear-gradient(#00ADB5, #00ADB5);
  background-repeat: no-repeat;
  background-clip: text;
  background-position: -30rem 0;
}

.home .home-content .text-animate h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-right: 2px solid #00ADB5;
  z-index: 1;
}

.home .home-content p {
  position: relative;
  font-size: 1.6rem;
  margin: 2rem 0 4rem;
}

.home .home-social {
  position: absolute;
  bottom: 4rem;
  width: 170px;
  display: flex;
  justify-content: space-between;
}

.home .home-social a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 0.2rem solid #00ADB5;
  border-radius: 50%;
  font-size: 20px;
  color: #00ADB5;
  overflow: hidden;
  transition: .5s;
  z-index: 1;
}

.home .home-social a:hover {
  color: #222831;
}

.home .home-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #00ADB5;
  z-index: -1;
  transition: .5s;
}

.home .home-social a:hover::before {
  width: 100%;
  background: #00ADB5;
}

.home .home-imgHover {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: transparent;
  transition: 3s;
}

.home .home-imgHover:hover {
  background-color: #222831;
  opacity: .8;
}

.about {
  padding: 10rem 9%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  background-color: #393E46;
}

.about .about-img {
  position: relative;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .about-img img {
  width: 90%;
  border-radius: 50%;
  border: 0.2rem solid #00ADB5;
}

.about .about-img .circle-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: 0.2rem solid #393E46;
  border-bottom: 0.2rem solid #393E46;
  border-left: 0.2rem solid #00ADB5;
  border-right: 0.2rem solid #00ADB5;
  animation: aboutSpinner 8s linear infinite;
}

.about .about-content {
  text-align: center;
}

.about .about-content h3 {
  position: relative;
  display: inline-block;
  font-size: 3rem;
}

.about .about-content .content-p {
  position: relative;
  font-size: 2rem;
  margin: 2rem 0 3rem;
}

.about .about-content .content-p p {
  font-size: 2rem;
  margin-top: 1rem;
}

.about .about-content .btns {
  display: inline-block;
  width: 15rem;
}

.about .about-content .btns a::before {
  background: #222831;
}

.portfolio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: auto;
  padding: 10rem 9%;
  background: #222831;
}

.portfolio .portfolio-column {
  flex: 1 1 4rem;
}

.portfolio .portfolio-column .title {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin: 0 0 1.5rem 2rem;
}

.portfolio .portfolio-column .portfolio-box {
  position: relative;
  border-left: 0.2rem solid #00ADB5;
}

.portfolio .portfolio-column .portfolio-box .scroll {
  width: 105%;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content {
  position: relative;
  padding-left: 2rem;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1.1rem;
  width: 2rem;
  height: 2rem;
  background: #00ADB5;
  border-radius: 50%;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content {
  position: relative;
  padding: 1.5rem;
  border: 0.2rem solid #00ADB5;
  border-radius: .6rem;
  margin-bottom: 2rem;
  overflow: hidden;
  z-index: 1;
  transition: .5s;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content .year {
  font-size: 1.5rem;
  color: #00ADB5;
  padding-bottom: .5rem;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content .year i {
  padding-right: .5rem;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content h3 {
  font-size: 2rem;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content p {
  font-size: 1.6rem;
  padding-top: .5rem;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #393E46;
  z-index: -1;
  transition: .5s;
}

.portfolio .portfolio-column .portfolio-box .portfolio-content .content:hover::before {
  width: 100%;
}

.skills {
  min-height: auto;
  background: #393E46;
  padding: 10rem 9%;
}

.skills .heading {
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

.skills .skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
}

.skills .skills-row .skills-column {
  flex: 1 1 40rem;
}

.skills .skills-row .skills-column .title {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin: 0 0 1.5rem;
}

.skills .skills-row .skills-column .skills-box {
  position: relative;
}

.skills .skills-row .skills-column .skills-box .skills-content {
  position: relative;
  border: 0.2rem solid #00ADB5;
  border-radius: .6rem;
  padding: 1.5rem 2rem;
  z-index: 1;
  overflow: hidden;
}

.skills .skills-row .skills-column .skills-box .skills-content .progress {
  padding: 1rem 0;
}

.skills .skills-row .skills-column .skills-box .skills-content .progress h3 {
  font-size: 1.7rem;
  display: flex;
  justify-content: space-between;
}

.skills .skills-row .skills-column .skills-box .skills-content .progress .bar {
  height: 2.5rem;
  border-radius: .6rem;
  border: 0.2rem solid #00ADB5;
  padding: .5rem;
  margin: 1rem 0;
}

.skills .skills-row .skills-column .skills-box .skills-content .progress .bar span {
  display: block;
  height: 100%;
  border-radius: .3rem;
  background: #00ADB5;
}

.skills .skills-row .skills-column .skills-box .skills-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #222831;
  z-index: -1;
  transition: .5s;
}

.skills .skills-row .skills-column .skills-box .skills-content:hover::before {
  width: 100%;
}

.contact {
  min-height: auto;
  padding: 10rem 9%;
}

.contact .heading {
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

.contact form {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.contact form .input-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact form .input-box .input-field {
  position: relative;
  width: 49%;
  margin: .8rem 0;
}

.contact form .input-box .input-field input {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: black;
  background: transparent;
  border-radius: .6rem;
  border: 0.2rem solid #00ADB5;
}

.contact form .input-box .input-field input:focus ~ .focus, .contact form .input-box .input-field input:valid ~ .focus {
  width: 100%;
}

.contact form .textarea-field {
  position: relative;
  margin: .8rem 0 2.7rem;
  display: flex;
}

.contact form .textarea-field textarea {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: black;
  background: transparent;
  border-radius: .6rem;
  border: 0.2rem solid #00ADB5;
  resize: none;
}

.contact form .textarea-field textarea:focus ~ .focus, .contact form .textarea-field textarea:valid ~ .focus {
  width: 100%;
}

.contact form .btns {
  top: 0;
  left: calc(50% - 8rem);
}

.contact form .btns .btn {
  cursor: pointer;
}

.contact form .focus {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #393E46;
  z-index: -1;
  transition: .5s;
  color: white;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background: #393E46;
}

.footer .footer-text {
  position: relative;
}

.footer .footer-text p {
  font-size: 1.6rem;
}

.footer .footer-iconTop {
  position: relative;
}

.footer .footer-iconTop a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .8rem;
  background: #00ADB5;
  border: 0.2rem solid #00ADB5;
  border-radius: .6rem;
  z-index: 1;
  overflow: hidden;
}

.footer .footer-iconTop a i {
  font-size: 2.4rem;
  color: #393E46;
  transition: .5s;
}

.footer .footer-iconTop a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #393E46;
  transition: .5s;
  z-index: -1;
}

.footer .footer-iconTop a:hover::before {
  width: 100%;
}

.footer .footer-iconTop a:hover i {
  color: #00ADB5;
}

@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  html .header .logo img {
    width: 50px;
    height: 50px;
  }
  html .home {
    background: none;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 4%;
  }
  section {
    padding: 10rem 4% 2rem;
  }
  .home {
    padding: 0 4%;
  }
  .footer {
    padding: 2rem 4%;
  }
}

@media (max-width: 768px) {
  .header {
    background: #222831;
  }
  .header #menu-icon {
    display: block;
  }
  .header .navbar {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    padding: 1rem 4%;
    background: #00ADB5;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    transition: .25s ease;
    transition-delay: .25s;
    z-index: 1;
  }
  .header .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    transform: translateX(-20rem);
    transition: .25s ease;
    transition-delay: 0;
  }
  .header .navbar .active-nav {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #222831;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    z-index: -1;
    transition: .25s ease;
    transition-delay: 0s;
  }
  .header .logo img {
    width: 40px;
    height: 40px;
  }
  .navbar.active {
    left: 0;
    transition-delay: 0s;
  }
  .navbar.active .active-nav {
    left: 0;
    transition-delay: .25s;
  }
  .navbar.active a {
    transform: translateX(0);
    transition-delay: .25s;
  }
  .home-imgHover {
    pointer-events: none;
    background: #222831;
    opacity: .6;
  }
}

@media (max-width: 520px) {
  html {
    font-size: 50%;
  }
  .home .home-content h1 {
    display: flex;
    flex-direction: column;
  }
  .home .home-social {
    width: 160px;
  }
  .home .home-social a {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 462px) {
  .home .home-content h1 {
    font-size: 5.2rem;
  }
  .portfolio {
    padding: 10rem 4% 5rem 5%;
  }
  .contact form .input-box .input-field {
    width: 100%;
  }
  .footer {
    flex-direction: column-reverse;
  }
  .footer p {
    margin-top: 2rem;
  }
}

@media (max-width: 371px) {
  .home {
    justify-content: center;
  }
  .home .home-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .home .home-content h1 {
    font-size: 5rem;
  }
}
