body {
    font-family: 'Helvetica', sans-serif;
    color: white;
}

.main-page {
    background: url('../images/logo/logo-3d.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75% 75%;
    min-height: 100vh;
    animation: background-reveal 1s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@media (max-width: 992px) {
    .main-page {
        min-height: 90vh;
    }
}

.main-title {
    font-size: 15vw;
    animation: text-reveal 0.8s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.main-subtitle {
    font-size: 3vw;
    font-weight: lighter;
    animation: text-reveal 0.8s ease-in-out;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.accordion-title {
    font-size: 3rem;
    font-weight: lighter;
}

.accordion-text {
    font-size: 1rem;
    animation: text-reveal 0.8s ease-in-out;
}

.accordion-body {
    background-color: #212529 !important;
}

.accordion-collapse {
    transition: height 0.3s ease-in-out;
    background-color: #212529;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.accordion-button:focus,
.accordion-button:active {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url('../images/arrows/arrow-right.svg') !important;
    background-size: 3rem;
    background-position: right center;
    transition: transform 0.3s ease-in-out;
    opacity: 1;
    width: 3rem;
    height: 3rem;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(90deg);
}

.accordion-button:not(.collapsed) {
    box-shadow: none !important;
    border-bottom: none !important;
    background-color: #212529 !important;
}

#arrow-down {
    animation: blinker 2s linear infinite;
}


@keyframes blinker {
    50% {
        opacity: 0;
    }
}

@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes background-reveal {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 992px) {
    /* Make the page not full width on desktop */
    .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Adjust the main page section */
    .main-page {
        background-size: 60% 60%;
        /* Animation properties are inherited from the base class */
    }

    /* Adjust title and subtitle sizes for desktop */
    .main-title {
        font-size: 8rem;
    }

    .main-subtitle {
        font-size: 2rem;
    }

    /* Ensure elements are stacked vertically */
    .row {
        flex-direction: column;
    }

    /* Limit width of accordion sections for better readability */
    #sections {
        max-width: 800px;
        margin: 0 auto;
    }

    .accordion-text {
        font-size: 1.25rem;
        line-height: 1.6;
    }
}
