/* COLOR PREGUNTAS */
.cuestion.activa {
    background: grey;
    color: white;
}

.cuestion.correcta {
    background: green;
    color: white;
}

.cuestion.incorrecta {
    background: red;
    color: white;
}

.respuesta-correcta {
    background-color: #4CAF50; /* verde para la respuesta correcta */
    color: white;
    padding: 5px;
    border-radius: 4px;
}



 /* ARRIBA EN EL TITULO */
#contenido {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--fondo);
}

#imagen_inicio {
	pointer-events: none;
	user-select: none;
	width: 100%;
	position: absolute;
}

#imagen_dron_inicio {
	position: absolute;
	top: 6rem;
	left: 55rem;
	width: 45rem;
}

#seccion {
	padding: 0 10rem 4rem 10rem;
	color: white;

  	clear: both;
    display: grid;
    grid-template-rows: repeat(2, 1fr); /* Dos filas iguales */
    grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
    gap: 2rem; /* Opcional: Espacio entre las celdas */
}

.imagen_servicio {
	width: 27rem;
    position: absolute;
    top: 3rem;
    left: 10rem;
    z-index: 9999;
    transform: rotate(-5deg);
    user-select: none;
    pointer-events: none;
}

.servicio {
	overflow: hidden;
	position: relative;
	border-radius: 0.5rem;
	border: solid rgb(30, 30, 30) 1px;
	background: rgb(15, 15, 15);
	
	color: #ffb357;

	display: flex;
	flex-direction: column;

	width: 100%;
}

.servicio_arriba {
	height: 13rem;
    padding: 2rem;
	position: relative;
}

.servicio_arriba .row {
	display: flex;
	justify-content: center;
	align-items: center;
}

.servicio_arriba h2 {
    font-size: 1.6rem;
	margin-bottom: 1rem;
}

.servicio_arriba p {
	width: 60%;

	position: relative;
	font-size: 1.3rem;
    z-index: 999999;
    color: white;
}

.servicio_abajo {
	display: flex;
	align-items: center;
	padding: 0 2rem 2rem 2rem;
}

.servicio a {
	bottom: 0rem;
	left: 0rem;

	width: 100%;
	overflow: hidden;
	position: relative;
	background: transparent;
	border: solid rgb(255, 255, 255) 1px;
	z-index: 9999999;
	border-radius: 0.5rem;
	font-size: 1.3rem;
	padding: 0.7rem;
	text-decoration: none;
	color: rgb(255, 255, 255);
	font-weight: bold;
}

.servicio a:hover {
	color: black;
	background: rgb(255, 255, 255);
}

 
 /* TEXTO */
#info {
    width: 100%;
    display: flex;
    flex-direction: row;
    color: var(--color_p);
    font-size: 1.5rem;
    gap: 1rem;
}

#input_preguntas {
    color: var(--color_p);
    margin-top: 1rem;
    font-size: 1.5rem;
}

#input_preguntas label {
    cursor: pointer;
    position: relative;
    margin: 1rem 0 1rem 1rem;
}

#input_preguntas input {
    margin: 1rem 0;
    cursor: pointer;
    position: relative;
    width: 1rem;
    height: 1rem;
}

#input_preguntas label:hover {
    position: relative;
    width: 100%;
}

#cuestiones {
    width: 30%;
    border: var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    width: 100%;
    
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    box-sizing: border-box;
}

.cuestion {
    padding: 0.5rem;
    text-decoration: none;
    color: var(--color_p);
    border: var(--border);
    border-radius: 0.5rem;
    font-weight: 900;
    background: transparent;
    cursor: pointer;
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.cuestion:hover {
    background: white;
    coloR: black;
}
 
#seccion {
    border-top: var(--border);
    padding: 4rem 15rem;
    gap: 4rem;
    display: flex;
    flex-direction: row;
    position: relative;
}

#tipos {
    width: 100%;
    
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

#tipos button {
    cursor: pointer;
    width: 33%;
    border: solid white 2px;
    background: transparent;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
}

#tipos button:hover {
    background: white;
    color: black;
}

.tipo {
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    border: solid grey 1px;
    font-weight: 900;
}

.a1 {
    background: #FF6C67;
}

.a2 {
    background: #9F005F;
}

.sts {
    background: #FBBC39;
}

#buscador {
    width: 100%;
    margin-bottom: 1rem;
}

#buscador input {
    outline: none;
    border: solid white 2px;
    background: transparent;
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 100%;
    font-size: 1.5rem;
    color: white;
}

#buscador input:hover {
    background: white;
    color: black;
}

#preguntas {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}

#texto {
    position: relative;
    width: 70%;
	color: #3A3617;
}

#texto button {
    border: var(--border);
    background: transparent;
    border-radius: 0.5rem;
    padding: 0.7rem 2rem;
    z-index: 999;
    width: fit-content;
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
    color: var(--color_p);
    transition: all 0.2s ease;
    cursor: pointer;
}

#texto button:hover {
    background: white;
    color: black;
}

#texto .examen {
    padding: 1.5rem 0;
    position: relative;
    text-decoration: none;
    width: 100%;
    height: auto;
    border: solid white;
    border-width: 0 0 1px 0;
}

#texto h2 {
    color: var(--color_p);
	font-size: 2.2rem;
}

#texto h3 {
    margin-top: 1rem;
    color: var(--color_p);
	font-size: 2rem;
	margin-right: 1rem;
}


#texto p {
    color: var(--color_p);
	font-size: 1.5rem;
}

#texto b {
    color: orange;
	font-size: 1.5rem;
	margin-top: 6rem;
}

#texto ul li {
    color: var(--color_p);
	font-size: 1.5rem;
	margin-right: 1rem;
}

.caja_resumen {
    width: 6rem;
}

table {
    width: 100%;
}

td, th {
    font-size: 1rem;
  vertical-align: top;    /* Alinea arriba */
  text-align: left;       /* Alinea a la izquierda */
  padding: 0.5rem;
  background: black;
  color: var(--color_p);
}


/* RESPONSIVE */
@media (max-width: 800px) {
    #texto {
	    padding: 1rem;
	    width: 100%;
	}
	
	#seccion {
	    flex-direction: column;
	    padding : 1rem;
	}
	
	#pregunta_imagen {
	    width: 20rem;
	}

}