/*------ GENERAL ------*/
:root {
  --bg-color: #001c3b;
  --bg-bright: #002a54;
  --yellow: #fee800;
  --sep-height: 5;
  --header-size: 60;
}

img {
  width: 100%;
  height: 100%;
}

ul {
  list-style: none;
  text-align: left;
}

a {
  text-decoration: none;
}

body {
  font-family: "Federo", sans-serif;
  margin: 0px;
  padding: 0px;
  background-image: linear-gradient(var(--bg-color) 30%, white 150%);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 2fr 10fr 2fr;
  grid-template-rows: min-content max-content max-content;
  grid-template-areas:
    "side1 header side2"
    "side1 main side2"
    "side1 footer side2";
}

/*------ MENU ------*/
.navbar {
  grid-area: header;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

.navbar-standard,
.navbar-mobile {
  background: white;
  border-bottom: 1px var(--yellow) solid;
}

.navbar-standard,
.control-container {
  display: flex;
  text-align: center;
  vertical-align: middle;
}

.navbar-standard a {
  padding-top: 1em;
  flex: 1;
  color: var(--bg-color);
  transition: all 0.5s;
  font-size: 130%;
}

.navbar-standard img {
  flex: 1;
  object-fit: contain;
}

.navbar-standard a:nth-child(3) {
  padding-top: 0em;
}

.navbar-standard a:hover,
.navbar-standard a.active {
  color: white;
  background: var(--bg-color);
  border-bottom: 5px var(--yellow) solid;
}

.navbar-mobile {
  display: none;
}

.home-logo {
  max-height: calc(var(--header-size) * 1px);
  cursor: pointer;
  width: auto;
}

/*------ MAIN ------*/
main {
  max-width: 100vw;
  background: var(--bg-color);
  color: white;
  grid-area: main;
  position: relative;
  padding-bottom: calc(var(--sep-height) * 1vw);
  margin-top: calc(var(--header-size) * 1px);
}

.content-text {
  padding: 2em;
}

.wide-text {
  line-height: 200%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4vh;
}

h1 {
  display: flex;
  margin-bottom: 1.1em;
}
h1::before,
h1::after {
  margin-right: 1em;
  content: " ";
  display: flex;
  flex: 1;
  border-top: 0.5px solid white;
  border-bottom: 0.5px solid white;
}
h1::after {
  margin-right: 0em;
  margin-left: 1em;
}

@keyframes img-blend1 {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  32% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}
@keyframes img-blend2 {
  32% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  64% {
    opacity: 1;
  }
  72% {
    opacity: 0;
  }
}
@keyframes img-blend3 {
  64% {
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.img-container {
  position: relative;
  width: 100%;
  height: 34vw;
}

.img-container img {
  opacity: 0;
  position: absolute;
  object-fit: cover;
  transition: opacity 2s;
}

.img-container img.active {
  opacity: 1;
}

.watch-video-button {
  position: absolute;
  top: 16vw;
  width: 100%;
  text-align: center;
  z-index: 100;
}
.watch-video-button a {
  color: white;
}

.video-button {
  border-radius: 50px;
  opacity: 0.8;
  font-size: 130%;
  padding: 0.5em;
  background: var(--bg-color);
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.5s;
}

.video-button:hover {
  box-shadow: 0 0 1em white;
}

.article {
  padding: 1em;
  margin-bottom: 2em;
  border-bottom: 5px solid var(--yellow);
  border-radius: 0px 0px 20px 0px;
}

.submit-button {
  border-radius: 10px;
  text-align: center;
  height: 30px;
  margin: 10px;
  padding-top: 10px;
  cursor: pointer;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  background: var(--yellow);
  color: var(--bg-color);
}

.delete-button {
  display: inline-block;
  border-radius: 10px;
  text-align: center;
  height: 30px;
  margin: 10px;
  padding-top: 10px;
  cursor: pointer;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  background: darkred;
  color: white;
}
.login-container {
  display: grid;
  grid-template-rows: auto auto auto auto;
  grid-template-columns: auto;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
input {
  padding: 5px;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 100%;
}

.login-button {
  cursor: pointer;
  padding-top: 7px;
  width: 100%;
  color: var(--bg-color);
  background: var(--yellow);
  border-radius: 10px;
  height: 27px;
  border: none;
  margin-top: 1em;
}

.error-message {
  width: 40%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  background: red;
  text-align: center;
  border-radius: 20px;
  padding-top: 2em;
  padding-bottom: 2em;
  font-weight: bold;
  font-size: 150%;
}

/*------ FOOTER ------*/
main::after {
  position: absolute;
  bottom: -1px;
  content: " ";
  background: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon style="fill:white" points="0,0 50,100 100,0 100,100 0, 100"/></svg>');
  display: block;
  width: 100%;
  height: calc(var(--sep-height) * 1vw);
  background-size: 100% 100%;
}

footer {
  padding: 0em 2em 2em 2em;
  background: white;
  grid-area: footer;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "contacts service social";
  text-align: center;
  vertical-align: middle;
}

footer div:nth-child(2) {
  margin: 0em 2em 0em 2em;
  padding: 0em 2em 0em 2em;
  border-left: 0.5px var(--bg-color) solid;
  border-right: 0.5px var(--bg-color) solid;
}

footer a {
  color: var(--bg-color);
  text-align: left;
  text-decoration: none;
}

.contact-person {
  padding: 1em;
  margin-bottom: 2em;
  text-align: left;
  border-left: 0.5em var(--yellow) solid;
  background: var(--bg-color);
  color: white;
  box-shadow: 0.5em 0.5em 0.5em slategray;
  border-radius: 20px 0px 20px 0px;
  transition: box-shadow 0.5s, transform 0.5s;
}

.contact-person:hover {
  transform: scale(1.1);
  box-shadow: 1em 1em 1em slategray;
}

.contact-person-name {
  font-weight: bold;
  font-size: 130%;
}
.contact-person-name::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f007";
  padding-right: 1em;
}
.contact-person-mail {
  color: white;
}
.contact-person-mail::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0e0";
  padding-right: 1em;
}
.contact-person-tel::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f095";
  padding-right: 1em;
}
.contact-person-mobile::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f3cd";
  padding-right: 1.4em;
}

