*{
    padding: 0px;
    margin: 0px;
    text-decoration: none;
    list-style: none;
    font-family: 'Belanosima', sans-serif;
}
input{
    color:black;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}
button{
    border: none;
    display: flex;
    justify-content: center;
}
.edicionAdm{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #65e06f;
    position: fixed;
    right: 10px;
    top: 610px;
    z-index: 50;
}
.edicionAdm i{
    color: black;
    font-size: 30px;
}
.edicionAdm:hover{
    transform: scale(1.03);
}
/*Popup*/
/*Navegador*/
.portada{
    width: 100%;
    height: 130px;
    background-color: rgb(95, 187, 150);
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.l1{
    background-image: url(../IMG/IMAGOTIPO1.png);
    width: 30%;
    height: 120px;
    background-size: 100% 100%;
    position: absolute;
    left: 50px;
}
.l2{
    width: 30%;
    height: 120px;
    position: absolute;
    right: 50px;
    display: flex;
    justify-content: end;
    align-items: center;
}
/*Navegador*/
.navegador{
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top:0px;
    z-index: 5000000;
    margin-bottom: 20px;
}
.contNav{
    width: 70%;
    height: 100%;
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0%;
}
.boton {
    width: 18%;
    height: 100%;
    border-radius: 0px 0px 40px 40px;
    text-align: center;
    font-size: 24px;
    padding-top: 10px;
    box-sizing: border-box;
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .2));
    display: block;
}
.boton:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}
.boton:active {
    transform: scale(0.95);
}
/*Desplazable Cuenta*/
.desp{
    display: none;
    width: 199px;
    height: 210px;
    position: absolute;
    background:#DCD2C6;
    top: 50px;
    right: 210px;
    border-radius: 30px;
    text-align: center;
    transition: 2s;
    overflow: hidden;
}

.desp p{
    color:black;
}

.cierra{
    width: 199px;
    height: 51px;
    position: absolute;
    background: none;
    z-index: -1;
    top: 0px;
    right: 214px;
    border-radius: 0px 0px 40px 40px;
}
.btnCtDesp{
    width: 100%;
    height: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: #838383 solid 1px;
    cursor: pointer;
}
.btnCtDesp i{
    font-size: 25px;
    margin-right: 10px;
}
.btnCtDesp p{
    font-size: 18px;
}
.btnCtDesp:hover i{
    color: #65e06f;
}
.btnCtDesp:hover p{
    color: #65e06f;
}
/*Confirmacion*/
.confir{
    width: 100%;
    height: 880px;
    position: absolute;
    background:#000000af;
    z-index: 100;
    display: none;
}
.vent{
    width: 30%;
    height: 40%;
    background:#DCD2C6;
    border-radius: 20px;
    position: fixed;
    left: 34%;
    top: 29%;
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.vent p{
    font-weight: bold;
    color: white;
    font-size: 30px;
}
.botonesCf{
    width: 265px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.btnConf{
    font-size: 26px;
    padding-top: 10px;
    display: block;
    width: 80px;
    height: 50px;
    background: #006666;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box;
}
.btnConf:hover{
    border: #fff dashed 1px;
    background: #65e06f;
}
/*Cuerpo*/
.cuerpo{
    width: 100%;
    height: 570px;
    display: flex;
    justify-content: center;
}
/*Juego 1*/
#juego-memoria {
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    flex-direction: column;
}
.lado{
    width: 15%;
    display: flex;
    align-items: end;
    box-sizing: border-box;
    padding: 10px;
}
.btnBack{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 20px;
    border-radius: 20px;
    text-align: start;
    width: 190px;
    height: 40px;
    transition: 0.5s;
    background-size: 200% auto;
    background-image:linear-gradient(45deg,rgb(85, 203, 250), rgb(46, 178, 255), rgb(62, 210, 255));
}
.btnBack:hover{
    background-position: center ;
    transform: scale(1.01);
}
.btnBack:hover i{
    position: relative;
    right: 7px;
}
.btnBack i{
    font-size: 38px;
    transition: 2s;
}
.carta {
    width: 150px;
    height: 150px;
    perspective: 1000px;
    margin: 10px;
    cursor: pointer;
}

.carta:hover{
    transform: scale(1.02);
} 
.front, .back {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: transform 0.6s;
}  
.front {
    background-color: #65e06f;
    background-image: url(../IMG/IMAGOTIPO-Rotado.png);
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotateY(180deg);
}
.carta.volteada .front {
    transform: rotateY(0);
    visibility: hidden;
}  
.carta.volteada .back {
    transform: rotateY(180deg);
    visibility: visible;
    opacity: 1;
}  
.carta .back {
    visibility: hidden;
    opacity: 0;
} 
.back img{
    width: 100%;
    transform: rotateY(180deg);
}
/*Fin Juego 1*/
/*Juego 2*/
.posicion{
    width: 70%;
    height: 570px;
    overflow: hidden;
    display: flex;
}
.ladosForm{
    width: 15%;
    display: flex;
    align-items: end;
    background-image: url(/IMG/lados1.jpg);
    border-radius: 20px;
}
.ladosForm img{
    width: 100%;
    height: 40%;
}
.contTest{
    width: 70%;
    height: 550px;
    overflow: hidden;
    border-radius: 20px;
    margin-top:10px;
}
#test {
    width: 100%;
    height: 100%;
    overflow: auto;
    margin: 0 auto;
    padding: 20px;
    background: #35a357;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
}
.rs{
    box-sizing: border-box;
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 30px;
}
.rs label{
    width: 30%;
    cursor: pointer;
}
h1, h2, p {
    margin: 0;
}
button {
    margin-top: 10px;
}
  
