*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Poppins', sans-serif;
}




/* -------------------------------------------------- Apartados exteriores -------------------------------------------------------------- */

section{
    background-image: url("../imgs/Recursos/blackwood_dark.jpg");
    background-size: cover;
    font-size: 18px;
}

section h2{
    font-size: 52px;
    font-weight: 600;
}


.zona-confort{
    width: 100%;
    padding-top: 15%;
    padding-bottom: 15%;
}

.zona-confort img{
    margin-left: 100px;
}

.sinfin-posibilidades{
    padding-bottom: 10%;
}

/* -------------------- Accordions ----------------------- */
.accordion-item{
    background-image: url("../imgs/Recursos/blackwood_dark.jpg");
    border: black;
}
.accordion-button{
    font-size: 22px;
    background-image: url("../imgs/Recursos/blackwood_dark.jpg");
    box-shadow: none !important;
    color: white;
}
.accordion-body{
    font-size: 16px;
}


.accordion-button:not(.collapsed){
    color: white;
}

.accordion-button:not(.collapsed)::after{
    filter: brightness(0%) invert(100%);
} 



@media (max-width: 1100px){
    section h2{
        font-size: 35px;
    }
    .zona-confort{
        padding-top: 20%;
        font-size: 16px;
    }
    .zona-confort img{
        margin-left: 0px;
    }
    .sinfin-posibilidades{
        padding-top: 10%;
        font-size: 16px;
    }
}
@media (max-width: 650px){
    section p{
        font-size: 14px;
    }
    section{
        padding: 5%;
    }
}


/*----------------------------- Carousel ----------------------------*/


.carousel{
    width: 100%;
    height: 80vh;
    position: relative;
    padding: 10%;
}
.carousel ul{
    list-style: none;
    margin-bottom: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
}

.slide > img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide[data-active] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

.carousel-button {
    position: absolute;
    background: none;
    border: none;
    font-size: 4rem;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    border-radius: .25rem;
    background-color: rgba(0, 0, 0, .1);
}

.carousel-button:hover, .carousel-button:focus{
    color: white;
    background-color: rgba(0, 0, 0, .2);
}

.carousel-button.prev{
    left: 1rem;
}
.carousel-button.next{
    right: 1rem;
}

@media (max-width: 900px){
    .carousel-container{
        padding: 0;
    }
}

/* ---------------------------------------- CTA EXTERIORES --------------------------------------------- */

.cta{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("../imgs/exteriores/358b.jpg");
    background-position: top;
    background-size: cover;
    height: 40vh;
}

.cta h2{
    font-size: 4vw;
    font-weight: 600;
    text-shadow: 6px 3px 6px rgba(0, 0, 0, 0.664);
}
.cta p{
    font-size: 1.5vw;
    text-shadow: 6px 3px 6px rgba(0, 0, 0, 0.664);
}

.btnCTA{
    background-color: transparent;
    padding: 15px 40px;
    margin-top: 20px;
    font-size: 20px;
    border: 2px solid white;
    text-decoration: none;
    color: white;
    transition: 0.4s;
}

.btnCTA:hover{
    background-color: white;
    color: black;
    transform: scale(1.2);
}

@media (max-width: 750px){
    .cta h2{
        font-size: 6vw;
    }
    .cta p{
        font-size: 3vw;
    }
    .btnCTA{
        padding: 10px 30px;
    }
}
