/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BIG SCREENS ****/
@media all and (max-width: 1550px) {
    #teaserbox .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/**** BURGER MENU ****/
@media all and (max-width: 1100px) {
    .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;

    }
    .bottommenu .inner{
        align-items: end;
    }
    nav li {
        height: fit-content;
    }
    .topmenu nav{
        display: none;
    }
    #topfooter .grid{
        display: flex;
        flex-direction: column;
    }
    #topfooter{
        padding: 3rem;
    }
    .topmenu{
        border-top: none;
        padding: 1rem;
    }
    header{
        display: flex;
        border-top: 5px solid var(--color-3);
        justify-content: space-between;
    }
    .bottommenu{
        padding: 1rem;
        
      }
}
@media all and (max-width: 1450px) {
#topfooter .grid{
    gap: 2rem;
}
.teaser{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cta {
    padding: calc(1rem + 10vh) calc(1rem + 20vw);

}
}
/**** 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;
    }
    .box:nth-child(5) {
        grid-row: 4;
    }
    .box:nth-child(6) {
        grid-row: 4;
    }
    .box:nth-child(7) {
        grid-row: 5;
    }
    .box:nth-child(8) {
        grid-row: 5;
    }
    .box:nth-child(9) {
        grid-row: 6;
    }


    .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;
    }
    #teaserbox .grid{
        display: flex;
        flex-direction: column;
    }
    .teaser i {
        margin: auto;
    }
    .content {
        padding: calc(1rem + 5vw) 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
    }
    #hero h1{
        font-size: 36px;
    }
    
}

/**** MOBILE ****/
@media all and (max-width: 450px) {
    #popup {
        margin: 1rem;
    }
    .bottommenu .inner{
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
    .select.flex {
        flex-direction: column;
    }
    .flex {
        flex-direction: column;
    }
    .option {
        align-items: start;
    }
}