@font-face {
  font-family: "Janda";
  src: url("/assets/JandaSafeandSound.ttf");
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: #464646;
  color: #fff;
  font-family: Janda, "Fira Sans", sans-serif;
}

#sidebar {
  position: fixed;
  bottom: 0;
  width: 0;
  height: 100%;
  z-index: 10000;
  overflow-x: hidden;
  transition: width 400ms;
  background-color: #f19031;
  box-shadow: 0px 0px 25px -3px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgb(255, 255, 255);
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
  font-weight: bold;
}
@media (max-width: 320px) {
  #sidebar {
    font-size: 1rem;
  }
}
#sidebar .close-menu-button {
  margin: 0.5rem;
  border: solid white 2px;
  border-radius: 1rem;
  line-height: 3rem;
}
#sidebar .close-menu-button:hover {
  background-color: #464646;
}
#sidebar nav {
  display: flex;
  flex-direction: column;
}
#sidebar nav a {
  color: #fff;
  display: block;
  padding: 0.5rem;
  text-decoration: none;
}
#sidebar nav a:hover {
  background-color: #464646;
  padding-left: 1rem;
  text-decoration: underline;
}
#sidebar .news-menu {
  padding: 0.5rem;
  margin: 0.5rem;
  border: solid white 2px;
  border-radius: 1rem;
}
#sidebar .news-menu .social-links {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
#sidebar .news-menu .social-links a {
  padding: 0.5rem;
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
}
#sidebar .news-menu .social-links a:hover {
  background-color: #5f5f5f;
}

#sidebar.visible {
  width: 30rem;
}
@media (max-width: 400px) {
  #sidebar.visible {
    width: 100%;
  }
}

#main-container {
  width: 100%;
  box-sizing: border-box;
  background-image: url("/assets/startseite.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: repeat-y;
  background-attachment: fixed;
}

#main-page {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  gap: 0px 0px;
  grid-template-areas: "header" "main" "footer";
}
#main-page header {
  grid-area: header;
  height: min-content;
  position: fixed;
  left: 0;
  width: 100vw;
}
#main-page main {
  grid-area: main;
  margin-top: 13rem;
}
@media (max-width: 1350px) {
  #main-page main {
    margin-top: 13rem;
  }
}
@media (max-width: 1040px) {
  #main-page main {
    margin-top: 8rem;
  }
}
@media (max-width: 850px) {
  #main-page main {
    margin-top: 6rem;
  }
}
@media (max-width: 400px) {
  #main-page main {
    margin-top: 5rem;
  }
}
#main-page main article {
  margin-left: auto;
  margin-right: auto;
  width: 80rem;
  padding: 1rem;
  color: white;
  border-radius: 1rem;
  text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: rgba(255, 255, 255, 0.6) 2px solid;
}
@media (max-width: 1350px) {
  #main-page main article {
    width: 60rem;
  }
}
@media (max-width: 1040px) {
  #main-page main article {
    width: 50rem;
  }
}
@media (max-width: 850px) {
  #main-page main article {
    width: 40rem;
  }
}
@media (max-width: 680px) {
  #main-page main article {
    width: 30rem;
  }
}
@media (max-width: 520px) {
  #main-page main article {
    width: 100%;
  }
}
@media (max-width: 400px) {
  #main-page main article {
    width: 20rem;
  }
}
#main-page footer {
  grid-area: footer;
}

