/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@media all and (max-width: 1200px) {
    header.is-open {
        background: rgb(4, 22, 46);
    }
    .bottommenu .inner, 
    .topmenu .inner {
        justify-content: flex-end;
        padding-right: 1rem;
    }
    .bottommenu nav {
        visibility: hidden;
        position: fixed;
        top: var(--logo-height);
        padding: 1rem;
        right: 0;
        width: 100%;
        height: calc(100vh - var(--logo-height));
        opacity: 1;
    }
    .bottommenu #nav {
        left: 0;
        right: 0;
        width: 80vw;
        background: rgb(4, 22, 46);
    }
    .bottommenu #nav::after {
        content: '';
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - var(--logo-height));
        z-index: -1;
        background: #003242e6;
    }
    .bottommenu nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }
    .bottommenu .nav-list > li > a {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .bottommenu .nav-list > li > a::after {
        content: none;
    }
    .menuitem {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .menuitem a:hover {
        color: var(--white);
    }
    .bottommenu nav .dropdown li a:hover {
        background: transparent;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        position: relative;
        padding: 0 1rem;
        margin: 0;
        top: 0;
        background: transparent;
    }
    .bottommenu nav .dropdown li a {
        padding: .5rem;
    }
    .bottommenu {
        padding-top: .75rem;
        padding-bottom: 1rem;
    }
    nav li {
        height: fit-content;
    }
    .bottommenu .social-bar {
        display: none;
    }
}
/**** LAPTOP ****/
@media all and (max-width: 1300px) {
    #hero h1 {
        width: 100%;
    }
    .content.flex {
        gap: 3em;
    }
    #all {
        grid-column: 1 / 3;
    }
    .grid {
        justify-content: normal;
    }
    #teaserbox .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #topfooter .grid {
        grid-template-columns: 1fr;
    }
}

/**** 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;
    }
    .logo svg {
        width: 1400px;
    }
    #bottomfooter .inner {
        flex-direction: column;
    }
}

@media all and (max-width: 750px) {
    h1 {
        font-size: 1.65rem;
    }
}

/**** 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;
    }
    .all a span {
        display: none;
    }
    #recaptcha {
        flex-direction: column;
        align-items: start;
        gap: 1rem
    }
    #teaserbox .grid {
        grid-template-columns: 1fr;
    }
    .bottommenu {
        padding-top: .5rem;
    }
    .bottommenu .inner {
        padding-right: .5rem;
    }
    .logo svg {
        width: 900px;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
}

/**** 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%;
    }
    .teaser {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    h1 {
        font-size: 1.15rem;
    }
    h2 {
        font-size: 1.35rem;
    }
    h3 {
        font-size: 1.1rem;
    }
}