/*-- -------------------------- -->
<---       FORM LAYOUT          -->
<--- -------------------------- -*/

/* Mobile */
@media screen and (min-width: 0px) {
  #contact-form-section {
    position: relative;
    margin-top: 0;
  }

  #contact-form {
    background: transparent;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 25px 0 50px;
  }

  .contact-topper {
    font-weight: 700;
    color: #414141;
    width: 100%;
    margin: 10px 0 25px;
    padding-left: 20px;
    border-left: 5px solid var(--primary-blue);
    font-size: 2.143em;
  }

  .contact-topper span {
    color: var(--primary-blue);
    display: inline-block;
  }

  .form-p {
    margin: 0 0 24px;
    color: #414141;
    line-height: 1.6em;
  }

  /* Contact-page sidebar */
  .contact-right {
    padding: 45px 35px;
    background: #282828;
    margin-bottom: 50px;
  }

  .contact-right h3 {
    font-size: 1.375em;
    padding-left: 15px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-blue);
    color: #fff;
  }

  .contact-right p,
  .contact-right a {
    margin-bottom: 35px;
    color: #fff;
    opacity: 0.75;
  }

  .contact-right a {
    opacity: 1;
    text-decoration: none;
  }

  .contact-right a:hover {
    color: var(--primary-blue);
  }

  #main a:hover {
    transition: ease-in-out 0.2s;
    color: var(--primary-blue);
  }
}

/* Tablet */
@media screen and (min-width: 500px) and (max-width: 1024px) {
  #contact-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  #contact-form {
    max-width: 100%;
    margin-top: 0;
  }

  .form-p {
    width: 100%;
    max-width: 600px;
  }

  .contact-right {
    width: 100%;
    text-align: left;
    margin-bottom: 50px;
  }
}

/* Desktop */
@media screen and (min-width: 1025px) {
  #contact-form-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    padding-bottom: 50px;
  }

  #contact-form {
    flex: 1;
    max-width: 700px;
    margin: 0 60px 0 0;
  }

  .contact-right {
    width: 320px;
    border-radius: 6px;
    margin-top: 100px;
    flex-shrink: 0;
  }
}
