/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (min-width: 0px) {
    .bottommenu nav {
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 70%;
        height: 100vh;
        opacity: 1;
    }
    .bottommenu nav ul {
        padding: 20px 20px 40px 40px;
        flex-direction: column;
        justify-content: end;
        align-items: start;
        width: 100%;
        height: 100%;
        gap: 0;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        padding: 0 1rem;
        margin: 0;
        top: 0;
    }
    nav li a {
        margin: 0;
        font-size: 60px;
    }
    nav li {
        height: fit-content;
        padding: 10px 0;
    }
}
/**** 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;
    }
    .grid {
        justify-content: normal;
    }
}

/**** TABLET *****/
@media all and (max-width: 1024px) {
    .info.flex {
        flex-direction: row;
        gap: .5rem;
    }
    .right img {
        display: none;
    }
    .flex:not(.option) {
        flex-direction: column;
        gap: 1em;
    }
    .select {
        flex-direction: row;
    }
    .content {
        padding: calc(1rem + 5vh) 1.2em;
    }
    h1 {
        font-size: 56px;
    }
    h2 {
        font-size: 36px;
    }
    h3 {
        font-size: 28px;
    }
    h4,
    .teaser p,
    .teaser a {
        font-size: 22px;
    }
    nav li a {
        font-size: 50px;
    }
    .bottommenu nav {
        width: 100%;
    }
    .all p {
        display: none;
    }
    #bottomfooter {
        flex-direction: row;
    }
}

/**** SMARTPHONE ****/
@media all and (max-width: 767px) {
    .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
    }
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 26px;
    }
    h4,
    .teaser p,
    .teaser a {
        font-size: 22px;
    }
    a,
    p,
    span,
    #bottomfooter p,
    #bottomfooter a {
        font-size: 16px;
    }
    nav li a {
        font-size: 35px;
    }
    #topfooter .grid {
        gap: 2rem;
    }
    #bottomfooter {
        text-align: start;
        flex-direction: column-reverse;
        gap: 0;
    }
}

/**** 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%;
    }
}