:root {
    --primary-color-hex: "#646EA0";
    --primary-color: rgb(100, 110, 160);

    --secondary-color-hex: "#9595A9";
    --secondary-color: rgb(149, 149, 169);

    --terciary-color-hex: "#C6BBB1";
    --terciary-color: rgb(198, 187, 177);
}

.pulse:hover {
    margin: 0 auto;
    animation-name: stretch;
    animation-duration: 0.4s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

@keyframes stretch {
    0% {
        transform: scale(.995);
    }

    100% {
        transform: scale(1.005);
    }
}


.portal-participate {
    background-color: var(--primary-color);
    color: white;
}

.portal-participate:hover {
    background-color: var(--terciary-color);
    color: white;
}

.portal-complet {
    background-color: #f00020;
    color: white;
}

.portal-complet:hover {
    color: white;
}


.portal-subtitle {

    font-weight: 900;
    font-size: 28px;
}

.nav-font {
    font-size: 20px;
}


.competition-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
}

.sub-slogan {
    margin-top: 10px;
    background-color: white;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.slogan {
    margin-top: 10px;
    background-color: white;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    padding-left: 4px;
    padding-right: 4px;
}

.slogan-wth-bg {
    margin-top: 10px;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    padding-left: 4px;
    padding-right: 4px;
}

.bg-custom {
    background-color: #FFFFFFDD;
}

.body-portal {
    background: linear-gradient(0.25turn, var(--primary-color), var(--secondary-color), var(--terciary-color));
}


.card-competition-link {
    border-radius: 10px;
    opacity: 1;
    min-height: 300px;
}

.bg-smooth {
    background-color: rgb(255, 255, 255, 0.7);
}

.events-main {
    border-radius: 10px;

}

.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -999;
    top: -13%;
    opacity: 0.75;
    width: 100%;
    object-fit: none;
    /* Do not scale the image */
    object-position: center;
    /* Center the image within the element */
    /*width: 100%;*/
    min-height: 600px;
    margin-bottom: 1rem;
}

.filter-red {
    filter: invert(12%) sepia(67%) saturate(6209%) hue-rotate(359deg) brightness(114%) contrast(120%);
}

.brand {
    display: block;
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
    left: 50%;
    top: -50%;
}

.carroussel-portal {
    border-radius: 10px;
    margin-bottom: 8px;
}

#absoluteError {
    position: fixed;
    width: 100%;
    top: 150px;
    left: 50%;
    z-index: 999;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 1.5em;
    display: none;
    transform: translate(-50%, -50%);
}

.oswald {
    font-family: 'Oswald', sans-serif;
}

.roboto-cond {
    font-family: 'Roboto Condensed', sans-serif;
}

.open-sans {
    font-family: 'Open Sans', sans-serif;
}

.main-title {
    font-size: 2em;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
}

.secondary-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
}