html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Trebuchet MS, Arial, Verdana, Geneva, Helvetica, sans-serif;
    color: #474747;
    font-size: 16px;
}

.page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.visuallyhidden {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0 0 99.9% 99.9%);
    clip-path: inset(0 0 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}

.header .logo {
    width: 100px;
    height: 32px;
    margin-top: 25px;
    margin-bottom: 10px;
    overflow: hidden;
}

.header .logo .normal {
    display: block;
}

.hidden {
    display: none;
}

.header, .main-content, .footer {
    max-width: 985px;
    margin: 0 auto;
}

main {
    flex: 1;
    display: flex;               /* make main a flex container */
    justify-content: center;     /* center children horizontally */
    align-items: center;         /* center children vertically */
}

.main-content {
    padding: 0 18px 38px 18px;
    overflow: hidden;
    text-align: center;
    * {
        margin: auto;

    }
    img {
        width: 20%;
    }
    .maintenance-title {
        /* largest heading on maintenance page */
        font-size: 3rem;
        line-height: 2.7rem;
    }

    .maintenance-subtitle {
        /* secondary message below title */
        font-size: 2.5rem;
        margin-top: 20px;       /* replace padding-top for consistency */
    }

    .maintenance-note {
        /* tertiary, smaller note text */
        font-size: 1.5rem;
        margin-top: 20px;       /* same vertical rhythm as subtitle */
    }
}

.main-title {
    font-weight: bold;
    font-style: italic;
    font-size: 30px;
    margin: 30px 0 23px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 10px;
}

.grid-content-container {
    display: flex;
}

.country {
    margin-left: 12px;
}

.language {
    margin-left: 12px;
    font-style: italic;
}

a {
    color: #40810c;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #326414;
}

.slide-underline {
    display: inline-block;
}

.slide-underline span {
    position: relative;
    background: linear-gradient(to right, transparent, transparent),
    linear-gradient(to right, currentColor, currentColor);
    background-size: 100% 1px, 0 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.slide-underline span:hover {
    background-size: 0 1px, 100% 1px;
}

.footer-background {
    width: 100%;
    padding: 3px 0;
    background-color: #f0f0f0;
}

/*
///// TABLET ////
*/

@media screen and (max-width: 985px) and (min-width: 751px) {
    .header, .main-content, .footer {
        max-width: 750px;
    }
}

@media screen and (max-width: 750px) {
    .header, .main-content, .footer {
        max-width: 300px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}