/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (max-width: 800px) {
    .bottommenu nav {
        visibility: collapse;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        opacity: 1;
    }
    .bottommenu {
        min-height: 0;
        padding: 0;
    }
    .bottommenu nav ul {
        flex-direction: column;
        height: fit-content;
        width: 100%;
    }
    .nav-list {
        flex-direction: column;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        transform: translate(0);
        padding: 0 1rem;
        margin: 0;
        top: 0;
    }
    .dropdown div {
        gap: 1rem;
    }
    .dropdown.vertical {
        flex-direction: column;
        gap: 1rem;
    }
    .menuitem {
        align-items: start;
    }
    nav li {
        height: fit-content;
    }
    .middlemenu p {
        display: none;
    }
    .middlemenu nav {
        display: none;
    }
    .bottommenu nav,
    .nav-list {
        background: var(--white);
    }
    #nav .menuitem i,
    .bottommenu li a {
        color: var(--black);
    }
    .menuitem {
        gap: 0;
    }
    .nav-list {
        padding: 1rem 0;
    }
    .teaser h3,
    .form h3,
    .right h2 {
        font-size: 25px;
    }
    .box .payment {
        flex-direction: column;
    }
}
/**** LAPTOP ****/
@media all and (max-width: 1650px) {
    .dropdown,
    .inner {
        max-width: 1220px;
    }
    #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: 1200px) {
    .topmenu {
        display: none;
    }
    .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;
    }
    #popup .select {
        flex-direction: row;
    }
}

/**** SMARTPHONE ****/
@media all and (max-width: 650px) {
    .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: 30px;
    }
}

/**** 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;
    }
    #popup .select {
        flex-direction: column;
    }
    #popup button{
        width: 100%;
    }
}