html{
    font-size: 14px;
}

/* INDEX */

#logo-container{
    width: 20%;
}

#page-title{
    width: 72%;
}

#cart-container{
    width: 8%;
}

body{
    width: 96%;
}

h2{
    font-size: 1.4rem;
}

a, .btn{
    font-size: 0.8rem;
}

p{
    line-height: 1.3rem;
}

/* FOOTER */

#networks{
    display: none;
}

/* MENU HAMBURGUESA */

#check-menu:checked ~ #ul-menu{
    display: flex;
}

#check-menu:checked + label #open-burger{
    display: none;
}

#check-menu:checked + label #close-burger{
    display: block;
}

#page-menu{
    align-items: flex-start;
    position: relative;
}

#ul-menu{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 4%;
    background-color: #142042;
    opacity: 0.9;
    z-index: 1;
    flex-direction: column;
    gap: 5vw;
}

#ul-menu a{
    font-size: 1.2rem;
}

#page-menu label, #login-btn{
    width: 10vw;
    height: 10vw;
    padding: 0;
}

#page-menu label{
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: unset;
    cursor: pointer;
}

#open-burger, #close-burger, #smart-btn{
    z-index: 2;
    width: 70%;
}

#close-burger{
    display: none;
}

#login-btn .btn{
    display: none;
}

#login-btn{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

nav{
    width: 90%;
}

#smart-btn{
    display: flex;
}

li{
    padding: 1.5% 0;
    margin: 0 0.8vw 0 1vw
}

.btn{
    margin-right: 1vw;
    padding: 2px;
    border-radius: 5px;
}

.img-cover{
    margin-bottom: 0;
}

.img-cover div{
    width: 48%;
    margin-bottom: 1%;
}

footer a{
    font-size: 0.6rem;
}

/* TIENDA */

.products-items{
    flex-wrap: wrap;
    gap: 1.2rem;
}

.products{
    margin-bottom: 1rem;
}

.products figure{
    width: 45%;
}

/* PRODUCTO TIENDA */

#img-pack{
    display: none;
}

#pack-blade{
    flex-direction: column;
    width: 98%;
    margin: 1rem auto;
}

#product{
    margin: 1rem 0;
}

#product h2{
    padding: 0 3.5rem;
}

#blade, #pack-blade div{
    width: 100%;
    margin-bottom: 1rem;
}

#buy{
    margin-top: 0;
}

/* CONTACTO */

#who p{
    width: 100%;
}

form:not(dialog form){
    width: 96%;
    margin: 1.5rem auto;
    padding: 6% 2%;
    border: 0.3rem solid #142042;
    box-shadow: 0rem 0rem 1rem #00AFFF;
}

form div{
    padding: 0.5rem 0;
}

form label{
    margin-bottom: 0.5rem;
}

form input, textarea, select{
    width: 100%;
}

select{
    display: block;
}

#map{
    width: 96%;
    aspect-ratio: 2 / 1.5;
    margin-bottom: 4%;
}

/* LOGIN */

#log{
    width: 96%;
}

#log label{
    width: 50%;
}

.selector-form{
    font-size: 1.2rem;
}

.log-form label{
    text-align: center;
}

.log-form input{
    width: 90%;
}

#user-log, #user-register{
    margin: 2% auto 5% auto;
}

.user-btn button{
    width: 48%;
}

/* VIDEO MODAL */

.modal-content{
    width: 95%;
    max-width: none;
    margin: 0 auto;
    }

.close{
    font-size: 18px;
    z-index: 9999;
}

.video-modal{
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-modal iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* DIALOG */

dialog{
    width: 80%;
}

dialog form{
    border: 0;
}

/* CLASE GRANDE */

.grande {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000CC;
    display: grid;
    place-items: center;
    z-index: 2000;
}

.grande img {
    width: 80%;
    border-radius: 30px;
}
 /* JUEGOS */

#games-img{
    width: 48%;
}
