/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (max-width: 1200px) {
    .bottommenu .nav-container {
        visibility: hidden;
        position: fixed;
        padding: 7.5rem 1rem 2rem 2rem;
        top: 0;
        right: 0;
        gap: 0;
        width: 17.5rem;
        min-height: 100vh;
        opacity: 1;
        background: var(--black);
    }
    .bottommenu nav ul {
        flex-direction: column;
        width: 100%;
    }
    .bottommenu .nav-lang {
        position: absolute;
        top: 2rem;
        flex-direction: row;
    }
    .bottommenu .nav-meta {
        position: absolute;
        bottom: 1rem;
        width: calc(100% - 3rem);
        align-items: flex-end;
    }
    .bottommenu .top-nav li {
        height: 2rem;
    }
    .bottommenu .top-nav li a {
        padding: 0;
    }
    .menuitem {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .menuitem a {
        color: var(--white);
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        padding: 0;
        margin: 0;
        top: 0;
        gap: 0;
        background: transparent;
    }
    .dropdown::before {
        content: none;
    }
    .bottommenu {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    nav li,
    .bottommenu .btm-nav li {
        height: fit-content;
    }
    .bottommenu .btm-nav li {
        position: relative;
        width: 100%;
    }
    .bottommenu .btm-nav .dropdown li a {
        font-size: 1.125rem;
    }
    .bottommenu .btm-nav li.vertical::after {
        content: '\f078';
        position: absolute;
        right: 0;
        top: 1rem;
        font-family: 'Font Awesome 6 Pro';
        font-size: 1rem;
        color: var(--red);
    }
    .logo {
        width: 8.75rem;
    }
    #hero .content {
        padding-right: calc(1rem + 2vw);
        padding-left: calc(1rem + 2vw);
    }
    #bottomfooter .grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 1rem;
    }
}
/**** 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: 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;
    }
    .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);
    }
    #popup .select {
        flex-direction: row;
    }
    h1 {
        font-size: 2.5rem;
    }
    #hero .hero-item {
        gap: 1rem;
    }
    #hero h1 {
        padding-left: 1.2rem;
        padding-right: 0;
    }
}

/**** SMARTPHONE ****/
@media all and (max-width: 750px) {
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
}
@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
    }
    #topfooter .grid {
        grid-template-columns: 1fr;
    }
    #bottomfooter {
        padding-right: 0;
        padding-left: 0;
        border: 0;
    }
    #bottomfooter .footer-nav {
        flex-direction: column;
        gap: .5rem;
    }
    #bottomfooter .inner-col:nth-child(1) {
        padding: 1.5rem calc(1rem + 3vw);
        border-top: .1rem solid var(--white);
    }
    #bottomfooter .inner-col:nth-child(2) {
        padding-right: calc(calc(1rem + 3vw) - 1rem);
        padding-left: calc(calc(1rem + 3vw) - 1rem);
    }
    h1 {
        font-size: 1.6rem;
    }
    #hero h1 {
        padding-left: 1.1rem;
    }
}

/**** MOBILE ****/
@media all and (max-width: 450px) {
    .topmenu {
        display: none;
    }
    #popup {
        margin: 0;
        max-width: none;
    }
    .select.flex {
        flex-direction: column;
    }
    .flex {
        flex-direction: column;
    }
    .option {
        align-items: start;
    }
    #popup .select {
        flex-direction: column;
    }
    #popup button{
        width: 100%;
    }
}