/* small desktop screens */
@media (min-width: 701px) and (max-width: 1400px) {
    :root {
        --universalSpacer: 1rem;
    }

    h1 {
        font-size: calc(var(--fontSizeDesktop) * 1.8);
    }

    h2 {
        font-size: calc(var(--fontSizeDesktop) * 1.3);
    }

    h3 {
        font-size: calc(var(--fontSizeDesktop) * 1.1);
    }

    p,
    li,
    a,
    address,
    #full-announcement-link {
        font-size: calc(var(--fontSizeDesktop) * 0.85);
        line-height: 1.1rem !important;
    }

    #logo-big {
        height: 15rem;
    }

    .grid-main {
        width: 90vw;
        gap: var(--universalSpacer);
    }

    .box .title {
        font-weight: unset;
    }

    .box .heading-addon,
    .box .date {
        font-size: calc(var(--fontSizeDesktop) * 0.65);
    }

    .dropdown-group {
        width: 100%;
    }

    .navbar-tab,
    .navbar-link,
    .dropdown-group>a {
        font-size: calc(var(--fontSizeDesktop) * 0.7);
    }

    .dropdown-group>a {
        padding: 0 0.5rem;
    }
}

/* small phones screens */
@media (max-width: 1024px) {
    :root {
        --universalSpacer: 1rem;
    }

    .mobile {
        display: unset;
    }

    html body .desktop {
        display: none !important;
    }

    html {
        font-size: var(--fontSizeMobile);
    }

    body {
        padding-top: 0;
    }

    header {
        height: var(--mobileNavbarHeight);
    }

    #logo-big {
        width: 80vw;
        height: auto;
    }

    #logo {
        width: 80vw;
        height: auto;
    }

    #hero {
        padding-top: 0;
    }

    /* hamburger button and dropdown menu */
    #mobile-navbar {
        width: 100vw;
        height: var(--mobileNavbarHeight);
        display: flex;
        position: fixed;
        background-color: hsl(208, 72%, 30%);
        z-index: 2;
        cursor: pointer;
    }

    #mobile-navbar>img {
        height: 60%;
        width: auto;
        margin: auto;
        filter: invert(100%);
    }

    /* mobile dropdown menu */
    #mobile-navbar-dropdown {
        position: absolute;
        display: none;
        flex-direction: column;
        width: 50vw;
        font-size: 1.5rem;
        top: var(--mobileNavbarHeight);
        background-color: hsl(208, 72%, 30%);
    }

    #mobile-navbar-dropdown>* {
        width: 100%;
        padding: 1rem 0;
        text-indent: var(--universalSpacer);
        text-decoration: none;
    }

    #mobile-navbar-dropdown>*:hover {
        background-color: white;
        color: black;
    }

    #admin {
        display: none;
    }

    .grid-main {
        grid-template-columns: 1fr;
        width: calc(100% - 1rem);
        margin: var(--universalSpacer) auto;
    }

    #footer-link-group {
        flex-direction: column;
    }

    .top-info {
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: .25rem;
    }

    #copyright {
        margin-bottom: 2rem;
        gap: 1rem;
    }

    #copyright>p,
    #copyright>a {
        font-size: calc(var(--fontSizeMobile) * .7);
    }

    .box-img-right {
        grid-template-columns: 1fr;
        gap: var(--universalSpacer);
    }

    .box-img-right>div {
        margin-right: 0;

    }

    .box-img-right img {
        display: none;
    }

    #about-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    #lightbox-content {
        height: auto;
        width: 90%;
    }

    h1 {
        font-size: calc(var(--fontSizeMobile) * 1.7);
    }

    h2 {
        font-size: calc(var(--fontSizeMobile) * 1.2);
    }

    h3,
    #full-announcement-link {
        font-size: calc(var(--fontSizeMobile) * 0.9);
    }

    p,
    li,
    a,
    address {
        font-size: calc(var(--fontSizeMobile) * 0.8) !important;
    }

    .date {
        font-size: calc(var(--fontSizeMobile) * .7);
    }

    .box .heading-addon,
    .box .date {
        font-size: calc(var(--fontSizeMobile) * 0.7);
    }
}