/* Allgemeines **********************/
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    scroll-behavior: smooth;
}

a { 
    font-family: 'Josefin Sans', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    color: #708E94;
}

li {
    list-style-type: none;
}

h1, h2, h3, h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    color: #708E94;
    text-transform: uppercase;
}

h3 {
    font-size: 2.5em;
    padding-top: 7%;
    margin-bottom: 0.313em;
}

h4, h5, p {
    font-family: 'Josefin Sans', sans-serif;
    color: #708E94;
}

p {
    text-align: justify;
    margin: 0 5% 0 5%;
    font-size: 1.5em;
    line-height: 1.2em;
}

hr {
    width: 2.5em;
    height: 0.188em;
    background: #708E94;
    border: 0;
    margin: 0 auto 2.5em auto;
}

.fa-brands {
    margin: 1.5em;
    font-size: 1.8em;
    color: #708E94;
}

.fa-envelope-open {
    margin: 1.5em;
    font-size: 1.8em;
    color: #708E94;
}

#logo, li, img {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}

/* Header **********************/

header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    box-shadow: 8px 8px 10px #aaa;
    overflow: hidden;
}

.about-header {
    background: url(../img/Landing_page_desktop/about.jpg);    
    background-attachment:scroll; 
    -o-background-size:cover; 
    -moz-background-size:cover; 
    -webkit-background-size:cover; 
    background-size:cover; 
    background-repeat:no-repeat;
}

.service1-header {
    background: url(../img/Landing_page_desktop/service1.jpg);    
    background-attachment:scroll; 
    -o-background-size:cover; 
    -moz-background-size:cover; 
    -webkit-background-size:cover; 
    background-size:cover; 
    background-repeat:no-repeat;
}

.service2-header {
    background: url(../img/Landing_page_desktop/service2.jpg);    
    background-attachment:scroll; 
    -o-background-size:cover; 
    -moz-background-size:cover; 
    -webkit-background-size:cover; 
    background-size:cover; 
    background-repeat:no-repeat;
}

.service3-header {
    background: url(../img/Landing_page_desktop/service3.jpg);    
    background-attachment:scroll; 
    -o-background-size:cover; 
    -moz-background-size:cover; 
    -webkit-background-size:cover; 
    background-size:cover; 
    background-repeat:no-repeat;
}

/* Navigationsbar **********************/

nav {
    z-index: 100;
    position: fixed;
    width: 100%;
    margin: 0;
    height: 4.5em;
    transition: 0.6s;
}

.nav-logo {
    float: left;
    margin: -1.5em 0 0 0.5em;
    display: none;
}

.nav-logo img {
    width: 10em;
}

.nav-logo img:hover {
    opacity: 0.7;
}

/* Navigation-Page **********************/

.navigation-page {
    display: block;
    float: right;
}

.navigation-page a {
    color: white;
}

.navigation-page a:hover {
    color: #eb3b5a;
}

.navigation-page a i {
    margin: 1em;
}

/* Header-Page-Content **********************/

.page-headline {
    position: absolute;
    bottom: 10%;
    left: 5%;
}

.header-page-content .logo img {
    width: 40em;
}

.header-page-content h3 {
    color: white;
    text-shadow: 1.5px 1.5px #4949498f;
    padding: 0;
    margin-top: 1em;
}

.header-page-content hr {
    background: white;
    margin-top: 0.5em;
    box-shadow: 0.5px 0.5px #4949498f;
    width: 20%;
}

.header-page-content a {
    color: white;
    text-shadow: 0.5px 0.5px #4949498f;
}

.header-page-content a:hover {
    color: #eb3b5a;
}

.header-page-content .fa-chevron-right {
    color: white;
    margin: 0 0.7em 0 0.7em;
}

.logo {
    width: 30%;
    position:absolute;
    top: 10%;
    left: 35%;
    padding: 0;
    margin: 0;
}

.fa-circle-down {
    color: #ffffff;
    position: absolute;
    bottom: 5%;
}

.fa-circle-down:hover {
    color: #eb3b5a;
}

/* Card-Bilder **********************/
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.875em;
}

.card {
    z-index: 0;
    height: 37.500em;
    width: 25.00em;   
    overflow: hidden;
    box-shadow: 8px 8px 10px #aaa;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 250ms ease-in-out;
}

.card a {
    height: 100%;
}

.card img {
    height: 100%;
    cursor: pointer;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.250em;
    width: calc(100% -2.5em);
    font-size: 1.250em;
    display: flex;
    flex-direction: column;
    gap: 1.250em;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.61) 25%);
    transform: translateY(calc(100% - 7.5em));
    transition: 250ms ease-in-out;
}

.card-content-body p{
    color: white;
    text-align: center;
    font-size: 0.8em;
}

.card-content-body strong{
    color: #eb3b5a;
}

.card-content h4{
    color: white;
}

.card-content h5{
    color: white;
}

.card-content-head {
    position: relative;
}

.card-content-head::after {
    content: '';
    height: 0.250em;
    width: 50%;
    background: #eb3b5a;
    position: absolute;
    bottom: -1.7em;
    left: 25%;
    margin-bottom: 1em;
}

.card:hover .card-content{
    transform: translateY(0);
}

