.nav-projects {
  position: fixed;
  z-index: 1000;
  top: 0;
}
.projects-header h2, .projects-header h4{
    text-align: center;
    
}
.projects-header h2{
    font-weight: 500;
    margin-top: -30rem;
    letter-spacing: 0.5rem;
    font-size: var(--title-section-header-size);
    position: relative;
    opacity: 0;
    transition: 2s linear;
}
.projects-header h2.active{
    opacity: 1;
}
/* @keyframes fade {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
} */
.projects-header .scroll-down-projects{
    margin-top: 0 !important;
}
.projects-header h2:before,
.projects-header h2:after {
  color: var(--primary-color);
  content: attr(data-text);
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  overflow: hidden;
  top: 0;
}
.projects-header h2:before {
  left: 1px;
  text-shadow: -2px 0 var(--red-glitch);
  animation: glitch-1 2s linear infinite reverse;
}
.projects-header h2:after {
  left: -1px;
  text-shadow: -2px 0 var(--blue-glitch);
  animation: glitch-2 2s linear infinite reverse;
}
/* .projects-header h4{
    font-size: 7rem;
    font-family: var(--primary-font);
    color: var(--primary-color);
    line-height: 1rem;
} */

#projects-section{
    width: 100vw;
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#projects-section::-webkit-scrollbar{
    display: none;
}
.projects-header{
    width: 100%;
    height: 100%;
    display: grid !important;
    position: relative;
}
#projects-section section{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* #projects-section section::after{
    content: "";
    background-color: var(--primary-color);
    height: 2px;
    width: 100%;
    position: absolute;
    top: 20%;
    z-index: 1;
    
} */
.projects-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin: 0 5rem;
    background-color: var(--bg-color);
    z-index: 2;
}
.projects-container .projects-container-content{
    min-width: 320px;
}
.projects-content-paragraph{
    max-width: 30rem;
    margin: 1rem auto;
    font-size: var(--paragraph-font-size);
    position: relative;
    text-align: justify;
}
.projects-content-paragraph.active{
    transform: scaleX(1);
    transition-delay: 0s;
}
.projects-content-paragraph::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    background: var(--primary-color);
    transform-origin: right;
    transition: 0.5s;
    transition-delay: 0s;
}
.projects-content-paragraph.active::before{
    transform: scaleX(0);
    transition-delay: 0.5s;
}
.projects-container-content span{
    position: relative;
}
.projects-container-content span.active{
    transform: scaleX(1);
    transition-delay: 0s;
}
.projects-container-content span::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    background: var(--primary-color);
    transform-origin: right;
    transition: 0.5s;
    transition-delay: 0s;
}
.projects-container-content span.active::before{
    transform: scaleX(0);
    transition-delay: 0.5s;
}
.projects-container-img img{
    width: clamp(300px, 60vw, 800px);
    object-fit: cover;
}
/* .projects-container-content{
    margin: 10px;
} */
.projects-container-img{
    z-index: 10;
    /* width: 60%; */
    /* margin: 10px; */
    background-color: var(--bg-color);
    position: relative;
}
.projects-container-img::before{
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    /* filter: blur(5px); */
    background-color: var(--primary-color);
    transform-origin: right;
    transition: 0.5s;
    transition-delay: 0s;
}
.projects-container-img.active::before{
    /* filter: blur(0px);
    background-color: transparent; */
    transform: scaleX(0);
    transition-delay: 0.5s;
}
.projects-gallery h3{
    font-size: 5rem;
    text-align: center;
    /* margin: 0 auto; */
    position: relative;
    transform-origin: left;
    transform: scaleX(0);
    transition: 0.5s;
    transition-delay: 0.5s;
}
.projects-gallery h3.active{
    transform: scaleX(1);
    transition-delay: 0s;
}
.projects-gallery h3::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60%;
    top: 20px;
    background: var(--primary-color);
    transform-origin: right;
    transition: 0.5s;
    transition-delay: 0s;
}
.projects-gallery h3.active::before{
    transform: scaleX(0);
    transition-delay: 0.5s;
}
.projects-gallery h4{
    font-size: 2.5rem;
    text-align: center;
    z-index: 10;
    letter-spacing: 1rem;
    /* background-color: var(--bg-color); */
    margin-top: 1.5rem;
    position: relative;
}
.projects-gallery h4.active{
    transform: scaleX(1);
    transition-delay: 0s;
}

