/* reset */
* {
  margin: 0px;
  padding: 0px;
  border: none;
  line-height: inherit;
  font-size: 100%;
  font-weight: inherit;
  font-style: inherit;
  text-decoration: inherit;
  color: inherit;
  list-style-type: none;
  text-align: inherit;
}

body {
  background: url(options_background.png);
  color: #fff;
  font-family: sans;
  margin: auto;
}

@media screen and (min-width: 800px) {
  body {
    font-size: 150%;
  }
}

h1,
h2,
h3,
figcaption {
  text-shadow: 0.125em 0.125em 0em #3f3f3f;
  font-family: "Teko", sans-serif;
  font-weight: bold;
  letter-spacing: 0.2em;
  line-height: 1em;
  text-align: center;
}

#resource-pack-list {
  width: min-content;
  margin: 0 auto;
}

.resource_pack_button {
  overflow: hidden;
  background: black;
  margin: 1em;
  width: 22em;
  max-width: 90vw;
}

.resource_pack {
  float: left;
  position: relative;
  margin-right: 0.5em;
}

.resource_pack img {
  height: 4em;
  width: auto;
}

.select_icon,
.hover_icon {
  position: absolute;
  top: 0em;
  left: 0em;
  display: none;
}

.resource_pack:hover .select_icon {
  display: block;
}

header:hover .hover_icon {
  display: block;
}

.button {
  display: block;
  border: 0.125em solid;
  border-radius: 1em;
  padding: 0.5em;
  text-align: center;
  margin: auto;
}

.button:hover {
  color: #dccd50;
}

h2 {
  margin-top: 1em;
  text-transform: uppercase;
  font-size: 150%;
}

h1 {
  margin-top: 1em;
  margin-left: 1em;
  margin-right: 1em;
  font-size: 200%;
}

.resource_pack_button h2 {
  color: #808080;
  margin: 0em;
  text-transform: none;
  font-size: inherit;
}

.resource_pack_button h1, .resource_pack_button h2, .resource_pack_button h3 {
  text-align: left;
}



ul,
ul li {
  list-style: disc outside;
}
ul {
  padding-left: 2em;
}

.inventory {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

figure {
  text-align: center;
  margin-bottom: 1em;
  margin-left: 1em;
  margin-right: 1em;
  display: table;
}

figcaption {
  display: table-caption;
  caption-side: bottom;
}

p,
ul {
  margin: 0.5em 0em;
  text-align: justify;
}

p {
  text-indent: 1em;
}

aside {
  font-style: italic;
  font-size: 90%;
  text-align: center;
  margin: 0.5em auto;
}

.resource_pack_button h1 {
  font-size: inherit;
  margin: 0em;
  text-align: left;
}

a {
  text-decoration: underline;
}
.resource_pack_button a {
  text-decoration: none;
}

#title {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 10;
}
#title img {
  display: block;
  max-height: 150px;
  max-width: 75%;
  margin: auto;
}

section {
  margin: 0.5em;
}

@media screen and (min-width: 1200px) {
  main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    max-width: 30em;
  }
}
.slide > img,
.slider .slide {
  width: 720px;
}

.slider,
.slider::before,
.slider::after,
.slider .slide,
.slide > img {
  height: 405px;
}

@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-720px * 8));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-720px * 8));
  }
}
.slider {
  background: black;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.slider::before,
.slider::after {
  background: linear-gradient(to right, black 0%, rgba(0, 0, 0, 0) 100%);
  content: "";
  position: absolute;
  width: 20%;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(720px * 16);
}
