* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}


/* VIDEO SECTION */

.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.video-section video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* CONTENT SECTION */

.content-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #fff;
}


/* GRID */

.parent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    column-gap: 2%;
    padding-left: 3%;
    padding-right: 3%;
    height: fit-content;
    row-gap: 10%;
}

.container {
    padding: 1%;
    margin-inline: auto;
    justify-content: center;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    width: 33.33%;
    height: 100svh;
}

.carousel-container {
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    width: 100%;
    max-width: 100%;
    height: 100%;
    color: #ffffff;
    overflow: hidden;
}

.carousel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    overflow: visible;
    transform: translateX(var(--slide-offset, 0px));
    transition: transform 250ms ease-in-out;
}

.card {
    min-width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    color: #ffffff;
    font-size: 2rem;
    margin-left: 30%;
    margin-right: 30%;
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    background-color: rgb(255, 0, 191);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
}

.button:disabled {
    opacity: 0.45;
}

.Previous {
    left: 0%;
}

.Next {
    right: 0%;
}

@media (max-width: 700px) {
    .video-section {
        height: auto;
    }
    .video-section iframe {
        display: block;
    }
    .container {
        width: 100%;
    }
    .carousel-container {
        width: 100%;
        height: 100%;
    }
    .card {
        min-width: 100%;
        height: 100%;
    }
    button {
        color: #ffffff;
        font-size: 1.5rem;
        margin-left: 5%;
        margin-right: 5%;
        position: absolute;
        top: 95%;
        transform: translateY(-50%);
        background-color: rgb(255, 0, 191);
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 10rem;
    }
}