@media screen and (max-width: 1030px) and (min-width: 400px) {
    .nav-header .wrapper {
        justify-content: center;
    }

    .nav-header img {
        display: none;
    }
}

@media screen and (max-width: 1220px) and (min-width: 400px) {
    #calendar ul {
        grid-template-columns: repeat(4, 1fr);
    }

    #calendar ul li:nth-child(5) {
        display: none;
    }
}

@media screen and (max-width: 880px) {
    #whoami {
        justify-content: flex-end;
    }

    #whoami ul {
        right: unset;
        left: 0;
    }

    #whoami figure {
        position: absolute;
        width: 100%;
    }
}

@media screen and (max-width: 880px) and (min-width: 480px) {
    #whoami p {
        color: #FFF;
    }
}

@media screen and (max-width: 480px) {
    .btn:not(:last-child), button:not(:last-child) {
        margin-right: 0;
        margin-bottom: 16px;
    }

    section h1 {
        font-size: 38px;
        word-break: break-word;
    }

    section p {
        font-size: 16px;
    }

    .nav-header ul {
        display: none;
    }

    header {
        overflow: hidden;
    }

    header .wrapper {
        align-items: flex-end;
    }

    header main {
        margin-bottom: 45px;
        width: 100%;
    }

    header main h1 {
        font-size: 38px;
        min-width: unset;
    }

    header .address {
        top: 85px;
    }

    #whoami {
        flex-direction: column-reverse;
    }

    #whoami figure {
        position: relative;
    }

    #whoami ul {
        bottom: 50%;
        transform: translateY(50%);
    }

    #whoami main {
        margin: 50px 0;
    }

    #values {
        margin: 0;
    }

    #values article {
        width: 100%;
    }

    #statute {
        height: auto;
        padding-top: 0;
    }

    #statute main {
        align-items: center;
        text-align: center;
        flex-basis: unset;
        flex-shrink: unset;
    }

    #statute figure {
        display: none;
    }

    #videocontent {
        height: auto;
    }

    #videocontent main {
        height: 312px;
        min-height: 312px;
    }

    #videocontent main figure {
        width: 80%;
    }

    #videocontent ul {
        gap: 12px
    }

    #videocontent main li img {
        height: 150px;
    }

    #offer main {
        flex-direction: column-reverse;
    }

    #offer main ul {
        padding: 0 0 50px;
    }

    #offer label {
        font-size: 14px;
    }

    #offer li span {
        font-size: 25px;
    }

    #offer .qrcode.desktop {
        display: none;
    }

    #offer .qrcode.mobile {
        display: flex;
    }

    #offer .qrcode {
        flex-direction: column;
    }

    #offer .qrcode span img {
        display: none;
    }

    #contact {
        flex-direction: column;
    }

    #contact aside,
    #contact form {
        width: 100%;
        position: relative;
    }

    #contact form {
        margin-top: 50px; 
    }

    #contact form > label[for="contactme"] {
        margin: 0;
        font-size: 9px;
    }

    #calendar main::before {
        height: 400px;
    }

    #calendar ul {
        padding-left: 0;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 0;
        gap: 15px;
    }

    #calendar li {
        padding: 18px;
    }

    #calendar li h1 {
        font-size: 20px;
        white-space: nowrap;
    }

    #calendar li span {
        font-size: 15px;
    }

    #calendar li p {
        font-size: 11px;
    }

    #calendar li h2 {
        font-size: 55px;
    }

    #initiatives {
        height: auto;
    }

    #initiatives ul {
        overflow-x: scroll;
        margin-right: 0;
        margin-left: 10%;
        width: 90%;
    }

    #initiatives ul li {
        white-space: nowrap;
    }

    #initiatives article div {
        flex-direction: column;
        padding-top: 50px;
        padding-bottom: 80px;
    }

    #initiatives article p {
        width: 100%;
    }

    #initiatives article p:last-of-type {
        margin: 20px 0;
    }

    #initiatives aside {
        margin-top: 0;
    }

    footer h1 {
        font-size: 30px;
    }

    footer aside {
        padding-bottom: 110px;
    }

    footer aside p {
        font-size: 18px;
    }

    footer nav {
        height: auto;
        padding: 30px 0;
    }

    footer nav .wrapper {
        flex-direction: column-reverse;
    }

    footer nav .wrapper span {
        font-size: 13px;
        line-height: 1.6;
    }

    footer .links {
        margin-bottom: 28px;
    }
}