header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: min-content;
  justify-items: center;
  grid-template-areas: "menu-button header-logo header-logo lineup-button";
  transition: background-color 400ms;
  z-index: 9999;
}
@media (max-width: 850px) {
  header {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "menu-button header-logo lineup-button";
  }
}
header a {
  color: #ffffff;
  text-decoration: none;
}
header > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
header .header-logo {
  grid-area: header-logo;
}
header .header-logo #datum {
  font-weight: 900;
  color: #e3615c;
  text-shadow: 3px 3px 3px #000, -3px 3px 3px #000, -3px -3px 3px #000, 3px -3px 3px #000;
  position: absolute;
  bottom: 0.1rem;
  font-size: 2rem;
}
@media (max-width: 1350px) {
  header .header-logo #datum {
    font-size: 2rem;
  }
}
@media (max-width: 1040px) {
  header .header-logo #datum {
    font-size: 1.8rem;
  }
}
@media (max-width: 850px) {
  header .header-logo #datum {
    font-size: 1.2rem;
  }
}
@media (max-width: 680px) {
  header .header-logo #datum {
    font-size: 1rem;
  }
}
header .header-logo img {
  max-height: 13rem;
}
header .menu-button {
  grid-area: menu-button;
}
header .lineup-button {
  grid-area: lineup-button;
}
header .title-button {
  background-color: #eb5A59;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 10px;
  padding-top: 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  -webkit-box-shadow: 5px 5px 5px 0px #000000, inset 4px 4px 15px 0px #000000, 7px 5px 15px 5px rgba(255, 255, 255, 0);
  box-shadow: 5px 5px 5px 0px #000, inset 4px 4px 15px 0px #aaa, 7px 5px 15px 5px rgba(255, 255, 255, 0);
}

header.scrolled {
  background-color: #f19031;
}
header.scrolled .header-logo svg path {
  fill: #fff;
}

.sponsorenbilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  justify-items: center;
  align-items: center;
}

.sponsorenbildergold {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
  justify-items: center;
  align-items: center;
}

.sponsor {
  border-radius: 3px;
  width: 250px;
}

.sponsorgold {
  border-radius: 3px;
  width: 450px;
}

.starttext {
  border: 7px ridge red;
  border-radius: 12px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 50px;
  margin-right: 10px;
  margin-left: 10px;
}

.hdline {
  font: bold italic 2em Georgia, Times, "Times New Roman", serif;
  border-top: 3px solid orange;
  border-bottom: 3px solid orange;
  margin: 0.5rem;
  padding: 0.5em 0 0.5em 0;
  font-size: 2em;
}

