*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans', sans-serif;
}

.contenedor{
    padding: 60px 0;
    width: 100%;
    max-width: 1500px;
    margin: auto;
    overflow: hidden;
}

.titulo{
    color: midnightblue;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */

header{
    width: 100%;
    height: 500px;
    background: #F0F2F0;  /* fallback for old browsers */
    background: -webkit-background: linear-gradient(to right, hsla(229, 100%, 13%, 0.596), hsla(120, 7%, 95%, 0.596)), url(../imag/Portada2.jpg);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(229, 100%, 13%, 0.596), hsla(120, 7%, 95%, 0.596)), url(../imag/Portada2.jpg); 
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: right;
    padding: 40px 60px 0 0;
}

nav > a{
    color: moccasin;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}
nav > a:hover{
    text-decoration: underline;
}


header .textosheader{
    display: flex;
    height: 300px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textosheader h1{
    font-size: 50px;
    color: hsl(49, 100%, 50%);
}

.textosheader h2{
    font-size: 30px;
    color: hsl(49, 100%, 50%);
    font-weight: 400;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.app{
    background-color: brown;
    color: darkorange;
}

/* About us */

.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
    display: inline;
}

.imagen-about-us{
    width: 100%;
    background: #f2f2f2;
    height: 30%;
    justify-content: center;
}

.imag{
    width: 100%;
    background: #f2f2f2;
    height: 30%;
    justify-content: center;
}
.des{
    display: block;
    justify-content: center;
    padding: 20px 0 0 15px;
}
.p{
    color: goldenrod;
    margin:15px;
}

.google{
    width: 90px;
    
   
}

.sobre-nosotros .contenido-textos{
    width: 90%;
    text-align: center;
    margin: 40px;
    background: #696969;
}

.contenido-textos h3{
   margin-bottom: 15px;
   text-align: center;
}

.contenido-textos h3 span{
    background: #4d0686;
    color: rgb(145, 142, 142);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 15px 0 rgb(216, 28, 28);
    margin-right: 5px;
}

.enlacess{
    text-align: center;
    background: #cccccc;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    height: 1300px;
    margin: 0px;
    
}



.enlacess a{
    color: rgb(235, 247, 239);
    padding: 15px;
    height: 15%;
    font-display: 0 0 10%;
    text-align: center;
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    text-decoration: none;
    flex-direction: column;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-right: 10px 0 10px;
    text-decoration: rgb(15, 8, 8);
    border-radius: 20% ;
    box-shadow: 15px 0 15px 0 rgb(238, 187, 187);
    background:white;
 
}
.enlacess a >h3{
    color: rgb(48, 49, 44);
    font-size: small;
    font-style: oblique;
    flex-direction: column;
    border: rgb(2, 8, 14);
   
}
   

.enlacess a >h3:hover{
    text-decoration: underline;
    color: tomato;
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    
}

.enlacess a >img{

    margin: 0 25%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    cursor: pointer;
    border-radius: 30%;
    background-size: 100% auto;
}





.boton{
    width: 80px;
    color: goldenrod;
    background-color: rgb(58, 73, 73);
    border-radius: 70%;
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
   
}

.boton:hover{
    text-decoration: underline;
    color: lime;  
}



.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 200;
    text-align: center;
}

/* Galeria */

.portafolio{
    background: #f2f2f2;
}

.imagen-port{
    width: 100%;
    height: 600px; 
    display: flex;
    justify-content: space-evenly;
}

.conten-foo{
    color: rgb(6, 12, 6);
    
}

