@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
body{
  font-family: 'Ubuntu', sans-serif;
  max-height: 700px;
}
#head {
  width: 1200px;
  margin-top: 0;
}
#wrapper {
  background-color: white;
  width: 1200px;
  margin: 0 auto;
  bottom: 0px;
}
.rahmen {
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center; 
}
h1{
  display: none;
}
h2 {
  text-align: center;
  font-size: 30px;
}
.top{
  text-align: center;
}
#unten {
  background-color: rgba(255,127,0,1);
  width: 1000px;
  margin: 10px auto;
  height: 40px;
}
#unten p {
  text-align: center;
  padding-top: 10px;
  font-size: 16px;
  margin-top: 20px;
  color: white;
}
nav ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
      margin-bottom: 20px;
    padding-top: 20px;
}
nav li {
  display: inline;
  
  font-size: 24px;
  padding-left: 20px;
}
nav a {
  color: rgba(255,127,0,1);
  text-decoration: none;
  font-size: 24px;
}
nav a:hover {
  color:#1e90ff;
}
#aktiv {
  color: 	#1e90ff; 
}
.zurück {
    cursor: pointer;
  margin-top: 18px;
  margin-left: 18px;
  font-size: 32px;
}

 /* galerie */

#galerie input {
  display: none;
}
#galerie section img {
  cursor: pointer;
  margin-top: 18px;
  margin-left: 18px;
}
#lightbox {
  background-color: rgba(0,0,0,0.75);
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 100vh;
  overflow: hidden;
  left: 0px;
  z-index: 1;
  text-align: center;
}
#galeriebild {
  width: 0px;
  height: 0px;
  padding: 0;
  transition: all 700ms;
  display: inline-block;
  margin-top: 50px;
  background-color: rgba(255,255,255,0.5);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  position: relative;
}
#galeriebild::after {
  content: "X";
  background-color: rgba(255,127,0,1);
  width: 40px;
  height: 40px;
  border-radius: 20%;
  border: 2px solid blue;
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: 30px;
  right: 30px;
  opacity: 0.65;
}
#radio1:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Bier_3er2gr.jpg")}
#radio2:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_2SBH_WB_gr.jpg")}
#radio3:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_4Biergl_gr.jpg")}
#radio4:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Aprikose10gr.jpg")}
#radio5:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_SpargWa_gr.jpg")}
#radio6:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_BLACK_GARLIC_114_gr.jpg")}
#radio7:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Minze_gr.jpg")}
#radio8:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_KoernTab2cba_gr.jpg")}
#radio9:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Dink_0120gr.jpg")}
#radio10:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Schroll_Grupp_gr.jpg")}
#radio11:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_SILVANER_TRAUB050gr.jpg")}
#radio12:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Maltwhisky_gr.jpg")}
#radio13:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_HOLZOFEN_BROT_051gr.jpg")}
#radio14:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Einkauf1gr.jpg")}
#radio15:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Bierbaum_gr.jpg")}

input[id^=radio]:checked ~ #lightbox {bottom: 0} 

input[id^=radio]:checked ~ #lightbox #galeriebild {height: 640px; width: 960px; padding: 20px}

/*** Tablet-Regeln ***/

@media (max-width:1024px){
 
#head {
  width: 750px;
  margin-top: 0;
}
#wrapper 
{
   background-color: #EBEBEB;
   width: 750px;
   margin: 0 auto;
   bottom: 0px;
}
.rahmen {
   width: 650px;
}
#galerie input {
  display: none;
}
#galerie section img {
  cursor: pointer;
  margin-top: 18px;
  margin-left: 18px;
}
#lightbox {
  background-color: rgba(0,0,0,0.75);
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 100vh;
  overflow: hidden;
  left: 0px;
  z-index: 1;
  text-align: center;
}
#galeriebild {
  width: 0px;
  height: 0px;
  padding: 20px;
  transition: all 700ms;
  display: inline-block;
  margin-top: 150px;
  background-color: rgba(255,255,255,0.5);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  position: relative;
}
#galeriebild::after {
  content: "X";
  background-color: rgba(255,127,0,1);
  width: 30px;
  height: 30px;
  border-radius: 20%;
  border: 2px solid blue;
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: 50px;
  right: 50px;
  opacity: 0.65;
}