.image {
  border-radius: 5px;
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.texthovereffect {
  transition: 0.5s ease;
  opacity: 0;
  position: relative;
  top: 10px;
  left: 50%;
  transform: translate(-125px, -150px);
  -ms-transform: translate(-125px, -150px);
}

.textimbild {
  width: 100%;
  /* Full width */
}

.lineup:hover .image {
  opacity: 0.5;
}

.lineup:hover .textimbild {
  opacity: 1;
}

.runningorder:hover .image {
  opacity: 0.5;
}

.runningorder:hover .textimbild {
  opacity: 1;
}

@media (max-width: 1350px) {
  .runningorder .image {
    max-width: 350px;
    height: 350px;
  }
}
@media (max-width: 1040px) {
  .runningorder .image {
    max-width: 200px;
    height: 200px;
  }
}
@media (max-width: 850px) {
  .runningorder .image {
    max-width: 150px;
    height: 150px;
  }
}
@media (max-width: 680px) {
  .runningorder .image {
    max-width: 120px;
    height: 120px;
  }
}
@media (max-width: 520px) {
  .runningorder .image {
    max-width: 100px;
    height: 100px;
  }
}
@media (max-width: 400px) {
  .runningorder .image {
    max-width: 80px;
    height: 80px;
    padding: 2px;
  }
}
@media (max-width: 320px) {
  .runningorder .image {
    max-width: 50px;
    height: 50px;
    padding: 2px;
  }
}
@media (max-width: 1350px) {
  .runningorder .text {
    font-size: 1em;
    padding: 12px 12px;
  }
}
@media (max-width: 1040px) {
  .runningorder .text {
    font-size: 1em;
    padding: 8px 8px;
  }
}
@media (max-width: 850px) {
  .runningorder .text {
    font-size: 0.8em;
    padding: 4px 4px;
  }
}
@media (max-width: 680px) {
  .runningorder .text {
    font-size: 0.7em;
    padding: 3px 3px;
  }
}
@media (max-width: 520px) {
  .runningorder .text {
    font-size: 0.6em;
    padding: 2px 2px;
  }
}
@media (max-width: 400px) {
  .runningorder .text {
    font-size: 0.5em;
    padding: 2px 2px;
  }
}
@media (max-width: 320px) {
  .runningorder .text {
    font-size: 0.4em;
    padding: 1px 1px;
  }
}

.plakat {
  position: relative;
}

/* Bottom right text */
.plakattext {
  position: absolute;
  bottom: 20px;
  right: 30%;
  background: rgb(0, 0, 0);
  /* Fallback color */
  background: rgba(0, 0, 0, 0.5);
  /* Black background with 0.5 opacity */
  color: white;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 32px;
}

.plakatimage {
  width: 250px;
  height: 500px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
  border: 1px solid #ddd;
  /* Gray border */
  border-radius: 4px;
  /* Rounded border */
  padding: 5px;
  /* Some padding */
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.plakat:hover .plakatimage {
  opacity: 0.7;
}

.text {
  background-color: #e25303;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.article-image {
  border-radius: 5px;
  width: 100%;
  height: auto;
  max-width: 50rem;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 8px 0 rgba(0, 0, 0, 0.19);
}

table .table-fill {
  border-radius: 3px;
  border-collapse: collapse;
  height: 320px;
  margin: auto;
  max-width: 600px;
  padding: 5px;
  width: 100%;
  animation: float 5s infinite;
}
table th {
  color: #D5DDE5;
  background: #1b1e24;
  border-bottom: 4px solid #9ea7af;
  border-right: 1px solid #343a45;
  font-size: 23px;
  font-weight: 100;
  padding: 24px;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align: middle;
}
table th:first-child {
  border-top-left-radius: 3px;
}
table th:last-child {
  border-top-right-radius: 3px;
  border-right: none;
}
table tr {
  border-top: 1px solid #C1C3D1;
  border-bottom: 1px solid #C1C3D1;
  font-size: 16px;
  font-weight: normal;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
}
table tr:first-child {
  border-top: none;
}
table tr:last-child {
  border-bottom: none;
}
table tr:last-child td:first-child {
  border-bottom-left-radius: 3px;
}
table tr:last-child td:last-child {
  border-bottom-right-radius: 3px;
}
table td {
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  font-weight: 300;
  font-size: 18px;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
  border-right: 1px solid #C1C3D1;
}
@media (max-width: 680px) {
  table td {
    padding: 10px;
  }
}
@media (max-width: 520px) {
  table td {
    padding: 8px;
  }
}
@media (max-width: 400px) {
  table td {
    padding: 4px;
  }
}
@media (max-width: 320px) {
  table td {
    padding: 1px;
  }
}
table td:last-child {
  border-right: 0px;
}
table th.text-left {
  text-align: left;
}
table th.text-center {
  text-align: center;
}
table th.text-right {
  text-align: right;
}
table td.text-left {
  text-align: left;
}
table td.text-center {
  text-align: center;
}
table td.text-right {
  text-align: right;
}

#bandnameindex {
  text-transform: uppercase;
  font-family: Janda, Helvetica, Arial, sans-serif;
  color: white;
  text-shadow: 3px 3px 3px black, 3px -3px 3px black, -3px 3px 3px black, -3px -3px 3px black;
  font-size: 2.7rem;
  line-height: 0.8em;
}
@media (max-width: 850px) {
  #bandnameindex {
    font-size: 2.5rem;
  }
}
@media (max-width: 400px) {
  #bandnameindex {
    font-size: 1.5rem;
  }
}

/* hab ich nicht anders hinbekomm... */
a:link,
a:visited {
  text-decoration: none;
}

a {
  font-family: Janda, Helvetica, Arial, sans-serif;
  color: white;
  text-shadow: 0 0 5px black;
  text-shadow: 3px 3px 3px black, 3px -3px 3px black, -3px 3px 3px black, -3px -3px 3px black;
}
a :link {
  text-decoration: none;
  color: white;
}
a :visited {
  text-decoration: none;
  color: white;
}

.youtubevideoframe {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  padding-top: 25px;
  height: 0;
}
.youtubevideoframe iframe {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
}

.schweinebilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(60px, 20%), 1fr));
  justify-items: center;
  align-items: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  justify-items: center;
  align-items: center;
  margin: 32px 0;
  column-count: 4;
  column-gap: 8px;
}

.gallery a {
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 8px;
  break-inside: avoid;
  text-decoration: none;
}

.gallery img {
  max-width: 100%;
  display: block;
  grid-row: 1/-1;
  grid-column: 1;
}