.splide{
    margin: -12% 20vw 0 20vw;
    width: 60vw;
}

.splide__track{
    width: 60vw;
    border-radius: 2vw;
}

.splide__arrows{
    display: none !important;
}

.splide__pagination{
    bottom: 5vh;
    right: 2vw;
    justify-content: flex-end;
}

.splide .slide-container img{
    width: 100%;
}

.slide-container h2{
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 25px;
    padding-left: 1vw;
    margin-left: 3vw;
    position: absolute;
    bottom: 2vw;
    border-left: 2px solid var(--primary-color);
    color: #fff;
    z-index: 9;
}

.splide .shadow-box{
    height: 30%;
    position: relative;
    box-shadow: #000 10px -50px 80px;
}

@media screen and (max-width:768px) {
    
    .slide-container h2{
        font-size: 14px;
    }

    .splide__pagination{
        bottom: 20px;
        right: 1vw;
        justify-content: flex-end;
    }
}

@media screen and (max-width:600px){

    .splide{
        width: 80vw;
        margin: -20% 10vw 0 10vw;
    }

    .splide__track{
        width: 80vw;
    }
}

/* ABOUT US */

#about-us{
    margin-top: 25vh;
    display: flex;
    gap: 2vw;
    padding: 0 15vw;
}

#about-us .container{
    margin-top: 4vh;
    width: 34vw;
    display: flex;
    flex-direction: column;
    gap: 3vh;
    align-items: flex-start;
}

#about-us .container h2{
    font-family: 'Lexend', sans-serif;
    color: var(--primary-color);
    font-size: 40px;
    font-weight: 500;
}

#about-us .container div{
    display: flex;
    flex-direction: column;
    gap: 3vh;
}

#about-us .container p{
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    text-align: justify;
}

#about-us .container a{
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    margin-top: 1vh;
    border: 2px solid var(--primary-color);
    transition: 0.3s ease-out;
}

#about-us .container a:hover{
    background-color: #fff;
    color: var(--primary-color);
}

#about-us img{
    width: 34vw;
    border-radius: 2vw;
}

@media screen and (max-width:768px) {
    
    #about-us{
        flex-direction: column;
        margin-top: 10vh;
    }

    #about-us .container{
        width: 100%;
        margin-top: 0;
    }

    #about-us .container h2{
        font-size: 30px;
        text-align: center;
        width: 100%;
    }

    #about-us .container a{
        margin: 0 auto 5vh auto;
        font-size: 14px;
    }

    #about-us img{
        width: 100%;
        border-radius: 10%;
    }
}

/* PRODUCTS */

#products{
    margin-top: 30vh;
    padding: 0 12vw;
}

#products h2, #cases h2, #applications h2{
    font-family: 'Lexend', sans-serif;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10vh;
}

#products .mosaic{
    display: flex;
    gap: 0.5vw;
}

#products .mosaic .vertical{
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    width: calc((76vw - 1vw) * (1/3));
}

#products .mosaic .horizontal{
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}

#products .mosaic .horizontal .row{
    display: flex;
    gap: 0.5vw;
    height: calc((100% - 1vw) * (1/3));
}

#products .mosaic .product{
    width: calc((76vw - 1vw) * (1/3));
    position: relative;
    display: flex;
    justify-content: center;
    position: relative;
}

#products .mosaic .vertical .product{
    height: calc(50% - 0.25vw);
}

#products .mosaic .product .product-hover{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000000aa;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

#products .mosaic .product:hover .product-hover{
    opacity: 1;
}

#products .mosaic .product.center{
    width: calc((76vw - 0.5vw) * (2/3));
    height: 100%;
}

#products .mosaic img{
    width: 100%;
    height: 100%;
}

#products .mosaic .product h3{
    text-align: center;
    color: var(--primary-color);
    background-color: #fff;
    padding: 3px 10px;
    position: absolute;
    bottom: 20px;
    font-family: 'Sora', sans-serif;
    font-size: 25px;
    transform: translateY(100%);
    opacity: 0;
    transition: 0.3s ease-out;
}

#products .mosaic .product:hover h3{
    transform: translateY(0);
    opacity: 1;
}

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

    #products{
        margin-top: 10vh;
    }

    #products h2, #cases h2, #applications h2{
        font-size: 30px;
        margin-bottom: 5vh;
    }

    #products .mosaic{
        flex-direction: column;
    }

    #products .mosaic .vertical, #products .mosaic .horizontal{
        width: 100%;
    }

    #products .mosaic .vertical{
        flex-direction: row;
    }

    #products .mosaic .product{
        width: 49.5vw;
    }

    #products .mosaic .product.center{
        width: 100%;
    }
}

/* CASES */

#cases{
    margin-top: 30vh;
    padding: 0 15vw;
}

#cases .mosaic{
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

#cases .mosaic .row{
    display: flex;
    gap: 1vw;
    height: 40vh;
}

#cases .mosaic .row .card{
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

#cases .mosaic .row:first-child .card{
    width: calc((35vw - 2vw) * (1/2));
}

#cases .mosaic .row:first-child img{
    border-top-right-radius: 2vw;
    border-top-left-radius: 2vw;
}

#cases .mosaic .row:first-child .card:first-child{
    width: 35vw;
}

/* #cases .mosaic .row .card:hover img{
    transform: rotateX(180deg);
} */

#cases .mosaic .row:last-child .card{
    width: calc((35vw - 2vw) * (1/2));
}

