@media screen and (min-width: 1081px) {
    .only_mobile {
        display: none !important;
    }
}

@media screen and (max-width: 1080px) {
    .only_computer {
        display: none !important;
    }

    html {
        background-image: none;
    }

    body {
        background-image: -moz-linear-gradient(top, var(--main-bg-1), var(--main-bg-2));
        background-image: -o-linear-gradient(top, var(--main-bg-1), var(--main-bg-2));
        background-image: -webkit-linear-gradient(top, var(--main-bg-1), var(--main-bg-2));
        background-size: auto 100%;
        font-family: "Trebuchet MS", Helvetica, sans-serif;
    }

    nav {
        height: 135px;
    }

    nav img {
        height: 119px;
        margin-top: 8px;
    }

    nav a#flame {
        padding: 0;
        font-size: 0;
        background-color: transparent;
        box-shadow: none;
    }

    nav a:link,
    nav a:visited {
        font-size: 6em;
        font-weight: bold;
        font-family: "Trebuchet MS", Helvetica, sans-serif;
        height: calc(100% - 20px);
    }

    nav a:hover,
    nav a:active {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        top: inherit;
    }

    div#mobile_menu_block {
        display: none;
        background-color: var(--mobile-menu-bg);
        position: absolute;
        text-align: right;
        top: 134px;
        right: 0;
        width: 90%;
        padding-right: 0.5%;
        z-index: 99999;
    }

    div#mobile_menu_block a:link,
    div#mobile_menu_block a:visited {
        display: block;
        color: var(--nav-link-font);
        text-shadow: 0 0 3px black;
        text-decoration: none;
        transition: none;
        font-size: 6em;
        font-weight: bold;
        font-family: "Trebuchet MS", Helvetica, sans-serif;
        padding-right: 10px;
    }

    div#mobile_menu_block a:hover {
        background-color: var(--nav-link-hover);
        color: black;
        text-shadow: none;
    }

    div#mobile_menu_block a:active {
        background-color: var(--nav-link-clicked);
    }

    div#mobile_menu_block div.dropdown div.dropdown-content {
        display: none;
        position: relative;
        width: 90%;
        padding: 20px 0px;
        margin-left: auto;
        background-color: var(--mobile-menu-dropdown-bg);
        border-bottom-left-radius: 33px;
    }

    div#mobile_menu_block div.dropdown.dropped div.dropdown-content {
        display: block;
    }

    div#donutchart {
        width: 95vw;
        height: 40vh;
    }

    div.description {
        font-size: 2.5vw;
    }

    div.declaratie {
        width: 90%;
        height: auto;
        border-radius: 30px;
        padding: 30px;
        margin: 30px;
    }

    div.declaratie h2 {
        font-size: 35pt;
    }

    div.declaratie a.decl-delete {
        top: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
    }
    div.declaratie a.decl-dl {
        bottom: 30px;
        right: 30px;
        width: 120px;
        height: 120px;
    }

    article#stukken,
    article#stuk,
    article.thin {
        max-width: 90vw;
    }

    section form.login_form p {
        display: block;
    }

    section.stuk {
        border-width: 2px;
        border-radius: 35px;
        margin-block-end: 25px;
    }

    section.stuk:not(.stem) a {
        padding: 35px;
    }

    section.stuk a h2 {
        text-decoration: none;
    }

    section.stuk.stukje div.admin-options {
        border-width: 2px;
        border-radius: 35px;
    }

    section.admintools {
        border-radius: 30px;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: inset 2px -2px 8px 0px black;
    }

    section#diff-sec p {
        max-width: 90vw;
    }

    section#news,
    section#calendar_section {
        float: none;
        width: 100%;
    }

    section#news {
        border-radius: 30px;
        margin: auto -14px auto;
    }

    section#news div.newsitem {
        border-radius: 20px;
        margin-block-start: 3em;
    }

    section#news div.newsitem h3 {
        text-shadow: 2px 2px 10px #0000002e;
    }

    footer {
        text-align: right;
        padding-top: 7px;
    }

    footer p {
        margin-block-start: 0;
        margin-block-end: 0;
        font-size: 20pt;
        margin-right: 1%;
    }

    h1 {
        font-size: 50pt;
    }
    h1#welcome {
        font-size: 67pt;
    }
    h2 {
        font-size: 42pt;
    }
    h2#subwelcome {
        font-size: 45pt;
    }
    h3,
    p:not(.fixed_size),
    select,
    input,
    button,
    label,
    li {
        font-size: 35pt;
    }
    h4 {
        font-size: 32pt;
    }

    p.inline:not(.mobile_too) {
        display: block;
        margin-block-start: 0.5em;
        margin-block-end: 0.1em;
    }

    p.news_tag {
        font-size: 28pt;
    }

    p.auth-form {
        flex-direction: column;
        & span {
            display: flex;
            gap: 1rem;
            input {
                flex-grow: 1;
            }
        }
    }

    p.adminbuttons img,
    td.adminbuttons img,
    a.stem-delete img {
        width: 50px;
        height: 50px;
    }

    li {
        margin-block-end: 10px;
    }

    input,
    button,
    section form.login_form input,
    section form.login_form button,
    select {
        font-family: "Trebuchet MS", Helvetica, sans-serif;
        height: auto;
        border-radius: 12px;
    }

    textarea {
        border-radius: 12px;
        font-size: 35pt;
    }

    button,
    input[type="button"],
    input[type="submit"],
    section form.login_form input[type="button"],
    section form.login_form input[type="submit"] {
        height: 52pt;
    }

    input[type="radio"] {
        zoom: 2;
    }

    input.edit,
    select.edit {
        font-size: 25pt;
    }

    input#id,
    input#titel {
        width: 100%;
    }

    input.delete_button,
    input#delete_user_button {
        font-size: 50pt;
        height: 75pt;
    }

    input.thin_input {
        width: 45%;
    }

    table#overzicht {
        width: 99%;
        font-size: 25pt;
        word-break: initial;
    }

    form:not(#declaratieform) table {
        table-layout: fixed;
        width: 98%;
    }

    form:not(#declaratieform) table td {
        width: 50%;
    }

    form:not(#declaratieform) table td > *,
    form:not(#declaratieform) table td > p > input {
        width: 100% !important;
    }

    fieldset#declaratie,
    fieldset#uitschrijven,
    fieldset#stem {
        border-radius: 20px;
    }

    fieldset#uitschrijven {
        max-width: 95%;
    }

    iframe#calendar {
        width: 90vw;
        height: 40vh;
    }

    .input_group.group_left {
        font-size: 35pt;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .input_group.group_right {
        height: auto;
    }

    col.fix_on_mobile.auto {
        width: auto;
    }

    col.fix_on_mobile.leftside {
        width: 40%;
    }

    .zoom_on_mobile {
        zoom: 140%;
    }

    .full_width_on_mobile,
    .fullwidth_on_mobile {
        width: 100%;
    }
}
