html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Literata', serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #464646;
}

* {
  font-family: 'Literata', serif;
  box-sizing: border-box;
  overflow: hidden;
}

.end-contest {
  text-align: center;
  font-size: 2.5rem;
  padding: 1rem 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.end-contest span {
  display: block;
  margin-top: 1rem;
  color: #e40a2d;
}

header {
  background: #e40a2d;
  color: #fff;
  padding: 1rem 2rem;
}

form {
  padding: 1rem 2rem;
  max-width: 768px;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  line-height: 1;
  position: relative;
  padding-left: 37px;
  background-image: url(/images/svg/019-reindeer.svg);
  background-repeat: no-repeat;
  background-size: 35px 33px;
  background-position: top left;
  max-width: 768px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  padding: 0 2rem;
  font-weight: 700;
  margin: 0 auto;
  line-height: 1.3;
  max-width: 768px;
}

h3 {
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #e40a2d;
  max-width: 768px;
}

h4 {
  margin: 0 auto 1rem;
  font-size: 1rem;
  font-weight: 300;
  max-width: 768px;
}

h5 {
  margin: 0 auto;
  padding: 0 2rem;
  font-size: 1.2rem;
  max-width: 768px;
}

h6 {
  font-size: 1.5rem;
  font-weight: 400;
  padding: 0rem 2rem;
  margin: 0 auto;
  color: #e40a2d;
  max-width: 768px;
}

p {
  font-size: 1rem;
  padding: 0 2rem;
  margin: 0 auto;
  max-width: 768px;
}

select {
  display: block;
  width: 100%;
  max-width: 350px;
  border: none;
  border-bottom: 2px solid black;
  color: #e40a2d;
  margin: 0 0 1rem;
  padding: 0.5rem 0.3rem;
  font-weight: 700;
  font-size: 1rem;
}

select:focus {
  outline: none;
}

button {
  border: none;
  background-color: #e40a2d;
  background-image: url(/images/svg/003-gift_box.svg);
  background-position: 15px 19px;
  background-size: 24px;
  background-repeat: no-repeat;
  color: #fff;
  padding: 1rem 3rem 1rem 3rem;
  border-radius: 0.3rem;
  font-size: 1.2rem;
  font-weight: 700;
  -webkit-box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%),
    0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%),
    0 1px 5px 0 rgb(0 0 0 / 20%);
  transition: all 0.5s ease-out;
}

button:hover {
  -webkit-box-shadow: 0 3px 3px 0 rgb(0 0 0 / 14%), 0 1px 7px 0 rgb(0 0 0 / 12%),
    0 3px 1px -1px rgb(0 0 0 / 20%);
  box-shadow: 0 3px 3px 0 rgb(0 0 0 / 14%), 0 1px 7px 0 rgb(0 0 0 / 12%),
    0 3px 1px -1px rgb(0 0 0 / 20%);
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

@media only screen and (min-width: 768px) {
  .selectors {
    display: flex;
    justify-content: space-between;
  }
}