.conten-foo h4{
    font-weight: 1500;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

.conten-foo p{
    font-weight: 600;
    text-align: center;
}

.titulo-final{
    color: black;
    text-align: center;
    font-weight: 800;
    padding: 10px;
    display: center;
}

element.style {
}
video[Estilo de atributos] {
    width: 40%;
    height: 40%;
}
hoja de estilo del agente de usuario
video {
    object-fit: contain;
}

.foxsport-2{
    width: 100%;
    margin: 0 0 150px 0;
    justify-content: center;
    background: #f2f2f2;
}

.foxsport-video{
    display: flex;
    justify-content: space-evenly;
    margin: 20px;
}

.video{
    display: flex;
    margin: 20px;
    flex-direction: column;
    justify-content: center;
}

.cookies-box {
    position: fixed;
    display: flex;
    justify-content: center;
    bottom: 0;
    width: 100%;
    background: #3f58e9;
    border: 2px medium rgb(15, 12, 12);
    transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
}
.cookies-box .container-cookies {
    padding: 20px 0;
    max-width: 90%;
    display: flex;
    align-items: center;

}
.cookies-box .container-cookies .paragraphs p {
    color: #fff;
}
.cookies-box .container-cookies .paragraphs p a {
    color: #cccccc;
    transition: all 300ms ease-in;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
}
.cookies-box .container-cookies .paragraphs p a:hover {
    color: #fff;
}
.cookies-box .container-cookies .buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
}
.cookies-box .container-cookies .buttons button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
    transition: all 300ms ease-in;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
}
.cookies-box .container-cookies .buttons button:hover {
    color: tomato;
    border: 2px solid tomato;
}
.cookies-box .container-cookies .buttons button:last-child {
    margin-top: 5px;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    background: cyan;
    color: purple;
    border: 1px solid black ;
    padding: 15px;
    display: flexbox;
    justify-content: space-evenly;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
}
.modal .titulo {
    padding: 2%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.modal .titulo #close_modal {
    padding: 15px;
    border: 2px solid #000;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    background: transparent;
    font-weight: bold;
    transition: all 200ms ease;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    
}

.modal .titulo #close_modal button {
 padding: 5px;
 width: 2px;
}
.modal .titulo #close_modal:hover {
    color:tomato;
    border: 2px solid tomato;
}
.modal .parrafo {
    text-align: justify;
    margin-bottom: 20px;

}

.modal .parrafo p{
    font-size: small;
}

.modal .aceptar button {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -ms-border-radius: 40px;
    -o-border-radius: 40px;
    transition: all 300ms ease-in;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -ms-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
}
.modal .aceptar button:hover {
    color:tomato;
    border: 2px solid tomato;
}

#ver_pol {
    cursor: pointer;
}

#ver_pol:hover {
    color: tomato;
}


/* footer */

footer{
    background-color: #0084ff;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: space-evenly;
    padding-bottom: 50px;
}

@media screen and (max-width:900px){
    header{
        background-position: center;
    }
    .contenedor-sobre-nosotros{
        
        flex-direction: column;
         justify-content: center;
        align-items: center;
        
    }

    .sobre-nosotros .contenido-textos{
        
        width: 80%;
        
        
    }
    .enlacess{
       
        width: 100%;
        
        
    }

    .enlacess >a{
    
        width: 30%;
        height: 150px;
        display: flex;
        
       
    }

    


    .imagen-about-us{
       width: 100%;
    }

    .imagen-port{
        width: 100%;
        flex-direction: column;
    }
 
@media (max-width: 900px) {
    

    .modal{
      
        
        width: 70%;
        height: 90%;
    }

    .modal .titulo #close_modal{
       
        
        height: 30%;
        margin: 10px;
        
    }

    .modal .titulo #close_modal button{
        display: flex;
        justify-content: center;
    }

    .modal .parrafo p{
        font-size: xx-small;
    }

    


        
}

@media screen and (max-width: 900px) {
    

    .modal{
        
        width: 80%;
        height: 90%;
    }

    .modal .titulo #close_modal{
       
        
        height: 30%;
        margin: 10px;
        
    }

    .modal .titulo #close_modal button{
        display: flex;
        justify-content: center;
    }

    .modal .parrafo p{
        font-size: xx-small;
    }


        
}