:root {
  --black: rgb(6, 6, 6);
  --white: rgb(245, 245, 245);
}

/* metal-mania-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: "Metal Mania";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/metal-mania-v22-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-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: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/libre-baskerville-v16-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-italic - 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: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/libre-baskerville-v16-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libre-baskerville-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: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/libre-baskerville-v16-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  background-color: var(--black);
  height: 30vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

h3,
h4,
h5,
blockquote,
button,
input,
p,
a,
label,
li {
  font-family: "Libre Baskerville";
}

h3 {
  font-size: 2.5rem;
}

p {
  font-size: 1rem;
  margin: 1rem 0;
  line-height: 1.5rem;
}

ul {
  margin: 0 1rem;
}

li {
  font-size: 1rem;
  line-height: 1.5rem;
}

blockquote {
  font-size: 2rem;
  align-self: center;
}

h4 {
  font-size: 2rem;
  margin: 3rem 0 0;
}

h5 {
  font-size: 1.5rem;
}

.bannerSchrift {
  color: var(--white);
  text-align: center;
  font-family: "Metal Mania";
  font-size: 5rem;
}

#hamburger {
  width: 35px;
  height: 30px;

  cursor: pointer;
  display: none;
}

#hamburger span {
  height: 4px;
  width: 2.5rem;
  background: var(--black);
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.4s ease;
}

nav {
  margin: 1rem 0;
  display: flex;
}

nav ul {
  list-style: none;
  width: auto;
  margin: auto;
}

nav li {
  display: inline;
}

a {
  text-decoration: none;
}

.navLinks {
  color: var(--black);

  font-weight: 700;
  font-size: 2rem;
  padding: 1rem 4rem;
}

.navLinks:hover {
  color: var(--white);
  background-color: var(--black);
}

.contents {
  display: grid;

  grid-template-columns: 1fr 2fr 1fr;
  margin: 2rem 0;
}

.grid {
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 2.5rem;
}

main div {
  margin: 1rem;
}

hr {
  border: 2px var(--black) solid;
  border-radius: 5px;
  margin: 3rem 0;
}

.zitat {
  display: flex;
  flex-direction: column;
  align-items: end;
  font-style: italic;
}

.articleImages {
  margin: 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
}

.articleImages img {
  width: 100%;
}

.articleImages p {
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.ermittlungsPreview {
  height: 20rem;
  overflow: hidden;
}

.weiterlesen {
  display: flex;
  justify-content: end;
}

input {
  height: 3vh;
  width: 50%;
  margin: 1rem 0 0;
  font-size: 1rem;
  padding: 5px;
}

button {
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  padding: 10px;
  font-weight: 700;
  color: var(--white);
  background-color: var(--black);
  cursor: pointer;
}

footer {
  background-color: var(--black);
  height: 30vh;
  width: 100%;
  margin-top: 1rem;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}

.copyrightLine {
  margin-top: 0;
  color: var(--white);
}

.footerLinks {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.footerLinks a {
  color: var(--white);
  margin-bottom: 1rem;
}

.shoppingcart {
  width: 100%;
  display: flex;

  justify-content: flex-end;
  padding: 0 5rem;
}

.shoppingcart img {
  width: 3rem;
  transform: scaleX(-1);
  cursor: pointer;
}

.popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 1000px;
}

.popup-content h4 {
  font-size: 4rem;
}

.popup-content span {
  font-size: 3rem;
}

.popup-content p {
  padding: 3rem;
  font-size: 2.5rem;
  line-height: 3rem;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.shopGrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 0 0 5rem;
}

.shopGrid a {
  color: var(--black);
}

.shopGrid img {
  width: 100%;
}

.shopHeadline {
  text-align: center;
  margin: 3rem 0 5rem;
}

.shopGridLine {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gridPreis {
  margin: 0.5rem 0;
  font-weight: 700;
}

.shopContents {
  display: grid;
  grid-template-columns: 3fr 8fr 2fr;
}

.shopItemGrid {
  margin: 7.5rem 0;
  display: grid;
  grid-template-columns: 1fr 7fr 5fr;
  gap: 1rem;
}

.shopItemGrid img {
  width: 100%;
}

.itemThumbnail {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: space-between;
}

.itemThumbnail img {
  cursor: pointer;
}

.bigPictureContainer {
  position: relative;
}

.bigPicture {
  position: absolute;
  left: 0;
  top: 0;

  visibility: hidden;
}

.visible {
  visibility: visible;
}

.amount {
  margin: 1rem 0;
  display: inline-flex;
  background: black;
  border-radius: 10px;
}

.amount button {
  padding: 0 1rem;
  background: none;
}

.amount p {
  background: var(--black);
  color: var(--white);

  font-size: 1.25rem;
  font-weight: 700;
}

#count {
  display: inline-block;
  width: 40px;
  text-align: center;
}

.shopDescription {
  margin-left: 2rem;
}

#preis {
  font-size: 2rem;
  text-align: right;
  width: 140px;

  font-weight: 700;
}

.ueberUns {
  margin: 5rem 0 10rem;
}

.van {
  width: 20vw;
}

.emailIntro {
  font-size: 1.5rem;
  margin-top: 5rem;
}

.kontakt {
  display: flex;
  flex-direction: column;
  margin: 2rem 0 10rem;
}

label {
  font-size: 1.5rem;
  margin: 1rem 0 0;
}

textarea {
  margin: 1rem 0;
  max-width: 50%;
}

.flexButton {
  position: absolute;
}

.impressum {
  margin: 2rem 0 15rem;
}

.impressum p {
  font-size: 1.25rem;
  line-height: 2rem;
}

.datenschutz {
  margin: 2rem 0 15rem;
}

#errorMessage {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#error1 {
  font-size: 20rem;
  font-family: Arial, Helvetica, sans-serif;
}

#error2 {
  font-size: 5rem;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 17.5rem;
}

@media (max-width: 599px) {
  .bannerSchrift {
    font-size: 3rem;
  }

  main div {
    margin: 0;
  }

  .van {
    width: 100%;
    margin: 2rem 0;
  }

  .contents {
    grid-template-columns: 1fr;
    margin: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .impressum {
    padding: 1rem;
  }

  .datenschutz {
    margin: 1rem;
  }

  .hamburgerSpace {
    padding-right: 2rem;
    width: 100%;
    display: flex;
    justify-content: end;
  }

  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    margin: 1rem 0;
  }

  nav {
    position: absolute;
    top: -30px;
    display: flex;
    justify-content: center;
    background: white;

    padding: 10px;
    width: 100%;
    transition: top 0.5s ease;
  }

  nav ul {
    list-style: none;
    padding: 60px 0 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  nav li {
    margin: 10px 0;
    text-align: center;
  }

  .hidden {
    position: absolute;
    top: -500px;
    transition: top 0.5s ease;
  }

  .up {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
  }

  .cross span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }

  .cross span:nth-child(2) {
    opacity: 0;
  }

  .cross span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
  }

  .shoppingcart {
    padding-right: 1.5rem;
  }

  .shopGrid {
    grid-template-columns: 1fr;
  }

  .shopContents {
    display: flex;
  }

  .shopItemGrid {
    display: flex;
    flex-direction: column;
  }

  .itemThumbnail {
    display: none;
  }

  .bigPicture {
    position: relative;
    display: none;
  }

  .visible {
    display: block;
    padding: 1rem;
  }

  .popup-content {
    max-width: 900px;
  }

  .popup-content span {
    font-size: 5rem;
  }

  .popup-content h4 {
    font-size: 3.5rem;
  }
  .popup-content p {
    font-size: 2rem;
    line-height: 2rem;
    padding: 2rem 0;
  }
  .emailIntro {
    line-height: 2rem;
    margin-top: 1rem;
  }

  input {
    width: 100%;
    height: 5vh;
  }

  textarea {
    max-width: 100%;
  }
}

@media (min-width: 600px) and (max-width: 1281px) {
  .bannerSchrift {
    font-size: 5rem;
  }

  main div {
    margin: 0;
  }

  .van {
    width: 100%;
    margin: 2rem 0;
  }

  .contents {
    grid-template-columns: 1fr 10fr 1fr;
    margin: 1rem 0 10rem;
  }

  .grid {
    grid-template-columns: 8fr 1fr;
    gap: 0;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .ueberUns .grid {
    display: flex;
    flex-direction: column;
  }

  .impressum {
    padding: 1rem;
  }

  .datenschutz {
    margin: 1rem;
  }

  .hamburgerSpace {
    padding-right: 2rem;
    width: 100%;
    display: flex;
    justify-content: end;
  }

  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    margin: 1rem 0;
  }

  nav {
    position: absolute;
    top: -30px;
    display: flex;
    justify-content: center;
    background: white;

    padding: 10px;
    width: 100%;
    transition: top 0.5s ease;
  }

  nav ul {
    list-style: none;
    padding: 60px 0 100px;

    margin: 0;
    display: flex;
    flex-direction: column;
  }

  nav li {
    margin: 10px 0;
    text-align: center;
  }

  .hidden {
    position: absolute;
    top: -500px;
    transition: top 0.5s ease;
  }

  .up {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
  }

  .cross span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }

  .cross span:nth-child(2) {
    opacity: 0;
  }

  .cross span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
  }

  .shoppingcart {
    padding-right: 1.5rem;
  }

  .shopGrid {
    grid-template-columns: 1fr;
  }

  .shopContents {
    display: flex;
  }

  .shopItemGrid {
    display: flex;
    flex-direction: column;
  }

  .itemThumbnail {
    display: none;
  }

  .bigPicture {
    position: relative;
    display: none;
  }

  .visible {
    display: block;
    padding: 1rem;
  }

  .popup-content {
    max-width: 900px;
  }

  .popup-content span {
    font-size: 5rem;
  }

  .popup-content h4 {
    font-size: 3.5rem;
  }
  .popup-content p {
    font-size: 2rem;
    line-height: 2rem;
    padding: 2rem 0;
  }
  .emailIntro {
    line-height: 2rem;
    margin-top: 1rem;
  }

  input {
    width: 100%;
    height: 5vh;
  }

  textarea {
    max-width: 100%;
  }
}
