.container {
  background: var(--light);
}

.container hr {
  width: 40%;
  min-width: 45rem;
  background: var(--dark);
  height: 0.15rem;
  border: none;
  margin: 1rem 0;
}

section.section {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

section.section h2 {
  margin-bottom: 1rem;
}

form#form {
  width: 80%;
  max-width: 40rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin-bottom: 2rem;
}

.input-group label {
  font-weight: 600;
  margin-bottom: .5rem;
}

.input-group input, .input-group textarea {
  padding: 0.8rem;
  width: 100%;
  border-radius: 0.25rem;
  border: 2px solid var(--dark);
  transition: border .3s linear;
}

.input-group textarea {
  resize: vertical;
  min-height: 5rem;
  max-height: 15rem;
}

.input-group input:focus, .input-group textarea:focus {
  outline: none;
  border: 2px solid var(--blue);
}

.input-group.buttons {
  margin-bottom: 0.5rem;
}

.buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.buttons > .btn {
  height: 4rem;
  width: 70%;
  max-width: 20rem;
  background: var(--dark);
  border: 2px solid var(--dark);
  color: var(--light);
  border-radius: 0.2rem;
  cursor: pointer;
}



@media (hover: hover) and (pointer: fine) {
  .buttons > .btn {
    transition: all .2s ease;
  }

  .buttons > .btn:hover {
    border: 2px solid var(--dark);
    color: var(--dark);
    background: var(--light);
  }
}

.meios-contacto {
  width: 90%;
  max-width: 45rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.meio {
  width: 100%;
  margin: 0 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
  border-radius: 0.25rem;
  border: 1px solid var(--dark);
  cursor: pointer;

}

@media (hover: hover) and (pointer: fine) {
  .meio {
    opacity: 0.7;
    transition: opacity .2s linear;
  }

  .meio:hover {
    opacity: 1;
  }
}

.meio i {
  font-size: 2rem;
  margin-bottom: 1rem
}

.meio span {
  font-size: 1rem;
}

@media only screen and (max-width: 850px) {

  .container hr {
    min-width: initial;
    width: 90%;
    height: 0.2rem;
  }

  form#form {
    width: 100%;
    padding: 0 2rem;
    max-width: initial;
  }

  .meios-contacto {
    flex-direction: column;
    width: 100%;
    padding: 0 2rem;
    max-width: initial;
  }

  .meio {
    min-width: initial;
    width: 100%;
    margin: 1rem 0;
  }
}