@media only screen and (min-width: 820px){
    .cover-top-desktop{
        display: block;
    }

    .cover-top-mobile{
        display: none;
    }
}

@media only screen and (min-width: 1000px){
    .landing-page-text-container{
        padding-top: 165px;
        margin-bottom: 100px;
    }

    .bms-digital{
        font-size: 72px;
        color: white;
        font-weight: 700;
        grid-column: 2/12;
    }
    
    .slogan{
        color: white;
        font-size: 24px;
        font-weight: 400;
        margin-top: 29px;
        line-height: 125.8%;
        grid-column: 2/8;
        grid-row: 2;
    }

    nav{
        display: flex;
        position: absolute;
        top: 20px;
        left: calc(1/12*100%);
        z-index: 1;
        align-items: center;
        width: calc(10/12*100%);
    }

    nav img{
        filter: invert(99%) sepia(1%) saturate(0%) hue-rotate(163deg) brightness(101%) contrast(102%);
        height: 40px;
    }

    nav ul{
        list-style: none;
        display: flex;
        flex-direction: row;
        margin-left: auto;
    }

    nav li{
        overflow: hidden;
    }

    nav li a{
        color: white;
        text-decoration: none;
    }

    nav li::after{
        content:"";
        display: block;
        width: 100%;
        height: 1px;
        background-color: white;
        transform: translateX(-100%);
        transition: all 0.3s ease-out;
    }

    nav li:hover:not(.active):after{
        content:"";
        display: block;
        width: 100%;
        height: 1px;
        background-color: white;
        transform: translateX(0%);
        transition: all 0.3s ease-out;
    }

    .active a{
        text-decoration: underline;
    }

    nav li:not(nav li:last-child){
        margin-right: 40px;
    }
}

@media only screen and (min-width: 550px){
    /* Sections */
    section:first-child{
        margin-top: 1000px;
    }

    .section-heading{
        font-size: 24px;
    }

    /* Service Section */

    .service-card{
        max-width: 250px;
    }

    /* Portfolio Section */
    .portfolio-card-vertical, .portfolio-card-horizontal{
        max-width: 400px;
    }

}

@media only screen and (min-width: 1240px){
    .service-card-wrapper{
        flex-direction: row;
        max-width: 70%;
        justify-content: space-between;
        gap: 0;
    }
}

@media only screen and (min-width: 900px){
    .portfolio-card-wrapper{
        flex-direction: row;
        justify-content: center;
        max-width: 80%;
        gap: 80px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1200px){
    .team-card-wrapper{
        flex-direction: row;
        justify-content: space-between;
        max-width: 90%;
        gap: 100px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1300px){
    footer{
        padding-bottom: 120px;
        margin-top: 400px;
        display: grid;
        grid-template-columns: 1fr 40% 1fr 40% 1fr;
        grid-template-rows: 1fr;
    }

    .form-wrapper{
        background-color: white;
        padding: 50px;
        width: 100%;
        border-radius: 20px;
        box-shadow: var(--shadow);
        grid-column: 2;
        grid-row: 1;
    }

    .impressum-wrapper{
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 10%;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 20px;
        grid-column: 4;
        grid-row: 1;
    }

    .impressum-heading, .impressum-subheading{
        color: var(--text-dark)
    }

    .impressum-text{
        color: var(--text-light);
        font-size: 16px;
        max-width: 80%;
    }

    .cover-bottom{
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: -1;
    }

    input{
        height: 50px;
        font-size: 18px;
    }

    textarea{
        height: 200px;
        font-size: 18px;
    }
}