.card:hover {
    transform: scale(1.1);
}

@media (hover: none) {
    .card-content{
        transform: translateY(0);
    }
    
    .card {
        transform: scale(1);
    }
}

/* Grid-Container **********************/

.grid-container{
    display: grid;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin: auto auto 2em auto;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    gap: 2em;
}

.grid-item-left1 img {
    height: 37.500em;
    width: 25.00em;  
    box-shadow: 10px 10px 80px #000000;
    border-radius: 20px 100px;
}

.grid-item-right1 img {
    height: 37.500em;
    width: 25.00em;  
    box-shadow: 10px 10px 80px #000000;
    border-radius: 100px 20px;
}

.grid-item-left1 {
    grid-column: 1 / 2;
    grid-row: 1;
}

.grid-item-left2 {
    grid-column: 2 / 3;
    grid-row: 1;
}

.grid-item-right1 {
    grid-column: 2 / 3;
    grid-row: 1;
}

.grid-item-right2 {
    grid-column: 1 / 2;
    grid-row: 1;
}

@media screen and (max-width: 1500px) {
    .grid-container{
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {
    .grid-container{
        grid-template-columns: auto;
        grid-template-rows: auto;
    }
    
    .grid-item-left1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .grid-item-left2 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .grid-item-right1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .grid-item-right2 {
        grid-column: 1;
        grid-row: 2;
    }
}

@media screen and (max-width: 1000px) {
    .grid-container{
        width: 90%;
    }

    .grid-item-left1 img {
        height: 30em;
        width: 20em;
    }
    
    .grid-item-right1 img {
        height: 30em;
        width: 20em;
    }

    p {
        font-size: 1.2em;
        line-height: 1em;
    }
}

/* Liste **********************/

.about-list{
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}

.about-list li{
    list-style-type: disc;
    font-family: 'Josefin Sans', sans-serif;
    color: #708E94;
    text-align: start;
    font-size: 1.5em;
    line-height: 1.2em;
}

.page-list-left {
    margin: 0 0 1em 10em;
}

.page-list-left li{
    list-style-type: disc;
    font-family: 'Josefin Sans', sans-serif;
    color: #708E94;
    text-align: start;
    font-size: 1.5em;
    line-height: 1.2em;
}

/* Footer **********************/
#footer {
    width: 100%;
    background: #708e94ee;
    box-shadow: 0 -5px 5px -5px rgba(0,0,0,1);
}

#footer i {
    color: #494949;
    padding: 0;
    margin: 0.5em;
}

#footer a {
    color: #494949;
    padding: 0;
    margin: 0.5em;
    font-weight: 700;
}

#footer-whatsapp {
    font-size: 0.6em;
}

#footer-instagram {
    font-size: 0.6em;
}

/* Media-Queries **********************/

/* Tablets **********************/

@media screen and (max-width: 1060px) {
    
    nav {
        height: 2.5em;
    }

    .navigation-page a i {
        margin: 0.6em;
    }
        
    .fa-bars {
        display: block;
    }

    .fa-xmark {
        display: block;
    }

    .fa-brands {
        font-size: 1.3em;
    }

    .fa-envelope-open {
        font-size: 1.3em;
    }

    .nav-logo img {
        width: 6.5em;
    }

    .logo {
        width: 80%;
        left: 10%;
    }

    .about-list li{
        font-size: 1.3em;
    }

    .page-list-left {
        margin: 0 auto 1em auto;
    }

    .page-list-left li{
        font-size: 1.3em;
    }

    .fa-copyright {
        font-size: 0.7em;
    }

    h3 {
        font-size: 2.1em;
    }

    h2 {
        font-size: 1.4em;
    }

    p {
        font-size: 1.3em;
    }

    #footer a {
        font-weight: normal;
    }

}

/* Mobile **********************/

@media screen and (max-width: 590px) {

    .service1-header {
        background: url(../img/Landing_page_mobile/service1.jpg);    
        background-attachment:scroll; 
        -o-background-size:cover; 
        -moz-background-size:cover; 
        -webkit-background-size:cover; 
        background-size:cover; 
        background-repeat:no-repeat;
    }

    .service2-header {
        background: url(../img/Landing_page_mobile/service2.jpg);    
        background-attachment:scroll; 
        -o-background-size:cover; 
        -moz-background-size:cover; 
        -webkit-background-size:cover; 
        background-size:cover; 
        background-repeat:no-repeat;
    }

    .service3-header {
        background: url(../img/Landing_page_mobile/service3.jpg);    
        background-attachment:scroll; 
        -o-background-size:cover; 
        -moz-background-size:cover; 
        -webkit-background-size:cover; 
        background-size:cover; 
        background-repeat:no-repeat;
    }    

    .card {
        height: 30em;
        width: 20em;
    }

    h3 {
        font-size: 1em;
        padding-top: 14%;
    }

    p {
        font-size: 0.9em;
    }

    .fa-brands {
        font-size: 0.9em;
    }

    .fa-envelope-open {
        font-size: 0.9em;
    }

    .about-list li{
        font-size: 0.9em;
    }

    .page-list-left li{
        font-size: 0.9em;
    }

    #footer a {
        font-size: 0.9em;
    }

}