/*-- -------------------------- -->
<---           Form             -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0px) {
  #landing {
    height: 45vh;
    background-image: url(../images/contact-1.webp);
  }
  #landing .clip-triangles {
    height: 75vw;
  }
  #form {
    background-color: var(--bgDark);
    padding: 0;
    margin: auto;
    position: relative;
    padding: 70px 12px;
  }
  #form .section-title {
    max-width: 200px;
  }
  #form .section-title::before {
    left: 144px;
    top: 57px;
  }
  #form .section-title::after {
    left: 144px;
    top: 65px;
  }
  #form .property {
    text-transform: capitalize;
    font-weight: 700;
  }
  #form .apply {
    max-width: 200px;
  }
  #form .apply::before {
    left: 185px;
    top: 16px;
  }
  #form .apply::after {
    left: 185px;
    top: 24px;
  }
  #form .maintenance {
    max-width: 200px;
  }
  #form .maintenance::before {
    left: 141px;
    top: 55px;
  }
  #form .maintenance::after {
    left: 141px;
    top: 63px;
  }
  #form .title {
    font-weight: 900;
    color: #fff;
    position: relative;
    margin-bottom: 0.875em;
    text-align: left;
  }
  #form p {
    line-height: 1.5;
    max-width: 90%;
    color: #fff;
    margin-bottom: 2.66666667em;
  }
  #form .left-section {
    width: 96%;
    margin: auto;
    max-width: 37.5em;
  }
  #form #contact {
    margin: auto;
    margin-bottom: 6.25em;
  }
  #form #contact .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.875em;
  }
  #form #contact .input-group label {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 0.375em;
  }
  #form #contact .input-group input[type="text"],
  #form #contact .input-group input[type="email"],
  #form #contact .input-group input[type="tel"],
  #form #contact .input-group input[type="url"],
  #form #contact .input-group textarea {
    font-size: 1em;
    height: 4.1875em;
    border: none;
    border-bottom: 0.0625em solid #d4d4d4;
    background: #e5e5e5;
    color: #000;
    padding: 8px;
  }
  #form #contact .input-group input:focus {
    padding-left: 12px;
    border: 2px solid var(--primaryAccent) !important;
  }
  #form #contact .input-group input[type="text"]:focus,
  #form #contact .input-group input[type="email"]:focus,
  #form #contact .input-group input[type="tel"]:focus {
    border: 3px solid var(--primaryAccent) !important;
    border-radius: 4px;
    outline: none !important;
  }
  #form #contact .input-group textarea {
    font-style: var(--secondaryFont);
    font-size: 16px;
    min-height: 8.75em;
    padding-top: 1.25em;
    resize: none;
  }
  #form #contact .input-group textarea:focus {
    padding-left: 8px;
    border: 3px solid var(--primaryAccent) !important;
    border-radius: 4px;
    outline: none !important;
  }
  #form #contact .input-group ::placeholder {
    color: #626262;
    font-family: "Roboto", sans-serif;
  }
  #form #contact .button-solid {
    text-transform: uppercase;
    font-weight: 700;
    border: none;
  }
  #form .contact-right {
    background: #1a1a1a;
    padding: 2.8125em 2.125em;
    width: 100%;
    max-width: 18.75em;
    margin: auto;
  }
  #form .contact-right .heading {
    color: #fff;
    font-size: 1.5em;
    line-height: 1.2em;
    font-weight: bold;
    padding-left: 0.83333333em;
    border-left: 0.20833333em solid var(--primaryAccent);
    display: block;
    margin-bottom: 0.83333333em;
  }
  #form .contact-right .info-group {
    margin-bottom: 2.25em;
  }
  #form .contact-right .info-group:last-of-type {
    margin-bottom: 0;
  }
  #form .contact-right .info {
    font-size: 1em;
    line-height: 1.75;
    color: #fff;
    opacity: 0.9;
    text-decoration: none;
    display: block;
  }
  #footer {
    background: var(--bgBlack);
  }
}
@media only screen and (min-width: 500px) {
  #form p {
    font-size: 18px;
    width: 100%;
    max-width: unset;
  }
  #form .section-title {
    font-size: 48px;
    max-width: fit-content;
  }
  #form .section-title::before {
    left: 424px;
    top: 22px;
  }
  #form .section-title::after {
    left: 424px;
    top: 30px;
  }
  #form .apply {
    font-size: 48px;
    max-width: fit-content;
  }
  #form .apply::before {
    left: 249px;
    top: 22px;
  }
  #form .apply::after {
    left: 249px;
    top: 30px;
  }
  #form .maintenance {
    overflow-x: clip;
    max-width: unset;
  }
  #form .maintenance::before {
    left: 467px;
    top: 21px;
  }
  #form .maintenance::after {
    left: 467px;
    top: 29px;
  }
}
/* Mobile Landscape */
@media only screen and (min-width: 568px) {
  #form #contact {
    max-width: 43.75em;
  }
  #form .contact-right {
    max-width: 43.75em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #form .contact-right .info-group {
    width: 40%;
    margin-left: 3.125em;
  }
  #form .contact-right .info-group:nth-of-type(3) {
    margin-bottom: 0;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #form #contact {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #form #contact .input-group {
    width: 48%;
    margin-bottom: 3.125em;
    position: relative;
  }
  #form #contact .input-group:nth-of-type(5) {
    width: 100%;
  }
  #form #contact .input-group:last-of-type {
    width: 100%;
  }
  #form #contact .input-group:hover .hover-box {
    height: 4.1875em;
    border: 0.0625em solid var(--primary);
    pointer-events: none;
  }
  #form #contact .input-group:hover input[type="text"],
  #form #contact .input-group:hover input[type="email"],
  #form #contact .input-group:hover input[type="tel"],
  #form #contact .input-group:hover input[type="url"],
  #form #contact .input-group:hover textarea {
    padding-left: 1.25em;
  }
  #form #contact .input-group input[type="text"],
  #form #contact .input-group input[type="email"],
  #form #contact .input-group input[type="tel"],
  #form #contact .input-group input[type="url"],
  #form #contact .input-group textarea {
    border-bottom: none;
    position: relative;
    transition: padding 0.3s;
  }
  #form #contact .input-group .hover-box {
    position: absolute;
    display: block;
    height: 0.0625em;
    width: 100%;
    background: transparent;
    border: 0.0625em solid #e9e8e8;
    opacity: 1;
    bottom: -0.0625em;
    left: 0;
    z-index: 10;
    transition: height 0.3s, border 0.3s;
    z-index: -1;
  }
  #form #contact .textarea:hover .hover-box {
    height: 10.5em;
  }
  #form #contact .button-solid {
    height: 50px;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1024px) {
  #landing h1 {
    margin-bottom: 90px;
  }
  #form {
    display: flex;
    justify-content: center;
    align-content: flex-start;
    font-size: 1.5vw;
    width: 100%;
    padding: 9.375em 0;
  }
  #form .left-section {
    width: 46.875em;
    margin: 0;
    margin-left: 0;
    margin-right: 4.6875em;
  }
  #form #contact {
    margin: 0;
    margin-right: 0;
    max-width: none;
  }
  #form .contact-right {
    flex-direction: column;
    max-width: 18.75em;
    margin: 0;
    height: 34.625em;
  }
  #form .contact-right .info-group {
    margin-left: 0;
    width: 100%;
  }
  #form .contact-right .info-group:nth-of-type(3),
  #form .contact-right .info-group:last-of-type {
    margin-bottom: 2.25em;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  #form {
    font-size: inherit;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0px) {
  body.dark-mode #form .title {
    color: #fff;
  }
  body.dark-mode #form p {
    color: #fff;
  }
  body.dark-mode #form .input-group label {
    color: #fff;
  }
  body.dark-mode #form .input-group input,
  body.dark-mode #form .input-group textarea {
    color: #fff;
  }
  body.dark-mode #form .contact-right {
    background: var(--medium);
  }
}
@media only screen and (min-width: 1600px) {
  .navbar-menu .side-nav {
    max-width: 1250px !important;
  }
  .navbar-menu .side-nav ul li {
    margin-right: 50px !important;
  }
}
