@font-face {
  font-family: 'Arial';
  src: url('fonts/ARIAL.ttf') format('truetype'),;
}

@font-face {
  font-family: 'ArialBD';
  src: url('fonts/ARIALBD.ttf') format('truetype'),;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'RobotoMedium';
  src: url('fonts/Roboto-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'RobotoBold';
  src: url('fonts/Roboto-Medium.ttf') format('truetype');
}



body {
    font-family: 'Roboto';
}


/* Estilos globales */
* {
    margin: 0;
    padding: 0;
}

.columna_izq{
    float:left;
    width:60%;
}

.columna_der{
    float:left;
    width: 35%;
    height: 100vh;
}

@media (max-width: 600px) {
    .columna_izq{
        display:block;
        width:90%;
    }
    
    .columna_der{
        display:block;
        width: 90%;
        height: auto;
    }
}

/* Forzamos las dimensiones reales para el contenido visible */
  .imagen {
      width: 1080px;
      height: 1350px;
      position: relative;
      overflow: hidden;
      margin: 0 auto;
    }
    /* La imagen de fondo ocupará todo el contenedor */
    .imagen .fondo {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }

    .icono {
        width: 126px;
        height: 126px;
        /*border: 2px solid #4f4f4f;*/
        float: right;
        background-size: 120%!important;
        background-position: center;
        margin: 25px 0;
    }
    
    /* El icono se mostrará con bordes redondeados a 30px */
    .icono img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

/* Contenedor principal del formulario */
.contenedor {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para el formulario */
.contenedor form {
    display: flex;
    flex-direction: column;
}

.contenedor form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contenedor form select,
.contenedor form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Permitir redimensionar verticalmente el textarea */
.contenedor form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Contenedor para centrar el preview (si fuera necesario) */
.preview-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Contenedor principal de la imagen: ahora tiene dimensiones 1080px x 1350px */
.imagen {
    margin: 0 auto;
    width: 1080px;
    height: 1350px;
    position: relative;
    overflow: hidden;
    /* Ya no se usa background-image; se utilizará la etiqueta <img> */
}

/* Fondo: la imagen ocupará todo el contenedor */
.imagen .fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Estilos internos adaptados (factor 2.7 respecto al original de 400x500) */
.superior {
    height: 162px; /* 60px * 2.7 */
    padding: 0 50px;
    margin-bottom: 25px;
}

.logo {
    width: 189px; /* 70px * 2.7 */
    padding: 27px 0; /* 10px * 2.7 */
    float: left;
}

.categoria{
    display: flex;
    align-items: center;
    width: 572px;
    height: 180px;
    float: left;
}

.categoria span{
    font-family:Roboto;
}

.superior h2 {
    margin-top: 0;
    font-size: 64px;
    font-weight: normal;
    text-align: center;
    float: left;
    width: 572px;
    padding: 0;
    color: #016052;
    font-family: RobotoBold;
}

.dificultad{
    font-family: 'RobotoBold';
    font-size: 40px;
    background: #016052;
    width: auto;
    position: absolute;
    padding: 5px 15px;
    border-radius: 15px;
    color: white;
    left: 84px;
    top: 185px;
}

.pregunta {
    padding: 27px; /* 10px * 2.7 */
    padding-top: 60px;
    padding: 27px 50px;
    
}

.pregunta h3 {
    padding: 35px 27px; /* 13px * 2.7 y 10px * 2.7 */
    border: 1px solid #016052; /* 2px * 2.7 ≈ 5.4px, redondeamos a 5px */
    border-radius: 27px; /* 10px * 2.7 */
    margin: 0;
    min-height: 170px; /* 65px * 2.7 ≈ 175.5px */
    font-size: 39px;
    color: #016052;
    background: white;
    font-weight: normal;
}

.respuestas {
    padding: 22px 27px; /* 8px * 2.7 y 10px * 2.7 */
    padding: 0 50px;
}

.respuesta {
    padding: 0;
    border: 1px solid #4f4f4f; /* 2px * 2.7 */
    border-radius: 27px; /* 10px * 2.7 */
    margin: 0;
    margin-bottom: 11px; /* 4px * 2.7 ≈ 10.8px */
    overflow: hidden;
    background:white;
    /*background: linear-gradient(to right, #016052 0.1%, #016052 9.7%, #ffffff 0.1%, rgb(255, 255, 255) 70%,  rgb(255, 255, 255) 0%);*/
    background:white;
    /* Si se usa degradado, se puede definir en porcentajes */  
    height: 135px;
}

.respuesta p.letra {
    margin: 0;
    padding: 35px 41px; /* 13px * 2.7 y 15px * 2.7 */
    /*background-clip: padding-box;*/
    border-radius: 21px 26px 26px 21px;
    border: 1px solid #016052;
    color: white;
    font-size: 70px; /* 21px * 2.7 */
    float: left;
    width: auto;
    line-height: 1;
    font-weight:normal!important;
    height: 65px;
    /*text-shadow: 2px 2px 30px #000;
    background:#016052;*/
    background: radial-gradient(circle, #00493e 1%, #016052 70%, #016052 50%);
    /*border: 1px solid #016052;*/
    font-family:RobotoBold;
}

.respuesta p {
    font-size: 32px; /* 12px * 2.7 */
    float: left;
    padding: 14px 20px; /* 5px * 2.7 */
    width: 759px; /* 280px * 2.7 */
    height: 110px;
    margin: 0;
    display: flex;
    flex-direction: column;   /* Permite apilar el contenido verticalmente */
    justify-content: center;  /* Centra verticalmente */
    align-items: left;      /* Centra horizontalmente */
    text-align: left;   
}

.resplarga p{
    font-size: 26px;
    line-height: 1.3;
}

.respuesta.correcta {
    color: white;
    background: #016052;
    /*font-weight: bold;*/
}

.boton {
    position: absolute;
    /* float: right; */
    width: 379px;
    /* margin-top: 100px; */
    bottom: 30px;
    right: 10px;
    margin: 2px;
}

.boton span.solucion {
    background: white;
    color: #016052;
    padding: 8px 24px; /* 3px and 9px * 2.7 */
    border-radius: 81px; /* 30px * 2.7 */
    font-size: 35px; /* 13px * 2.7 */
    float: left;
    border: 2px solid #016052;
    font-family:RobotoMedium;
}

.boton span.puntos {
    margin: 0;
    color: #016052;
    padding: 5px; /* 2px * 2.7 */
    border-radius: 81px;
    font-size: 35px;
    font-weight: bold;
    float: left;
}

.boton div {
    float: left;
    width: 54px; /* 20px * 2.7 */
    margin-left: -27px; /* 10px * 2.7 */
}

.boton svg {
    width: 51px; /* 19px * 2.7 */
    height: 51px;
}

.boton svg path {
    stroke-width: 135px!important; /* 50px * 2.7, aunque este valor puede necesitar ajuste */
    fill: #016052;
}

.modo_oscuro {
    background-color: #222;
    color: white;
}

.conocimientos {

}

.psicotecnicos {

}

.ingles {

}

.ortografiagramatica {

}

.metodogc {
    position: absolute;
    font-family: RobotoBold;
    font-size: 45px;
    bottom: 35px;
    left: 50px;
    color: #016052;
}

.metodogc span{
    color: #4f4f4f;
}

/* Media query para smartphones (opcional: escala visual para preview) */
@media (max-width: 600px) {
    .preview-wrapper .imagen {
        transform: scale(0.33);
        transform-origin: top left;
    }
}


/*Navegacion*/
button {
    background: #333333;
    border: 0px;
    border-radius: 5px;
    color: white;
    padding: 10px;
    cursor: pointer;
}
button:hover{
    background: black;
}


/*RESPONSIVE CANVAS*/

/* El contenido grande se posiciona absolutamente y se escala */
.contenido-grande {
    width: 1080px;
  height: 1350px;
  transform: scale(calc(50px / 50px));
}
    