/** -------------------------------------------------------------------------------- CAROUSEL */
.carousel {
    margin-bottom: 0;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}


@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}



/** -------------------------------------------------------------------------------- CAROUSEL IMAGE CONTAINER AND MASK*/
.image-container {
    width: 100%;
    height: 100%;
    /* Defina a altura desejada para o corte da imagem aqui */
    overflow: hidden;
    display: flex;
}

.image-container img {
    width: 100%;
    height: 80vh;
}

/* Ajuste a proporção da imagem para telas maiores */
@media screen and (min-width: 1000px) {
    .image-container img {
        height: 100vh;        
    }
}

/* mascara que fica em cima da imagem do carrosel*/
.image-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Define a cor acinzentada aqui */
    z-index: 1;
    /* Garante que a máscara esteja acima da imagem */
    pointer-events: none;
    /* Permite interação com a imagem subjacente */
}



/** -------------------------------------------------------------------------------- CTA */
#cta {
    min-height: 200px;
    padding: 20px;
    text-align: center;
    background-color: var(--primary);
    /* Overwatch orange */
    color: #fff;
}

#cta h2 {
    margin-top: 0;
}

#cta a {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
}

#cta a:hover {
    background-color: #fff;
    color: #333;
}



/** -------------------------------------------------------------------------------- FOOTER */
/* Footer styles */
#footer {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

#footer p {
    margin: 0;
}


.link-footer {
    color: var(--primary);
}


/* CTA section styles */
#ctagrey {
    position: relative;
    text-align: center;
    align-items: center;
    background-image: url(/site/images/w1.jpg);
    background-size: cover;
    /* para ajustar o tamanho da imagem ao div */
    background-position: center;
    /* para centralizar a imagem no div */
    background-attachment: fixed;
    /*faz o efeito de parallax*/
    height: 400px;
    display: block;
}


/* Corrijo a rolagem até as sections*/
.section-padding {
    padding-top: 80px;
    /* Altura da navbar em pixels */
}








