
.hero-section{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-direction: column;
    width: 80vw;
    height: 100vh;
    margin: auto;
}

.hero-section > .titles{
    height: 20vh;
    margin-top: -20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
}

.navillustration{
    min-width: 200px;
    margin-left: 20vw;
    display: none;
}

div > .navillustration > .custom-svg{
    transition: all 0.3s ease-in-out;
}

div > .navillustration > .custom-svg:nth-child(2){
    margin-left: 40px;
    margin-bottom: 3px;
}

#nose{
    margin-left: 40px;
}

.hero-section > .titles > div > h1{
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 46px;
    font-size: clamp(40px, 6.8vw, 64px); /* 18 */
    line-height: 52px;
}

.hero-section > .titles > div > h2{
    font-weight: 300;
    font-size: 32px;
    font-size: clamp(30px, 4.5vw, 38px); /* 18 */
    letter-spacing: 0.5px;
    margin-top: -5px;
}

.hero-section > .ctas{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    width: 80vw;
    height: 30vh;
}

.hero-section > .scroll{
    position: absolute;
    bottom: 0;
    height: 10vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    left: 0;
    cursor: pointer;

}

.hero-section > .scroll > p{
    font-size: 14px;
    font-size: clamp(10px, 1.9vw, 18px); /* 18 */
    font-weight: 100;

}

.hero-section > .scroll > img{
    height: 35px;
    width: 35px;
}


.about{
    margin-top: 40px;
    overflow-x: hidden;
    /* min-height: 50vh; */
}

.about > h2{
    width: 80vw;
    margin: auto;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 46px;
    font-size: clamp(35.77px, 6.4vw, 57px); /* 18 */
}

.about > .content{
    width: 75vw;
    margin: auto;
    margin-top: 40px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

.about > .content > img{
    width: 150px;
    height: 150px;
    max-width: 250px;
    max-height: 250px;
    border-radius: 10%;
}


.about > .content > .text{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    
}

.about > .content > .text > p{
    font-weight: 300;
    font-size: clamp(14px, 2.5vw, 22px); /* 18 */
}

.about > .content > .text > p:nth-child(2){
    display: none;
}


/* COPY */
.about > .defil{
    width: 100vw;
    margin-top: 20px;
    padding-bottom: 20px;
}

.about > .defil > p{
    font-size: 32px;
    font-size: clamp(25px, 4.5vw, 38px); /* 18 */
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.defil{
  overflow: hidden;
}

/*remove p*/
.defil > p {
  width:100%;
  padding-top: 20px;
  margin:0 auto;
  white-space: nowrap;
}

.anim-text {
  display:inline-block;
  /* Apply animation to this element */
  -webkit-animation: scrolling-left1 60s linear infinite;
  animation: scrolling-left1 60s linear infinite;
  animation-delay: -30s;
}

.anim-text2 {
  display:inline-block;
  /* Apply animation to this element */
  -webkit-animation: scrolling-left2 60s linear infinite;
  animation: scrolling-left2 60s linear infinite;
}
/* scrolling-left is continuous/repeatly text */
@keyframes scrolling-left1 {
    0% {transform: translateX(100%);
        -webkit-transform: translateX(100%);}
      100% {transform: translateX(-100%);
          -webkit-transform: translateX(-100%);}
}
@keyframes scrolling-left1 {
    0% {transform: translateX(100%);
        -webkit-transform: translateX(100%);}
      100% {transform: translateX(-100%);
          -webkit-transform: translateX(-100%);}
}
@keyframes scrolling-left2 {
    0% {transform: translateX(0%);
        -webkit-transform: translateX(0%);}
      100% {transform: translateX(-200%);
          -webkit-transform: translateX(-200%);}
}

@-webkit-keyframes scrolling-left1 {
    0% {-webkit-transform: translateX(100%);}
      100% {-webkit-transform: translateX(-100%);}
}
@-webkit-keyframes scrolling-left2 {
    0% {-webkit-transform: translateX(0%);}
      100% {-webkit-transform: translateX(-200%);}
}


.projects{
    /* background-color: var(--background); */
    color: var(--text);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-bottom: 40px;
    
}

.projects > h2{
    width: 80vw;
    margin: auto;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 46px;
    font-size: clamp(36px, 6.33vw, 56px); /* 18 */
    line-height: 52px;
    padding-top: 40px;
}

#particles-js{
    background-color: var(--background);
    width: 100vw;
    height: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.projects > .cards{
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 40px;
    flex-direction: column;
    gap: 20px;
}

.projects > .cards > .card{
    background-color: var(--text);
    border-radius: 20px;
    width: calc(0.52* 100vw);
    min-width: 325px;
    max-width: 400px;
    cursor: pointer;
    
}

.projects > .cards > .card > .desc{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 125px;
    padding-top: 30px;
}

.projects > .cards > .card > .desc > img{
    width: 125px;
    height: 125px;
    border-radius: 10%;

}

.projects > .cards > .card > .desc > .text{
    color: var(--background);

}

.projects > .cards > .card > .desc > .text > h3{
    font-weight: 600;
    font-size: 26px;
    font-size: clamp(20px, 3.6vw, 32px); /* 18 */
    line-height: 0;
}

.projects > .cards > .card > .desc > .text > *{
    font-weight: 300;
    font-size: 11px;
    font-size: clamp(8px, 1.6vw, 14px); /* 18 */
}

.projects > .cards > .card > p{
    color: var(--background);
    font-size: 13px;
    font-size: clamp(10px, 1.8vw, 16px); /* 18 */
    width: 75%;
    margin: auto;
    padding: 20px;
}

.contact-section{
    padding-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    min-height: 70vh;
    
}

.contact-section > h3{
    font-size: 42px;
    font-size: clamp(33px, 6vw, 51px); /* 18 */
    font-weight: 600;
}

.contact-section > img{
    width: 25%;
    max-width: 200px;
    min-width: 150px;
    border-radius: 1000000px;
}

.contact-section > a{
    color: var(--background);
    font-size: 26px;
    font-size: clamp(20px, 3.6vw, 32px); /* 18 */
    padding-top: 40px;
}

.contact-section > .socials{
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    max-width: 250px;
    gap: 50px;
}

.contact-section > .socials .social{
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

footer{
    padding-top: 30px;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 18px;
    font-size: clamp(14px, 2.5vw, 22px); /* 18 */
    font-weight: 300;
    position: relative;
    bottom: 0;
}

footer a{
    color: var(--background);
}

@media screen and (min-width: 750px) {
    .navillustration{
        display: block;
    }
    .about > .content > img{
        width: 20vw;
        height: 20vw;

    }
    .about > .content > .text > p{
        font-weight: 300;
        font-size: clamp(20px, 3.6vw, 32px); /* 18 */
    }

    .about > .content{
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 60px;
    }
    .hero-section > .ctas{
        justify-content: center;
        align-items: center;
        width: auto;
        height: auto;
        gap: 32px;
        margin-left: 64px;
    }

    .projects > .cards{
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        min-height: 70vh;
        gap: 20px;
    }
    .projects > .cards > .card{
        background-color: var(--text);
        border-radius: 20px;
        width: calc(0.52* 100vw);
        min-width: 325px;
        max-width: 470px;
        aspect-ratio: 16 / 9;
        padding-top: 32px;
        display: flex;
        justify-content: end;
        align-items: end;
        flex-direction: column;
    }
    
}

@media screen and (min-width: 1024px) {
    .about > .content > .text > p:nth-child(2){
        display: block;
    }
}