/* Fonts */
/* comfortaa-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/comfortaa-v45-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* comfortaa-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/comfortaa-v45-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* comfortaa-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/comfortaa-v45-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* comfortaa-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/comfortaa-v45-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --colWhite: rgb(255, 255, 255);
  --colBlack: rgb(0, 0, 0);
  --colGrey: rgb(36, 36, 36);
  --colGreen: rgb(3, 255, 3);
  --colYellow: rgb(255, 238, 0);
  --colRed: rgb(255, 0, 0);
}

body {
  font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  font-size: 1.1em;
  color: var(--colWhite);
  background-color: var(--colBlack);
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.bg-grey {
  background-color: var(--colGrey);
}

/* Fonts  */
h1 {
  padding-top: 2%;
  font-weight: 700;
  z-index: 10;
}

h2 {
  font-weight: 600;
  padding-bottom: 2%;
}

h3 {
  font-weight: 500;
  padding-bottom: 2%;
  padding-top: 2%;
}

h4 {
  font-size: 0.8em;
  font-weight: 400;
  font-style: italic;
}

p,
ul {
  font-weight: 400;
  line-height: 1.8em;
}

p {
  padding-bottom: 0.2em;
}

a {
  color: var(--colWhite);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--colYellow);
}

.alink {
  color: var(--colGreen);
}

/* Veranstaltungstabelle  */

.table > :not(caption) > * > * {
  color: var(--colWhite);
  background-color: var(--colBlack);
  padding: 1.5em;
}

th {
  font-size: 1.5em;
}

td.onboard {
  color: var(--colGreen);
}

td.onwork {
  color: var(--colYellow);
}

/* Künstler  */

.border {
  width: 0%;
  max-width: 60%;
  margin-top: 2%;
  animation: borderAnimation 5s forwards;
}

/* Navigation */

.nav-link {
  color: var(--colWhite);
  margin-right: 1em;
}

.nav-link:hover {
  color: var(--colYellow);
}

/* Galerien  */

.img-top {
  margin-bottom: 5%;
}

/* Galerie Grid */
.gallery-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}

.gallery-frame {
  padding: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
  background-color: var(--colWhite);
  color: var(--colWhite);
  border-radius: 50%;
}

/*Bilder */
.gallery-img,
.scaleImg {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  border-radius: 50%;
}
.gallery-img:hover {
  opacity: 0.6;
}

/* Popup - Galerie */
.gallery-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--colGrey);
  z-index: 999;
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup img {
  max-width: 90vw;
  max-height: 90vh;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  cursor: pointer;
  color: var(--colBlack);
}

/* Bilder (Künstler und Galerie) */
.img-artist,
.img-top {
  height: 20em;
  border: none;
  border-radius: 50%;
  padding-top: 2em;
  padding-bottom: 2em;
}

.grow {
  transition: all 0.3s ease-in-out;
}

.grow:hover {
  transform: scale(1.1);
  color: var(--colYellow);
}

.artist {
  padding-top: 2em;
  padding-bottom: 2em;
}

/* Buttons */
/* To Top Button  */

#back-to-top-btn {
  height: 2em;
  width: 2em;
  display: none;
  position: fixed;
  bottom: 20%;
  right: 2%;
  z-index: 10;
  font-size: 2em;
  border: none;
  outline: none;
  background-color: var(--colWhite);
  color: var(--colBlack);
  cursor: pointer;
  padding: 1em;
  border-radius: 50%;
}

#back-to-top-btn::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  height: 1em;
  width: 1em;
  border-left: 0.2em solid var(--colBlack);
  border-top: 0.2em solid var(--colBlack);
  border-radius: 15%;
}

#back-to-top-btn:hover::before {
  border-color: var(--colWhite);
}

#back-to-top-btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--colWhite);
}

/* Buttons (Form-Button unter Formular) */

.btn-artist,
.btn-shop {
  color: var(--colYellow);
  font-size: 1.2em;
  padding: 1.5%;
  margin: 2% 0 2% 0;
  border-top: 0.2em solid var(--colYellow);
  cursor: pointer;
}

.btn-artist:hover,
.btn-shop:hover {
  color: var(--colGreen);
  font-size: 1.2em;
  border-bottom: 0.2em solid var(--colGreen);
  cursor: pointer;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  color: var(--colYellow);
  border-bottom: 0.2em solid var(--colGreen);
  border-top: 0.2em solid var(--colGreen);
  border-left: none;
  border-right: none;
}

/* Sections und Container */

.container {
  max-width: 80%;
}

section,
.asection {
  min-height: 70%;
  padding-top: 5%;
  padding-bottom: 5%;
}

/* Formular  */

.form-group {
  padding: 1em 0 1em 0;
}

label {
  padding-bottom: 0.5em;
}

.redstar {
  color: var(--colRed);
}

.formnote {
  font-size: 0.8em;
}

.btn-contact {
  color: var(--colYellow);
  font-size: 1.2em;
  padding: 1.5%;
  border-top: 0.2em solid var(--colYellow);
  cursor: pointer;
}

.btn-contact:hover {
  color: var(--colGreen);
  font-size: 1.2em;
  border-bottom: 0.2em solid var(--colGreen);
  cursor: pointer;
}
/* Footer  */

footer {
  min-height: 8em;
  padding-top: 3em;
}

/* Fade-in Scroll  */

.scroll-animation {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.scroll-animation.animate {
  opacity: 1;
}

/* Keyframes  */

@keyframes borderAnimation {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
