
html{ 
    background-image: url(bilder/4.jpg);
    background-repeat:no-repeat;
    background-attachment: fixed;
    font-family: 'Lato', 'Courirer';
    height: 100%;
    background-size: cover;
}

a:link {
    color: white;
    text-decoration: none;
    font-family: 'Lato', 'Courirer';
}

a:visited {
    color: white;
    text-decoration: none;
    font-family: 'Lato', 'Courirer';
}

header{
    margin: auto;
    width: -moz-max-content;
    width: max-content;
    display: block;
    position: relative;
}

body{

    height: 100%;
    margin: 0%;
}

h1{
    border-top: solid 2px;
    border-bottom: solid 2px;
    font-size: 5rem;
    font-weight: 900;
    text-align: center;
    margin: 3px auto 3px auto;
    width: -moz-max-content;
    width: max-content;
}

.content{
    margin: auto;
    padding: 2% 0 2% 0;   
    background-color: rgb(233, 233, 233);
    width: 70%;
    height: 90%;
}

.left {
    width: 30%;
    float: left;
    color:white;
    margin-bottom: 1%;
    margin-left: 7.5%;
    margin-right: 2.5%;
    margin-top: 0%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 30vh;
}

.right {
    width: 30%;
    float: right;
    color:white;
    margin-bottom: 1%;
    margin-right:7.5%;
    margin-left: 2.5%;
    margin-top:0%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 30vh;
}

.one,.two,.three,.four,.five,.facebook {
    text-align: center;
    margin: inherit;
    background-color: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: inherit;
}

.impressum{
    text-align: center;
    width: 30%;
    color:white;
    background-color: rgba(0,0,0,0.5);
    margin: auto;
    margin-top: 1%;
    margin-bottom: 0.5%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 5vh;
    border-radius: 5px;
}

.dragonlogo{
    content: url(bilder/logo_transparent.png);
    margin:auto;
}

.facebooklogo{
    content: url(bilder/facebook.png);
    height: 94%;
    width: 80%;
    margin: 2.5% auto 2.5% auto;
}

.text{
    font-size: 2.5rem;
    margin: auto;
    padding-top: 20%;
}

.imptxt{
    margin: auto;
}

.beschreibung{
    background-image: url(bilder/Dragon_slope1.jpg);
    height: 94%;
    width: 80%;
    margin: auto;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    background-size: cover;

}

.technik{
    background-image: url(bilder/dragon_wolfsberg1.jpg);
    height: 94%;
    width: 80%;
    margin: auto;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    background-size: cover;
}

.action{
    background-image: url(bilder/Landing1.JPG);
    height: 94%;
    width: 80%;
    margin: auto;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    background-size: cover;
}

.bauweise{
    background-image: url(bilder/view1.jpg);
    height: 94%;
    width: 80%;
    margin: auto;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    background-size: cover;
}

.kontakt{
    background-image: url(bilder/little_brother1.jpg);
    height: 94%;
    width: 80%;
    margin: auto;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    background-size: cover;
}

.slider{
    text-align: center;
    float: left;
    margin:auto;
    margin-top: 0%;
    margin-bottom: 0%;
    display: block;
    width: 20%;
    height: 99.5%;
    background-color: #1f1f1f;
    overflow: hidden;
    position: relative;
}

.slider > *{
    position: absolute;
    display: block;
    width: 0%;
    height: 100%;
    background: #1f1f1f;
    animation: slide 12s infinite;
    overflow: hidden;
}

.slide:nth-child(1) {
    left:0%;
    animation-delay: -1s;
    background-image: url(bilder/1.jpg);
    background-size: cover;
    background-position: center;
}

.slide:nth-child(2) {
    animation-delay: 2s;
    background-image: url(bilder/2.jpg);
    background-size: cover;
    background-position: center;
}

.slide:nth-child(3) {
    animation-delay: 5s;
    background-image: url(bilder/3.jpg);
    background-size: cover;
    background-position: center;
}

.slide:nth-child(4) {
    left:0%;
    animation-delay: 8s;
    background-image: url(bilder/4.jpg);
    background-size: cover;
    background-position: center;
}

@keyframes slide {

    0% { left: 100%; width: 100%;}
    5%{left: 0%;}
    25%{left: 0%;}
    30%{left: -100%; width: 100%}
    30.0001%{ left: -100%; width: 0%;}
    100% { left: 100%; width: 0%;}

}



/*responsive*/


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

    .text{
        font-size: 2rem;
    }

    .content{
        width:90%
    }

}

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

   .slider{
        width:19%;
   }

    .text{
        font-size: 2.5rem;
    }

    .left{
        width:35%;
        margin-left: 3%;
    }


    .right{
        width:35%;
        margin-right: 3%;
    }

    .content{
        background-color: rgba(245,245,245,0.5);
        width:100%
    }

}

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

   .slider{
        display: none;
   }


    .left{
        width:40%;
        margin-left: 5%;

    }


    .right{
        width:40%;
        margin-right: 5%;
    }

}

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

    .left{
        text-align: center;
        width:80%;
        margin: 0 10% 1% 10%;
        float:none;
    }

    .right{
        text-align: center;
        width:80%;
        margin: 0 10% 1% 10%;
        float:left;
    }

    .content{
        width:80%;
        height:180%
    }

}

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

    .content{
        margin: 0;
        background-color: rgba(245,245,245,0);
    }

    h1{
        width: 80%;
        font-size: 4rem;
    }

    .dragonlogo{

        display: none;

    }

    .left{
        margin: 0 5% 1% 5%;
        width: 120%
    } 

     .right{
        margin: 0 5% 1% 5%;
        width: 120%
    }

}

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

    h1{
        width: 100%;
        font-size: 3rem;
    }

}