html {
  overflow-x: hidden;
  overflow-y: inherit;
}

/* Reset CSS
 * --------------------------------------- */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  padding: 0;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  overflow-x: hidden;
  overflow-y: inherit;
}

a {
  text-decoration: none;
}

table {
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-weight: normal;
  font-style: normal;
}

strong {
  font-weight: bold;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
  margin: 0;
  padding: 0;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
}

/* Custom CSS
 * --------------------------------------- */

body {
  font-family: arial, helvetica;
  color: #444;
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  width: 960px;
  position: relative;
}

h1 {
  font-size: 3em;
}

p {
  font-size: 2em;
}

.intro p {
  width: 50%;
  margin: 0 auto;
  font-size: 1.5em;
}

.section {
  text-align: center;
}

#seperator1 {
  position: relative;
  height: 200px;
  /* background-color: #ff000044; */
}

#seperator2 {
  position: relative;
  height: 200px;
  /* background-color: #ff000044; */
}

.fade {
  opacity: 0;
  -webkit-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
  transition-timing-function: ease-out;
}

.left {
  -webkit-transform: translateX(-100px);
  transform: translateX(-100px);
}

.right {
  -webkit-transform: translateX(100px);
  transform: translateX(100px);
}

.inView {
  opacity: 1;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

/* ------------------          MAIN       ---------------------*/

#mainSection {
  position: relative;
  width: 100vw;
  height: 100vh;
  /* background-color: #ff000044; */
}

#mainBg {
  position: absolute;
  height: 90vh;
  bottom: 0;
  right: calc(-300 + 10vw);
  z-index: -1;
}

#mainLinks {
  position: absolute;
  left: 6%;
  width: 50vw;
  text-align: left;
  top: 53%;
  z-index: 5;
  /* background-color: #ff000033; */
}

#mainLinks a i {
  margin: 20px;
  color: #444;
}

#mainTitle {
  position: absolute;
  left: 6%;
  width: 50vw;
  text-align: left;
  top: 38%;
  /* background-color: #ff000033; */
}

#mainTitle h1 {
  font-size: 5em;
  font-weight: 600;
  padding-left: 20px;
  /* background-color: #00ff0033; */
}

/* ------------------          TERMINE       ---------------------*/
#termineSection {
  position: relative;
  /* width: 100vw; */
  /* min-height: 200vh; */

  overflow: auto;
  justify-content: flex-end;
  /* background-color: #00ff0044; */
}

/*
#termineContainer {
    //height: 100%;
    position: relative;
    overflow: auto;
    top: 0;
    left: 0;
}
*/

#termineBg {
  position: absolute;
  height: 70%;
  top: 60px;
  /* bottom: 0; */
  left: calc(-52% * -1 - 650px);
  z-index: -1;
  overflow: hidden;
}

.termineTable {
  position: relative;
  display: flex;
  margin-top: 100px;
  margin-bottom: 100px;
  margin-right: 5%;
  justify-content: flex-end;
  overflow: visible;
}

.date {
  vertical-align: baseline;
  text-align: right;
  padding-right: 40px;
  /* background-color: #ff00ff33; */
}

.day {
  font-size: 2.25em;
  font-weight: bold;
  /* background-color: #00ffff33; */
}

.month {
  font-size: 1.24em;
  font-weight: light;
  /* background-color: #0000ff33; */
}

.newyear {
  font-size: 2em;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  vertical-align: baseline;
  width: 300px;
}

.location {
  font-size: 1.5em;
  text-align: left;
  vertical-align: baseline;
  width: 300px;
  /* background-color: #ff000033; */
}

.special {
  font-size: 1em;
  text-align: left;
  /* background-color: #ffff0033; */
}

.time {
  font-size: 1.25em;
  width: 100px;
  vertical-align: baseline;
  /* background-color: #00ff0033; */
}

.link {
  vertical-align: baseline;
  /* background-color: #ff00ff33; */
  overflow: visible;
}

.link span {
  font-size: 1.25em;
}

td > a {
  font-size: 1.5em;
  font-weight: 300;
  background-color: #444;
  color: white;
  padding: 5px 20px 5px 20px;
  border-radius: 5px;
}

tr.separator {
  /* border-top: 2px solid red; */
  padding-bottom: 40px;
}

tr.separator hr {
  border: 1px solid #00000024;
  border-radius: 1px;
  /* width: 65%; */
  margin-top: 20px;
}

/* ------------------          KONTAKT       ---------------------*/

#kontaktSection {
  position: relative;
  width: 100vw;
  height: 130vh;
  /* background-color: #0000ff22; */
  overflow: hidden;
}

