/* prata-regular - latin */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('prata-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('prata-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('open-sans-v18-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('open-sans-v18-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('open-sans-v18-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('open-sans-v18-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* prata-regular - latin */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('prata-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('prata-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* mulish-200 - latin */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 200;
  src: local(''),
       url('mulish-v7-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('mulish-v7-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* mulish-300 - latin */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('mulish-v7-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('mulish-v7-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* mulish-regular - latin */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('mulish-v7-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('mulish-v7-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}




html {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans';
}

.outerwrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.toplogo {
    height: 30%;
    position: relative;
    min-height: 200px;
}

.block img {
    max-width: 100%;
    height: auto;
}

.modal-content {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 200;
    font-size: 15px;
}

.modal-content a {
    color: #7E7434;
    font-weight: normal;
}

.modal-content h3 {
    font-family: 'Prata';
    font-weight: normal;
    font-size: 16px;
}

.modallogo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.block a {
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.block .text {
    color: #fff;
    text-decoration: none;
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    width: 70%;
}

.block .text h2 {
    font-family: 'Prata';
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 22px;
}

.block a:hover {
    color: #fff;
}

.block:nth-child(1) {
    background-image: url(../images/buschenschank-bg.jpg)    
}

.block:nth-child(2) {
    background-image: url(../images/weingut-bg.jpg)    
}

.block:nth-child(3) {
    background-image: url(../images/10er-marie-bg.jpg)    
}

.block .subheader:before {
    content: " ";
    background: rgba(255,255,255,0.5);
    position: absolute;
    left: 50%;
    top: 1.5rem;
    transform: translateX(-50%);
    height: 1px;
    width: 50px;
    z-index: 100;
}

.block .subheader {
    height: 0;
    padding-top: 1rem;
    position: relative;
    font-size: 22px;
    -webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
    overflow: hidden;
    opacity: 0;
    font-family: 'Prata';
}

.block:hover .subheader {
    height: 4.5rem;
    padding-top: 2.5rem;
    opacity: 1;
}

.footer {
    background-image: url(/images/footer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 100px;
    background-position: 50% top;
    font-size: 14px;
}

.footerlogo {
    width: 250px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.footerbottom {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 50px;
}

.footerbottomitem {
    width: 100%;
    align-self: flex-end;
    text-align: center;
    margin-bottom: 50px;
}

.footermenu ul, .footermenu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footermenu li a {
    color: #7E7434;
    font-family: 'Prata';
    font-size: 20px;
    text-decoration: none;
}

.paycards {
    width: 200px;
    height: auto;
}

.wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 70%;
    flex-direction: column;
}

.block {
    width: 80%;
    margin-top: 20px;
    background-color: #011A15;
    color: #fff;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    -webkit-box-shadow: 0 0 30px 10px rgba(0,0,0,0.5);
    box-shadow: 0 0 30px 10px rgba(0,0,0,0.5);
    align-self: center;
    min-height: 300px;
    margin-bottom: 30px;
}

.toplogoimg {
    width: 200px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 45px;
    transform: translateX(-50%);
}

.onlineshoptext {
    display: block;
}

.onlineshopicon {
    margin-right: 15px;
}

.onlineshopicon img {
    width: 10px;
    height: auto;
}

.onlineshoptext a {
    color: #eaeaea;
    text-decoration: none;
}

.onlineshop {
    margin-top: 0;
    background: #580A03;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    padding: 4px 0 4px 0;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 850px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


/*************************************************************/
/*************************************************************/
/*************************************************************/


@media (min-width: 769px) {

.modallogo {
    width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.modal-content {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 200;
    font-size: 17px;
}

.modal-content a {
    color: #7E7434;
    font-weight: normal;
}

.modal-content h3 {
    font-family: 'Prata';
    font-weight: normal;
    font-size: 28px;
}
    
.wrapper {
    flex-direction: row;
    width: 100%;
}

.block {
    width: 31%;
}

}

@media (min-width: 960px) {

.onlineshopicon {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translate(-50%, 0);
}

.onlineshopicon img {
    width: 20px;
    height: auto;
    margin: 0
}


.onlineshoptext {
    transform: rotate(-90deg);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 30px;
}

.onlineshop {
    top: 20vh;
    position: fixed;
    right: 0;
    display: block;
    padding: 0;
}

.footermenu ul {
    display: flex;
    justify-content: space-between;
}

.footerbottomitem {
    width: 30%;
    margin-bottom: 0;
}

.footerbottom {
    flex-direction: row;
}

.toplogoimg {
    width: 250px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.block {
    height: 545px;
    margin-bottom: 0;
}

.wrapper {
    margin: 0 auto;
}

}

@media (min-width: 1200px) {

.onlineshop {
    margin-top: 0;
    padding-top: 140px;
    background: #580A03;
    height: 100px;
    width: 80px;
}

.outerwrapper {
    height: 100%;
}


.wrapper {
    flex-direction: row;
    width: 1140px;
}

}