.brand-icon {
  font-size: 400%;
  color: var(--bg-color);
}

.top-button {
  text-align: center;
  position: fixed;
  bottom: 1em;
  right: 1em;
  text-decoration: none;
  color: var(--bg-color);
  font-weight: bold;
  font-size: 140%;
  width: 1em;
  height: 1em;
  background: white;
  box-shadow: 0em 0em 0.2em slategray;
  border-radius: 20%;
  display: none;
}

/*------ BAND ------*/
.band {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-image: url("../band/floor.jpg");
  background-repeat: repeat;
  display: grid;
  grid-template-columns: 2fr 4fr;
  grid-template-rows: repeat(4, auto);
  grid-template-areas:
    "rhythm trumpets"
    "rhythm trombones"
    "rhythm sax"
    "conductor singers";
}
.section {
  cursor: pointer;
  position: relative;
}
.section::after {
  content: attr(section);
  position: absolute;
  background: var(--bg-color);
  padding: 1em;
  border: 0.3em white inset;
  font-size: 140%;
  color: var(--yellow);
  bottom: 1vw;
  left: 15vw;
  display: inline-block;
  overflow: hidden;
  text-align: center;
  opacity: 0;
  transition: left 1s, opacity 1s, display 1s;
  z-index: 10;
  white-space: nowrap;
  width: 0px;
}
.section:hover::after {
  width: initial;
  opacity: 1;
  left: 5vw;
  bottom: -11vh;
}

.rhythm {
  grid-area: rhythm;
}
.trumpets {
  grid-area: trumpets;
}
.trombones {
  grid-area: trombones;
}
.sax {
  grid-area: sax;
}
.singers {
  grid-area: singers;
}
.conductor {
  grid-area: conductor;
  text-align: right;
}