#kontaktBg {
  position: absolute;
  height: 130vh;
  top: 60px;
  right: calc(-100px + 15vw);
  z-index: -1;
  overflow: hidden;
}

#kontaktLinks {
  position: absolute;
  left: 16%;
  top: 20%;
  z-index: 5;
  /* background-color: #ff000033; */
  width: 65%;
  overflow: hidden;
}

#kontaktLeft {
  padding: 20px;
  /* background-color: #00ff0033; */
  float: left;
  width: auto;
}

#kontaktRight {
  padding: 20px;
  /* background-color: #0000ff33; */
  float: left;
  clear: right;
  width: auto;
}

.kontaktGroup {
}

.kontaktGroup > h1 {
  text-transform: uppercase;
  font-size: 2.5em;
  text-align: left;
  font-weight: 200;
  line-height: 1.5em;
}

.kontaktGroup > h1 > span {
  font-size: 0.6em;
}

.kontaktGroup > h2 {
  font-size: 1.85em;
  text-align: left;
  font-weight: 600;
}

.kontaktGroup > h3 {
  font-size: 1.85em;
  line-height: 1.3em;
  text-align: left;
  font-weight: 300;
  padding: 0;
  margin: 0;
  top: 0;
  bottom: 0;
}

.kontaktGroup > a {
  float: left;
  font-size: 1.5em;
  font-weight: 300;
  background-color: #444;
  color: white;
  padding: 5px 20px 5px 20px;
  border-radius: 5px;
}

/* ------------------          FOOTER       ---------------------*/

#footerSection {
  position: relative;
  width: 100vw;
  /* height: 100vh; */
  /* background-color: #00ff0022; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#footerBg {
  position: relative;
  margin-top: 400px;
  height: 60vh;
  bottom: 0;
  z-index: -1;
}

#footerLeft {
  bottom: 20px;
  left: 30px;
  position: absolute;
}

#footerLeft > a {
  float: left;
  font-size: 0.8em;
  font-weight: 300;
  background-color: #999;
  color: white;
  padding: 5px 20px 5px 20px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* ------------------          IMPRESSUM       ---------------------*/

.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  transition: visibility 0s linear 400ms, opacity 400ms;
}

.fadedIn {
  opacity: 1;
  visibility: visible;
  transition: visibility 0s linear 0s, opacity 400ms;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  /* 15% from the top and centered */
  padding: 30px;
  border: 1px solid #888;
  width: 50%;
  height: 90%;
  overflow: scroll;
  /* Could be more or less, depending on screen size */
}

.modal-content > p {
  font-size: 1em;
  overflow: scroll;
  margin-bottom: 3em;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 60px;
  margin-top: -30px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* ------------------          MENU       ---------------------*/

#menu {
  height: 17 0px;
  z-index: 70;
  padding: 0;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 35%,
    rgba(255, 255, 255, 0) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 35%,
    rgba(255, 255, 255, 0) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 35%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#000000", GradientType=1);
}

#menu li {
  display: inline-block;
  vertical-align: middle;
  margin: 20px;
  color: #444;
}

#menu li a {
  display: inline-block;
  font-size: 1.85em;
  /* background-color: #ffff0044; */
  vertical-align: middle;
  color: #444;
}

#menu li a span {
}

#menu li a:link {
  color: #444;
}

#menu li a:visited {
  color: #444;
}

#menu li a:active {
  color: #444;
}

#menu li a:hover {
  color: #444;
}

.activeMenu {
  /* color: blue !important; */
  /* background-color: red !important; */
}

@media only screen and (max-width: 992px) {
  body {
    /* background-color: #0000ff22; */
  }

  #menu li a img {
    height: 50px;
  }

  #mainBg {
    right: calc(-700px + 20vw);
  }

  #mainTitle {
    top: 25%;
  }

  #mainLinks {
    top: 35%;
    width: 300px;
  }

  #termineBg {
    left: calc(-62% * -1 - 720px);
  }

  #kontaktBg {
    right: calc(-250px + 15vw);
  }

  .termineTable {
    margin-right: 0px;
    width: 55%;
    right: -350px;
  }

  .date {
    padding-right: 14px;
  }

  .time {
    font-size: 1.1em;
    padding: 4px;
  }

  td > a {
    font-size: 1.1em;
    padding: 5px 15px 5px 15px;
  }

  #kontaktLinks {
    left: 10%;
  }

  #footerBg {
    height: 45vh;
  }
}