.projects-gallery h4::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60%;
    top: 10px;
    background: var(--primary-color);
    transform-origin: right;
    transition: 0.5s;
    transition-delay: 0s;
}
.projects-gallery h4.active::before{
    transform: scaleX(0);
    transition-delay: 0.5s;
}
.projects-gallery span{
    display: block;
    text-align: center;
    font-family: var(--primary-font);
    color: var(--primary-color);
    font-size: 1.5rem;
    letter-spacing: 1.3rem;
    margin-top: -2rem;
}
.projects-content-icons{
    text-align: center;
}
.projects-content-icons a{
    font-family: var(--primary-font);
    font-size: var(--paragraph-font-size);
    margin: 0rem 1rem;
    position: relative;
    padding: 0rem 1px;
}
.projects-content-icons a.active{
    transform: scaleX(1);
    transition-delay: 0s;
}
.projects-content-icons a::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: -5px;
    background: var(--primary-color);
    transform-origin: right;
    transition: 0.5s;
    transition-delay: 0s;
}
.projects-content-icons a.active::before{
    transform: scaleX(0);
    transition-delay: 0.5s;
}
.projects-content-icons i{
    font-size: 1.5rem;
    margin-left: 0.5rem;
}
/* .footer-projects.hidden{
  opacity: 0;
} */
.footer-projects{
    /* position: fixed; */
    bottom: 0;
    left: 0;
    /* margin: 2rem auto; */
    width: 100%;
}
.copyright{
    margin: 0 auto;
}
/* hamburger start */
.hamburger-projects div {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
    z-index: 1003;
  }
  .hamburger-projects {
    display: none;
  }
  .toggle-projects .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle-projects .line2 {
    opacity: 0;
  }
  .toggle-projects .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
