@import 'https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap';
@import 'https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap';
/* 400px */
/* 640px */
/* 1040px */
/* 1440px */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body,
#root {
  min-height: 100vh;
  width: 100%;
}

html {
  font: normal 16px "Quicksand", sans-serif;
  line-height: 1.5;
}

body {
  background: hsl(222, 71%, 27%) url("../images/background-lucas-oil.jpg") center no-repeat;
  background-size: cover;
}
body > div {
  min-height: calc(100vh - 4rem);
}

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

button,
.button {
  border: 0;
  border-radius: 0.25rem;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

img {
  max-width: 100%;
}

/* remove light-blue background for autofill text */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  appearance: textfield !important;
  transition: background-color 0s 600000s, color 0s 600000s !important;
}

table {
  border-collapse: collapse;
  width: 100%;
}

input, select {
  border: 0;
  border-radius: 0.25rem;
  font-family: "Quicksand", sans-serif;
  outline: none;
}

input:not([type=submit]), select {
  background-color: hsl(220, 0%, 100%);
  box-shadow: 0 0 0.75rem 0 rgba(0, 0, 0, 0.75);
  color: hsl(220, 0%, 20%);
  font-size: 0.875rem;
  padding: 0.75rem;
}
input:not([type=submit]):focus, select:focus {
  box-shadow: 0 0 0.75rem 0 rgba(0, 175, 248, 0.85);
}
@media (width >= 65rem) {
  input:not([type=submit]), select {
    font-size: 1.125rem;
    padding: 1.25rem 1rem;
  }
}

input[type=checkbox] {
  box-shadow: none;
}
input[type=checkbox]:hover, input[type=checkbox] + span:hover {
  cursor: pointer;
}

select {
  -webkit-appearance: none;
}

.button--submit {
  background-color: hsl(127, 58%, 55%);
  color: hsl(220, 0%, 100%);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 20px;
  padding: 1rem;
  text-transform: uppercase;
  transition: background-color 150ms ease-in-out;
  width: 100%;
}
.button--submit:hover {
  background-color: hsl(127, 62%, 45%);
  cursor: pointer;
}

label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.flex--column {
  display: flex;
  flex-direction: column;
}
@media (width >= 90rem) {
  .flex--column.flex--row-lg {
    flex-direction: row;
  }
}

.flex--row {
  display: flex;
  flex-direction: row;
}

.flex--align-center {
  align-items: center;
}

.flex--justify-center {
  justify-content: center;
}

.flex--justify-end {
  justify-content: flex-end;
}

.flex--spacing-xs {
  gap: 0.5rem;
}

.flex--spacing-sm {
  gap: 1rem;
}

.flex--spacing-md {
  gap: 1.5rem;
}

.flex--spacing-lg {
  gap: 2rem;
}

.flex--width-third {
  max-width: 30%;
}
@media (width <= 460px) {
  .flex--width-third {
    max-width: 29%;
  }
}

.width--fill {
  width: 100%;
}

.height--min-fill {
  min-height: calc(100vh - 96px);
}

.padding--md {
  padding: 1rem;
}
@media (width >= 40rem) {
  .padding--md {
    padding: 1.5rem;
  }
}
@media (width >= 65rem) {
  .padding--md {
    padding: 2rem;
  }
}

.padding--lg {
  padding: 1rem 0;
}
@media (width >= 40rem) {
  .padding--lg {
    padding: 1.5rem 0;
  }
}
@media (width >= 65rem) {
  .padding--lg {
    padding: 2rem 0;
  }
}
@media (width >= 90rem) {
  .padding--lg {
    padding: 0;
  }
}

.padding--xl {
  padding-bottom: 0;
  padding-top: 0;
}
@media (width >= 90rem) {
  .padding--xl {
    padding-bottom: 2rem;
    padding-top: 2rem;
  }
}

.pb--24 {
  padding-bottom: 1.5rem;
}

.pt--24 {
  padding-top: 1.5rem;
}

