body{
    margin:0px;
    font-family: 'Open sans', sans-serif !important;
}
#wir svg{
    margin-right:10px;
}

.mwst{
    font-style: italic;
    color: #6f6f6f;
    font-size: 16px;
}
#map{
    text-align: center;
    background: #80e1c6;
    margin-top: 100px;
    font-size: 25px;
    padding: 10px;
    color: rgb(81,81,81);
    font-family: inherit;
}
a{
    color: black !important;
    text-decoration: none !important;
}
.priceTag{
    font-size: 30px;
    padding: 0px 22px;
    background: #00ffb8;
    box-shadow: 0px 0px 20px #51ffd7a6;
    border-radius: 8px;
    margin: auto;
    width: FIT-CONTENT;
    width: -moz-fit-content;
    margin-bottom:40px;
}
.car{
    background: white;
    display: block;
    margin: 10px;
    padding: 10px;
    width: fit-content;
    width: 100%;
    min-width: calc(40% - 40px);
    flex-wrap: wrap;
    cursor: pointer;
}
.car img{
    object-fit: contain;
    height: calc(100%);
    margin: auto;
    width: auto;
}
.car:hover{
    box-shadow: 0px 0px 20px lightgray;
}
.title{
    font-weight:600;
    margin:0px;
    font-size: 24px;
    text-align: center;
    margin-right: 10px;
}
.descriptionContainer{
   margin-bottom: 10px;
}
.prize{
    font-size: 23px;
    margin: auto;
    font-weight: 500;
    margin-right: 0px;
    text-align: right;
    font-family: inherit;
    padding-left: 10px;
    padding-right: 10px;
}
.attribute{
    font-size: 16px;
    display: flex;
    margin: 5px 15px;
}
.attribute img{
    height: 3vh;
    margin-right: 5px;
    margin-left: 0px;
}
.attribute p{
    margin:auto;
    margin-left: 10px;
}
.description{
    display: block;
    margin: auto 10px auto auto;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    width: 80%;
    margin-left:1%;
}
.attributecontainer{
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
    width: 70%;
}
#map iframe{
    display: block;
    margin: auto;
    margin: 10px;
    border-radius: 10px;
    width: 100%;
}
a{
    text-decoration: none;
}
#contact{
    padding: 0 10%;
    background: #fbfbfb;
    font-family: inherit;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0px;
    margin-top: 0px;
}
#contact div{
    display:grid;
    font-size: 20px;
    font-weight: 600;
}
#contact input, #contact textarea{
    border:0px;
    border-bottom:2px solid rgb(80,80,80);
    background:#fbfbfb;
    color:rgb(80,80,80);
    padding:5px;
    margin:5px;
    width:50%;
    font-size:17px;
}
textarea{
    min-height: 50px;
    line-height:1em;
    min-height:8em;
    min-width:75%;
}
#footer{
    background: #232626;
    color: #c7c7c7;
    font-family: inherit;
    display: flex;
    padding: 0px 5%;
    bottom:0px;
    display: flex;
    flex-wrap: wrap;
}
#footer div{
    margin: 3vh;
    width: auto;
    display:inline-grid;
    height:fit-content;
    height: -moz-fit-content;
}
#footer p, #footer a{
    margin: 0.6vh;
    color:#c7c7c7 !important;
    font-size: 2.5vh;
}
#footer h3{
    margin:2px;
    font-size: 2vh;
}
#footer span{
    color: whitesmoke;
    padding: 21px;
    padding-left: 0px;
    font-size: 13px;
    font-family: inherit;
}
.ownheader{
    BACKGROUND: rgb(249,248,246);
    COLOR: rgb(6,6,68);
    font-family: inherit;
    padding: 0px;
    font-size: 5vw;
    text-align: center;
    position: fixed;
    width:100vw;
    top:0px;
    z-index:5;
}
#logo img{
    width:20vw;
}
.button{
    font-weight: 400;
    font-family: inherit;
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
    padding: 4px 30px;
    background: rgba(0,0,0,0.4);
    font-size: 4vh;
    border: 3px solid whitesmoke;
    cursor:pointer;
    color:white;
    margin-top: 6vh;
}
.button a{
color:white !important;
}
#wir{
    text-align: center;
    background: rgb(11,17,49);
    color: rgb(245,231,184);
    padding: 20px;
}
#wir > h3{
    font-size: 6vh;
}
#wir > span{
    font-style: italic;
    font-size: 2.5vh;
}
#header a{
    margin:5px;
    color:black;
}
#wir>div{
    display:flex;
    margin:20px;
}
#wir div{
    margin:auto;
    
}
#header a:hover{
    color:black;
}

