/* ========================= */
/* FUENTES */
/* ========================= */

@font-face {
  font-family: 'Amoria';
  src: url('../fonts/AMORIA.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  
}

@font-face {
  font-family: 'Athena';
  src: url('../fonts/Athena-Regular\ \(PERSONAL\ USE\ ONLY\).ttf');

}

@font-face {
  font-family: 'Antique';
  src: url('../fonts/antique_book_cover.otf');

}

/* ========================= */
/* PRINCIPAL */
/* ========================= */


/* Reset básico */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    height:100vh;
    display:flex;
    flex-direction:column;
    background:#a8c3f0;
    
    /* background:linear-gradient(45deg, rgb(124, 124, 248), rgba(255, 92, 64, 0.788));
    background-image:url("../images/clement_grad1.jpg"); */
    background-size:cover;
    background-position:center;
	
}

/* ========================= */
/* BARRA SUPERIOR */
/* ========================= */

.barra-superior{
    margin-top: 50px;
    width:100%;
    height:80px;
    background:#1d355700;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
}

.menu{
    margin-left:10px;
    padding:10px 18px;
    border:none;
    color:rgba(255, 255, 255, 0);
    cursor:pointer;
    border-radius:8px;
    transition:0.3s;
}



.bajoboton{
    
    margin-left:10px;
    padding:10px 18px;
    border:none;
    background:#457b9d00;
    color:rgb(8, 212, 100);
    cursor:pointer;
    border-radius:8px;
    transition:0.3s;
    background-size:contain;
    background-position:center;
}

.bajoboton1{
    background-image:url("../images/Study_notes.png");
    width:66px;
    height:80px;
}

.bajoboton2{
    background-image:url("../images/Hint.png");
    width:36px;
    height:60px;
}

.bajoboton3{
    background-image:url("../images/time_spent.png");
    width:55px;
    height:30px;
}

.bajoboton4{
    background-image:url("../images/Score.png");
    width:100px;
    height:49px;
}

.bajoboton5{
    background-image:url("../images/Settings.png");
    width:40px;
    height:40px;
}

.bajoboton6{
    background-image:url("../images/home.png");
    width:40px;
    height:40px;
}

.bajoboton:hover{
    transform:scale(1.03);
    opacity:0.9;
    
}
.menu-superior button{
    margin-left:10px;
    padding:10px 18px;
    border:none;
    background:#457b9d;
    color:white;
    cursor:pointer;
    border-radius:8px;
    transition:0.3s;
}
.menu-superior button:hover{
    background:#5fa8d3;
}

/* ========================= */
/* CONTENEDOR CENTRAL */
/* ========================= */

.contenedor-principal{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:space-evenly;
    align-items:center;
    padding:20px;
    
}


/* ========================= */
/* TITULO */
/* ========================= */

.contenedor-titulo{
    width:80%;
    min-height:160px;
    background:rgba(248, 7, 7, 0);
    border-radius:15px;
    /* box-shadow:0 0 10px rgba(0,0,0,0.15); */
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    text-align:center;
    font-size:48px;
    /* font-weight:bold; */
	
	
	font-weight: normal;
  

	/* font-optical-sizing: auto;
	font-weight: 800; */
	
    color: #ff036c;
    background-size:cover;
    background-position:center;
}

.contenedor-titulo .titulo{
	font-family: 'Amoria' !important;
}

.contenedor-titulo-background1{
	
    background-image:url("../images/clement_grad1.jpg");
}

/* ========================= */
/* OPCIONES TITULO 3X1 */
/* ========================= */

.contenedor-opciones-titulo{
	padding-top: 20px;
    
	
	
	
	width:80%;
    display:grid;
    grid-template-columns:1fr ;
    grid-template-rows:1fr 1fr 1fr;
    gap:20px;
	
	justify-content: center;
	
}

/* Botones */

.opcion-titulo{
    width: 100%;
	max-width: 150px;
    height: 50px;
    
	/* left: calc(50% - 25px); */

	display: flex;
	justify-content: center; /* Centra horizontalmente */
	align-items: center; 
    border:none;
    border-radius:15px;
    color:rgb(255, 255, 255);
    font-size:32px;
    font-weight:bold;
	font-family: 'Antique'!important;
    cursor:pointer;
    transition:0.3s;
    
    text-shadow:2px 2px 4px black;
    background-size:cover;
    background-position:center;

	
    
}


.opcionbackground1{
    background-image:url("../images/boton-inicio.png");
}

.opcion-titulo:hover{
    transform:scale(1.03);
    opacity:0.9;
    box-shadow: -5px 5px 5px rgb(255, 196, 0);
}
/* ========================= */
/* SELECTED */
/* ========================= */

