* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #82a9f9; 
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.barra-superior {
    width: 100%;
    height: 60px;
    background-color: #fffafb;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.boton-volver {
    width: 70px;
    height: 100%;
    background-color: #dbdbdb;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-right: 1px solid #c5c5c5;
}

.icono-flecha {
    width: 32px;
    height: 32px;
    fill: #000000;
}

.titulo-cabecera {
    flex-grow: 1;
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #000000;
    padding-right: 70px; 
}


.contenido-contenedor {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.bloque-central {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icono-modalidad {
    width: 180px;
    height: 180px;
    fill: #000000;
    margin-bottom: 25px;
}

.texto-modalidad {
    font-family: 'Arial', sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c323f;
    line-height: 1.4;
    max-width: 280px;
}

/*
   2. VISTA MOBILE (max-width: 767px)
  */
@media (max-width: 767px) {
    
    .icono-modalidad {
        width: 160px;
        height: 160px;
    }
    
    .texto-modalidad {
        font-size: 1.15rem;
    }
}

/* 
   3. VISTA DESKTOP (min-width: 768px)
  */
@media (min-width: 768px) {
    .bloque-central {
        background-color: rgba(255, 255, 255, 0.15); 
        padding: 60px 80px;
        border-radius: 20px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }

    .bloque-central:hover {
        transform: translateY(-5px); 
    }

    .icono-modalidad {
        width: 220px;
        height: 220px;
    }

    .texto-modalidad {
        font-size: 1.4rem;
        max-width: 350px;
    }

    .boton-volver:hover {
        background-color: #cdcdcd;
        transition: background-color 0.2s ease;
    }

}