/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (min-width: 0px) {
    .topmenu #nav {
        visibility: hidden;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        opacity: 1;
        z-index: 1;
    }
    #nav .nav-list {
        height: 100vh;
    }
    .topmenu #nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #nav .nav-list {
        justify-content: center;
        padding: 50px;
        gap: 2rem;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
        z-index: 1;
    }
    nav li {
        height: fit-content;
    }
    .bottommenu .inner {
        width: 100%;
    }
    #nav .menuitem a {  
        text-shadow: none;
    }
    #nav ul {
        background-color: var(--white);
    }
    #nav .menuitem a {
        color: var(--light-grey);
    }
}
/**** LAPTOP ****/
@media all and (max-width: 1200px) {
    .logo-default {
        display: none;
    }
    .logo-scroll {
        display: block;
    }
    .empty {
        display: none;
    }
    .logo-scroll {
        filter: brightness(0) invert(1);
    }
    header.scroll .logo-scroll {
        filter: none;
    }
    header {
        padding: 5px 40px;
        height: 58px;
    }
    .dropdown {
        top: 50%;
    }
    #hero .inner,
    #hero img {
        height: 100vh;
    }
}
@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;
    }
    #footer .box:nth-child(1) {
        grid-row: 1;
    }
    .box:nth-child(2) {
        grid-row: 2;
    }
    .box:nth-child(3) {
        grid-row: 3;
    }
    .box:nth-child(4) {
        grid-row: 3;
    }
    .grid {
        justify-content: normal;
    }
}

/**** 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);
    }
    #popup .select {
        flex-direction: row;
    }
}

/**** 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
    }
    #about h2 {
        font-size: 2rem;
    }
    header,
    header.scroll .topmenu .inner {
        padding: 5px 20px;
    }
}

/**** MOBILE ****/
@media all and (max-width: 450px) {
    #popup {
        margin: 1rem;
    }
    .select.flex {
        flex-direction: column;
    }
    .flex {
        flex-direction: column;
    }
    .option {
        align-items: start;
    }
    #popup .select {
        flex-direction: column;
    }
    #popup button{
        width: 100%;
    }
    #menu nav:first-of-type {
        display: none;
    }
}