@media (min-width: 500px) {

}

@media (min-width: 960px) {

    #main-nav .content {
        top: 0;
    }

    #main-nav .bg-image-top {
        top: 200px;
    }
    #main-nav .logo-wrap {
        margin-top: 80px;
    }
    #main-nav .logo-wrap p {
        font-size: 22px;
    }
    #main-nav .logo-wrap p:first-of-type span {
        font-size: 30px;
    }

    a.logo {
        width: 240px;
    }

    a.logo:focus-visible {
        border: 2px dotted var(--color-accent);
    }

    .header .nav-wrap {
        position: absolute;
        top: 20px;
        width: calc(100% - 10%);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        padding: 0;
    }

    .header ul:first-of-type {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: auto;
        margin: 0 auto 0 0;
    }
    .header ul:first-of-type li {
        display: flex;
        flex-direction: column;
    }

    .header ul:first-of-type li span {
        display: block;
    }

    .header ul:first-of-type li a {
        color: var(--color-nav);
    }

    .header ul:first-of-type li a:focus-visible {
        border: 2px dotted var(--color-nav);
    }

    .header ul:first-of-type li:first-of-type a {
        display: block;
        margin: auto 0;
    }
    .header ul:first-of-type li span:nth-of-type(2) {
        font-weight: 400;
        font-size: 18px;
        text-transform: none;
        letter-spacing: normal;
    }
    #main-nav ul:last-of-type {
        display: flex;
        margin: 0 0 0 auto;
    }
    .header ul li {
       display: inline-block;
    }
    .header ul li:last-of-type {
        margin-right: auto;
    }

    .header ul li a {
        margin: auto 0;
        font-family: var(--font), sans-serif;
        font-size: 22px;
        font-weight: 700;
        display: block;
        float: left;
        color: var(--color-accent);
        padding: 8px 7px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .header ul li a:focus-visible {
        border: 2px dotted var(--color-accent);
    }
    .header ul:last-of-type li a {
        padding: 4px;
        text-transform: none;
        font-weight: 400;
        font-size: 20px;
        letter-spacing: normal;
    }
    .header ul:last-of-type li:last-of-type a {
        padding: 4px 0 4px 4px;
    }
    div#scroll-header {
        top: 0;
        bottom: auto;
        width: 100%;
        margin: 0;
    }

    div#scroll-header ul {
        margin-right: 50px;
    }

    div#scroll-header ul li a {
        font-size: 20px;
    }

    section.hero div.overlay div.text {
        width: 55%;
        margin-left: 45%;
    }

    .grid.grid-reverse {
        flex-direction: row-reverse;
    }


    footer div.grid-item:nth-child(2) {
        text-align: center;
    }

    footer div.grid-item:nth-child(3) {
        text-align: right;
    }


    .img-round img {
        width: 80%;
    }

}

@media (min-width: 1140px) {
    #main-nav .content {
        top: 0;
        padding: 0;
    }

    .header .nav-wrap {
        width: 100%;
    }
}
@media (min-width: 1200px) {
    .header ul li a {
        padding: 8px 13px;
    }
    #main-nav .logo-wrap {
        margin-top: 100px;
    }
    #main-nav .logo-wrap p {
        font-size: 23px;
    }
    #main-nav .logo-wrap p:first-of-type span {
        font-size: 32px;
    }
}
@media (min-width: 2560px) {
    #main-nav .bg-image {
        margin-top: -170px;
    }
    #main-nav .logo-wrap p {
        font-size: 27px;
    }
    #main-nav .logo-wrap p:first-of-type span {
        font-size: 36px;
    }
}
@media (min-width: 3840px) {
    #main-nav .logo-wrap {
        margin-top: 140px;
    }
    #main-nav .bg-image-top {
        top: 250px;
    }
    #main-nav .bg-image {
        margin-top: -420px;
    }
}