html,
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Domine", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

button.theme-button {
  position: relative;
  border: 0;
  border-radius: 0;
  margin-top: 1rem;
  padding: 1rem 2rem;
  background-color: #52121b;
  font-size: 1.2rem;
  color: #ffffff;
  outline: none;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease;
}

button.theme-button .content {
  display: flex;
  justify-content: center;
  align-items: center;
}

button.theme-button .content input[type="submit"] {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: color 250ms ease;
}

button.theme-button .link {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

button.theme-button .top,
button.theme-button .right,
button.theme-button .bottom,
button.theme-button .left {
  position: absolute;
  background-color: #52121b;
  transition: all 250ms ease;
}

button.theme-button .top,
button.theme-button .left {
  top: 0;
  left: 0;
}

button.theme-button .bottom,
button.theme-button .right {
  bottom: 0;
  right: 0;
}

button.theme-button .top,
button.theme-button .bottom {
  width: 0rem;
  height: 0.3rem;
}

button.theme-button .right,
button.theme-button .left {
  width: 0.3rem;
  height: 0rem;
}

button.theme-button:hover {
  background-color: transparent;
  color: #52121b;
}
button.theme-button:hover .content input[type="submit"] {
  color: #52121b;
}

button.theme-button:hover .top,
button.theme-button:hover .right,
button.theme-button:hover .bottom,
button.theme-button:hover .left {
  opacity: 1;
}

button.theme-button:hover .top,
button.theme-button:hover .bottom {
  width: 3rem;
}

button.theme-button:hover .right,
button.theme-button:hover .left {
  height: 3rem;
}

@keyframes spin {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #52121b;
  border-right-color: transparent;
  border-radius: 100px;
  margin-left: 0.4rem;
  transform: rotateZ(0deg);
  animation-name: spin;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  animation-play-state: running;
}

button.theme-button .spinner {
  border: 2px solid white;
  border-right-color: transparent;
}

button.theme-button:hover .spinner {
  border-color: #52121b;
  border-right-color: transparent;
}

/* Hide the default checkbox */
.theme-checkbox input {
  display: none;
}

/* Create a custom checkbox */
.theme-checkbox .checkmark {
  position: relative;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

/* On mouse-over, add a grey background color */
.theme-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, change background color */
.theme-checkbox input:checked ~ .checkmark {
  background-color: #52121b;
}

/* Create the checkmark/indicator (hidden when not checked) */
.theme-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.theme-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.theme-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
