.contact-hero {
  background-image: url(../assets/images/contact-header.jpg);
  color: white;
  background-size: cover;
  padding: var(--hero-padding-small);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-hero h1 {
  margin-bottom: 1rem;
}

.contact-hero p {
  line-height: 28px;
}

.opening-hours {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-transform: uppercase;
}

.opening-hours p {
  font-weight: bold;
  font-size: 1.3rem;
}

.send-message {
  background-image: url(../assets/images/contact-message.jpg);
  background-size: cover;
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.send-message h2 {
  padding-top: 4rem;
}

.send-message form {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.send-message form label {
  font-family: var(--font-secondary);
}

.send-message form label:not(:first-child) {
  margin-top: 1rem;
}

.send-message input,
.send-message textarea {
  padding: 0.3rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  resize: none;
}

.send-message textarea {
  min-height: 200px;
}

.message-button {
  margin-bottom: 4rem;
  position: relative;
}

#message-checkbox {
  display: none;
}

.message-overlay {
  position: absolute;
  color: white;
  background-color: var(--secondary-color);
  padding: 0.3rem;
  text-align: center;
  max-width: 260px;
  min-width: 260px;
  border-radius: 6px;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

#message-checkbox:checked ~.message-overlay {
  opacity: 1;
  transition: 0.8s;
}

@media only screen and (min-width: 500px) and (max-width: 721px) {
  .contact-text {
    max-width: 60%;
  }
}

@media only screen and (min-width: 721px) and (max-width: 900px) {
  .contact-hero {
    padding: var(--hero-padding-medium);
  }

  .contact-text {
    max-width: 50%;
  }
}

@media only screen and (min-width: 721px) {
  .send-message input,
  .send-message textarea {
    width: 400px;
  }

  .opening-hours {
    flex-direction: row;
    gap: 3rem;
  }
}

@media only screen and (min-width: 901px) {
  .contact-hero {
    padding: var(--hero-padding-large);
  }
  
  .contact-text {
    max-width: 40%;
  }
}