*{
    font-family: 'Montserrat', sans-serif;
    margin: auto 0;
    
}

body{
    background-color: #181D31;

} 


/*/-/-/-/ NAV /-/-/-/*/
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 4%;
    margin-right: 3%;
}
ul{
    display: flex;
    width: 300px;
    justify-content: space-around;
    list-style: none;

}
li:active{
    transform: translate(3px, 2px);
}

.link{
    text-decoration: none;
    box-shadow: 2px 3px #678983;
    border-radius: 10px;
    padding: 10px;
    background-color: #E6DDC4;
    color:#181D31 ; 
} 
.link:active {
    box-shadow: none;   
}


/*------------blanco--------*/
.compu1{
    animation: caida;
    animation-timing-function: ease-in ;
    animation-duration: 3s;
    
}


/*----------azul------------*/
.compu2{
    animation: caida;
    animation-timing-function: ease-in ;
    animation-duration: 4s;
  
}

@keyframes caida {
    0% {
        transform: translate(0,-10px);
        opacity:0;
    }
    25% {
        transform: translate(0,-15px);
        opacity:0;
    }
    50% {
        transform: translate(0,0);
        opacity:1;
    }
    100% {
        transform: translate(0,0);
        opacity:1;
    }
}


/*/-/-/-/ IMG CODIGO FONDO /-/-/-/*/

header {
    background: url('./imgs/codigo.jpg') fixed;
    background-size: cover;
    height: 500px;
    color: #eeeeee;
    font-size: 28px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
    background-position: 50% 0; 
}



h1 {
    text-shadow: 2px 2px rgb(128,128,128), 6px 6px  rgb(0, 0, 0);
    text-align: center;
}


/*/-/-/-/ INDEX /-/-/-/*/
h2{
    color: rgb(103, 137, 131);
    text-shadow:  2px 2px  rgb(0, 0, 0);
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

/*--- MAIN ---*/
.contenedor_inicio {
    margin: 100px 0;
    padding: 100px 20px;
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
  
}

.tarjeta_inicio {
    width:350px;
    height: 400px;
    border: 5px solid #678983;
    background-color: #E6DDC4;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.tarjeta_inicio img {
    max-width: 100%;
    margin: 0;
}

.tarjeta_inicio p{
    width: 90%;
    text-align: center;
    height: 30px;
    color: #181D31;
    margin-top: 30px; 
    margin-bottom: 20px;
}

.tarjeta_inicio a {
    text-decoration: none;
    color: #F0F5E4;
    background-color: #181D31;
    box-shadow: 2px 3px #678983;
    text-align: center;
    border-radius: 10px;
    padding: 10px 20px;
    margin-top: auto; 
    margin-bottom: 20px;
    width: 30%;
}

.tarjeta_inicio a:active{
    transform: translate(3px, 2px);
    box-shadow:none;
}


/*/-/-/-/ HOJA HISTORIA /-/-/-/*/
.contenedor_historia{
    padding: 100px 20px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tarjeta_historia{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding:80px 50px;
    gap: 20px;

}

.tarjeta_historia h2{
    text-shadow: 2px 2px black;
    font-size: 40px;
    text-align: center;
    color: #678983;

}
.historia_p{
    width: 45%;
}
.tarjeta_historia p{
    color:  #E6DDC4;
    margin: 0;
}

/*--- VIDEO ---*/
.video_historia{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0px;
    
}
.video_historia h2{
    text-align: center;
}
.contenedor_video{
    padding: 4px;
   background-color: black;
   width: 102%;
}

.contenedor_video video{
    width: 100%;
}

.barra_reproductora{
    background-color: #1d1d1d;
    border-radius: 10px;
    padding: 20px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.barra_reproductora p{
    color: #ffffff;
    margin-right: 1.5%;
}
#video_pauseBtn{
    margin-right: 55%; 
}
button{
    box-shadow: 2px 3px #678983;
    border-radius: 10px;
    padding: 10px;
    background-color: #E6DDC4;
    color:#181D31 ;
    width: 10%;

}
button:active{
    transform: translate(3px, 2px);
    box-shadow: none;
}


/*/-/-/-/ HOJA JUEGO /-/-/-/*/
.contenedor_juego{
    padding: 100px 20px;
}

.card_play{
    width: 275px;
    height: 400px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
 
}
.card_soltar{
    border: 2px solid black;
    background-color: grey;
}
.card_soltar:hover{
    background-color: #1d1d1d;
}

.card_play p{
    color: #E6DDC4;
}
.card_play img{
    width: 100%;
    height: 100%;
}
.contenedor_img{
    padding: 35px;
    gap: 6px;
}


.contenedor_texto, .contenedor_img{
    display: flex;
    flex-direction: row;
    justify-content: center;
}


.btn_reiniciar{
    display: flex;
    justify-content: center;
    margin: 0px auto;
    width: 255px;
}


/*/-/-/-/ FOOTER /-/-/-/*/
footer {
    height: 100px;
    background-color: #678983;
    color: #181D31;
    padding: 40px;
    display: flex;

    align-items: center;
}

footer img {
    height: 80px;
    margin-bottom: 10px;
}

footer h3 {
    margin: 0;
    font-size: 14px;
    text-align: center;
    padding-bottom: 20px;
    margin-left: 50px;
}

footer p {
    margin: 0;
    font-size: 16px;
    margin-left: auto;
}