#galleryscreen h2{
    margin-top: 23vh;
    font-size: 9vh;
    text-align: center;
    /* width: 100vw; */
    margin: 1vw;
    margin-top: 23vh;
}
.button > a:hover{
    color: white !important;
    text-decoration: none !important;
}
.button:hover{
    background:rgba(0,0,0,0.17);
}

#galleryscreen{
    width: 100vw;
    height: 75vh;
    background: rgba(0,0,0,0.3);
    text-align: center;
    color: white;
    position: absolute;
    z-index: 2;
    font-family: inherit;
    font-weight: 600;
    right:0px;
}

#gallery {
    position: relative;
    height:75vh;
  }
  
  #gallery figure {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  #gallery figcaption {
    position: absolute;
    left: 1em;
    bottom: 0.5em;
    z-index: 2;
  }
#wir a{
    margin:auto;
    margin-left: 0px;
}
#wir p{
    font-size: 2vh;
}
#wir a{
    text-decoration: none;
    color:white !important;
}
  #gallery figure {
    margin: 0px;
    width:100%;
    /*animation: wechseln 15s infinite;*/
  }
  figure img{
    width: 100%;
    height: 75vh;
    object-fit: cover;
  }

  @keyframes wechseln {
    0% {opacity: 0;}
   20% {opacity: 1;}
   40% {opacity: 1;}
   60% {opacity: 0;}
  100% {opacity: 0;}
}

#gallery figure:nth-of-type(2) {
    animation-delay: 5s;
  }
  #gallery figure:nth-of-type(3) {
    animation-delay: 10s;
  }
  .galleryImage{
    width: 10em;
    height: 5em !important;
    margin: 7% !important;
}
.responsiveflex{
    display:flex;
}

.nav-link{
  font-weight:600;
}

