/*
    
## ## ## ## ##  ##              ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##  ## ## ## ## ##
##              ##              ##          ##  ##          ##  ##          ##  ## ##       ##  ##                    ##
##              ##              ##          ##  ##          ##  ##          ##  ##  ##      ##  ##                    ##
##    ## ## ##  ##              ##          ##  ## ## ## ##     ##          ##  ##    ##    ##  ## ## ## ## ##        ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##      ##  ##  ##                    ##
##          ##  ##              ##          ##  ##          ##  ##          ##  ##        ##    ##                    ##
## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ## ## ## ## ##  ##          ##  ## ## ## ## ##        ##

/**** BURGER MENU ****/
@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: center;
        width: 100%;
    }
    .menuitem {
        flex-direction: column;
        align-items: center;
    }
    #burgermenu {
        display: block;
    }
    .dropdown {
        display: none;
        position: relative;
        padding: 0 1rem;
        margin: 0;
        top: 0;
        padding-left: 0;
        z-index: 100;
    }
    .menuitem:hover > .dropdown {
        display: flex;
    }
    .dropdown:hover {
        position: relative;
    }
    .bottommenu {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    nav li {
        height: fit-content;
    }
    #nav {
        background-color: #bd1c1c;
        border-radius: 0px 0px 20px 20px;
    }
    .fa-caret-down,
    #nav a {
        color: #ffffff;
    }
    #nav ul {
        align-items: start;
        padding-left: 2rem;
    }
    #nav .dropdown {
        padding-left: 0;
    }
    .menuitem {
        align-items: start;
        text-align: start;
    }
    #nav .dropdown .menuitem {
        text-align: start;
        padding-left: 0;
    }
    #nav .dropdown a {
        text-align: start;
        padding-left: 0;
    }
    .dropdown .menuitem a:hover,
    #nav .dropdown .special-one a:hover {
        background: #bd1c1c;
    }
}
/**** LAPTOP ****/
@media all and (max-width: 1500px) {
    #topfooter {
        padding: calc(1rem + 2vh) calc(1rem + 2vw);
        margin: auto;
    }
    .content {
    padding: calc(1rem + 10vh) calc(1rem + 2vw);
    margin: auto;
}
}
@media all and (max-width: 1300px) {
    .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;
    }
    #hero .content {
        text-align: start;
    }
    .teaser {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}

/**** 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;
    }
}

/**** SMARTPHONE ****/
@media all and (max-width: 800px) {
    .contact-button {
        display: none;
    }
    .bottommenu .inner {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-bottom: 1rem;
    }
    .logo {
        width: 100px;
        height: auto;
    }
    #hero h1 {
        width: 100%;
    }
    #hero .inner {
        padding-left: 0;
    }
    #hero .content {
        text-align: start;
    }
    #topfooter {
        padding-top: 6rem;
    }
    #topfooter .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #topfooter .box {
        margin-bottom: 2rem;
    }
    #topfooter .footer-links a{
        display: flex;
        flex-direction: column;
    }
    #topfooter .fa-envelope,
    #topfooter .fa-phone {
        padding-bottom: 1rem;
    }
}
@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
    }
}

/**** 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%;
    }
}