.contenedor-select {
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.label-select {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
}

.select-tema {
    width: 100%;
    padding: 14px 18px;
    font-size: 20px;
    font-family: inherit;
    color: #333;
    background: #ffffff;
    border: 2px solid #ff6aa2;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Flecha personalizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23ff036c' d='M5 7l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

.select-tema:hover {
    border-color: #ff7b00;
    box-shadow: 0 0 10px rgba(255, 3, 108, 0.25);
}

.select-tema:focus {
    border-color: #ff7b00;
    box-shadow: 0 0 0 4px rgba(255, 3, 108, 0.2);
}

.boton-enviar {
    padding: 14px 25px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #ff7b00, #ffd5ad);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boton-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 3, 108, 0.35);
}

.boton-enviar:active {
    transform: translateY(0);
}

/* ========================= */
/* PREGUNTA */
/* ========================= */

.contenedor-pregunta{
    width:80%;
    min-height:160px;
    background:rgba(255, 255, 255, 0);
    border-radius:15px;
    box-shadow:0 0 10px rgba(0,0,0,0.15);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    text-align:center;
    font-size:24px;
    font-weight:bold;
	font-family: 'Athena' !important;
    background-image:url("../images/Question.png");
    background-size:cover;
    background-position:center;
}

.contenedor-pregunta .pregunta{
	font-family: 'Athena' !important;
}

/* ========================= */
/* OPCIONES 2X2 */
/* ========================= */

.contenedor-opciones{
    width:80%;
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:1fr 1fr;
    gap:20px;
}

/* Botones */

.opcion{
    /* width: 100%; */
    height: 50px;
    /* height:140px; */
    border:none;
    border-radius:15px;
    color:white;
    font-size:22px;
    font-weight:bold;
	font-family: 'Antiquie' !important;
    cursor:pointer;
    transition:0.3s;
    
    text-shadow:2px 2px 4px black;
    background-size:cover;
    background-position:center;
    
}

/* imágenes de fondo diferentes */
.opcion1{
    background-image:url("../images/Button.png");
}

.opcion2{
    background-image:url("../images/Button.png");
}

.opcion3{
    background-image:url("../images/Button.png");
}

.opcion4{
    background-image:url("../images/Button.png");
}

.opcion:hover{
    transform:scale(1.03);
    opacity:0.9;
    box-shadow: -5px 5px 5px rgb(255, 196, 0);
}

/* ========================= */
/* BARRA INFERIOR */
/* ========================= */

.barra-inferior{
    margin-bottom: 50px;
    width:100%;
    height:60px;
    background:#1d355700;
    color:#ff7b00;
    display:flex;
    justify-content:center;
    align-items:center;
}

.fondo-resultado-cheesito {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}


/*******************************/
/********* Pista Cheesito **********/
/*******************************/

.pista-cheesito{
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 300px;
	/* line-height: 150%; */
    height: 600px;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 100;
	padding-top: 60px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.pista-cheesito img {
	height: 350px;
    width: auto;
}

.pista-cheesito.activo {
	display: block;
}

.pista-cheesito .cheesito {
	max-width: 100px;
	position: absolute;
	top: -50px;
	left: calc(50% - 50px);
}

.pista-cheesito .titulo,
.pista-cheesito .parrafo {
	margin-bottom: 15px;
}

.pista-cheesito .boton {
	width: 100%;
	background: #595959;
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.pista-cheesito .boton:hover {
	background: #000;
}

.pista-cheesito .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.pista-cheesito .enlace:hover {
	text-decoration: underline;
}

.fondo-pista-cheesito {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-pista-cheesito.activo {
	display: block;
}


/*******************************/
/********* Notas Cheesito **********/
/*******************************/

.nota-cheesito{
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 700px;
	/* line-height: 150%; */
    height: 600px;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 100;
	padding-top: 60px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.nota-cheesito img {
	height: 200px;
    width: auto;
}

.nota-cheesito.activo {
	display: block;
}

.nota-cheesito .cheesito {
	max-width: 100px;
	position: absolute;
	top: -50px;
	left: calc(50% - 50px);
}

.nota-cheesito .titulo {
	margin-bottom: 15px; 
}
.nota-cheesito .parrafo {
	margin-bottom: 15px;
    height: 220px;       /* altura fija */
    overflow-y: scroll; 
}

.nota-cheesito .boton {
	width: 100%;
	background: #595959;
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.nota-cheesito .boton:hover {
	background: #000;
}

.nota-cheesito .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.nota-cheesito .enlace:hover {
	text-decoration: underline;
}

.fondo-nota-cheesito {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-nota-cheesito.activo {
	display: block;
}

/*******************************/
/********* Felicitación Cheesito **********/
/*******************************/

.felicidades-cheesito{
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	/*max-width: 300px; */
	/* line-height: 150%; */
    height: 600px;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 100;
	padding-top: 60px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.felicidades-cheesito img {
	height: 300px;
    width: auto;
}

.felicidades-cheesito.activo {
	display: block;
}

.felicidades-cheesito .cheesito {
	max-width: 100px;
	position: absolute;
	top: -50px;
	left: calc(50% - 50px);
}

.felicidades-cheesito .titulo,
.felicidades-cheesito .parrafo {
	margin-bottom: 15px;
}

.felicidades-cheesito .boton {
	width: 100%;
	background: #595959;
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.felicidades-cheesito .boton:hover {
	background: #000;
}

.felicidades-cheesito .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.felicidades-cheesito .enlace:hover {
	text-decoration: underline;
}

.fondo-felicidades-cheesito {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-felicidades-cheesito.activo {
	display: block;
}

/*******************************/
/********* Alert Resultado **********/
/*******************************/

.alert-resultado{
	display: none;
	background: #fff;
	padding: 20px;
	width: 50%;
	height: 50%;
	/* width: calc(100% - 40px); */
	max-width: 500px;
	max-height: 200px;
	/* line-height: 150%; */
	border-radius: 10px;
	position: fixed;
	bottom: calc(50% - 100px);
	left: calc(50% - 250px);
	z-index: 100;
	padding-top: 80px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.alert-resultado img {
	height: 300px;
    width: auto;
}

.alert-resultado.activo {
	display: block;
}

.alert-resultado .cheesito {
	max-width: 100px;
	position: absolute;
	top: -50px;
	left: calc(50% - 50px);
}

.alert-resultado .titulo,
.alert-resultado .parrafo {
	margin-bottom: 15px;
}

.alert-resultado .boton {
	width: 100%;
	background: #595959;
	border: none;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.alert-resultado .boton:hover {
	background: #000;
}

.alert-resultado .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.alert-resultado .enlace:hover {
	text-decoration: underline;
}

.fondo-alert-resultado {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-alert-resultado.activo {
	display: block;
}