@media (max-device-width: 1024px){
    body{
        margin:0px;
        font-family: inherit;
    }
    .responsiveflex{
        display:block;
    }
    .bigfont{
        font-size:5vh;
        margin:1vh;
    }
    .container{
        max-width: 100vw; 
        margin: 0px;  max-height: 80vh;
    }
    #map{
        text-align: center;
        background: #80e1c6;
        margin-top: 66px;
        font-size: 25px;
        padding: 10px;
        color: rgb(81,81,81);
        font-family: inherit;
    }
    #logo img{
        width:40vw;
    }
    .car{
        background: white;
        display: inline-table;
        margin: 2%;
        padding: 10px;
        width: fit-content;
        width: -moz-fit-content;
        min-width: calc(40% - 40px);
        flex-wrap: wrap;
        cursor: pointer;
        width: 100%;
    }
    .car img{
        object-fit: contain;
        max-height: 36vh;
        margin: auto;
        max-width: 100%;
    }
    .car:hover{
        box-shadow: 0px 0px 20px lightgray;
    }
    .title{
        font-family: inherit;
        margin:1vh;
        font-size: 5vh;
        text-align: center;
        margin-right: 1vh;
      	width:67vw;
    }
    .prize{
        font-size: 3vh;
        text-align: right;
        margin: auto;
        margin-bottom: 1vh;
        text-align: right;
        padding-left: 10px;
        
        padding-right: 10px;
    }
    .attribute{
        font-size: 2.5vh;
        display: flex;
        margin: 0px 2vh;
    }
    .attribute img{
        height: 3vh;
        margin: 0.5vh;
        margin-right: 1vh;
    }
    .attribute p{
        margin:auto;
        margin-left: 10px;
    }
    .description{
        display: block;
        margin: 2vh;
        text-align: left;
        font-family: inherit;
        font-size: 3vh;
        margin-left:1%;
    }
    .attributecontainer{
        display:grid;
        flex-wrap: wrap;
        margin:10px;
    }
    #map iframe{
        
        display: block;
        margin: auto;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    a{
        text-decoration: none;
    }
    #contact{
        padding: 0 10%;
        background: #fbfbfb;
        font-family: inherit;
        padding-top: 10px;
        padding-bottom: 10px;
        margin: 0px;
        margin-top: 0px;
        font-size: 4vh;
    }
    #contact div{
        display:grid;
        font-size: 3.5vh;
        font-weight: 600;
    }
    #contact input, #contact textarea{
        border:0px;
        border-bottom:2px solid rgb(80,80,80);
        background:#fbfbfb;
        color:rgb(80,80,80);
        padding:0.4vh;
        margin:5px;
        width:100%;
        font-size:3vh;
    }
    #contact [type='submit']{
        font-size: 2vh;
        margin:3vh;
    }
    textarea{
        min-height: 50px;
        line-height:1em;
        min-height:8em;
        min-width:75%;
    }
    #footer{
        background: #232626;
        color: #c7c7c7;
        font-family: inherit;
        display: flex;
        padding: 0px 5%;
        bottom:0px;
        display: flex;
        flex-wrap: wrap;
    }
    .descriptionContainer{
        width:70vw;
    }
    #footer div{
        margin: 3vh;
        width: auto;
        display:inline-grid;
        height:fit-content;
        height: -moz-fit-content;
    }
    #footer p, #footer a{
        margin: 0.6vh;
        color:#c7c7c7;
        font-size: 2.5vh;
    }
    #footer h3{
        margin:2px;
        font-size: 2vh;
    }
    .galleryImage{
        width: 10em;
    height: 5em !important;
    margin: 7% !important;
    }
    #footer span{
        color: whitesmoke;
        padding: 21px;
        padding-left: 0px;
        font-size: 13px;
        font-family: inherit;
    }
    #header{
        BACKGROUND: rgb(249,248,246);
        COLOR: rgb(6,6,68);
        font-family: inherit;
        padding: 0px;
        font-size: 5vw;
        text-align: center;
        position: fixed;
        width:100vw;
        top:0px;
        z-index:5;
    }
    .button{
        font-weight: 400;
        font-family: inherit;
        width: fit-content;
        width: -moz-fit-content;
        margin: auto;
        padding: 4px 30px;
        background: rgba(0,0,0,0.4);
        font-size: 4vh;
        border: 0.5vw solid whitesmoke;
        cursor:pointer;
        color:white;
        margin-top: 6vh;
    }
    .button a{
    color:white !important;
    }
    #wir{
        text-align: center;
        font-family: inherit;
        background: rgb(11,17,49);
        color: rgb(245,231,184);
        padding: 20px;
    }
    #wir  h3{
        font-size: 4vh;
    }
    #wir > span{
        font-style: italic;
        font-size: 2.5vh;
        margin:1vh;
    }
    #wir hr{
        width:100vw;
    }
    #header a{
        margin:5px;
        color:black;
    }
    #wir svg{
        width: 3vh;
        height:3vh;
        margin-right: 2vh;
    }
    #wir>div{
        display: flex;
        flex-wrap: wrap;
        margin:20px;
        font-size: 3vh;
        width:auto;
    }
    #wir div{
        margin:auto;
        width: 100%;
    }
    #header a:hover{
        color:black;
    }
    
    #galleryscreen h2{
        margin-top: 23vh;
        font-size: 9vh;
        text-align: center;
        /* width: 100vw; */
        margin: 1vw;
        margin-top: 23vh;
    }
    
    #galleryscreen{
        width: 100vw;
        height: 75vh;
        background: rgba(0,0,0,0.3);
        text-align: center;
        color: white;
        position: absolute;
        z-index: 2;
        font-family:inherit;
        font-weight: 600;
        right:0px;
    }
    
    #gallery {
        position: relative;
        height:75vh;
      }
      
      #gallery figure {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
      }
      
      #gallery figcaption {
        position: absolute;
        left: 1em;
        bottom: 0.5em;
        z-index: 2;
      }
    #wir a{
        margin:auto;
        font-size: 2.5vh;
        margin-left: 0px;
        text-decoration: none;
        color:white !important;
    }
    #wir p{
        font-size: 3vh;
    }
      #gallery figure {
        margin: 0px;
        width:100%;
        
      }
      figure img{
        width: 100%;
        height: 75vh;
        object-fit: cover;
      }
    
  }