@font-face {
    font-family: "Modern";
    src: url("../../../res/fonts/Rajdhani-Regular.ttf");
  }

*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    margin-right: 0%;
}

body {
    background-color: rgb(41, 41, 41);
}

header {
    position: fixed;
    height:50px;
    top: 0;
    Left: 0;
    font-size: 80%;
    padding: 0 10px;
    background: rgb(41, 41, 41);
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
}

header .logo {
    color: #fff;
    line-height: 50px;
    font-size: 150%;
    float: left;
    font-weight: bold;
}

header .logo span {
color:rgb(255, 255, 0);
font-family: 'Modern', 'sans-serif'; 
}

header nav {
    float: right;
}

header nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    list-style: none;
    font-weight: bold;
}

header nav ul li a {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none; 
    display: block;   
    font-family: 'Modern', sans-serif;  
    font-size: 110%;
}

header nav ul li a:hover, 
header nav ul li a:active{
    color: rgb(255, 255, 0);
}

.activelink {
    color: rgb(255, 255, 0);
}

.menu-toggle {
    color: #fff;
    float: right;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.slider {
    margin-top: 50px;
    margin-bottom: 2px;
    width:100%;
    height: 350px;
    background: url(../img/1.jpg) no-repeat center center;
    margin: 0 auto;
    animation: slide 40s infinite;
    background-size:cover;
}

@keyframes slide {
    25% {
        background: url(../img/2.jpg) no-repeat center center;
        background-size:cover
    }

    50% {
        background: url(../img/3.jpg) no-repeat center center;
        background-size:cover
    }

    75% {
        background: url(../img/4.jpg) no-repeat center center;
        background-size:cover
    }

    100% {
        background: url(../img/1.jpg) no-repeat center center;
        background-size:cover
    }
}

.wrapper1{
    height:350px;
    width: 100%;
    margin-top: 50px;
}

.wrapper{
   font-family: 'Raleway', sans-serif;
   font-size: 200%;
   color: white;
   padding-left: 10%;
   padding-top: 100px;
}

.slidingVertical{
   display: inline;
   text-indent: 0px;
}

.slidingVertical span{
   animation: topToBottom 40s linear infinite 0s;
   -ms-animation: topToBottom 40s linear infinite 0s;
   -webkit-animation: topToBottom 40s linear infinite 0s;
   color: rgb(0, 167, 167);
   font-size: 100%;
   padding-left: 15%;
   opacity: 0;
   overflow: hidden;
   position: absolute;
   text-align: center;
}

.slidingVertical span:nth-child(1){
   animation-delay: 0s;
   -ms-animation-delay: 0s;
   -webkit-animation-delay: 0s;
}

.slidingVertical span:nth-child(2){
   animation-delay: 10s;
   -ms-animation-delay: 10s;
   -webkit-animation-delay: 10s;
}

.slidingVertical span:nth-child(3){
   animation-delay: 20s;
   -ms-animation-delay: 20s;
   -webkit-animation-delay: 20s;
}

.slidingVertical span:nth-child(4){
    animation-delay: 30s;
    -ms-animation-delay: 30s;
    -webkit-animation-delay: 30s;
 }

@keyframes topToBottom{
   0% { opacity: 0; }
   5% { opacity: 0; -moz-transform: translateY(-50px); }
   10% { opacity: 1; -moz-transform: translateY(0px); }
   25% { opacity: 1; -moz-transform: translateY(0px); }
   30% { opacity: 0; -moz-transform: translateY(50px); }
   80% { opacity: 0; }
   100% { opacity: 0; }
}

@-webkit-keyframes topToBottom{
   0% { opacity: 0; }
   5% { opacity: 0; -webkit-transform: translateY(-50px); }
   10% { opacity: 1; -webkit-transform: translateY(0px); }
   25% { opacity: 1; -webkit-transform: translateY(0px); }
   30% { opacity: 0; -webkit-transform: translateY(50px); }
   80% { opacity: 0; }
   100% { opacity: 0; }
}

@-ms-keyframes topToBottom{
   0% { opacity: 0; }
   5% { opacity: 0; -ms-transform: translateY(-50px); }
   10% { opacity: 1; -ms-transform: translateY(0px); }
   25% { opacity: 1; -ms-transform: translateY(0px); }
   30% { opacity: 0; -ms-transform: translateY(50px); }
   80% { opacity: 0; }
   100% { opacity: 0; }
}

.intrologo {
    width:100%;
    height:150px;
    background: rgb(41, 41, 41);
    margin-top: -4px;
    display: grid;
    justify-content: center;
    text-align: center;
    color: grey;
    padding-top: 4%;
    font-weight: bold;
    font-size: 160%;
}

.intrologo img {
    background: rgb(41, 41, 41);
    height: 75px;
}

.pimg1, .pimg2, .pimg3{
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*Paralax*/
    background-attachment: fixed;
}

.pimg1{
    background-image: url(../img/image1.jpg);
    height: 0;
}

.pimg2{
    background-image: url(../img/eichstätt.jpg);
    height:80%;
}

.pimg3{
    background-image: url(../img/ingolstadt.jpg);
    height: 80%;
}

.bestellen {
    text-align: center;
    background:rgb(51, 51, 51);
}

.per_telefon {
    display: grid;
    padding: 2%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.per_telefon div {
    background-color: rgb(41, 41, 41);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.per_telefon h2 {
    color: rgb(255, 255, 0);
    font-size: 2em;
}

.per_telefon p {
    color: rgb(255, 255, 255);
    font-size: 160%;
    font-weight: bold;
}

.per_formular {
    padding-top: 2%;
    padding-bottom: 5%;
    background: rgb(51, 51, 51);
}

.bestellen h1 {
    color:rgb(255, 255, 255);
    text-align: center;
    padding-top: 5%;
    font-size: 250%;
}

.per_formular h2 {
    font-size: 200%;
    color: rgb(255, 255, 0);
}

.myframe {
    width: 700px;
}

.section-light {
    background:rgb(51, 51, 51);
    color: #fff;
    padding: 5%;  
}

.section-dark {
    background: rgb(41, 41, 41);
    color: #fff;
    padding: 5%;
}

/*First intro for the content*/

.section-light-cont{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    row-gap: 2%;
    column-gap: 2%;
}

/*First intro for the content*/

/*Main content IN/EI*/

.section-light h1 {
    text-align: center;
    font-size: 250%;
}

.section-light div {
    justify-content: center;
    text-align: center;
    padding: 2%;
}

.section-light p {
    font-size: 105;
}

.section-light div p {
    color: grey;
    font-weight: bold;
}

.section-dark h1 {
    text-align: center;
    font-size: 250%;
}

.section-dark div {
    justify-content: center;
    text-align: center;
    padding: 2%;
}

.section-dark p {
    font-size: 105%;
}

.section-dark div p {
    color: grey;
    font-weight: bold;
}
/*Main content IN/EI*/

.ptext {
    position: absolute;
    top: 50%;
    width: 100%;
    color: rgb(41, 41, 41);
    text-align: center;
    font-size: 220%;
    letter-spacing: 2%;
    text-transform: uppercase;
}

.border {
    background-color: grey;
    padding: 20px;
    color: #fff;
    border-radius: 25px;
    opacity: 0.7;
}

.credit {
    width: 100%;
}

.svgcont {
    width: 100%;
    display: flex;
}

.svgcont img {
    width: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.credit img{
display: block;
margin-left: auto;
margin-right: auto;
}


footer{
    background: rgb(41, 41, 41);
    margin-top: 0px;
}

.card {
    background: rgb(41, 41, 41);
    color: white;
    padding-top: 20px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }

.card1 {
    background: rgb(41, 41, 41);
    text-align: center;
    color: white;
    padding-top: 20px;
    padding-bottom: 40px;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

.card p {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 80%;
    color: rgb(255, 255, 255);
}
  
.cards {
    margin: 0 auto;
    padding: 0px;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding-left: 10px;
  }

.fotlogo {
    color: rgb(255, 255, 0);
    font-size: 100%;
    font-family: 'Raleway', sans-serif;
    margin: 0;
}

.fotlogo img {
    height:50px;
}

.logotext2 {
    color: grey;
    padding-top: 2%;
    font-weight: bold;
    font-size: 90%;
}

.fotlogo span {
    color: #fff;
    font-weight: bold;
}

.fafap {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 30px;
    border-bottom: white solid 1px;
}

.fafapho {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 30px;
    border-bottom: white solid 1px;
}

.fafaenv {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 30px;
    border-bottom: white solid 1px;
}

.conticon {
    background: rgb(41, 41, 41);
    height: 30px;
    width: 30px;
    position: relative;
    background-color:lightgray;
    border: 2px solid lightgray;
    background-color: lightgray;
    height: 30px;
    border-radius:50%;
    width: 30px;
}

.iconinscont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    color:darkslategrey;
}

@media(max-width: 991px){

    header {
        padding: 0 10px;
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
    }

    header nav {
        position: absolute;
        width: 100%;
        height: calc(100vh - 50px);
        background: rgb(41, 41, 41);
        top: 50px;
        left: -100%;
        transition: 0.5s;
    }

    header nav.active {
        left: 0;
    }

    header nav ul {
        display: block;
        text-align: center;
    }

    header nav ul li a {
        border-bottom: 1px solid rgba(0, 0, 0, .2);
    }

    .intrologo {
        width:100%;
        height:150px;
        background: rgb(41, 41, 41);
        margin-top: -4px;
        display: grid;
        justify-content: center;
        text-align: center;
        color: grey;
        padding-top: 8%;
        font-weight: bold;
        font-size: 100%;
    }

    .intrologo img {
        height: 50px;
    }

    .wrapper {
        font-size: 120%;
    }

    .credit img {
        width: 60%;
    }
}

@media(max-width: 730px){

    .myframe {
        width: 300px;
    }
}

@media(max-width: 400px){
    .logo span {
        font-size: 80%;
    }

    .slidingVertical span{ 
        font-size: 80%;
    }
}