header, main {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

header {
  width: 920px;
  text-align: center;
}

main {
  width: 600px;
}
main .flex--column, main button {
  width: 100%;
}

.flag {
  border: 2px solid hsl(220, 0%, 100%);
  border-radius: 8px;
  transition: transform 150ms ease-in-out;
}
.flag:hover {
  transform: scale(1.2);
}

footer {
  background-color: hsl(222, 71%, 27%);
  padding: 0.75rem 1.25rem;
}
footer a {
  color: hsl(220, 0%, 100%);
  font-size: 2rem;
}
footer button {
  background-color: transparent;
  font: 1rem "Quicksand", sans-serif;
  padding: 0;
  text-decoration: underline;
}
footer button:hover, footer a:hover {
  color: hsl(222, 71%, 87%);
}

.modal {
  background-color: hsla(222, 71%, 17%, 0.8);
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0%;
  position: fixed;
  top: 0;
  transition: opacity 200ms ease-in-out;
  width: 100%;
}
.modal.modal--open {
  display: flex;
  opacity: 100%;
}

.modal--wrapper {
  background-color: hsl(220, 0%, 100%);
  border-radius: 1.5rem;
  max-height: calc(100% - 3rem);
  max-width: calc(100% - 3rem);
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  width: 65rem;
}
.modal--wrapper h2 {
  margin-bottom: 1.25rem;
}
.modal--wrapper p {
  color: hsl(220, 0%, 20%);
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}
.modal--wrapper p:last-child {
  margin-bottom: 0;
}
.modal--wrapper p a {
  color: hsl(222, 71%, 47%);
  text-decoration: underline;
}
.modal--wrapper p a:hover {
  color: hsl(222, 71%, 67%);
}

.modal--close {
  background: transparent;
  border-radius: 50%;
  color: hsl(220, 0%, 0%);
  font-size: 1.5rem;
  line-height: 2.5rem;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: background 150ms ease-in-out;
  width: 2.5rem;
}
.modal--close:hover {
  background-color: hsl(220, 0%, 96%);
}

.qr-code {
  border: 0.25rem solid hsl(220, 0%, 100%);
  max-width: 90%;
  width: 200px;
}

.language--selector {
  display: block;
  margin-left: 0.75rem;
  margin-top: 0.75rem;
  min-height: auto;
  position: relative;
  width: auto;
}
.language--selector img {
  width: auto;
}
.language--selector select {
  background: transparent url(../images/caret-down.png) right center no-repeat;
  box-shadow: none;
  color: hsl(220, 0%, 100%);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0 1.75rem 0 0;
  text-transform: uppercase;
}
.language--selector select:hover {
  cursor: pointer;
  text-decoration: underline;
}
@media (width >= 40rem) {
  .language--selector {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
  }
}

.box--highlight {
  background-color: rgba(105, 179, 255, 0.3);
  border-radius: 0.25rem;
}

h1, p, label, button, .text--white {
  color: hsl(220, 0%, 100%);
}

h1 {
  font-family: "Alfa Slab One", serif;
  font-size: 1.25rem;
  letter-spacing: 2.5px;
  line-height: 1.125em;
  text-transform: uppercase;
}
@media (width >= 40rem) {
  h1 {
    font-size: 1.75rem;
  }
}
@media (width >= 65rem) {
  h1 {
    font-size: 2.25rem;
  }
}
@media (width >= 90rem) {
  h1 {
    font-size: 3rem;
  }
}

header p {
  font-size: 0.875rem;
  margin-top: 24px;
}
@media (width >= 40rem) {
  header p {
    font-size: 1rem;
  }
}
@media (width >= 65rem) {
  header p {
    font-size: 1.25rem;
  }
}
@media (width >= 90rem) {
  header p {
    font-size: 1.375rem;
  }
}

.form--error {
  background-color: hsl(347, 70%, 87%);
  border-radius: 0.25rem;
  color: hsl(347, 70%, 47%);
  display: none;
  font-weight: 700;
  line-height: 1.25rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}
.form--error::before {
  background-color: hsl(347, 70%, 47%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 0.25rem;
}
.form--error.form--error-present {
  display: block;
}

.link--button {
  border-radius: 1rem;
  color: hsl(220, 0%, 100%);
  display: inline-block;
  font: 700 1rem "Quicksand", serif;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 150ms ease-in-out;
}
.link--button span, .link--button [class*=ph] {
  vertical-align: middle;
}
.link--button [class*=ph] {
  font-size: 1.5rem;
  padding-right: 0.25rem;
}
@media (width >= 40rem) {
  .link--button {
    font-size: 1.125rem;
  }
}
@media (width >= 65rem) {
  .link--button {
    font-size: 1.25rem;
  }
}

.link--button-green {
  background-color: hsl(127, 58%, 55%);
}
.link--button-green:hover {
  background-color: hsl(127, 58%, 65%);
}

.link--button-orange {
  background-color: hsl(30, 100%, 55%);
}
.link--button-orange:hover {
  background-color: hsl(30, 100%, 65%);
}

.link--button-blue {
  background-color: hsl(213, 100%, 55%);
}
.link--button-blue:hover {
  background-color: hsl(213, 100%, 65%);
}

.button--inline {
  background: transparent;
  display: inline;
  font: inherit;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  text-transform: inherit;
  width: auto;
}
.button--inline:hover {
  text-decoration: none;
}

p a {
  text-decoration: underline;
}

ul {
  list-style-position: inside;
  margin-bottom: 1.75rem;
}

/*# sourceMappingURL=styles.css.map */