#resultado {
    margin-top: 20px;
    padding: 10px;
    background-color: #60ff83;
    border-radius: 2px;
    border: #ac4d00 dashed;
}
/*Fin Juego 2*/
/*Juego 3*/
.central{
    width: 70%;
    height: 550px;
}
.central h1{
    color: black;
    font-weight: bold;
    position: relative;
}
.central p{
    color: black;
    font-size: 17.3px;
}
.actFVTxt{
    margin-top: 20px;
    position: absolute;
    width: 70%;
    height: 570px;
    top: 180px;
    background: linear-gradient(47deg, rgb(232, 255, 127),rgb(255, 255, 126),rgb(255, 255, 139));
    border-radius: 5px;
    box-sizing: border-box;
    padding: 20px;
    z-index: 1;
    overflow-y: auto;
}
.actFVTxt::-webkit-scrollbar {
    display: none;
}
#testFV{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
#formFV{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.actFV{
    position: absolute;
    width: 70%;
    height: 570px;
    top: 180px;
    background: linear-gradient(47deg, rgb(232, 255, 127),rgb(255, 255, 126),rgb(255, 255, 139));
    color: black;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.actFV h2,h3,p,label{
    color: black;
}
.resultadoFV p,h2{
    color:black;
}
.vntOpr{
    position: absolute;
    width: 15%;
    height: 570px;
    top: 180px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.vntOpr2{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 15%;
    height: 570px;
    top: 180px;
    background-color: white;
}
/*Fin Juego 3*/
/*Juego 4*/
.centroRmp{
    width: 70%;
    height: 570px;
    background:#7EB9C0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
    justify-content: center;
}
.centroRmp h1{
    font-family: 'SF Pixelate', sans-serif;
}
.hidden{
    color: transparent;
}
#wordContainer{
    margin-top: 20px;
}

.letter{
    margin: 0 7px;
    position: relative;
    text-align: center;
}

.letter::after{
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    min-width: 12px;
}
#startButton{
    margin-top: 20px ;
    appearance: none;
    font-family: 'SF Pixelate', sans-serif;
    border: none;
    width: 300px;
    padding: 10px;
    background: #DA316B;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
}
/*Fin Juego 4*/
/*Juego 5*/
.button {
    padding: 1rem 2rem;
    border-radius: .5rem;
    border: none;
    font-size: 1rem;
    font-weight: 400;
    color: #f4f0ff;
    text-align: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
  }
  
  .button::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: .5rem;
    background: linear-gradient(180deg, rgba(8, 77, 126, 0) 0%, rgba(8, 77, 126, 0.42) 100%),rgba(47,255,255,.24);
    box-shadow: inset 0 0 12px rgba(151,200,255,.44);
    z-index: -1;
  }
  
  .button::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 77, 126, 0) 0%, rgba(8, 77, 126, 0.42) 100%),rgba(47,255,255,.24);
    box-shadow: inset 0 0 12px rgba(151,200,255,.44);
    border-radius: .5rem;
    opacity: 0;
    z-index: -1;
    transition: all .3s ease-in;
  }
  
  .button:hover::after {
    opacity: 1;
  }
  
  .button-border {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: .5rem;
    z-index: -1;
  }
  
  .button-border::before {
    content: "";
    position: absolute;
    border-radius: .5rem;
    padding: 1px;
    inset: 0;
    background: linear-gradient(180deg, rgba(184, 238, 255, 0.24) 0%, rgba(184, 238, 255, 0) 100%),linear-gradient(0deg, rgba(184, 238, 255, 0.32), rgba(184, 238, 255, 0.32));
    pointer-events: none;
  }

  #evaluarButton{
    margin-left: 650px;
    background-color: #799f9f;
    color: white;
  }

  #Puntuacion{
    margin-left: 600px;
    font-size: 40px;
    margin-top: 5px;
  }

#juego{
    background-color: #7EB9C0;
    width: 100%;
    height: 650px;
  }
/*Fin Juego 5*/
/*Juego 6*/
#juego{
    background-color: #7EB9C0;
    font-family: 'Press Start 2P', cursive;
    width: 100%;
    height: 650px;
}

#game-container{
    padding-top: 40px;
}

canvas{
    border: 5px solid #2e2e2e;
    border-radius:18px;
    display: block;
    margin: 0px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
.canvas{
    border: 5px solid #2e2e2e;
    border-radius:18px;
    display: block;
    margin: 0px auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-image: url("../IMG/fondoFlBrd.avif") ;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.backdrop-blur{
    filter: blur(50px);
}
.fb{
    margin-left: 685px;
    text-align: center;
    align-items: center;
    background-color: #2e2e2e;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    padding: 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
#end-menu{
    display: none;
    margin: 50px auto 50px auto;
    width: 200px;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 1000;
}
#gg-menu{
    display: none;
    margin: 50px auto 50px auto;
    width: 200px;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 1000;
}

.fb:hover{
    background-color: #333;
    transform: translate(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#score-display{
    color: #fff;
    font-size: 2em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/*Fin Juego 6*/
/*Pie*/
.pie{
    margin-top: 20px;
    width: 100%;
    height: 130px;
    background-color: rgb(95, 187, 150);
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    display:flex;
    justify-content: end;
}
.info{
    color: #ffffff;
    width:80%;
    height: 130px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.ct{
    list-style:disc;
}
.contacto{
    border-left: white 1px ;
    display: flex;
    height: 130px;
    width: 20%;
    align-items: center;
    justify-content: space-around;
}
