/* --- Home Seite Schlarpe --- */

.cardsinfo {
  display: grid;
  grid-template-columns: 1fr 6fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    ". info ."
    ". boxes .";
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#152015),
    to(#152015)
  );
  background: linear-gradient(#152015, #152015);
  padding: 0 0 100px 0;
}

/* Infobox opening time / about */
.infobox.card {
  grid-area: info;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "day text text"
    "hour text text";
  gap: 50px;
  padding: 2.5rem;
  margin: 50px auto 100px auto;
  max-width: 800px;
  border-radius: 5px;
  background-color: rgb(224, 224, 224);
  -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.infobox.card p {
  color: var(--darkgreen);
}

p.custom-text {
  grid-area: text;
}

.custom-text span {
  font-family: var(--annie);
  font-size: 1.5rem;
}

p.opening-time {
  font-size: 2.5rem;
  grid-area: hour;
}

p.opening-day {
  font-size: 1.8rem;
  padding-bottom: 1rem;
  grid-area: day;
}

/* Card Boxes Info CTA */
.cardsinfo .container {
  grid-area: boxes;
  display: grid;
  margin: auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 900px;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  position: relative;
  left: 18px;
}

.card-box {
  width: 250px;
  height: 250px;
  position: relative;
  -webkit-box-shadow: 0 0 10px rgba(80, 80, 80, 0.473);
  box-shadow: 0 0 10px rgba(80, 80, 80, 0.473);
  background-size: cover;
  border: 1px solid var(--white-green);
  -webkit-transition: 0.24s;
  transition: 0.24s;
}

.card-box:hover {
  border: 3px solid var(--white);
}

.card-box:first-of-type {
  background-image: url("../images/schlarpe-jamsesseion.png");
}
.card-box:nth-of-type(2) {
  background-image: url("../images/schlarpe-karaoke.png");
}
.card-box:nth-of-type(3) {
  background-image: url("../images/schlarpe-livesound.png");
}

.card-box a {
  position: absolute;
  background-color: var(--pastel-green);
  bottom: -10px;
  right: -18px;
  padding: 0.6rem 1.2rem;
  color: var(--darkgray);
  font-family: var(--annie);
  -webkit-transition: 0.24s;
  transition: 0.24s;
  font-size: 1.5rem;
}

.card-box a:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  background-color: var(--white-green);
}

/* SECTION Jam Session */
.jam-session-dates {
  width: 100%;
  background-image: url("../images/vinyl-band-bg.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  -webkit-box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.678);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.678);
}

.jam-container {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr;
  grid-template-areas: ". image jam .";
}

.jam-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  grid-area: image;
}

/* polaroid look */
.card-img {
  background-color: var(--white);
  display: inline-block;
  -webkit-transform: rotate(-17deg);
  transform: rotate(-17deg);
  padding-bottom: 3rem;
  position: relative;
  -webkit-box-shadow: 0 0 20px 2px black;
  box-shadow: 0 0 20px 2px black;
  -webkit-box-shadow: inset 0 0 20px rgb(134, 133, 133);
  box-shadow: inset 0 0 20px rgb(134, 133, 133);
}

.card-img img {
  width: 300px;
  padding: 1rem;
}

.card-img a {
  color: var(--darkgreen);
  position: absolute;
  left: 60px;
  bottom: 10px;
  -webkit-transform: rotate(-2deg);
  transform: rotate(-2deg);
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  font-family: var(--annie);
  text-shadow: 0 0 5px rgb(184, 184, 184);
}

.card-img a:hover {
  color: var(--darkred);
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
  -webkit-transition: 4ms;
  transition: 4ms;
}

.jam-dates {
  grid-area: jam;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.date-item {
  font-size: 1.2rem;
  color: var(--white);
  padding: 0.4rem;
  letter-spacing: 0.05em;
  display: block;
  width: 100%;
}
.date-item span {
  color: var(--pastel-green);
  width: 100%;
  display: block;
  padding-top: 0.2rem;
  padding-bottom: 1rem;
}

/* SECTION Concert Dates */
.cnt-concert-dates {
  display: grid;
  grid-template-columns: 1fr 3fr 2fr 1fr;
  grid-template-areas: ". dates image .";
  padding: 150px 0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#152015),
    to(#152015)
  );
  background: linear-gradient(#152015, #152015);
}

.concert-dates {
  grid-area: dates;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

p.platzhalter-datum {
  font-size: 2rem;
  max-width: 300px;
}

a.concert-placeholder {
  background-color: var(--white);
}

/* polaroid */
.concert-image {
  grid-area: image;
  margin: auto;
}

.card-img.concerts {
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);
}

/* Tablets */
@media screen and (max-width: 990px) {
  /* Infobox opening time / about */
  .infobox.card {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
      "day hour"
      "text text";
    gap: 20px;
    width: 95%;
    padding: 1.8rem;
  }

  p.opening-time {
    font-size: 2rem;
    grid-area: hour;
  }

  /* Card Boxes Info CTA */
  .cardsinfo .container {
    grid-area: boxes;
    display: grid;
    margin: auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 600px;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 2fr 1fr;
  }

  .card-box:nth-of-type(3) {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 350px;
  }

  /* SECTION Jam Session */

  .jam-container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image jam";
    gap: 50px;
  }

  /* polaroid look */
  .card-img img {
    width: 200px;
    padding: 0.5rem;
  }

  .card-img a {
    left: 20px;
    font-size: 1.8rem;
  }
}

/* Tablets small */
@media screen and (max-width: 760px) {
  /* Infobox opening time / about */
  .infobox.card {
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      "day"
      "hour"
      "text";
  }

  /* Card Boxes Info CTA */
  .cardsinfo .container {
    gap: 40px;
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr 1fr;
    position: relative;
    min-width: 80%;
    left: 0;
  }

  .card-box:nth-of-type(3) {
    position: static;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  /* SECTION Concert Dates */
  .cnt-concert-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "dates image";
    padding: 150px 0;
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(#152015),
      to(#152015)
    );
    background: linear-gradient(#152015, #152015);
  }

  /* SECTION Jam Session */
  .jam-session-dates {
    background-image: url("../images/vinyl-band-bg-mobile.png");
    background-size: contain;
    background-attachment: scroll;
  }
}

/* Mobile Phones */
@media screen and (max-width: 600px) {
  .cardsinfo {
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    grid-template-areas:
      "info info info"
      "boxes boxes boxes";
  }

  /* SECTION Jam Session */
  .jam-container {
    grid-template-columns: 100%;
    grid-template-rows: 300px auto;
    grid-template-areas:
      "image"
      "jam";
  }

  /* SECTION Concert Dates */
  .cnt-concert-dates {
    grid-template-columns: 100%;
    grid-template-rows: 300px auto;
    grid-template-areas:
      "image"
      "dates";
  }
}
