/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
    background: #fff;
    color: #195B93;
    font-family: 'Comfortaa', cursive;
}

a {
    color: #195B93;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #0a98c0;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Comfortaa', cursive;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
    color: #00AEEF;
}

/* Prelaoder */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #1bb1dc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
 All Sections
--------------------------------------------------------------*/

section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

img.background {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: hidden;
    z-index: 0;
}

.flex-container {
    display: flex;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-content: center;
    opacity: 0.9999;
}

.text-container {
    padding: 20px 7vw;
    background: rgba(255, 255, 255, 0.8);
}

.page-header{
    padding: 0;
    margin: 5vh 7vw 50px 7vw;
    position:relative;
    height: 80px;
}

.page-header h1{
    position: absolute;
    margin: 0;
    padding: 0;
    bottom: 0;
    left: 0;
}

.page-header a {
    float:right;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-decoration: none;
}


.page-header a img {
    height: 80px;
    width: auto;
}

.text-large {
    color: #00AEEF;
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    clear: both;
}

@media (max-width: 768px) {
    .text-large {
        font-size: 1.33rem;
    }
}

@media (min-width: 769px) {
    .text-large {
        font-size: 2.33rem;
    }
}

@media (min-width: 1200px) {
    .text-large {
        font-size: 3rem;
    }
}

.text-medium {
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
    clear: both;
}

@media (max-width: 768px) {
    .text-medium {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .text-medium {
        font-size: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .text-medium {
        font-size: 2rem;
    }
}

.second-color {
    color: #00AEEF;
}

.logo-bottom {
    position: absolute;
    left: 70px;
    bottom: 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-decoration: none;
}

.logo-bottom img {
    height: 80px;
    width: auto;
}

.logo-bottom:hover {
    color: white;
}

.m-left-5 {
    margin-left: 5vw;
}

.m-left-10 {
    margin-left: 10vw;
}

.m-left-15 {
    margin-left: 15vw;
}

.m-left-20 {
    margin-left: 20vw;
}

.m-left-25 {
    margin-left: 25vw;
}

/*--------------------------------------------------------------
 Startseite Page Section
--------------------------------------------------------------*/

#startseite img.background {
    top: 0;
}

#startseite .flex-container {
    justify-content: space-between;
    height: 85vh;
}

#top-row {
    margin: 30px 0;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.4);
    width: 100%;
}

#home-logo img {
    height: auto;
    max-height: 15vh;
    max-width: 80vw;
    margin-bottom: 5px;
}

#home-logo p {
    color: #00AEEF;
    font-size: 70%;
    margin: 0;
}

#last-row {
    margin: 30px 15% 130px 15%;
    padding: 10px 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
}

#last-row #first-line {
    font-size: 1.5rem;
    color: #00AEEF;
}

#last-row #second-line {
    font-size: 1rem;
}

@media (min-width: 768px) {
    #last-row #first-line {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    #last-row #first-line {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    #last-row #first-line {
        font-size: 4rem;
    }
}

/*--------------------------------------------------------------
 Lösung Page Section
--------------------------------------------------------------*/

#lösung .flex-container {
    justify-content: space-around;
    height: 50vh
}

#lösung .text-large, .text-medium {
    position: relative;
    margin:auto;
    padding: 0 10px;
}

#lösung .text-large img {
    position: absolute;
    top: -50px;
    left: -40px;
}

#air-conditioner {
    width: 25vw;
    margin: 7vh auto 20px auto;
    -webkit-filter: drop-shadow(-15px 15px 15px rgba(0,0,0,0.5));
    filter: drop-shadow(-15px 15px 15px rgba(0,0,0,0.5));
}

#mail-line {
    height: auto;
    width: 50px;
    margin-left: 65vw;
}


/*--------------------------------------------------------------
 Third Page Section
--------------------------------------------------------------*/

#third .flex-container {
    justify-content: space-between;
    min-height: 80vh;
    margin-top: 10vh;
}

#upper-row {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

#bottom-row {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

#with-image {
    position: relative;
    margin: 1vh auto;
}

#with-image img {
    position: absolute;
    top: -50px;
    right: -60px;
    height: 50px;
}

#mail-on-third {
    width: 50px;
    margin-left: -23vw;
    margin-top: 20px;
}

/*--------------------------------------------------------------
 Fourth Page Section
--------------------------------------------------------------*/

#fourth .flex-container {
    justify-content: space-between;
    min-height: 75vh;
    margin: 10vh 0;
}

#fourth p.text-medium {
    margin:0;
}

.p-left-7 {
    padding: 0 7vw;
}

#contact p {
    margin: 0;
}

#fourth .text-container img {
    height: 140px;
}

#contact-header {
    position: relative;
    margin: 20px 7vw;
    padding: 0;
}

#contact-header p {
    position: absolute;
    margin: 0 20px 0 0;
    padding: 0;
    display: inline;
    bottom: -10px;
    left: 0;
}

#contact-header img {
    height: 50px;
    margin-right: 10px;
}

@media (min-width: 576px) {
    #contact-header p {
        color: white;
    }
}

#contact-phone {
    margin-left: 150px;
}

/*--------------------------------------------------------------
 Impressum Page Section
--------------------------------------------------------------*/

@media (min-width: 992px) {
    #impressum .text-container div:first-child {
        border-right: #00AEEF solid 2px;
    }
}

@media (min-width: 1200px) {
    #impressum .text-container div:first-child {
        border-right: #00AEEF solid 2px;
    }
}

/*--------------------------------------------------------------
 AGB Page Section
--------------------------------------------------------------*/

#agb {
    background: rgb(174, 174, 174);
}

#agb img.background {
    top: 0;
    min-height: auto;
    mask-image: linear-gradient(to top, rgba(174,174,174,0) 5%, rgb(174, 174, 174) 50%);
}

/*--------------------------------------------------------------
 Datenschutz Page Section
--------------------------------------------------------------*/

#datenschutz {
    background: rgb(174, 174, 174);
}

#datenschutz img.background {
    top: 0;
    min-height: auto;
    mask-image: linear-gradient(to top, rgba(174,174,174,0) 5%, rgb(174, 174, 174) 50%);
}

/*--------------------------------------------------------------
 Footer
--------------------------------------------------------------*/

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 5px 0;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer ul li {
    display: inline-block;
    margin: 0 15px;
}

.footer ul li a {
    font-weight: bold;
    text-decoration: none;
}