#cases .mosaic .row:last-child img{
    border-bottom-right-radius: 2vw;
    border-bottom-left-radius: 2vw;
}

#cases .mosaic .row:last-child .card:last-child{
    width: 35vw;
}

#cases .mosaic .row img{
    width: 100%;
    height: 100%;
    transition: 0.5s ease-out;
}

#cases .mosaic .row .card .container{
    background-color: #000000aa;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    top: 0;
    left: 0;
    transform: rotateX(180deg);
    opacity: 0;
    transition: 0.5s ease-out;
    font-family: 'Sora', sans-serif;
    padding: 0 1vw;
}

#cases .mosaic .row:first-child .card .container{
    border-bottom-right-radius: 2vw;
    border-bottom-left-radius: 2vw;
}

#cases .mosaic .row:last-child .card .container{
    border-top-right-radius: 2vw;
    border-top-left-radius: 2vw;
}

/* #cases .mosaic .row .card:hover .container{
    transform: rotateX(0deg);
    opacity: 1;
} */

#cases .mosaic .row .card .container h3{
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

#cases .mosaic .row .card .container p{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width:768px) {
    
    #cases{
        margin-top: 10vh;
    }

    #cases .mosaic .row{
        flex-wrap: wrap;
        height: 100%;
    }

    #cases .mosaic .row .card{
        border-radius: 10%;
    }

    #cases .mosaic .row .card img{
        height: 100%;
    }

    #cases .mosaic .row:first-child .card:first-child, #cases .mosaic .row:last-child .card:last-child{
        width: 100%;
    }

    #cases .mosaic .row:first-child .card, #cases .mosaic .row:last-child .card{
        width: calc(50% - 0.5vw);
    }
}

/* VIDEO */

.info-video{
    margin-top: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-video video{
    width: 100%;
    max-height: 90vh;
    object-fit: cover;
    cursor: pointer;
}

.info-video button{
    position: absolute;
    background-color: transparent;
    border: none;
    cursor: pointer;
    user-select: none;
    pointer-events: none;
}

.info-video button img{
    height: 15vh;
}

@media screen and (max-width:768px) {
    
    .info-video{
        margin-top: 10vh;
    }

    .info-video button img{
        height: 50px;
    }
}

/* APPLICATIONS */

#applications{
    margin-top: 30vh;
    padding: 0 12vw;
}

#applications .cards{
    display: flex;
    gap: 2vw;
}

#applications .cards .card{
    background-color: var(--primary-color);
    min-width: calc(70vw * 1/4);
    padding: 2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
    border-radius: 1vw;
}

#applications .cards .card h3{
    font-family: 'Sora', sans-serif;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

#applications .cards .card img{
    width: 80%;
    margin: auto 0;
}

#applications .cards .card.pop img{
    animation: pop 1.5s ease infinite;
}

#applications .cards .card.split img{
    animation: split 1.5s ease infinite;
}

@keyframes pop {
    
    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-10px);
    }

    100%{
        transform: translateY(0);
    }
}

@keyframes split {
    
    0%{
        transform: translateX(-5px);
    }

    50%{
        transform: translateX(5px);
    }

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

@media screen and (max-width:768px){
    
    #applications{
        margin-top: 10vh;
    }

    #applications .cards{
        flex-direction: column;
        align-items: center;
        gap: 5vh;
    }

    #applications .cards .card{
        width: 60vw;
        min-width: inherit;
        padding: 10vw;
        border-radius: 10%;
        gap: 5vw;
        min-height: 300px;
    }

    #applications .cards .card img{
        width: 70%;
        height: auto;
    }
}

@media screen and (max-width: 1000px) {
    
    #applications .cards .card h3{
        font-size: 14px;
    }
}

/* CONTACT */

#contact{
    margin-top: 30vh;
    background-image: url(../images/contact.webp);
    background-repeat: repeat-x;
    background-color: #000;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#contact img{
    margin-top: -1px;
    width: 65%;
    height: 567px;
    object-fit: cover;
}

#contact form{
    position: absolute;
    left: 19.5vw;
    display: flex;
    flex-wrap: wrap;
    background-color: var(--primary-color);
    padding: 3vw;
    width: 31vw;
    gap: 0.5vw;
    border-radius: 1vw;
}

#contact form h2{
    font-family: 'Sora', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1vw;
    width: 100%;
}

#contact form h2:nth-child(2){
    display: none;
}

#contact input, #contact textarea, #contact button{
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    border: none;
    border-radius: 0.5vw;
    padding: 12px 8px 8px 12px;
    width: 100%;
}

#contact form .form-field{
    width: 12.25vw;
}

#contact form .form-field.span-full{
    width: 100%;
}

#contact textarea{
    width: 100%;
    resize: none;
}

#contact textarea::placeholder, #contact input::placeholder{
    color: #000;
}

#contact button{
    width: 100%;
    background-color: #302f2e;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-out;
}

#contact button:hover{
    background-color: #000;
}

#contact span{
    font-family: 'Sora', sans-serif;
    width: 100%;
    font-size: 10px;
    color: #fff;
}

#contact span:nth-child(6){
    margin-left: 51%;
}

@media screen and (max-width: 768px) {
    
    #contact{
        margin-top: 10vh;
    }

    #contact form{
        width: 80%;
        left: 10vw;
        padding: 10vw;
        border-radius: 5%;
        gap: 2vw;
    }

    #contact form .form-field{
        width: calc(50% - 1vw);
    }
}