/*  
Seiteneinstellungen
*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 3.5rem;
   
}
/*  
:root bezieht sich auf das html-Element
globale CSS Variablen erstellen
*/

:root{      
    --first-background-color: #101010;
    --second-background-color: #191919;
    --first-text-color: #b9afa4;
    --second-text-color:#c6c9d8bf;
    --main-color: #5a7682;
    --big-font: 5.3rem;
    --h2-font: 4.2rem;
    --p-font: 1,1rem,
}
a {
    color: #000;
}

body{
    color: var(--first-text-color);
    size: cover;
    background: url(../Bilder/Hintergrund-Home.jpg) no-repeat center fixed;
    background-size: cover;
}
/*
Wenn Elemente übereinander kommen, kommt das mit dem größten z-index nach vorne
transition-duration legt Dauer eines Übergangs fest
*/

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 0px 15%;
    transition-duration: .3s;
    background-color: black;

}
/*  
Größe der Bilder Index Seite Anfang 
*/
.bildhplara{
    width: 300px;
    height: 200px;
    margin-left: 20px;
}

.bildhpleon{
    width: 300px;
    height: 200px;
    margin-left: 20px;
}
.bildrasperry{
    width: auto;
    height: 300px;
    margin-left: 20px;
    
/*  
Größe der Bilder Index Ende
*/  
/*  
Größe der Bilder Ändert sich wenn man über das Bild fährt
*/   
}
img.urlaub2022:hover
{
    transform: scale(1.5, 1.5);
}
img.urlaub2022{
    width: 300px;
    height: auto;
    margin-left: 20px;
    transition: transform 0.5s;
}
/*  
Größe der Bilder Ändert sich wenn man über das Bild fährt
*/ 
/*  
Abstand ANFANG damit die weiße Fläche weiter nach unten geht
*/
.abstand{
    height: 100px;
}

.abstand1 {
    height: 500px;
}/*  
Abstand ENDE damit die weiße Fläche weiter nach unten geht
*/

/*  
About Text neben Bild für Xandi Anfang 
*/
.aboutSignatur{
    display: flex;
    align-items: center;
}
/*  
About Text neben Bild für Xandi Ende
*/ 
/*  
About Bildgröße und Schrift ANFANG 
*/
.überxandi-img{
    width: 200px;
    height: auto;
    margin-left: 20px;
    margin-top: 20px;  
}

.überalex-img{
    width: 300px;
    height: auto;
    margin-left: 20px;
    margin-top: 20px;
}
.überstammbaum-img  {
    width: 800px;
    height: auto;
    margin-left: 20px;
    margin-top: 20px;
  }
/*  
About Bildgröße und Schrift ENDE
*/
/* 
Logo EHART Home Anfang
*/
.logoAnfang{
    padding-top: 20px;
}
.anfang{
    background-color: var(--main-color);
    width: 250px;
    color: var(--first-text-color);
}
.anfang h1{
    padding: 10px;
    text-align: center;
}
.ende{
    border-left-width: 250px; 
    border-bottom-width: 50px;
    border-left-color:var(--main-color);
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    border-left-style: solid;
}
/*
Logo EHART Home Ende
*/

.navbar{
    display: flex;

}

.navbar li{
    position: relative;
}

.navbar a{
    color: var(--first-text-color);
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 20px;
}

/*
::after nach benutzen des Links
*/

.navbar a::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--main-color);
    left: 0;
    bottom: -4px;
    transition: ease .40s;
}

.navbar a:hover::after{
    width: 100%;
}

#menu-icon{
    font-size: 32px;
    color: var(--first-text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}

.h-btn{
    padding: 0 20px;
    height: 40px;
    display: inline-block;
    line-height: 42px;
    background: var(--main-color);
    color: var(--first-text-color);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all .30s;
}

.h-btn:hover{
    transform: translateY(-5px);
}

section{
    padding: 120px 15%;
}

/*
Seitentext Anfang
*/
.seitenText{
    color: #000;
    margin-top: 100px;
}
.seitenText-anfang{
    background-color: white;
    width: 70vw;
    margin-left: 14vw;
}
.seitenText-anfang p{
    padding-left: 20px;
}
.seitenText-anfang h3{
    padding-left: 20px;
}
.ersteZeile{
    padding: 30px 10px 20px 20px;
}
.seitenText-ende{
    border-left-width: 70vw; 
    border-bottom-width: 50px;
    border-left-color:white;
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    border-left-style: solid;
    margin-left: 14vw;
    z-index: 2;
}
/*
Seitentext Ende
*/