.band-icon {
  max-width: 5vw;
  max-height: 5vw;
  padding: 1em;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: filter 1s, -webkit-filter 1s;
}
.section:hover .band-icon,
.section.active .band-icon {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.band-description {
  display: none;
}

.default-content {
  display: block;
}

.person {
  font-size: 150%;
  border-left: 5px var(--yellow) solid;
  border-radius: 5px 0px 20px 0px;
  display: grid;
  grid-template-columns: 4fr 8fr;
  grid-template-areas: "img text";
  grid-template-rows: min-content;
  margin-bottom: 4em;
  margin-top: 4em;
  border-bottom: 1px solid var(--yellow);
}

.person img {
  grid-area: img;
  object-fit: cover;
  position: relative;
  height: 200px;
  width: 200px;
}

.info {
  grid-area: text;
  margin-left: 1em;
}

.info .name {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 0.2em;
}

.info .part {
  margin-top: 0.2em;
  font-size: 80%;
}

.modal-container {
  z-index: 1000;
  position: fixed;
  left: 0vw;
  width: 100vw;
  height: 100vh;
  background: transparent;
  display: none;
  grid-template-columns: 3fr 9fr 3fr;
}

.modal {
  background: white;
}

.modal-box {
  background: transparent;
}

#big-image {
  object-fit: contain;
  max-height: 55vh;
  height: auto;
}

.progress-bar {
  height: 8px;
  margin-left: auto;
  margin-right: auto;
  width: 0px;
  background: var(--bg-color);
}

.toggle-button {
  color: var(--bg-color);
  font-size: 140%;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

.prev-button,
.next-button,
.close-button {
  color: var(--bg-color);
  cursor: pointer;
  font-size: 140%;
  font-weight: bold;
}

.mobile-only {
  display: none;
}

.prev-button {
  display: inline-block;
  margin-left: 1em;
}
.prev-button::before {
  content: "<< ";
}
.next-button {
  display: inline-block;
  margin-right: 1em;
}
.next-button::after {
  content: " >>";
}
.close-button {
  float: right;
  margin-right: 1em;
  margin-top: 0.5em;
}

.concert-description {
  color: var(--bg-color);
  text-align: center;
  font-size: 110%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.galerie-section {
  border-bottom: 5px solid var(--yellow);
  border-radius: 0px 0px 20px 0px;
}

.galerie-section a {
  color: var(--yellow);
  text-decoration: none;
}

.galerie-image {
  cursor: pointer;
  height: 200px;
  width: 200px;
  object-fit: cover;
  margin: 0.5em;
  border: 10px white solid;
  border-bottom: 40px white solid;
  box-shadow: 0.3em 0.3em 0.8em lightslategrey;
  transition: all 0.5s;
}

.galerie-image:hover {
  transform: scale(1.1);
}

/*-----------NEWS----------*/
.timeline {
  position: relative;
  width: 100%;
  padding-left: 10px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  height: 100%;
  border-left: 2px dashed var(--yellow);
}
.timeline h2 {
  position: relative;
  color: var(--yellow);
  padding-left: 30px;
  text-indent: -30px;
  padding-right: 30px;
}
.timeline h2::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: white;
  transform-origin: center center;
  transform: translate(-50%, -50%);
}
.timeline h2::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: var(--yellow);
  transform-origin: center center;
  transform: translate(-50%, -50%);
}
.timeline h2 span {
  color: white;
  font-size: 50%;
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--yellow);
  padding: 0px 30px;
  vertical-align: top;
}
.timeline img {
  float: right;
  max-width: 40%;
  min-width: 200px;
  margin: 40px;
  object-fit: contain;
  border-radius: 20px 0 20px 0;
  box-shadow: 0px 3px 0px 0px slategrey;
}
.timeline-container {
  padding-left: 30px;
}
.timeline-container a {
  text-decoration: underline;
  color: var(--yellow);
  font-weight: bold;
}
#weiterlesen-button {
  width: 50%;
  margin: 0 auto;
  text-align: center;
  background: var(--yellow);
  color: var(--bg-color);
  border-radius: 10px;
  cursor: pointer;
}
.clearfix {
  overflow: auto;
  width: 100%;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.ql-snow .ql-stroke {
  stroke: var(--yellow) !important;
}
.ql-snow .ql-fill,
.ql-snow .ql-stroke.ql-fill {
  fill: var(--yellow) !important;
}
#news-img {
  width: 38%;
  display: inline-block;
  height: 200px;
  border: 1px solid white;
  margin: 5px;
  vertical-align: top;
  text-align: center;
}
#news-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
#img-form {
  max-width: 59%;
  display: inline-block;
}
#img-upload-button, .new-article-button {
  border: none;
  color: var(--bg-color);
  background: var(--yellow);
  border-radius: 10px;
  text-align: center;
}
#img-delete-button {
  border: none;
  color: white;
  background: darkred;
  border-radius: 10px;
  margin-top: 0;
}
#article-select {
  width: calc(100% - 250px);
  margin-right: 25px;
  padding: 5px;
}
blockquote {
  border-left: 5px slategrey solid;
  border-radius: 10px;
  box-shadow: 0em 0.4em 0em slategrey;
  padding: 20px;
}
pre {
  background: black;
  margin: 20px 0;
  padding: 20px;
  font-family: "Courier New", monospace;
  color: var(--yellow);
}
.warning {
  color: darkred;
  font-weight: bold;
  background: white;
  padding: 5px;
  border-radius: 10px;
}

