:root {
    --header-height: clamp(64px, 20vw, 204px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    background-color: #BEDDEF;
    -webkit-box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.25);
}

header {
    max-height: var(--header-height);
}

header img {
    display: block;
    width: 100%;
    height: auto;
}

main {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    min-height: calc(100vh - var(--header-height));
    padding: 0 15px 0 20px;
}

main nav {
    width: 100%;
    max-width: 225px;
}


main .content {
    flex-grow: 1;
    background-color: #BEDDEF;
}

iframe {
    width: 100%;
    border: none;
}

main nav iframe,
main .content iframe {
    border: 1px solid #0380C6;
    border-radius: 4px;
}

main .content iframe {
    height: calc(100% - 30px);
}

footer {
    position: fixed;
    background-color: #fff;
    padding: 3px 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #0380C6;
    text-align: center;
    width: 100%;
    max-width: 1024px;
    bottom: 0;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

footer a {
    color: #0380C6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.mobile-menu-icon {
    margin-left: 15px;
    cursor: pointer;
    margin-bottom: 8px;
    display: none;
}

@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    main {
        padding-left: 15px;
    }

    main nav {
        position: fixed;
        width: calc(100% - 30px);
        max-width: 360px;
        height: calc(100vh - 23px);
        opacity: 0;
        transform: translateX(-110%);
        transition: all 0.25s ease-in-out;
    }

    main nav.open {
        opacity: 1;
        transform: translateX(0);
    }

    main nav iframe {
        height: 75% !important;
        border-radius: 0;
        -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.15);
        -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.15);
    }

    main .content iframe {
        height: calc(100% - var(--header-height) - 62px);
    }

    .mobile-menu-icon {
        display: block;
    }
}