.home{
    height: 100%;
    width: 100%;
    background: url(/Bilder/Hintergrund-Home.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    padding: 20px;
}

.home-text h1{
    margin: 20px 0px 20px;
    font-size: var(--big-font);
    
}

span{
    color: var(--main-color);

}

.home-text h3{
    font-size: 25px;
    margin-bottom: 55px;
}

.home-text h4{
    font-size: 20px;
    letter-spacing: 2px;
}
.home-text h6{
    font-size: 100px;
}
header.sticky{
    padding: 12px 15%;
    background: var(--main-color);
}

.sticky .navbar a::after{
    background: var(--first-text-color);
}

/* 
Start-Button und EHART Logo wächseln Farbe beim hinunterscrollen Anfang
*/

.sticky .h-btn{
    background: black;
    color: var(--first-text-color);
}

.sticky .anfang{
    background: black;
    color: var(--first-text-color);
}

.sticky .ende{
    border-left-color: black;
}

/* 
Start-Button und EHART Logo wächseln Farbe beim hinunterscrollen Ende
*/

.about{
    background: var(--second-background-color);
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    align-items: center;
    grid-gap: 2rem;
}

.about-img img{
    max-width:100%;
    width: 500px;
    height: auto;
    border-radius: 10px;
}

.about-text h2{
    font-size: var(--h2-font);
    margin-bottom: 20px;
}

.about-text h5{
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-text p{
    color:var(--second-text-color);
    letter-spacing: 1px;
    line-height: 28px;
    max-width: 590px;
    font-size: var(--p-font);
    margin-bottom: 45px;
}

.mitte{
    text-align: center;
}

.mitte h2{
    font-size: var(--h2-font);
    margin-bottom: 15px;
}

.mitte p{
    color: var(--second-text-color);
    letter-spacing: 1px;
    line-height: 28px;
    font-size: var(--p-font);
}

.row{
    background: var(--second-background-color);
    padding: 55px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .35s;
}

.row i{
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2.7rem;
}

.row h3{
    color: var(--first-text-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.row p{
    color: var(--second-text-color);
    line-height: 30px;
    font-size: var(--p-font);
}

.row:hover{
    transform: translateY(-8px);
}



.box img{
    max-width: 100%;
    width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all .30s;
}

.box h3{
    color: var(--first-text-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.box p{
    color: var(--second-text-color);
    font-size: var(--p-font);
    margin-bottom: 15px;
}

.box img:hover{
    transform: scale(1.1);
}


footer{
    background: var(--second-background-color);
    padding: 34px;
}

.footer-mitte{
    text-align: center;   
}

.footer p{
    font-size: 17px;
    color: var(--second-text-color);
    letter-spacing: 1px;
}

.impressum{
    padding-bottom: 20px;
}

.impressum a{
    color: var(--first-text-color);
}

.Signatur{
    line-height: 25px;
}

.Impressum-text{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, auto));
    grid-gap: 2rem;
    align-items: center;
    padding-right: 30%;
    padding-bottom: 30px;
    padding-top: 50px;
}

.Impressum-text i {
    color: var(--main-color);
    font-size: 2rem;
    position: relative;
    top: 8px;
}

.Impressum-text a{
    color: var(--main-color);
}

#Haftung{
    color: var(--main-color);
}

.info{
    background: var(--first-background-color);
}

.info-inhalt{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 4.5rem;
    cursor: pointer;
}

.mail{
    color: var(--main-color);
}

.nix{
    background: var(--second-background-color);
}

/* 
E-Mail schreiben Anfang
*/

#contact h1{
    padding-left: 20px;
    padding-top: 20px;
    margin-bottom: 15px;
}

#contact p{
    margin-bottom: 4.1rem;
}

fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
}

#contact{
    position: relative;
}

#contact input, textarea{
    margin-left: 20px;
    width: 80%;
    padding: 20px;
    border: none;
    outline: none;
    background: var(--second-background-color);
    color: var(--first-text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
}

#contact textarea{
    resize: none;
    height: 200px;
}

#absende-button {
    margin-bottom: 0;
}

#contact button{
    margin-left: 20px;
    width: 40%;
    padding: 20px;
    border: none;
    outline: none;
    background: var(--main-color);
    color: var(--first-text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: ease .35s;
    text-transform: uppercase;
    
}

#contact button:hover{
    transform: translateY(-8px);
    cursor: pointer;
}

.success{
    color: var(--main-color);
    padding-left: 20px;
    padding-top: 20px;
    margin-bottom: 15px;
}
.failed{
    color: var(--main-color);
    padding-left: 20px;
    padding-top: 20px;
    margin-bottom: 15px;
}

/* 
E-Mail schreiben Ende
*/



@media (max-width: 1270px) {
    header{
        padding: 18px 4%;
        transition: .2s;
    }
    
    header.sticky{
        padding: 10px 4%;
        transition: .2s;

    }

    section{
        padding: 80px 4%;
        transition: .2s;
    }

    :root{
        --big-font: 4.8rem;
        --h2-font: 3.8rem;
        --p-font: 1rem,
        transition: 2s;
    }
}

@media (max-width: 990px) {
        .start{
            height: 85vh;
        }
        #menu-icon{
            display: initial;
        }
        .navbar{
            position: absolute;
            top: -700px;
            left: 0;
            right: 0;
            flex-direction: column;
            background: var(--first-background-color);
            text-align: left;
            transition: all .30s;
        }

        .navbar a{
            display: block;
            padding: 1.1rem;
            margin: 1.3rem;
            border-left: 2px solid var(--first-text-color);
        }

        .navbar a:hover{
            background: var(--main-color);
        }

        .navbar a::after{
            display: none;
        }

        .navbar.active{
            top: 100%;
        }

        .box{
            text-align: center;
        }

        .box img{
            max-width: 100%;
            width: 500px;
            height: auto;
        }
    }
    @media (max-width: 1210px) {
           .überstammbaum-img{
                height: 400px;
                width: auto;
           }
           }
           @media (max-width: 1050px) {
            .überstammbaum-img{
            height: 300px;
            width: auto;
            }
        }
        @media (max-width: 800px) {
               .überstammbaum-img{
                   height: 250px;
               width: auto;
               }
            }         
        @media (max-width: 440px) {
               .überstammbaum-img{
                   height: 50px;
               width: auto;
               margin-left: -20px;
               }      
    }
    @media (max-width: 700px) {
        .überxandi-img{
            height: 100px;
            width: auto;
        }
        .überalex-img{
            height: 100px;
            width: auto;
        }
        .bildhplara{
            height: 100px;
            width: auto;
        }
        .bildhpleon{
            height: 100px;
            width: auto;
        }
        img.urlaub2022{
            height: autopx;
            width: 100px;
        }
        .Signatur {
        font-size: 10px;
        }
        .ersteZeile {
            font-size: 20px;
        }
        .textAbout {
            font-size: 15px;
        }
        .überstammbaum-img{
        height: 150px;
            width: auto;
         }       
}