
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    /* max-width: 1500px; */
}

body{
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    background: linear-gradient(to bottom, white 20%,#cfebfd , #164092 80%)/* fixed */; 
}

/* Header */

header{
    top: 0;
    position: sticky;
    display: flex;
    background-color: white;
    width: 100%;
    margin: auto;
    height: 12vh;
    align-items: center;
    z-index: 99999;
}

.logo-container,.nav-links,.contact-container{
    display: flex;
}

.logo-container{
    padding-left: 30px;
    cursor: pointer;
    flex: 1;
}
nav{
    flex: 2;
}

.nav-links{
    justify-content: space-around;
    list-style: none;
    margin-left: 20%;
}


.nav-link{
    color: grey;
    text-decoration: none;
    transition: 0.3s ease-in;
}

@media (max-width: 850px) {
    .nav-link {
       display: none;
    }

    .logo-image{
        width: 80%;
        height: 80%;
    }

}

.nav-link:hover{
    color: #164092;
    transition: 0.3s ease-in;
}

.english-version{
    filter: saturate(150%);
    padding-top: 0.5%;
    justify-content: flex-end;
}


.contact-container{
    flex: 1;
    justify-content: flex-end;
    margin-left: 5em;
    margin-right: 1em;
}

.contact-button{
    cursor: pointer;
    border: none;
    border-radius: 15px;
    width: 10em;
    height: 3em;
    font-size: 1rem;
    background: #164092;
    color: white;
    transition: 0.3s ease-in;
}

.contact-button:hover{
    font-size: 1.2rem;
    transition: 0.3s ease-in;
}

.mayday-button:hover{
    font-size: 1.2rem;
    transition: 0.3s ease-in;
}

.mayday-div{
    display: none;
}

@media (max-width: 850px) {
    .mayday-div{
       display: flex;
       margin-right: 10%;
    }
    .contact-container{
        margin-left: 2em;
        display: flex;
    }
    .contact-button{
        width: 6em;
    }
    .mayday-button{
        cursor: pointer;
        border: none;
        text-decoration: none;
        border-radius: 15px;
        width: 6em;
        height: 3em;
        font-size: 1rem;
        background: crimson;
        color: white;
        transition: 0.3s ease-in;
        animation: mayday 2s infinite;
    }

    @keyframes mayday {
        0% {
            color:white;
        }

        50% { 
            color: crimson;
        }
        
        100% { 
            color: white;
        }
    }


    .english-version {
        transform: translateY(0.2em);
     }
}

/* Sticky Sidebar */

.sticky-container{
    position: sticky;
    top: 400px;
    /* width: 5%; */
    /* margin-top: 130vh; */
    margin-top: 50em;
    margin-right: 0em;
    /* height: 20vh; */
    z-index: 999;
}


.sticky-content p{
    opacity: 0;
}

.sticky-content h2{
    opacity: 0;
}

.sticky-content:hover h2{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    display: grid;
    /* display: flex; */
    padding-top: 10px;
    opacity: 1;
}

.sticky-content:hover p{
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    align-items: center;
    justify-content: center;
    display: grid;
    /* display: flex; */
    padding-top: 10px;
    padding-left: 3px;
    opacity: 1;
}

.emergency-button{
    position: absolute;
    border: none;
    background: transparent;
    /* float:right; */                                  /*############################*/
    /* transform: translateX(-25%); */
    transform: translateX(-4.5em);
    font-weight: 800;
    font-size: 1.5rem;
    color:black;
    width: 11vh;
    height: 28vh;
    word-break: break-all;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.4;
    animation: fire 2s infinite;
}

@keyframes fire {
    0% {
        opacity: 0;
        color: red;
    }
    50% {
        opacity: 0.8;
        color: black;
    }
    100% {
        opacity: 0;
        color: red;
    }
}

.sticky-content h1{
    font-weight: 800;
    font-size: 1.5rem;
    word-break: break-all;
    line-height: 0.9;
    text-transform: uppercase;
    text-align: center;
}

.emergency-button:hover{
    opacity: 1;
    color:crimson;
    cursor: pointer;
    background: black;
    width: 9em;                                         /*###############################*/
    height: 8em;
    border-radius: 18px;
    /* position: absolute; */
    transform: translate(-9.5em, -2em);
    animation: none;
}

@media (max-width: 850px) {
    .sticky-container{
       display: none;
    }
}

/* @media (min-width: 1400px) {
    .emergency-button:hover {
       position: absolute;
       transform: translate(-8.5em, -3.5em);        
    }
}

@media (max-width: 850px) {
    .emergency-button:hover {
       position: absolute;
       transform: translate(-8.5em, -3.5em);
    }
} */



.emergency-button:hover h1{
    display: none;
}

/* Mobile Menu */

@media (min-width: 850px) {
    .topnav {
       display: none;
    }
}


.topnav {
    overflow: hidden;
    background-color: transparent;
    position: relative;
}
  

.topnav #myLinks {
    display: none;

}
 
.topnav a {
    color: grey;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}
  

.topnav a.icon {
    background: transparent;
    color: grey;
    display: block;
    position: absolute;
    right: 0;
    top: -12px;
}
  

.topnav a:hover {
    background-color: transparent;
    color: #164092;
}
  

.active {
    background-color: transparent;
    color: transparent;
}


/* Intro-Container Section */


.intro-container{
    position: relative;
    /* overflow: hidden; */
}

