/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** WIDE SCREENS ****/
@media all and (min-width: 1950px) {
    #topfooter::after {
        width: 40%;
    }
}

/**** BURGER MENU ****/
@media all and (max-width: 1200px) {
    .bottommenu nav {
        visibility: hidden;
        position: absolute;
        padding: 2rem 0;
        top: 100%;
        right: 0;
        width: 100%;
        opacity: 1;
    }
    .bottommenu nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .bottommenu .btm-nav .menuitem a {
        font-size: 1.6rem;
        padding: .65rem 0;
    }
    .bottommenu .btm-nav .menuitem {
        height: fit-content;
    }
    .bottommenu .btm-nav .menuitem.mobile-only {
        display: flex;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        padding: 0 1rem;
        margin: 0;
        top: 0;
    }
    .bottommenu {
        padding: 1rem calc(1rem + 3vw);
    }
    .bottommenu .inner {
        align-items: center;
        padding: 0;
    }
    nav li {
        height: fit-content;
    }
}
/**** LAPTOP ****/
@media all and (max-width: 1300px) {
    #hero h1 {
        width: 100%;
    }
    .content.flex {
        gap: 3em;
    }
    #all {
        grid-column: 1 / 3;
    }
    .box:nth-child(1) {
        grid-row: 2;
    }
    .box:nth-child(2) {
        grid-row: 2;
    }
    .box:nth-child(3) {
        grid-row: 3;
    }
    .box:nth-child(4) {
        grid-row: 3;
    }
    #topfooter .grid {
        grid-template-columns: repeat(4, 1fr);
    }
    #topfooter .box {
        grid-row: auto;
    }
    #topfooter nav {
        justify-content: flex-start;
    }
    .grid {
        justify-content: normal;
    }
    h2,
    h3 {
        letter-spacing: -2px;
    }
}

/**** TABLET *****/
@media all and (max-width: 1000px) {
    .info.flex {
        flex-direction: row;
        gap: .5rem;
    }
    .right img {
        display: none;
    }
    .flex:not(.option) {
        flex-direction: column;
        gap: 1em;
    }
    .select {
        flex-direction: row;
    }
    .teaser div {
        margin: auto;
        text-align: center;
        width: 100%;
        margin: auto;
    }
    .teaser div:nth-of-type(1) {
        grid-row: 1;
        grid-column: 1;
    }
    .teaser div:nth-of-type(2) {
        grid-row: 2;
        grid-column: 1;
    }
    .teaser div:nth-of-type(3) {
        grid-row: 3;
        grid-column: 1;
    }
    .teaser i {
        margin: auto;
    }
    .content {
        padding: calc(1rem + 5vw) calc(1rem + 3vw);
    }
    #hero {
        padding-right: 0;
    }
    #hero .inner {
        grid-template-columns: 1fr;
    }
    #hero .content {
        max-width: none;
        padding-right: calc(1rem + 3vw);
    }
    #hero p {
        font-size: 1.25rem;
    }
    #hero .has-figure.figure-big::after {
        left: -1rem;
        bottom: -1rem;
    }
    #topfooter {
        padding: 7rem calc(1rem + 3vw) 4rem;
    }
    #topfooter .inner {
        padding: 0;
    }
    #topfooter .grid {
        grid-template-columns: 1fr;
    }
    #topfooter .box:last-of-type {
        margin: 12.5rem 0 0;
    }
    #topfooter::after {
        top: auto;
        bottom: 0;
        height: 27.5rem;
        width: 100%;
    }
    h2,
    h1,
    h3 {
        letter-spacing: -1px;
    }
}

/**** SMARTPHONE ****/
@media all and (max-width: 600px) {
    .info.flex {
        flex-direction: column;
    }
    input {
        padding: .5rem 0rem;
        text-align: center;
    }
    textarea::placeholder {
        text-align: center;
    }
    nav,
    .menuitem a {
        transition: none;
    }
    #all {
        grid-column: 1 / 2;
    }
    .box:nth-child(1) {
        grid-row: 2;
    }
    .box:nth-child(2) {
        grid-row: 3;
    }
    .box:nth-child(3) {
        grid-row: 4;
    }
    .box:nth-child(4) {
        grid-row: 5;
    }
    .all a span {
        display: none;
    }
    #recaptcha {
        flex-direction: column;
        align-items: start;
        gap: 1rem
    }
}

/**** MOBILE ****/
@media all and (max-width: 450px) {
    .topmenu {
        display: none;
    }
    #popup {
        margin: 1rem;
    }
    .select.flex {
        flex-direction: column;
    }
    .flex {
        flex-direction: column;
    }
    .option {
        align-items: start;
    }
}