@media only screen and (max-width: 786px) {
  body {
    /* background-color: #ff00ff22; */
  }

  #mainTitle {
    top: 25%;
  }

  #mainLinks {
    width: 50vw;
    top: 53%;
  }

  #mainBg {
    right: calc(-650px + 20vw);
  }

  #termineBg {
    /* height: 130vh; */
    left: calc(-58% * -1 - 610px);
  }

  .termineTable {
    margin-top: 70px;
    right: -340px;
  }

  .kontaktGroup > h1 {
    font-size: 2.25em;
  }

  .kontaktGroup > h2 {
    font-size: 1.75em;
  }

  .kontaktGroup > h3 {
    font-size: 1.65em;
  }

  .kontaktGroup > a {
    font-size: 1.5em;
    margin-top: 10px;
  }

  #footerLeft {
    bottom: 1em;
    left: auto;
    right: 10px;
    font-size: 1.25em;
  }
}

@media only screen and (max-width: 600px) {
  body {
    /* background-color: #ffff0022; */
  }

  #menu li a img {
    height: 35px;
  }

  #menu li a {
    font-size: 1.5em;
  }

  #mainLinks {
    width: 40vw;
    top: 63%;
  }

  #mainBg {
    right: calc(-450px + 20vw);
  }

  #mainLinks a i {
    font-size: 3em;
  }

  #mainTitle {
    top: 38%;
  }

  #mainTitle h1 {
    font-size: 4em;
  }

  #termineBg {
    display: none;
  }

  .termineTable {
    width: 90%;
    margin-left: 5%;
    right: 0px;
  }

  #kontaktBg {
    right: calc(-150px + 15vw);
  }

  #kontaktLinks {
    top: 17%;
    left: 3%;
  }

  .kontaktGroup > h1 {
    font-size: 1.75em;
  }

  .kontaktGroup > h2 {
    font-size: 1.5em;
  }

  .kontaktGroup > h3 {
    font-size: 1.45em;
  }

  .kontaktGroup > a {
    font-size: 1.2em;
    margin-top: 10px;
  }

  #footerBg {
    margin-top: 600px;
  }

  #footerLeft {
    bottom: 10px;
    left: auto;
    right: 2px;
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 480px) {
  body {
    /* background-color: #00ff0022; */
  }

  .inViewFixed {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  #menu li a img {
    height: 30px;
  }

  #menu li {
    margin: 15px 5px 50px 10px;
  }

  #menu li a {
    font-size: 1.25em;
  }

  #mainLinks {
    top: 85%;
    /* bottom: 10px; */
    width: 95vw;
  }

  #mainBg {
    right: calc(-490px + 20vw);
  }

  #mainLinks a i {
    font-size: 3em;
    margin: 15px;
  }

  #mainTitle {
    top: 15%;
  }

  #mainTitle h1 {
    font-size: 4em;
  }

  .day {
    font-size: 2em;
  }

  .month {
    font-size: 1.2em;
  }

  .location {
    font-size: 1.35em;
  }

  .special {
    font-size: 1em;
  }

  .time {
    font-size: 1em;
  }

  .link span {
    font-size: 1em;
  }

  td > a {
    font-size: 1em;
    padding: 5px 12px 5px 12px;
  }

  #kontaktBg {
    right: calc(-200px + 15vw);
  }

  #kontaktLinks {
    left: 0px;
  }

  .kontaktGroup > h1 {
    font-size: 1.7em;
    line-height: 22px;
  }

  .kontaktGroup > h2 {
    font-size: 1.4em;
  }

  .kontaktGroup > h3 {
    font-size: 1em;
  }

  .kontaktGroup > a {
    font-size: 1.2em;
    margin-top: 10px;
  }

  #kontaktRight {
    width: 70%;
    overflow: hidden;
  }

  #footerBg {
    height: 30vh;
    margin-top: 600px;
  }

  #footerLeft {
    bottom: 5px;
    left: auto;
    right: 2px;
    font-size: 0.8em;
  }

  .modal-content {
    width: 70%;
  }

  .modal-content > h1 {
    font-size: 2em;
  }
}

@media only screen and (max-width: 420px) {
  body {
    /* background-color: #00ff0022; */
  }

  #mainBg {
    right: calc(-430px + 5vw);
  }
}

@media only screen and (max-width: 376px) {
  body {
    /* background-color: #00ff0022; */
  }

  #mainBg {
    right: calc(-390px + 20vw);
  }

  #kontaktBg {
    right: calc(-150px + 15vw);
    height: 125vh;
  }
}

@media only screen and (max-width: 360px) {
  body {
    /* background-color: #0000ff22; */
  }

  #mainTitle h1 {
    font-size: 3.5em;
  }
}