/*------ MOBILE ------*/
@media screen and (max-width: 600px) {
  body {
    grid-template-columns: 1fr;
    grid-template-rows: min-content max-content max-content;
    grid-template-areas:
      "header"
      "main"
      "footer";
  }

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .navbar-standard {
    display: none;
  }

  .navbar-mobile {
    display: block;
  }

  .home-logo {
    max-height: calc((var(--header-size) - 5) * 1px);
    cursor: pointer;
  }

  .menu-button {
    display: inline-block;
    text-align: right;
    position: absolute;
    right: 1em;
    top: 10px;
  }

  .bar1,
  .bar2,
  .bar3 {
    width: 35px;
    height: 4px;
    background-color: var(--bg-color);
    margin: 6px 0;
    transition: 0.4s;
  }

  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6.5px, 6px);
    transform: rotate(-45deg) translate(-6.5px, 6px);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }

  .menu {
    display: none;
    text-align: center;
    margin-top: 0em;
    padding-top: 1em;
    padding-left: 0;
    border-top: 1px solid var(--yellow);
  }

  .menu a {
    color: var(--bg-color);
    font-size: 120%;
    line-height: 200%;
  }

  .img-container {
    height: 54vw;
  }

  .watch-video-button {
    top: 36vw;
  }

  .modal-container {
    grid-template-columns: 1fr 99fr 1fr;
  }

  .band {
    width: 100%;
  }

  .band-icon {
    max-width: 14vw;
    max-height: 14vw;
    padding: 0px;
  }

  .section::after {
    display: none;
  }

  .person {
    grid-template-rows: auto auto;
    grid-template-columns: 100%;
    grid-template-areas:
      "img"
      "text";
  }

  footer {
    position: relative;
    top: -2px;
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content max-content;
    padding: 2em 0em 2em 2em;
    grid-template-areas:
      "contacts"
      "social"
      "service";
  }

  footer div:nth-child(1) {
    margin-right: 2em;
  }

  footer div:nth-child(2) {
    border-left: none;
    border-right: none;
  }

  footer div:nth-child(3) {
    margin: 2em 0em 2em 0em;
    padding: 2em 0em 2em 0em;
    border-top: 0.5px var(--bg-color) solid;
    border-bottom: 0.5px var(--bg-color) solid;
  }
}
