/* CSS IBERNET CLOUD - MARKETING DIGITAL */

/* CUERPO */

body{
    margin: 0;
    background-color: #FFFFFF;
    font-family: Helvetica;
}

/* COOKIES */

#avisoCookies {
    display: none;
    background: #fff;
    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 #galleta {
    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: rgb(44, 44, 44);
    border:2px solid black;
    border-radius: 0px;
    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:#BEDFFB;
    color:black;
}

#avisoCookies #enlaceCookies {
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
}

#avisoCookies #enlaceCookies:hover {
    text-decoration: underline;
}

#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;
}

/* CABECERA */

header {
    width: 100%;
    height: 70vh;
    background-color: #B5B5B5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Merriweather;
}

header h1 {
    font-size: 50px;
}

#contenedorVideo {
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

#video {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

#texto-header {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #FFFFFF;
    z-index: 1; 
    margin-top: 50px;
}

#texto-general {
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
}

#titulo-general {
    text-align: center;
    font-size: 45px;
    font-weight: bolder;
    margin: 20px;
    padding:10px;
}

#parrafo-general {
    font-size: 21px;
    text-align: center;
    width: 700px;
    padding-bottom: 40px;
}

hr {
    width: 50%;
}

#contenedor-servicios {
    text-align: center;
    overflow: hidden;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#caja-servicio {
    padding:30px;
    margin-left:10px;
    margin-right:10px;
    margin-top: 20px;
    margin-bottom: 26px;
    width: 29%;
    border-radius: 5px;
    border:1px solid rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#caja-servicio img {
    height:200px;
    margin-top: 30px;
    margin-bottom: 45px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#caja-servicio #titulo {
    font-weight: bolder;
    font-size: 25px;
}

#caja-servicio #parrafo {
    font-size:17px;
}

#btn {
    background-color: black;
    height:50px;
    padding:6px;
    width: 300px;
    border:2px solid black;
    font-size: 13px;
    color: white;
    font-weight: bolder;
}

#btn:hover {
    background-color:#BEDFFB;
    border: 2px solid black;
    color: black;
}

#caja-servicio:hover {
    background-color: #f4f3f3;
}

/* @MEDIAS */

@media only screen and (max-width: 1100px) {

    header h1 {
        font-size: 35px;
    }
    
    #titulo-general {
        font-size: 38px;
    }

    #parrafo-general {
        width: 400px;
    }

    #caja-servicio {
        width: 95%;
    }
    
    #caja-servicio img {
        height:200px;
        margin-top: 30px;
        margin-bottom: 45px;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }
    
    #caja-servicio #titulo {
        font-weight: bolder;
        font-size: 20px;
    }
    
    #caja-servicio #parrafo {
        font-size:17px;
    }
    
    #btn {
        background-color: black;      
        height:45px;
        width: auto;
    }
}

@media only screen and (max-width: 450px) {

    #titulo-general {
        font-size: auto;
    }
    
    #parrafo-general {
        width: auto;
    } 
    
    hr {
        width: 90%;
    }
}  