@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Shadows+Into+Light&display=swap");
@keyframes color-change {
  0% {
    fill: #632b02;
  }
  50% {
    fill: black;
  }
  100% {
    fill: #632b02;
  }
}

@keyframes pulseBox {
  0% {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6);
  }
  100% {
    box-shadow: 0px 0px 18px 0px rgba(27, 0, 0, 0.9);
  }
}

body {
  position: relative;
  height: 100%;
  color: white;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  background-image: url("src/pics/background.png");
  background-position: center center;
  background-size: 200px 200px;
}

body, body main {
  margin: 0 auto;
}

body main {
  z-index: 2;
  position: relative;
}

a:link, a:visited {
  color: white;
}

#site_logo {
  width: 200px;
  height: 200px;
  max-width: 50vw;
  max-height: 50vw;
  fill: #632b02;
  animation: color-change 1s infinite alternate ease-in-out;
}

.items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

dl.item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80vw;
  height: 170px;
  margin: 20px;
  padding: 20px 40px;
  border-radius: 20px;
  font-size: 1.5rem;
  background-image: url("src/pics/corner-top-right.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-color: rgba(76, 67, 50, 0.5);
  animation: pulseBox 1s infinite alternate ease-in-out;
}

dl.item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("src/pics/corner-bottom-left.png");
  background-position: bottom left;
  background-repeat: no-repeat;
  pointer-events: none;
}

dl.item:nth-of-type(even) {
  background-image: url("src/pics/corner-top-left.png");
  background-position: top left;
  background-repeat: no-repeat;
}

dl.item:nth-of-type(even):before {
  background-image: url("src/pics/corner-bottom-right.png");
  background-position: bottom right;
  background-repeat: no-repeat;
}

dl.item span.qty {
  color: yellow;
  font-family: 'Shadows Into Light', cursive;
  font-size: 3rem;
}

.gold {
  color: gold;
  font-family: 'Shadows Into Light', cursive;
  font-size: 3rem;
  text-shadow: 1px 2px 4px gray;
}

footer {
  padding-bottom: 100px;
}

footer #teslona_banner {
  height: calc(21vw - 13px);
  width: calc(100% - 20px);
  max-width: 1080px;
  max-height: 220px;
  margin: 100px auto 0;
  background-image: url("src/pics/teslona-banner.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
}

footer #teslona_banner a {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

footer #teslona_banner a:hover, footer #teslona_banner a:active {
  background-color: rgba(0, 0, 0, 0.2);
}

footer #teslona_banner img {
  display: block;
  width: 200px;
  margin: 0 0 12px 10px;
}

@media all and (min-width: 1023px) {
  footer #teslona_banner img {
    width: 200px;
    margin: 0 0 12px 10px;
  }
}

iframe.ordered-item {
  border: none;
}
