@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #34cacf, #0f9672, #1398cd, #2aede0);
    color: #e0e0e0;
    padding: 20px;
}

button {
    font-size: 1.2rem;
    font-weight: 500;
    color: #bdf1f8;
    padding: 0.8rem 1rem;
    outline: none;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #043146, #064f68);
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(135deg, #064f68, #086080);
    transform: translateY(-2px);
}

button:active {
    background: linear-gradient(135deg, #022334, #043146);
    transform: translateY(0);
}


hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #8a8a8a, #e0e0e0, #8a8a8a);
    margin: 40px 0;
    opacity: 0.8;
}


.title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 1rem;
}

.start_btn,
.start_btn2,
.start_btn3,
.start_btn4,
.start_btn5 {
    display: block;
    margin: 1rem auto;
    width: 100%;
    /* Abarca todo el ancho del contenedor */
    max-width: 400px;
    /* Ancho máximo para evitar que sean demasiado grandes en pantallas grandes */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.title1,
.title2,
.title3,
.title4,
.title5 {
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* css/styles.css */

/* 1. Reset y box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. Tipografía fluida */
html {
    font-size: 100%;
    /* 16px */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #ffffff;
    padding: 1rem;
}

/* 3. Encabezado */
.site-header {
    text-align: center;
    margin-bottom: 2rem;
}

.site-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #004975;
}

/* 4. Grid responsivo de tarjetas */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 5. Tarjetas de examen */
.exam-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 6. Títulos de tarjeta */
.exam-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-bottom: 1rem;
    color: #222;
}

.exam-title i {
    margin-right: 0.5rem;
    color: #007acc;
}

/* 7. Botones */
.exam-btn {
    background: #007acc;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.exam-btn:hover,
.exam-btn:focus {
    background: #005fa3;
}

/* 8. Ajustes para pantallas muy grandes */
@media (min-width: 1600px) {
    .exam-grid {
        gap: 2rem;
    }

    .exam-card {
        padding: 2rem;
    }
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    button {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
    }

    .title,
    .title1,
    .title2,
    .title3,
    .title4,
    .title5 {
        font-size: 1.5rem;
    }

    .start_btn,
    .start_btn2,
    .start_btn3,
    .start_btn4,
    .start_btn5 {
        width: 100%;
        max-width: 350px;
        /* Ajustar el ancho máximo para tabletas */
    }
}

@media screen and (max-width: 480px) {
    button {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .title,
    .title1,
    .title2,
    .title3,
    .title4,
    .title5 {
        font-size: 1.2rem;
    }

    .start_btn,
    .start_btn2,
    .start_btn3,
    .start_btn4,
    .start_btn5 {
        width: 100%;
        max-width: 300px;
        /* Ajustar el ancho máximo para móviles */
    }
}