:root {
    /*--epop: #18314F;
    --eb: #FEFFEF;*/
    --epop: #12375c;
    --eb: #fdfef8;
    /*--epop: #0f4c81;*/
    /*--epop: #EB0014;*/
    /*--epop: #4F5869;*/
    /*--epop: #3a4660;*/
    /*--epop: #008055;*/
}

html {
    position: relative;
    height: 100%;
}

body {
    background-color: var(--eb);
    color: var(--epop);
}

.nav-link {
    color: var(--epop);
}

.navbar-nav .nav-link.active {
    color: var(--epop);
}

.navbar-brand {
    font-family: "Aref Ruqaa", sans-serif;
    color: var(--epop);
}

.bg-image {
    background-image: url("/static/fondo_peque.png");
    min-height: 100%;
    background-position: center;
    background-repeat: repeat;
    position: relative;
}

.content-container {
    min-height: calc(100vh - 116px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
}

.centered-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.text-container {
    max-width: 45%;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 45%;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.custom-bg-color {
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    /*background-color: var(--epop) !important;*/
}


footer {
    color: var(--epop);
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    /*background-color: var(--epop);*/
    /*width: 100%;
    height: 60px;
    text-align: center;
    padding: 20px;*/
}

.hero-text {
    color: var(--epop);
    /*text-shadow: 2px 2px 30px var(--epop);*/
    /*font-size: max(3rem, calc(2.5vw + 1vh + 2vmin));*/
    font-size: 5em;
    font-family: "Aref Ruqaa", sans-serif;
    text-align: center;
}

@media (max-width: 768px) {
    .centered-content {
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    .text-container,
    .login-container {
        max-width: 100%;
        width: 100%;
    }
}

/* Main Menu extra */

.text-justify {
    text-align: justify;
}

.card-link {
    text-decoration: none;
    color: #333;
}

.custom-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #fff7d6;
}

.card-title {
    color: var(--epop);
}

.card-icon {
    /*color: #7f2c00;*/
    color: #EB0014;
    padding-bottom: 30px;
    padding-top: 10px;
}

.btn-primary {
    background-color: var(--epop);
    border-color: var(--epop);
}

.btn-primary:hover {
    background-color: rgb(41, 74, 83);
    border-color: rgb(41, 74, 83);
}

/* PDF */

.caja {
    border-style: solid;
    border-radius: 6px;
    border-width: 1px;

}

/* VOZ */
.hovi:hover {
    background-color: #ffe9cf;
}

#ico_microfono {
    color: #EB0014;
}

/* logout */
#logout-form {
    display: inline;
}

section {
    padding-top: 9rem;
    padding-bottom: 9rem;
}

.alternative-color {
    color: var(--epop);
    background-color: var(--eb);
}

.white-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toggle visibility */
.hidden {
    display: none !important;
}

/* Style for the button when processing */
#sendButton:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}