#radio1:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Bier_3er2tab.jpg")}
#radio2:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_2SBH_WB_tab.jpg")}
#radio3:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_4Biergl_tab.jpg")}
#radio4:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Aprikose10tab.jpg")}
#radio5:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_SpargWa_tab.jpg")}
#radio6:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_BLACK_GARLIC_114_tab.jpg")}
#radio8:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_KoernTab2cba_tab.jpg")}
#radio7:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Minze_tab.jpg")}
#radio9:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Dink_0120tab.jpg")}
#radio10:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Schroll_Grupp_tab.jpg")}
#radio11:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_SILVANER_TRAUB050tab.jpg")}
#radio12:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Maltwhisky_tab.jpg")}
#radio13:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_HOLZOFEN_BROT_051tab.jpg")}
#radio14:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Einkauf1tab.jpg")}
#radio15:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Bierbaum_tab.jpg")}

input[id^=radio]:checked ~ #lightbox {bottom: 0} 

input[id^=radio]:checked ~ #lightbox #galeriebild {height: 400px; width: 600px; padding: 20px }

#unten {
  width: 750px;
}
}

/* Medienabfrage Smartphone */

@media (max-width: 600px) {
#head {
  width: 550px;
  margin-top: 0;
}
#wrapper {
   background-color:  #E0E0E0;
   width: 100%;
   margin: 0 auto;
   bottom: 0px;
}
.spalte section {
  width: 50px;
  margin : 0;
  padding: 0;
}
.rahmen section {
  width: auto;
  margin : 10px;
  padding: 0;
}
.rahmen {
   width: 450px;
}
nav li {
    display: block;
}
#lightbox {
  background-color: rgba(0,0,0,0.75);
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 100vh;
  overflow: hidden;
  left: 0px;
  z-index: 1;
  text-align: center;
}
#galeriebild {
  width: 0px;
  height: 0px;
  padding: 20px;
  transition: all 700ms;
  display: inline-block;
  margin-top: 30px;
  background-color: rgba(255,255,255,0.5);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  position: relative;
}
#galeriebild::after {
  content: "X";
  background-color: rgba(255,127,0,1);
  width: 30px;
  height: 30px;
  border-radius: 20%;
  border: 2px solid blue;
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  top: 30px;
  right: 30px;
  opacity: 0.65;
}

#radio1:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Bier_3er2smart.jpg")}
#radio2:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_2SBH_WB_smart.jpg")}
#radio3:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_4Biergl_smart.jpg")}
#radio4:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Aprikose10smart.jpg")}
#radio5:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_SpargWa_smart.jpg")}
#radio6:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_BLACK_GARLIC_114_smart.jpg")}
#radio7:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Minze_smart.jpg")}
#radio8:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_KoernTab2cba_smart.jpg")}
#radio9:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Dink_0120smart.jpg")}
#radio10:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Schroll_Grupp_smart.jpg")}
#radio11:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_SILVANER_TRAUB050smart.jpg")}
#radio12:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Maltwhisky_smart.jpg")}
#radio13:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_HOLZOFEN_BROT_051smart.jpg")}
#radio14:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Einkauf1smart.jpg")}
#radio15:checked ~ #lightbox #galeriebild {background-image: url("../img/BF_Bierbaum_smart.jpg")}

input[id^=radio]:checked ~ #lightbox {bottom: 0} 

input[id^=radio]:checked ~ #lightbox #galeriebild {height: 267px; width: 400px; padding: 20px}

#unten {
  width: 450px;
  height: 60px;
}
}
