html, body {
    overflow-y: auto;
}

#menu {
    background: #161F38;
    position: relative;
    top: unset;
    padding: 60px 0;
}

#mainSection {
    padding: 60px 6%;
}

#mainContainer h1 {
    font-size: var(--Typeface-Size-H2, 48px);
    font-style: normal;
    font-weight: 800;
    line-height: 58px;
}

#mainContainer h1:first-child {
    margin-bottom: 64px;
}

#mainContainer p, #mainContainer li {
    font-size: var(--Typeface-Size-H4---Body, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: 34px;
}

#mainContainer img {
    width: 100%;
}

#mainContainer table {
    border-collapse: collapse;
    font-size: var(--Typeface-Size-H4---Body, 24px);
}

#mainContainer tr, #mainContainer th, #mainContainer td {
    border: 1px solid black;
    text-align: left;
    padding: 4px;
}

@media only screen and (max-width: 800px) and (orientation: portrait) {
    #menu {
        display: flex;
    }

    #mainContainer p, #mainContainer li {
        font-size: 20px;
    }

    #mainContainer table {
        font-size: 20px;
    }

    a[href^="mailto:"] {
        word-break: break-word;
        overflow-wrap: anywhere;
        max-width: 100%;
        white-space: normal;
    }

    a[href^="mailto:"]::after {
        content: "";
    }
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
    html, body {
        overflow-y: auto;
    }
}