:root {
  --gutter: 20px;
  --font-size-small: 14px;
}

@media (min-width: 760px) {
  :root {
    --gutter: 40px;
  }
}

* {
  line-height: 20px;
  box-sizing: border-box;
  background-color: #d9d9d9;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: lighter;
}

body {
  padding: 0;
  margin: var(--gutter);
}

a {
  color: black;
  text-decoration: none;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.text-small {
  font-size: var(--font-size-small);
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  font-size: 2em;
}

.left-container {
  display: flex;
  flex-direction: column;
  gap: calc(var(--gutter) / 2);
}

@media (max-width: 760px) {
  .left-container {
    gap: var(--gutter);
  }
}

.right-container p + p {
  margin-top: 1.5rem;
}

.title {
  width: 80%;
  margin: 0 auto 20px auto;
  text-align: center;
  font-family: sans-serif;
}

.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

@media (max-width: 760px) {
  .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

span {
  line-height: 1rem;
  font-size: 0.8rem;
}

#presale {
  line-height: 1rem;
  color: #ff0090;
  font-size: 1rem;
}

select {
  padding: 0.3125rem;
  border: 1px solid black;
  border-radius: 0;
  background-color: #fff;
  -webkit-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
  transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select:focus {
  outline: none;
}

select::-moz-focus-inner {
  border: 0;
}

.buy-button {
  display: inline-block;
  padding: 0.2rem 1rem 0.2rem 1rem;
  margin-top: 0.5rem;
  border: 1px solid black;
  border-radius: 0.5rem;
  background-color: #fff;
  transition: none;
  text-align: center;
  vertical-align: middle;
  -webkit-appearance: none;
}

.buy-button:hover {
  border-color: #ff0090;
  color: #ff0090;
}

.details {
  display: grid;
  margin: 0.75rem 0;
  grid-template-columns: auto 1fr;
  gap: 0 60px;
}

@media (max-width: 760px) {
  .details {
    gap: 0 var(--gutter);
  }
}

.details p {
  font-size: var(--font-size-small);
}

.details p + p {
  margin: 0;
}

.text-small + .text-small {
  margin-top: 0.75rem;
}

form {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin: 40px 0 0 0;
  gap: 20px;
}
