
:root {
    --bg-color-red-lightBlue: #B00D13;
}

.dark-theme {
    --bg-color-red-lightBlue: #6c63ff;
}

main {
    margin: auto;
    max-width: 80vw;
}

h2 {
    /* font-size: 3rem; */
    font-size: clamp(1.8rem, 2rem, 2rem);
    margin-top: 5rem;
}

h4 {
    /* font-size: 1.5rem; */
    font-size: clamp(0.9rem, 1rem + 0.9014vw, 1.5rem);
}

nav {
    background-color: var(--bg-color-red-lightBlue);
}

ol {
    margin: 3rem 0;
}

article {
    margin: 5rem 0;
}

table {
    border-collapse: collapse;
    /* font-size: 1.2rem; */
    font-size: clamp(1rem, 0.4000rem + 2.5600vw, 1.2rem);
    margin: 4rem auto;
    width: 50vw;
    white-space: nowrap;
}

th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}

th {
    background-color: var(--bg-color-red-lightBlue);
    color: var(--color-white)
}

span {
    font-weight: bolder;
}
.nav__container {
    align-items: center; 
    background-color: var(--bg-color-red-lightBlue);
    display: flex;
    height: 100%;
    justify-content: space-between;
}

/* ==================== SPLASH SCREEN ============================*/
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0.9;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-out {
    animation: fadeOut 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.contact__container {
    background: var(--color-bg1);
    border-radius: 1rem;
    display: grid;
    gap: 4rem;
    grid-template-columns: 40% 60%;
    height: 30rem;
    margin: 7rem auto;
    padding: 4rem;
}

.cintillo {
    margin:auto;
    max-width: 70vw;
}

.crs > img {
    margin-bottom: 4rem;;
    padding-top: 0;
    max-width: 75%;
    margin: 0 auto 0;
}

.crs__info p{
    /* font-size: 1.1rem; */
    font-size: clamp(.9rem, 0.9648rem + 0.1502vw, 1.1rem);
    margin: 1rem 0;
    max-width: 70vw;
}

.crs__info li {
    list-style-type: disc;
    margin-left: 3rem;
    /* margin-right: 3rem; */
    /* font-size: 1rem; */
    font-size: clamp(.9rem, 0.9648rem + 0.1502vw, 1.1rem);
}

#fnp-webp {
    margin-top: 5rem;
}

@media screen and (max-width: 1024px) {
    table {
        display: block;
        /* font-size: 1rem; */
        font-size: clamp(0.9rem, 0.8422rem + 0.2465vw, 1rem);
        margin: auto;
        overflow-x: auto;
        width: 100%;
}
}


@media screen and (max-width: 600px) {
    table {
        display: block;
        font-size: 1rem;
        margin: auto;
        overflow-x: auto;
        width: 100%;
    }
    th:last-child,
    td:last-child {
        display: none;
    }
}