:root {
    --primary-color: #CADBD3;
    --secondary-color: #3D3F3E;
    --active-color: #979C99;
    --hover-color: #71827A;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel {
    width: 40%;
}
@media (max-width: 768px) {
    .carousel {
        width: 100%;
    }
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 4rem;
    width: auto;
}

.navbar {
    width: 100%;
    background-color: var(--primary-color);
}

.nav-item a {
    color: var(--secondary-color);
    font-weight: bold;
}

    .nav-item a.active {
        color: var(--active-color);
        font-weight: bold;
    }

    .nav-item a:hover {
        color: var(--hover-color);
        font-weight: bold;
    }

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.content {
    padding-top: 1rem;
    margin: 0 auto;
    width: 80%;
    text-align: justify;
}

@media (min-width: 641px) {
    .page {
        flex-direction: column;
    }

    .nav {
        height: auto;
        position: sticky;
        top: 0;
        padding: 0px;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem var(--active-color);
}

.accordion-header {
    padding-top: 0rem;
}

.image-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-direction: column
}

    .image-container img {
        max-width: 100%;
        height: auto;
    }

.image_container_info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.content_image {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .content_image img {
        width: 40vw;
    }

@media (max-width: 768px) {
    .content_image img {
        width: 100%;
    }
}

.image {
    width: 25%;
    box-sizing: border-box;
}

    .image img {
        max-width: 100%;
        height: auto;
    }

@media (max-width: 768px) {
    .image_container_info {
        flex-direction: column;
    }

    .image {
        width: 100%;
    }
}

.iframe-container {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

    .iframe-container iframe {
        border: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

a {
    font-size: 1.2em;
    text-decoration: none;
    display: inline;
}

    a img {
        width: 26px;
        height: 26px;
    }

h2 {
    padding-top: 1rem;
}

.iframe-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 2rem;
}