* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    width: 100vw;
    height: 100vh;
}

body {
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    overflow-x: hidden;
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.header {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: end;
    padding: 1rem 5rem;
    gap: 1rem;
}

@media screen and (max-width: 786px) {
    .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        height: fit-content;
    }

    .header .logo-divider {
        display: none;
    }
}

.header .logo-divider {
    border: 1px solid #aaaaaa;
    color: #aaaaaa;
    height: 56px;
}

.footer {
    width: 100%;
    height: 30px;
    color: #aaaaaa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.menu-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.menu-container .menu-bar {
    height: 25px;
    display: flex;
    list-style: none;
    gap: 0.4rem;
}


.menu-container .top-menu {
    background-color: #ff4d00;
    width: 100%;
    padding: 0 5rem;
}

.menu-container .lower-menu {
    background-color: #008000;
    margin-left: 5rem;
}

.menu-container .menu-bar > a {
    font-variant: small-caps;
    font-size: 1.2rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.4s ease-in-out;
    padding: 0 0.4rem;
}

@media screen and (max-width: 786px) {
    .menu-container .menu-bar {
        flex-direction: column;
        height: auto;
        gap: 0.4rem;
        margin: 0;
        padding: 0;
    }

    .menu-container .menu-bar > a {
        width: 100%;
        padding: 0.5rem;
    }

    .menu-container .lower-menu::before {
        content: "";
        display: block;
        width: 100%;
        min-height: 5px;
        background-color: #ffffff;
    }
}

.menu-container .top-menu > a {
    color: #000000;
}

.menu-container .lower-menu > a {
    color: #ffffff;
}

.menu-container .top-menu > a.active, .menu-container .top-menu > a:hover {
    background-color: #008000;
}

.content-container {
    width: 100%;
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

@media screen and (max-width: 786px) {
    .content-container {
        grid-template-columns: 0 1fr 0;
    }
}

.content-container .content {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    padding: 1rem;
    border: 1px solid #c0c0c0;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-container .content > section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.content-container .slideshow {
    margin-right: 1rem;
    flex-grow: 0;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content-container .slideshow img {
    width: 100%;
    object-fit: cover;
}

.content-container .slideshow.auto-slideshow {
    position: relative;
}

.content-container .slideshow.auto-slideshow img {
    position: absolute;
    z-index: 50;
    opacity: 0;

    transition: opacity 1s;
}

.content-container .slideshow.auto-slideshow img.active {
    opacity: 1;
}

.content-container .slideshow.slideshow-left {
    margin-left: 5rem;
}