/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (max-width: 1500px) {
    #topfooter {
        padding: calc(1rem + 10vh) calc(1rem + 10vw);
        margin: auto;
        padding-top: 3.5rem;
        padding-bottom: 0;
    }
}
@media all and (max-width: 1200px) {
    .bottommenu nav {
        visibility: hidden;
        position: absolute;
        padding: 2rem 0;
        top: 100%;
        right: 0;
        width: 100%;
        opacity: 1;
    }
    .bottommenu nav ul {
        flex-direction: column;
        align-items: start;
        width: 100%;
        padding-left: 5rem;
        gap: 1rem;
    }
    nav li a {
        padding: 5px;
        letter-spacing: 0.02em;
        font-size: 20px;
        font-weight: 200;
    }
    #nav li a:hover {
        font-family: 'text';
        line-height: 1.5;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        padding: 0 1rem;
        margin: 0;
        top: 0;
    }
    .bottommenu {
        padding: 0 calc(1rem + 2vw);
        padding-top: .5rem;
        padding-bottom: .8rem;
  }
    nav li {
        height: fit-content;
    }
    #topfooter {
        padding: calc(1rem + 10vh) calc(1rem + 2vw);
        margin: auto;
        padding-top: 3.5rem;
        padding-bottom: 0;
    }
    .teaser {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .content {
        padding: calc(1rem + 10vh) calc(1rem + 5vw);
        margin: auto;
    }
    #nav li a {
        padding: 0;
    }
    #nav li:nth-child(1) a {
        width: 100%;
    }
    #nav li:nth-child(2) a {
        width: 100%;
    }
    #nav li:nth-child(3) a {
        width: 100%;
    }
    #nav li:nth-child(4) a {
        width: 100%;
    }
}
/**** 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;
    }
    .bottommenu {
        padding: 0 calc(1rem + 5vw);
        padding-top: .5rem;
        padding-bottom: .8rem;
    }
}

/**** TABLET *****/
@media all and (max-width: 1000px) {
    .info.flex {
        flex-direction: row;
        gap: .5rem;
    }
    .right img {
        display: none;
    }
    .flex:not(.option, .select) {
        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);
    }
    .teaser h3 {
        font-size: 24px;
    }
}

@media all and (max-width: 800px) { 
    .slider-container {
        width: 100%;
        margin: auto;
        overflow: hidden;
        position: relative;
    }
}

/**** 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
    }
    #bottomfooter {
        text-align: start;
    }
    .teaser h3,
    .right h2  {
        font-size: calc(1rem + 1.3vw);
    }
    a,
    p {
        font-size: 20px;
    }
    .form h3,
    .teaser h3,
    h3 {
        font-size: 24px;
    }
    .right h2 {
        font-size: 26px;
    }
    #topfooter p,
    #topfooter nav a {
        font-size: 18px;
    }
    .bottommenu {
        padding-top: 1rem;
    }
    .title h1 {
        font-size: 30px;
    }
}

/**** MOBILE ****/
@media all and (max-width: 450px) {
    .topmenu {
        display: none;
    }
    #popup {
        margin: 1rem;
    }
    .select.flex {
        flex-direction: column;
    }
    .select button {
        width: 15rem;
    }
    .flex {
        flex-direction: column;
    }
    .option {
        align-items: start;
    }
    .logo {
        width: 16rem;
        height: auto;
    }
}