.carousel {
    background-image: url("../../imgs/slider/slider-1.jpg");
    height: 87.5vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: 77.5%;
    position: relative;
}

.carousel img {
    width: 150px;
    position: absolute;
    bottom: 5%;
    right: 2.5%;
    z-index: 9;
}

.carousel h1 {
    font-size: 3rem;
}

.carousel h1 span {
    color: var(--primary-color);
}

.carousel button {
    padding: 12.5px 0;
    margin-top: 25px;
    width: 120px;
    font-size: 10.5px;
    border-radius: 50px;
    border: none;
    color: #fff;
    background-color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
}

section {
    padding: 0 10%;
    display: flex;
    flex-direction: row;
    position: relative;
    height: 100vh;
    align-items: center;
}

section .info {
    width: 55%;
}

section .info h3 {
    font-size: 21px;
    color: #292929
}

section .info p {
    padding-top: 15px;
    width: 90%;
    font-size: 14px;
    color: #292929;
}

section .info button {
    padding: 12.5px 0;
    margin-top: 35px;
    width: 120px;
    font-size: 10.5px;
    border-radius: 50px;
    border: none;
    color: #fff;
    background-color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
}

section .video {
    width: 55%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: end;
    z-index: 0
}

section .video button {
    width: 100px;
    height: 100px;
    border: none;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
    margin-right: -50px;
    z-index: 1
}

section .video img {
    width: 385px;
    height: 387px;
}

section .arrow-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid white;
}

/* Mobile */
@media only screen and (max-width: 600px) {
    .carousel {
        height: 57.5vh;
        position: relative;
    }
    .carousel h1{
        z-index: 1;
        line-height: 2.5rem;
    }

    .carousel .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255, 0.25);
        background: linear-gradient(90deg, rgba(225,227,231,0.75), rgba(225,227,231,0.35));
    }

    section {
        flex-direction: column;
        position: relative;
        height: auto;
        margin-bottom: 50px;
    }

    section .video {
        width: 80%;
        position: absolute;
        top: 200px;
        left: 10%;
    }

    section .video img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    section .info img {
        width: 100%;
    }
}


@media only screen and (max-width: 1049px) {
    .notmobile-home {
        display: none !important;
    }
    section .info {
        width: 100%;
    }
}

@media only screen and (min-width: 1050px) {
    .mobile-home {
        display: none;
    }
}
