

#contact {
  display: flex;
  flex-direction: column;
  margin-top: 15vh;
  gap: 48px;
}

.contact__header-container {
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.contact__header-title {
  opacity: 0;
  font-family: 'Oswald', sans-serif;
  width: fit-content;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.form__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__row, .form__row-column {
  flex-basis: 100%;
  display: flex;
  gap: 24px;
}

.form__row-column {
  flex-direction: column;
}

.form__row > svg {
  height: 60px;
  margin: auto;
}

.contact__button-container {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
}

.contact__submit {
  font-family: 'Oswald', sans-serif;
  margin: auto;
  color: white;
  background-color: transparent;
  border: 0;
  text-transform: uppercase;
  font-weight: 900;
  width: fit-content;
  font-size: 1.8rem;
  font-weight: 900;
  cursor: pointer;
  transition: .3s;
}

.contact__submit:hover {
  color: #FFB71B;
  transition: .3s;
}

.input__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Sofia Sans', sans-serif;
}

.input__label {
  color: #919191;
  text-transform: capitalize;
  line-height: 1;
}

.input__group > input, .input__group > textarea {
  padding: 8px;
  width: 100%;
  background: transparent;
  border: 2px solid #919191;
  color: white;
}
.input__group > input:active, .input__group > input:focus, .input__group > textarea:active, .input__group > textarea:focus {
  border-color: #FFB71B;
  box-shadow: none;
  outline: none;
}
 
.input__group > input:focus-visible {
  outline: none;
}

.contact__input:nth-child(6) {
  grid-column: 1 / -1;
}

.location__container {
  display: flex;
  flex-direction: column-reverse;
  color: white;
  gap: 24px;
  margin-top: 48px;
}

.location__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  font-family: 'Sofia Sans', sans-serif;
  text-transform: uppercase;
}

.location__title {
  font-weight: 400;
  color: #919191;
}

.location__description {
  font-weight: 900;
}

.location__description > a {
  color: white;
  text-decoration: underline;
  cursor: pointer;
}

.location__image {
  object-fit: cover;
  width: 100%;
  transition: 2s;
}

.location__image:hover {
  transform: scale(1.5, 1.5);
  transition: 2s;
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .form__container {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .form__row {
    flex-basis: calc(40% - 12px);
  }
  
  .form__row-column {
    display: flex;
    flex-basis: calc(60% - 12px);
  }
  
  .contact__header-title {
    font-size: 2.4rem;
    line-height: 1;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .form__row-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .input__group.input__textarea {
    grid-column: span 2;
  }

  .input__group > input, .input__group > textarea {
    flex-basis: 50%;
    resize: none;
  }
  
  .input__group > textarea {
    min-height: 100px;
  }
  
  .contact__header-title {
    font-size: 2.8rem;
  }

  .contact__submit {
    margin: 0;
  }

  .location__container {
    flex-direction: row;
  }

  .location__row:nth-child(1) {
    flex-basis: calc(40% - 24px);

    >svg {
      margin: 0;
    }
  }
  
  .location__row:nth-child(2) {
    flex-basis: calc(60% - 24px);
    display: flex;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .contact__header-title {
    font-size: 3.4rem;
  }
}

@media only screen and (min-width: 1400px) {
 
}