@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');

*	{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

h3{
    margin 10px;
    font-size: 30;
    position: center;
}
header{
    margin: 10px;
    font-size: 70px;
    color: white ;
    background: #0a1128;
    font-family: 'Bungee Shade', cursive;

}
menu{
    background: white;
    margin: 10px;
    font-size: 30px;
    color: white;
    position: center;
    border-radius: 20px;

}
body{
    margin: 10px;
    font-size: 30px;
    color: white;
    background: #1282a2;
    position: center;
}
center{
    margin-top: 20px;
    font-size: 40px;
    position: center;
}
div{
    margin: auto;
    position: center;

}
nav{
    margin-top: 70px;
}
nav h2{
    height: 300px;
    position: center;
    margin 20px;
}
body a{
    margin: 30px;
    position: center;
    margin-top: 10px;
    font-size: 20px;
    font-family:'Press Start 2P', cursive;
}
footer{
    margin: 0px;
    margin-top:  40px;
    position: center;
    background: white;
    height: 190px;
    color: black;

}
.contenedor footer div{
    position: left;
}







.container-all{
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
}


.container-all:target{
    background: #00000;
    visibility: visible;
    opacity: 1;
}

.container-all:target .popup{
    top: 50%;
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}


.popup{
    width: 100%;
    max-width: 700px;
    height: 300px;
    position: absolute;
    display: flex;
    background: orange;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;
}


.img{

    width: 40%;
    height: 100%;
    background-image: url(../img/yo.jpeg);
    background-size: cover;
    background-position: center;
}

.container-text{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}


.container-text h1{
    font-size: 50px;
}

.container-text p{
    margin-top: 5px;
    font-size: 30px;
}


.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}

@media screen and (max-width: 900px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 800px;
    }

    .img{
        width: 100%;
        height: 40%;
    }

    .container-text{
        width: 100%;
        height: 60%;
        padding: 80px;
    }

}

@media screen and (max-width: 500px){
    .container-text{
        padding: 20px;
    }

    .container-text h1{
        font-size: 20px;
    }

    .container-text p{
        font-size: 12px;
    }
}









.contenedor{
    margin-top: 120px;
    margin-bottom: 20px;
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}
.contenedor figure{
    position: absolute;
    height: 250px;
    width: 350px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}
.contenedor figure img{
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}
.contenedor figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,103,123,0.7);
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}
.contenedor figure:hover > .capa{
    opacity: 1;
    visibility: visible;
}









#container{
    width: 900px;
    height: 350px;
    margin: 0 auto;
    border-radius: 5px;
    background: ##0a1128;
    font-family: 'Press Start 2P', cursive;
}
h1{
    font-size: 47px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px;
    background: #0a1128;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
}
#weekday{
    font-size: 60px;
    color: #dd5800;
    font-weight: 800;
    margin-left: 45 px;

}
#phrase{
    font-size: 20px;
    color: #ffff;
    font-weight: 800;
    margin-left: 170px;
}