/* CSS ADDE - INDEX */

/* GLOBAL */

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/* COOKIES */

#avisoCookies {
    display: none;
    background: #FFFFFF;
    color: #28252B;
    padding: 20px;
    width: calc(100% - 40px);
    max-width: 300px;
    line-height: 150%;
    border-radius: 10px;
    position: fixed;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    padding-top: 60px;
    box-shadow: 0px 0px 15px #888888;
    text-align: center;
}

#avisoCookies.activo {
    display: block;
}

#avisoCookies #cookie_adde {
    max-width: 100px;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
}

#avisoCookies #tituloCookies {
    font-weight: bold;
}

#avisoCookies #tituloCookies, #avisoCookies #parrafoCookies {
    margin-bottom: 15px;
}

#avisoCookies #botonCookies {
    width: 100%;
    background-color: #28252B;
    border:2px solid black;
    border-radius: 10px;
    color : #FFFFFF;
    text-align: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: .3s ease all;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}

#avisoCookies #botonCookies:hover {
    background-color: #FEFF86;
    color: #28252B;
}

#fondoAvisoCookies {
    display: none;
    background: rgba(0,0,0,.20);
    position: fixed;
    z-index: 99;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

#fondoAvisoCookies.activo {
    display: block;
}

/* CUERPO */

.top{
    height: 165px;
}

.contenido_general{
    margin-bottom: 30px;
}

.bg-header {
    position: relative;
    height: 70vh;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    background-color: #AFD3E2;
    background-image: url("../imagenes/banner.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.promo-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.promo-text {
    color: #000000;
    font-size: 48px;
    text-align: center;
}

.promo-btn {
    background-color: #28252B;
    color: #FFFFFF;
    border:2px solid black;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.promo-btn:hover {
    background-color: #FEFF86;
    color: #28252B;
}

.contenido, .contenido2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    justify-content: center;
    color: rgb(0, 0, 0);
    margin-top: 50px;
    margin-bottom: 50px;    
    gap: 50px;
}

.texto {
    width: 500px;
    text-align: left;  
}

.texto p a {
    padding: 3px;
    border-radius: 5px;
    text-decoration: none;
    background-color: #28252B;
    color: #FFFFFF;
}

.texto p a:hover {
    padding: 3px;
    border-radius: 5px;
    text-decoration: underline;
    background-color: #28252B;
    color: #FEFF86;
}

.img1,.img2,.img3 {
    background-size: cover;
    background-position: center center;
    height: 500px;
    width: 500px;
}

.img1{
    background-image: url("../imagenes/imagen01.png");
}

.img2 {
    background-image: url("../imagenes/imagen02.jpeg");
}

.img3{
    background-image: url("../imagenes/imagen03.jpeg");
}

.texto h2 {
    font-size: 42px;
    margin-bottom: 43px;
    text-align: left;
}

/* @MEDIAS */

@media screen and (max-width: 1105px) {
    
    .contenido2 {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    
    .top {
        height: 91px;    
    }
    
    .promo-text {
        font-size: 5px;
    }
}

@media screen and (max-width: 750px) {
    
    .texto {
        width: 300px;  
    }
    
    .img1,.img2,.img3 {
        height: 300px;
        width: 300px;
    }
    
    .texto h2 {
        font-size:30px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 749.60px) {
    
    .texto {
        width: 300px;
        font-size: 16px;  
    }
    
    .img1,.img2,.img3{
        height: 300px;
        width: 300px;
    }
    
    .texto h2 {
        font-size:20px;
        margin-bottom: 10px;
    }

    .contenido,.contenido2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        margin: 0 auto;
        justify-content: center;
        color: rgb(0, 0, 0);
        margin-left: 6px;
        margin-right: 6px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
    .contenido {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
       
    .promo-text {
        font-size: 20px;
    }
}

@media screen and (min-width: 501px) and (max-width: 900px) {
       
    .promo-text {
        font-size: 40px;
    }
}

@media screen and (width: 540px) {
       
    .promo-text {
        font-size: 30px;
    }
}
