:root {
  --line-color: #D0A616;
  --background-color: #f4f4f4;

  --ads-background-color: #fff;
  --ads-border-color: #ddd;

  --buttons-transparent-text-color: #D0A616;
  --buttons-transparent-border-color: #D0A616;

  --buttons-solid-background-color: #D0A616;
  --buttons-solid-text-color: #2C345C;

  --buttons-remove-background-color: #B21313;
  --buttons-remove-text-color: #F2F2F2;

  --text-title-color: #2C345C;
  --text-default-color: #2C345C;
  --text-highlight-color: #D0A616;

  --forms-label-color: #2C345C;

  --forms-input-background-color: #D5DADE;
  --forms-input-text-color: #2C345C;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-default-color);
}

button {
  border: none;
  cursor: pointer;
}

select {
  -webkit-appearance: none;
  appearance: none;
  border: none;
}

a {
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 15px;
  border-bottom: 4px solid var(--line-color);
}

header img {
  height: 50px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

header a {
  font-size: 16px;
  color: var(--buttons-transparent-text-color);

  display: flex;
}

header nav {
  display: flex;
}

header nav :first-child {
  margin-right: 15px;
}

main {
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

main nav h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 500;
  margin-bottom: 50px;
}

main nav label {
  font-size: 20px;
  display: flex;
  align-items: center;
  width: 100%;
  color: var(--forms-label-color);
}

main nav label svg {
  margin-right: 5px;
}

main nav select {
  width: 100%;
  height: 45px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  margin: 5px 0 15px;
  font-size: 16px;
  background-color: var(--forms-input-background-color);
  color: var(--forms-input-text-color);
}

main nav div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

main nav div button {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  background-color: var(--buttons-solid-background-color);
  color: var(--buttons-solid-text-color);
  font-weight: 600;
  height: 45px;
  border-radius: 6px;
}

main nav div button svg {
  margin-right: 8px;
  width: 20px;
}

main > img {
  display: none;
}

@media screen and (min-width: 768px) {
  header {
    padding: 35px 45px 20px;
  }

  header img {
    max-width: 230px;
  }

  header a {
    font-size: 20px;
  }

  main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
  }

  main nav {
    width: 50%;
  }

  main > img {
    display: block;
    width: 30%;
  }
}

@media screen and (min-width: 1024px) {
  main nav h1 {
    font-size: clamp(28px, 4vw, 40px);
  }

  main nav {
    width: 50%;
    padding-right: 40px;
  }

  main > img {
    width: 40%;
    max-height: 450px;
  }
}
