/* Keep footer nice-looking */
@media (max-width: 1000px) {
    .footer p {
        text-align: center;
        line-height: 1.5em;
    }

    .footer .credits {
        float: none;
        white-space: nowrap;
        text-align: center;
    }

    .footer > a {
        text-decoration: none;
    }
}

/*Prevent contact table from going out of screen*/
@media (max-width: 1000px) {
    .facebookLong {
        display: none;
    }
    .facebookShort {
        display: block;
    }

    .contactInfo > span {
        text-align: left;
        width: 700px;
    }
}

/* remove map on smaller screens */
@media (max-height: 405px) {
    #map {
        display: none;
    }

    .verhuur a {
        display: none;
    }

    .contact {
        height: 100%;
        background-color: rgba(50, 50, 50, 0.9);
    }

    .contact .sectionText {
        background-color: initial;
    }

    .footer {
        position: relative;
    }
}

@media (max-width: 1000px) {
    .sectionText > * {
        width: 90%;
    }
}

/* Section text width across browser widths */
@media (min-width: 1000px) {
    .sectionText > * {
        width: 800px;
    }
}

/* Section text width across browser widths */
@media (min-width: 1100px) {
    .sectionText > * {
        width: 900px;
    }
}

/* Section text width across browser widths */
@media (min-width: 1200px) {
    .sectionText > * {
        width: 1000px;
    }
}

/* Smaller logo */
@media (max-width: 1000px) {
    #logo {
        top: 10%;
        max-width: 80%;
    }
}

/* Menu unstick on smaller screens */
@media (max-width: 1000px) {
    #downArrow {
        display: block;
        width: 10vw;
        height: 10vw;
        border-right: 5px solid white;
        border-top: 5px solid white;
        border-radius: 2px;
        transform: rotate(135deg);
    }

    #menuWrapper {
        width: 80%;
        top: 0;
        bottom: 0;
        height: auto;
        background-color: #2b2b2b;
        display: block;
        position: absolute;
        left: -100%;
        transition: left 0.5s;
    }

    #menuWrapper.open {
        left: 0;
    }

    button {
        border: none;
        padding: 8px;
        background-color: transparent;
    }

    .menu-top.mobile {
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: end;
        padding-inline: 16px;
        border-bottom: 1px solid #303030;
    }


    html.menu-open,
    body.menu-open {
        overflow: hidden;
    }

    .menu-backdrop {
        z-index: 5;
        display: block;
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
        backdrop-filter: blur(2px);
        overscroll-behavior: none;
        overflow-y: auto;
    }

    .menu-backdrop.open {
        opacity: 1;
        pointer-events: all;
    }

    #menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
        background-color: transparent !important;
    }

    #menu .menuItem {
        margin-left: 0;
        margin-right: 0;
        padding-left: 5px;
        padding-right: 5px;
        white-space: nowrap;
        box-sizing: border-box;
    }

    #menuWrapper.fancy > #menu:not(.fixed) a {
        color: white;
    }
    #menuWrapper > #menu a::before {
        display: none;
    }
}

/* Increase font-size on smaller screens */
@media (max-width: 1000px) {
    body {
        font-size: 4vmin;
    }
}

@media (max-width: 1000px) {
    .section {
        min-height: 100svh;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    :root {
        scroll-padding-top: 0;
    }
}