* {
  margin: 0px;
  padding: 0px;
}

html {
  font-family: 'Work Sans';
  height: 100%;
}

body {
  height: 100%;
  background-color: #D1C5B9;
}

body#home {
    background-image: url("assets/images/markisches-kino-01.jpg");
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}

a {
  color: #000;
  text-decoration: none;;
}

a:hover {
  text-decoration: none;
  color: #BE1D23;
}

h1 {
  margin-bottom: 4rem;
  font-size: 60px;
  font-weight: normal;
}

p {
  font-size: 30px;
  margin-bottom: 30px;
  hyphens: auto;
  hyphenate-limit-chars: auto 5;
  hyphenate-limit-lines: 2;
  max-height: 9999px;
}
p a {
  text-decoration: none;
}

img {
  width: 100%;
  margin-bottom: 20px;
}

header {
  margin: 2rem;
  display: flex;
  justify-content: space-between;
}

section {
  width: 100%;
  display: flex;
  flex-direction: row;
}

article {
  width: 50%;
  margin: 2rem;
}

.intro {
  width: 40%;
  margin: 0rem 2rem;
}

.facts {
  border: 0px solid #000;
  padding-left: 4rem;
  margin-bottom: 4rem;
}

.facts p {
  margin-bottom: 0px;
  font-size: 40px;
}

.video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 1.5em 0;
  }

.video iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
}

.rechts {
  width: 50%;
  text-align: right;
  margin: 2rem;
}

.infopic {
  width: 80%;
  margin-bottom: 50px;
}

.show {
  margin: 2rem;
}

.logo {
  width: 40%;
}

.menu {
  display: flex;
  margin-top: 2rem;
}

.menu a {
  margin-left: 3rem;
  color: #000;
  text-decoration: none;
  font-size: 24px;
}

.menu a:hover {
  text-decoration: underline;
}

.programm {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 4rem;
  list-style: none;
}

#myNav,
span {
  display: none;
}

/* The Overlay (background) */
.overlay {
 /* Height & width depends on how you want to reveal the overlay (see JS below) */
 height: 100%;
 width: 0;
 position: fixed; /* Stay in place */
 z-index: 1; /* Sit on top */
 right: 0;
 top: 0;
 background-color: #BE1D23; /* Black fallback color */
 overflow-x: hidden; /* Disable horizontal scroll */
 transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
 position: relative;
 top: 8rem; /* 25% from the top */
 width: 100%; /* 100% width */
 text-align: left; /* Centered text/links */
 margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
 margin-left: 4rem;
}

/* The navigation links inside the overlay */
.overlay a {
 padding: 8px;
 text-decoration: none;
 font-size: 4rem;
 color: #000;
 display: block; /* Display block instead of inline */
 transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
 color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
 position: absolute;
 top: 10px;
 right: 4rem;
 font-size: 6rem;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
 .overlay a {font-size: 20px}
 .overlay .closebtn {
   font-size: 40px;
   top: 15px;
   right: 35px;
 }
}

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

   body#home {
       background-image: url("assets/images/2_markisches-kino-saal-rot.jpg") ;
       background-position: top center;
       background-size: cover;
       background-repeat: no-repeat;
       height: 100%;
   }

   header {
   }

   section {
     width: 100%;
     display: flex;
     flex-direction: column;
   }

  article {
    width: 100%;
    margin: 2rem;
  }

  h1 {
    font-size: 80px;
    margin-top: 2rem;
    margin-bottom: 8rem;
  }

  p {
    font-size: 50px;
  }

  .rechts {
    width: 100%;
    text-align: right;
  }

  .infopic {
    width: 100%;
    margin-bottom: 50px;
  }

  .menu {
    display: none;
  }

  #myNav,
  span {
    display: block;
    font-size: 3rem;
  }

  .programm {
    display:grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 35px;
    list-style: none;
  }

  .facts p {
    margin-bottom: 0px;
    font-size: 60px;
  }
}