/* mobile responsive design start */
@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .projects-header .scroll-down-project {
     margin-top: 10rem;
    }
    #projects-section{
        width: 100vw;
        height: 100%;
        scroll-snap-type: none;
        overflow-y: scroll;
    }
    #projects-section::-webkit-scrollbar{
        display: none;
    }
    .projects-header h2 {
         margin-top: -3rem;
         margin-bottom: 5rem;
        }
    .projects-header{
        width: 100%;
        height: inherit;
        display: grid !important;
        position: relative;
    }
    #projects-section section{
        width: 100%;
        height: inherit;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #projects-section section{
        scroll-snap-align: none;
    }
    .footer-projects{
        position: relative !important;
        margin-top: 5rem;
    }
}
/* LAST MARK */
/* @media only screen and (min-width: 1024px) 
and (max-width: 1280px) 
and (orientation: landscape){
    .footer-projects{
        position: fixed;
        bottom: 0;
        left: 0;
    }
    
} */
@media only screen and (max-width: 375px) and (orientation: portrait) {
    .nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
      .projects-header .scroll-down-project{
        margin-top: 6rem;
      }
      .projects-header h2{
        font-size: 4.5rem;
        top: 60px;
      }
      .projects-container{
        display: grid;
        justify-content: center;
        align-items: center;
        gap: 0rem;
        margin: 0 5rem; 
        width: 100%;
    }
    .projects-content-paragraph{
        font-size: 1rem;
        text-align: center;
    }
    .projects-container-img{
        width: 100%;
    }
    .projects-container-img img{
        width: 100%;
        object-fit: cover;
    }
    .projects-gallery h3{
        font-size: 2.5rem;
        margin-top: 2.5rem;
        text-align: center;
        
    }
    .projects-gallery h3::before{
        width: 100%;
        top: 10px;
    }
    .projects-gallery h4{
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        letter-spacing: 0;
    }
    .projects-gallery h4::before{
        width: 100%;
        top: 5px;
    }
    .projects-gallery span{
        font-size: 1rem;
        margin: 0;
        text-align: center;
        letter-spacing: 0;
    }
}
@media only screen and (min-width: 376px) and (max-width: 480px){
    .nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
      .projects-header .scroll-down-project{
        margin-top: 6rem;
      }
      .projects-header h2{
        font-size: 4.5rem;
        top: 60px;
      }
      .projects-container{
        display: grid;
        justify-content: center;
        align-items: center;
        grid-template-columns: auto;
        gap: 0rem;
        margin: 0 5rem; 
        width: 100%;
    }
    .projects-content-paragraph{
        font-size: 1rem;
        text-align: center;
    }
    .projects-container-img{
        width: 100%;
    }
    .projects-container-img img{
        width: 100%;
        object-fit: cover;
    }
    .projects-gallery h3{
        font-size: 2.5rem;
        margin-top: 2.5rem;
        text-align: center;
        
    }
    .projects-gallery h3::before{
        width: 100%;
        top: 10px;
    }
    .projects-gallery h4{
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        letter-spacing: 0;
    }
    .projects-gallery h4::before{
        width: 100%;
        top: 5px;
    }
    .projects-gallery span{
        font-size: 1rem;
        margin: 0;
        text-align: center;
        letter-spacing: 0;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px){
    .nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
      /* .projects-header .scroll-down-project{
        margin-top: 6rem;
      } */
      .projects-header h2{
        font-size: 4.5rem;
        top: 60px;
      }
      .projects-container{
        display: grid;
        justify-content: center;
        align-items: center;
        grid-template-columns: auto;
        gap: 0rem;
        margin: 0 2rem; 
        width: 100%;
    }
    .projects-content-paragraph{
        font-size: var(--paragraph-font-size);
        text-align: justify;
    }
    .projects-container-img{
        width: 100%;
    }
    .projects-container-img img{
        width: 100%;
        object-fit: cover;
    }
    .projects-gallery h3{
        font-size: 2.5rem;
        margin-top: 2.5rem;
        text-align: center;
        
    }
    .projects-gallery h3::before{
        width: 100%;
        top: 10px;
    }
    .projects-gallery h4{
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        letter-spacing: 0;
    }
    .projects-gallery h4::before{
        width: 100%;
        top: 5px;
    }
    .projects-gallery span{
        font-size: 1rem;
        margin: 0;
        text-align: center;
        letter-spacing: 0;
    }
}
@media only screen and (min-width: 676px) and (max-width: 912px){
    .nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
      /* .projects-header .scroll-down-project{
        margin-top: 6rem;
      } */
      .projects-header h2{
        font-size: 4.5rem;
        top: 60px;
      }
      .projects-container{
        display: grid;
        justify-content: center;
        align-items: center;
        grid-template-columns: auto;
        gap: 0rem;
        margin: 0 5rem; 
        width: 100%;
    }
    .projects-content-paragraph{
        font-size: var(--paragraph-font-size);
        text-align: justify;
    }
    .projects-container-img{
        width: 100%;
    }
    .projects-container-img img{
        width: 100%;
        object-fit: cover;
    }
    .projects-gallery h3{
        font-size: 2.5rem;
        margin-top: 2.5rem;
        text-align: center;
        
    }
    .projects-gallery h3::before{
        width: 100%;
        top: 10px;
    }
    .projects-gallery h4{
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        letter-spacing: 0;
    }
    .projects-gallery h4::before{
        width: 100%;
        top: 5px;
    }
    .projects-gallery span{
        font-size: 1rem;
        margin: 0;
        text-align: center;
        letter-spacing: 0;
    }
}
@media only screen and (min-width: 912px) and (max-width: 1024px){
    .nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
      /* .projects-header .scroll-down-project{
        margin-top: 6rem;
      } */
      .projects-header h2{
        font-size: 4.5rem;
        top: 60px;
      }
      .projects-container{
        display: grid;
        justify-content: center;
        align-items: center;
        grid-template-columns: auto;
        gap: 0rem;
        margin: 0 5rem; 
        width: 100%;
    }
    .projects-content-paragraph{
        font-size: var(--paragraph-font-size);
        text-align: justify;
    }
    .projects-container-img{
        width: 100%;
    }
    .projects-container-img img{
        width: 100%;
        object-fit: cover;
    }
    .projects-gallery h3{
        font-size: 2.5rem;
        margin-top: 2.5rem;
        text-align: center;
        
    }
    .projects-gallery h3::before{
        width: 100%;
        top: 10px;
    }
    .projects-gallery h4{
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        letter-spacing: 0;
    }
    .projects-gallery h4::before{
        width: 100%;
        top: 5px;
    }
    .projects-gallery span{
        font-size: 1rem;
        margin: 0;
        text-align: center;
        letter-spacing: 0;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1280px)
,only screen and (min-device-width: 1024px) and (max-device-width: 1280px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-width: 1280px) and (max-device-width: 1368px)
and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1){
    .nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
    .projects-container-content h3{
        font-size: 3.5rem;
    }
    .projects-container-content h3::before{
        height: 100%;
        top: 0;
    }
    .projects-container-content span{
        margin: 0rem 1rem 0rem 0rem;
        font-size: 1rem;
        letter-spacing: 0;
        width: 100%;
    }
    .projects-container-content h4{
        font-size: 2rem;
    }
    .projects-container-content h4::before{
        top: 0;
        height: 100%;
    }
  }
  /* future fix */
  @media only screen and (min-width: 1280px) and (max-width: 1368px),
only screen and (min-width: 1280px) and (max-width: 1368px)
and (orientation: landscape) 
and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-width: 1280px) and (max-device-width: 1368px)
and (orientation: landscape) 
and (-webkit-min-device-pixel-ratio: 1){
.nav {
        z-index: 1001;
        padding: 1rem 2rem !important;
      }
      .navbar-projects{
        position: fixed;
        top: 0;
        left: 0;
      }
      .hamburger-projects {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
        mix-blend-mode: difference;
      }
      .navbar-projects {
        position: absolute;
        background: var(--secondary-color);
        height: 100vh;
        width: 100vw;
        top: 0;
        right: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(0px at 90% -20%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
      }
      .navbar-projects li a {
        font-size: var(--navbar-font-size-responsive);
        color: var(--bg-color);
        font-family: var(--navbar-font);
        text-transform: uppercase;
        font-weight: bold;
      }
      /* fix */
      .navbar-projects.open-projects {
        clip-path: circle(1100px at 70% -10%);
        -webkit-clip-path: circle(1100px at 70% -10%);
        pointer-events: all;
        
      }
      .navbar-projects li::after {
        height: 3px;
        background: var(--bg-color);
      }
      .navbar-projects li {
        opacity: 0;
      }
      .navbar-projects li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
      }
      .navbar-projects li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
      }
      .navbar-projects li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
      }
      .navbar-projects li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
      }
      .navbar-projects li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
      }
      .navbar-projects li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
      }
      .navbar-projects li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
      }
      li.fade-projects {
        opacity: 1;
      }
    .projects-container-content h3{
        font-size: 3.5rem;
    }
    .projects-container-content h3::before{
        height: 100%;
        top: 0;
    }
    .projects-container-content span{
        margin: 0rem 1rem 0rem 0rem;
        font-size: 1rem;
        letter-spacing: 0;
        width: 100%;
    }
    .projects-container-content h4{
        font-size: 2rem;
    }
    .projects-container-content h4::before{
        top: 0;
        height: 100%;
    }
}
/* tablet responsive design start */

