.contact-section {
  display: flex;
  flex-flow: wrap row;
  justify-content: center;
  gap: 20px;
  width: min(1150px, 100% - 10px);
  margin-bottom: 40px;
  padding: 40px 20px 20px;

  & > h1 {
    width: 100%;
    color: var(--blue-darkest);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    text-align: center;
  }

  & > p {
    width: 100%;
    color: var(--blue-darker);
  }
}

.form-contact-section {
  display: grid;
  align-items: center;
  gap: 16px;
  width: min(500px, 100%);
  border: 1px solid var(--blue-angel);

  & * {
    background-color: inherit;
  }

  & label {
    display: grid;
    gap: 2px;
    color: var(--blue-darker);
    font-weight: var(--font-semibold);
  }

  & input {
    padding: 8px;
    border-bottom: 1px solid;
    outline: none;
  }

  & textarea {
    min-height: 140px;
    padding: 8px;
    border: 1px solid;
    border-radius: var(--rounded-lg);
    outline: none;
    resize: none;
  }

  & button {
    width: fit-content;
    margin: auto;
    padding: 8px 30px;
    border-radius: var(--rounded-lg);
    background-color: var(--blue-darkest);
    color: var(--blue-angel);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
  }
   
   & button:disabled {
    opacity: 0.7;
  }
}

.image-contact-section {
  display: none;
  width: 500px;
}

@media (width >= 68rem) {
  .contact-section {
    justify-content: space-between;
  }

  .image-contact-section {
    display: block;
  }

  .form-contact-section textarea {
    height: 200px;
  }
}
