/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (max-width: 1200px) {
    .bottommenu nav {
        visibility: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        width: 100%;
        padding: 2rem 0;
        top: 100%;
        right: 0;
        opacity: 1;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        padding: 0 1rem;
        margin: 0;
        top: 0;
    }
    .bottommenu {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    nav li{
        align-items: start;
        width: 100%;
        height: 100%;
    }
    nav{
        margin-top: 0;
        background-color:#f28c00; 
    }
    .bottommenu nav{
        padding: 0;
    }
    .right img {
        display: none;
    }

    .menuitem a{
        color: #ffffff;
    }
    h1{
        padding-top: 2rem;
    }
    .next,
    .prev{
        z-index: 0;
    }
}
/**** LAPTOP ****/
@media all and (max-width: 1350px){
    #topfooter{
        padding: 2rem;
    }
    .bottommenu{
        padding: 0 calc(1rem + 5vw)
    }
}
@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: 1;
    }
    .box:nth-child(2) {
        grid-row: 2;
    }
    .box:nth-child(3) {
        grid-row: 3;
    }
    .box:nth-child(4) {
        grid-row: 4;
    }
    .grid {
        justify-content: normal;
    }
    #footerlogo{
        width: 20%;
        height: 20%;
    }
    #topfooter #bottombox,
    #topfooter #footerbox{
    border-left: none;
    padding-left: 0;
    }
    
    .next,
    .prev{
        padding-top: 4rem;
        z-index: 99;

    }
}

/**** TABLET *****/
@media all and (max-width: 1000px) {
    .info.flex {
        flex-direction: row;
        gap: .5rem;
    }
    .flex {
        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);
    }
    #footerlogo{
        width: 30%;
        height: 30%;
    }
    h1 {
        padding: calc(1rem + 5vw) calc(1rem + 3vw);
    }
    #hero button{
        margin-left: calc(1rem + 3vw);
    }
}

/**** 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
    }
    .fa-chevron-left,
    .fa-chevron-right{
        font-size:  2rem;
        font-weight: 300;
}
}

/**** MOBILE ****/
@media all and (max-width: 450px) {
    .topmenu {
        display: none;
    }
    #popup {
        margin: 1rem;
    }
    .bottommenu .inner{
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
    .select.flex {
        flex-direction: column;
    }
    
    .next,
    .prev{
        display: none;
    }
    h1 {
        padding: 0;
    }
    #hero button{
        margin-left: 0;
    }
}