.header-position{
    font-family: 'Orbitron', sans-serif;
    color: white;
    position: absolute;
    top: 50%;
    right: 50%;
    font-size: 4em;    
    animation: header 1s ease;
    /* -webkit-text-stroke: 1px grey; */
    transform: translate(50%, -50%)
}


.intro-background{
    width: 100%;
    z-index: -1;
}

.underlay{
    font-family: 'Orbitron', sans-serif;
    color: white;
    position: absolute;
    top: 50%;
    right: 50%;
    display: inline-flex;
    font-size: 2em;
    transform: translate(50%, -50%)

}

@media (max-width: 850px) {
    .header-position {
        font-size: 1em; 
    }
    .underlay{
        font-size: 0.5em;
    }
}

.underlay b{
    padding: 10px;
    animation: text 2s ease-in; 

}

.arrow{
    opacity: 0;
    color: grey;
    position: absolute;
    /* bottom: -5%;
    right: 50%; */
    bottom: -5%;
    left: 45.3%;
    display: inline-flex;
    animation: arrow 2s infinite;
    animation-delay: 3s;
    transform: translate(50%, -50%)
}

@media (max-width: 850px) {
    .arrow{
        display: none;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}


@keyframes text {
    0% {
        opacity: 0;
        color: #164092;
    }
    50%{
        color: #164092;
    }
    100% {
        opacity: 1;
    }
}

@keyframes header {
    0% {
        opacity: 0;
        top: 0%;
        right: 50%;
        transform: translate(50%, -50%)
    }
    100% {
        opacity: 1;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%)
    }
}


/* Intro Text */

.introtext-container{
    justify-content: center;
    padding: 15% 20% 0% 20%;
    
}

.introtext-container h1{
    color: #164092;
    font-weight: 300;
    font-size: 2.5rem;
}

.introtext-container h2{
    color: grey;
    padding-top: 1%;
    font-weight: 300;
    font-size: 1.5rem;
}

.introtext-container p{
    padding-top: 3%;
    text-align: justify;
}

/* Services */

.services-container{
    padding-top: 15%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-width: 1500px; */
    flex-wrap: wrap;
    margin-bottom: 20%;
    z-index: 1;  
}

.services-container .card{
    position: relative;
    width: 380px;
    height: 550px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    border-radius: 15px;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.6);
    border-left: 1px solid rgba(255,255,255,0.6);
    -webkit-backdrop-filter: blur(2em);
    backdrop-filter: blur(2em);
}

.services-container .card .content{
    padding: 20px;
    font-weight: 300;
    text-align: center;
    transition: 0.5s;
}

/* .services-container .card:hover .content{
    transform: translateY(0px);
    opacity: 1;
} */

.services-container .card .content h2{
    font-family: 'Poppins', sans-serif;
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 2em;
    font-weight: 800;
    color: #164092;
    pointer-events: none;
}

.services-container .card .content h3{
    font-size: 1.8em;
    color: rgba(29, 28, 28, 0.8);
    position: absolute;
    top: 70%;
    align-items: center;
    z-index: 1;
}

.services-container .card:hover .content h3{
    opacity: 0;
}

.services-container .card .content p{
    font-size: 1.2em;
    font-weight: 300;
    transform: translateY(100px);
    opacity: 0;
}

.services-container .card:hover .content p{
    top: -60px;
    transform: translateY(0px);
    opacity: 1;
}

.services-container .card .content img{
    width: 250px;
    border-radius: 100%;
    position: absolute;
    top: 20%;
    left: 17%;
    border: outset 3px rgba(0,0,0,0.2);
    transition: transform 1s ease-out;
}

@media (max-width: 850px) {
    .services-container .card .content img{
        left: 2em;
    }
}

.services-container .card:hover .content img{
    opacity: 1;
    transform: translateY(-1000px);
}


/* .services-container .card .content a{
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-top: 15px;
    background: #164092;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    transform: translateY(100px);
    opacity: 0;
}

.services-container .card:hover .content a{
    transform: translateY(0px);
    opacity: 1;
}

.services-container .card .content a:hover{
    font-size: 1.1rem;
} */








/* Contact Section */

/* .contact-imprint{
    font-family: 'Orbitron', sans-serif;
    color: #164092;
    font-size: 1.5rem;
    display:grid;
    justify-content: center;
    text-align: center;
    padding: 15% 20% 15% 20%;
}

.contact-imprint p{
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;
}

.contact-imprint a{
    font-family: 'Poppins', sans-serif;
    color: white;
    text-decoration: none;
}

.contact-imprint a:hover{
    font-size: 110%;
} */


/* Map Section */

/* .map-section{
    height: 300px;
    width: 70%;
    margin: auto;
    margin-bottom: 50px;
} */



/* Footer Section */

@media (max-width: 850px) {
    .footer__link--wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }
}

.footer__container {
    background: #164092;
    padding: 0.1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display: flex;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: flex;
    margin: 5em;
    text-align: left;
    width: 10em;
    box-sizing: border-box;
}

.footer__link--items h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 16px;
    color: white;
}

.footer__link--items a {
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: 0.4s ease-out;
}

.footer__link--items a:hover {
    color: grey;
    transition: 0.4s ease-out;
}

.social__icons--link {
    font-size: 24px;
}

.social__media {
    max-height: 1000px;
    width: 100%;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 10px auto 5px auto;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.website__rights {
    color: grey;
}