/* laptop responsive design start */
@media screen and (min-width: 1200px) 
  and (max-width: 1600px)
  and (-webkit-min-device-pixel-ratio: 1) { 
    .projects-container-img img{
        width: clamp(300px, 50vw, 800px);
        object-fit: cover;
    }
    .projects-container-content h3{
        font-size: 3.5rem;
    }
    .projects-container-content h3::before{
        height: 100%;
        top: 0;
    }
    .projects-container-content span{
        margin: 0rem 1rem 0rem 0rem;
        font-size: 1rem;
        letter-spacing: 0;
        width: 100%;
    }
    .projects-container-content h4{
        font-size: 2rem;
    }
    .projects-container-content h4::before{
        top: 0;
        height: 100%;
    }
}
@media screen 
and (min-device-width: 1200px) 
and (max-device-width: 1600px) 
and (-webkit-min-device-pixel-ratio: 2)
and (min-resolution: 192dpi){
    .projects-container-img img{
        width: clamp(300px, 50vw, 800px);
        object-fit: cover;
    }
    .projects-container-content h3{
        font-size: 3.5rem;
    }
    .projects-container-content h3::before{
        height: 100%;
        top: 0;
    }
    .projects-container-content span{
        margin: 0rem 1rem 0rem 0rem;
        font-size: 1rem;
        letter-spacing: 0;
        width: 100%;
    }
    .projects-container-content h4{
        font-size: 2rem;
    }
    .projects-container-content h4::before{
        top: 0;
        height: 100%;
    }
}