#main {
    position: relative;

}

[data-scroll-container] {
    overflow: hidden;
}

[data-scroll-section] {
    position: relative;
}

#page {
    position: relative;
    height: 8dvh;
    width: 100vw;
    background-color: white;
}



#challenges {
    position: relative;
    height: 100dvh;
    width: 100vw;
    background-color: white;
}

#challenges>* {
    box-sizing: border-box;
    max-height: 100%;
    overflow: hidden;
}

.challenge_section {
    right: 10% !important;
    top: 5% !important;
    position: absolute !important;
    width: 50% !important;
    padding: .5%;
}

.solution_section {
    left: 41%;
    right: 5%;
    position: absolute;
}

#solutions {
    position: relative;
    min-height: fit-content !important;
    height: 90vh;
    width: 100vw;
    background-color: #ffffff;
}

#products {
    position: relative;
    min-height: fit-content !important;

    height: 125vh;
    width: 100vw;
    background-color: #0f0f0f;
}

.blob {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: .12;
}

.blob span {
    display: block;
    width: 423px;
    height: 423px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, .12), hsla(0, 0%, 100%, .8));
}

#about {
    min-height: fit-content;
    width: 100vw;
    background: #0f0f0f
}

#contact {
    position: relative;

    height: 85dvh;
    background: none;
    margin: 0;
    padding: 0;
}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/img/shape6.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.06;
    z-index: -1;
    max-height: 100vh;
}

canvas {
    position: relative;
    z-index: 1;
    max-width: 40%;
    margin-top: 20% !important;
    height: 410px;
}



.solution_name {
    font-size: 16px;
    font-weight: 450;
    color: rgb(75, 74, 74);
}


@keyframes anim {
    0% {
        transform: translateX(150%);
    }

    100% {
        transform: translateX(-100%);
    }
}

#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7%;
    width: 100%;
    position: fixed;
    z-index: 99;
    padding: 0px 30px;
}

#nav>h3 {
    font-weight: 400;
    font-size: 22px;
}

#nav>button {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #000;
    color: #fff;
    border: none;
}


/* responsive  */

@media screen and (min-width: 481px) and (max-width:768px) {

    #challenges {
        height: 650px;
    }

    .challenge_section {
        top: 0 !important
    }

    #solutions {
        height: 700px;
        margin-bottom: 5%;
    }

    canvas {
        display: none;
    }

    #products {
        height: 780px;
    }

    #contact {
        height: 500px;

    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {

    .pin-spacer {
        width: 25% !important;
    }

    canvas {
        display: none;
    }

    #challenges {
        min-height: 46rem !important;
        max-height: 50rem !important;
    }

    .challenge_section {
        right: 2% !important;
        position: absolute !important;
        width: 90% !important;
        left: 8%;
    }

    .solution_section {
        right: 2% !important;
        /* top: 5% !important; */
        position: absolute !important;
        width: 90% !important;
        left: 8%;
    }

    #solutions {
        min-height: 46rem !important;
        max-height: 50rem !important;
    }

    #products {
        min-height: 60dvh;
        max-height: 70dvh !important;
    }

    #contact {
        height: 60dvh;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1261px) {

    #challenge {
        height: 1250px !important;
    }

    .challenge_section {
        right: 4% !important;
        top: 5% !important;
        position: absolute !important;
        width: 54% !important;
    }

    #solutions {
        height: 1500px;
    }
}


@media screen and (min-width:1025px) and (max-width: 1399px) {
    #contact {
        height: 725px !important;
    }
}


@media screen and (min-width:1025px) and (max-width: 1536px) and (max-height: 819px) {

    #main {
        max-height: 1300dvh;
    }

    .pin-spacer {
        height: 100% !important;
    }

    #challenges {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120dvh;
        height: auto;
        overflow: visible;
    }

    .challenge_section {
        right: 5% !important;
        top: 5% !important;
        position: absolute !important;
        width: 55% !important;
    }

    canvas {
        z-index: 1;
        max-width: clamp(300px, 40%, 450px);
        height: clamp(400px, 100%, 420px);
        padding: 45px;
        margin-top: 15% !important;
        overflow: visible;
    }

    #solutions {
        height: 120dvh;
    }

    #contact {
        height: 100dvh !important;
    }

}


@media (max-width: 420px) and (max-height:896) {
    #challenges {
        min-height: calc(100% + 100px);
        height: 130vh !important;
    }


}

@media (max-width: 480px) {
    .pin-spacer {
        height: auto;
    }

    #challenges {
        min-height: 1180px;
        height: 1180px;
        max-height: 1200px;

        padding-bottom: 2rem;
    }

    .challenge_section {
        top: 0 !important;
    }

    .solution_section {
        left: 10%;
    }

    #solutions {
        height: 1300px;
        min-height: 1300px;
        max-height: 1310px;
        margin-bottom: 5%;
        padding-bottom: 2rem;
    }

    canvas {
        display: none;
    }

    #products {

        height: 720px;

    }

    #contact {
        height: auto;
        min-height: 360px;
        padding: 1.2rem;
    }
}

/* @media screen and (min-width: 381px) and (max-width: 390px) {
    #solutions {
        margin-bottom: 20%;
        height: auto;
        min-height: 80vh;
    }

    #challenges {
        min-height: calc(100% + 100px);
        height: auto;
        min-height: 75vh;
    }

    #products {
        height: auto;
        min-height: 55vh;
    }
}

@media (max-width: 380px) {
    #solutions {
        margin-bottom: 25%;
        height: auto;
        min-height: 75vh;
    }

    #challenges {
        min-height: calc(100% + 100px);
        height: auto;
        min-height: 74vh;
    }

    #products {
        height: auto;
        min-height: 55vh;
    }
}

@media (max-width: 360px) {
    #challenges {
        height: auto;
        min-height: 78vh;
    }
}

@media (max-width: 280px) {
    #challenges {
        height: auto;
        min-height: 88vh;
    }

    #solutions {
        height: auto;
        min-height: 82vh;
    }
} */


/* @media (max-width: 480px) {

    .pin-spacer {
        height: auto;
    }

    #challenges {
        height: 85rem !important;
    }

    .challenge_section {
        top: 0 !important;
    }

    .solution_section {
        left: 10%;
    }

    #solutions {
        height: 85rem !important;
        margin-bottom: 5%;
    }

    canvas {
        display: none;
    }

    #products {
        height: 60rem !important;
    }

    #contact {
        height: 32rem;

    }
}

@media screen and (min-width:381px) and (max-width: 390px) {
    #solutions {
        margin-bottom: 30%;
        height: 80rem;
    }

    #challenges {
        min-height: calc(100% + 100px);
        height: 75rem;
    }

    #products {
        height: 55rem;
    }
}


@media (max-width: 380px) {
    #solutions {
        margin-bottom: 30%;
        height: 75rem;
    }

    #challenges {
        min-height: calc(100% + 100px);
        height: 74rem;
    }

    #products {
        height: 55rem;
    }
}

@media (max-width: 360px) {
    #challenges {
        height: 78rem;
    }
}

@media (max-width: 280px) {
    #challenges {
        height: 88rem;
    }

    #solutions {
        height: 82rem;
    }
} */