@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800,900,1000');

body {
    font-family: Montserrat, Sans-Serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-container { /* Reemplaza "main-container" con el nombre deseado */
    flex: 1;
}

header {
    text-align: center;
}

header > nav {
    background: #0c2342;
}

header > h3 {
    margin: 1em;
    font-weight: bold;
}

header > nav > h2 {
    color: white;
}

h1 {
    color: #333;
}

p {
    margin-bottom: 10px;
}

/* Estilos específicos */
.container {
    /* Asegurarse de que el contenedor ocupe toda la pantalla */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
}

.nav-item {
    margin: 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.question {
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

/* Estilos para ocultar elementos */
.hidden {
    display: none;
}

/* Estilos para botones */
button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0062cc;
}

.quiz_box,
.result_box,
.result_exam {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.quiz_box {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.quiz_box header {
    position: relative;
    z-index: 2;
    padding: 15px 30px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
}

.quiz_box header .title {
    font-weight: bold;
}

.quiz_box header .timer {
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
    padding: 0 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 110px !important;
    min-height: 30px !important;
}

.quiz_box header .timer .time_left_txt {
    font-weight: 400;
    user-select: none;
}

.quiz_box header .timer .timer_sec {
    margin-left: 0.5em;
    font-weight: 500;
    border-radius: 5px;
    text-align: center;
    user-select: none;
}

.quiz_box header .time_line {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    background: #004c7b;
}


section {
    padding: 25px 30px 20px 30px;
    background: #fff;
}

section .que_text {
    font-weight: bold;
}

section .option_list {
    padding: 20px 0px;
    display: block;
}

section .option_list .option {
    background: aliceblue;
    border: 1px solid #84c5fe;
    border-radius: 5px;
    padding: 8px 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section .option_list .option:last-child {
    margin-bottom: 0px;
}

section .option_list .option:hover {
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
}

section .option_list .option.correct {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

section .option_list .option.incorrect {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

section .option_list .option.select {
    color: #155724;
    background: #fff3d6;
    border: 1px solid #e8c16c;
}

section .option_list .option.disabled {
    pointer-events: none;
}

section .option_list .option .icon {
    height: 26px;
    width: 26px;
    border: 2px solid transparent;
    border-radius: 50%;
    text-align: center;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 24px;
}

.option_list .option .icon.tick {
    color: #23903c;
    border-color: #23903c;
    background: #d4edda;
}

.option_list .option .icon.cross {
    color: #a42834;
    background: #f8d7da;
    border-color: #a42834;
}

.footer-quiz-box {
    height: 60px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid lightgrey;
}

.footer-quiz-box .total_que span {
    display: flex;
    user-select: none;
}

.footer-quiz-box .total_que span p {
    font-weight: 500;
    padding: 0 5px;
}

.footer-quiz-box .total_que span p:first-child {
    padding-left: 0px;
}

.footer-quiz-box button {
    height: 40px;
    padding: 0 13px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    background: #004c7b;
    border: 1px solid #004c7b;
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.footer-quiz-box button:hover {
    background: #1984bc;
}

.footer-quiz-box button.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.result_box {
    background: #fff;
    border-radius: 5px;
    padding: 25px 30px;
    width: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    display: none;
    transition: all 0.3s ease;
}

.result_box .icon {
    font-size: 100px;
    color: #004c7b;
    margin-bottom: 10px;
}

.result_box .complete_text {
    font-size: 20px;
    font-weight: 500;
}

.result_box .score_text span {
    display: flex;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.result_box .score_text span p {
    padding: 0 4px;
    font-weight: 600;
}

.result_box .buttons {
    display: flex;
    margin: 20px 0;
}

.result_box .buttons button {
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #004c7b;
    transition: all 0.3s ease;
}

.result_exam {
    background: #fff;
    border-radius: 5px;
    padding: 25px 30px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    display: none;
    transition: all 0.3s ease;
}

.result_exam_item {
    padding: 0;
    border: 1px solid #ccc;
    margin-bottom: 8px;
}

.result_exam_item .head {
    background-color: #f3f3f3;
    padding: 8px;
    margin-bottom: 4px;
}

.result_exam_item .body {
    background-color: #f3f3f3;
    padding: 8px;
}

.buttons button.restart {
    color: #fff;
    background: #004c7b;
}

.buttons button.restart:hover {
    background: #1984bc;
}

.buttons button.quit {
    color: #004c7b;
    background: #fff;
}

.buttons button.quit:hover {
    color: #fff;
    background: #004c7b;
}

.footer-page {
    background-color: #0c2342;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.footer-links li {
    display: inline-block;
    margin-right: 15px;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.galeria-imagen {
    max-width: 250px;
    background: white !important;
}

#loading {
    text-align: center;
    position: absolute;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: bold;
    width: 100%;
    height: 100%;
}

.card-header {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.fw-sbold {
    font-weight: 550 !important
}

.required-mark {
    width: 10px;
    margin-right: 2px;
    color: #dc3545;
}

.required-mark:before {
    content: "(*)";
}

.layer-error {
    contain: content !important;
    min-height: 75vh;
}

.layer-background {
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    font-size: 300px;
    color: #e8e5e5;
    font-weight: bolder;
}

.layer-base {
    background-color: transparent;
    width: 100%;
    height: 100%;
    z-index: 10;
    position: relative;
    text-align: center;
    top: 30vh;
    padding: 0px 32px;
}

.layer-base .title {
    font-weight: bold;
    font-size: 50px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.layer-base .subtitle {
    font-size: 18px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

#alert-time {
    text-align: center;
    padding: 12px 0 0 0;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

#card-view .card:not(:last-child) {
    margin-bottom: 10px; /* o el valor que prefieras para separar las tarjetas */
}

