.banner-sect {
  background-image: url(/assets/img/banner/onschedule-home-banner768x500.jpg);
  height: 500px;
  background-position: 95%;
  position: relative;
}

.c-link {
  color: var(--ltBlue);
  font-weight: 700;
}

.logo-link {
  display: block;
  width: 60%;
  max-width: 260px;
}

.onschedule-logo {
  display: block;
  filter: drop-shadow(1px 1px 1px var(--dkGrey));
  width: 100%;
  max-width: 260px;
  position: relative;
  z-index: 2;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  position: relative;
}

.mobile-control {
  padding-right: 2px;
}

.bar {
  display: block;
  width: 30px;
  height: 2px;
  margin: 6px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--mdGrey);
  box-shadow: 1px 1px 1px var(--dkGrey);
}

.mobile-control.active {
  transition: all 0.3s ease-in-out;
  position: relative;
  z-index: 2;
}

.mobile-control.active .bar:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-control.active .bar:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.main-links-m {
  display: none;
}

.main-links-d {
  display: none;
}

.main-links-m.active {
  position: absolute;
  display: flex;
  flex-direction: column;
  background-color: #e0e0e0e5;
  height: 600px;
  width: 100%;
  top: 0%;
  z-index: 1;
}

.main-link-m {
  font-size: 36px;
  font-weight: 600;
  margin: 30px auto 10px auto;
  color: var(--dkBlue);
  transition: all .1s ease-in-out;
}

.main-link-m:nth-child(1) {
  padding-top: 100px;
}

.main-link-m:hover {
  color: var(--ltBlue);
  font-weight: 800;
  border-bottom: 4px solid var(--orange);
}

.main-title {
  position: absolute;
  font-size: 24px;
  width: 70%;
  margin-left: 5%;
  top: 10%;
  z-index: 0;
}

.about-sect {
  background-color: var(--dkGrey);
  padding: 50px 0;
  border-top: 2px solid var(--dkOrange);
  border-bottom: 2px solid var(--dkOrange);
}

.about-sect2 {
  padding: 20px 0 50px 0;
  border-top: 4px solid var(--crystal);
  border-bottom: 4px solid var(--crystal);
}

.a-text, .c-text {
  color: var(--crystal);
  text-shadow: 1px 1px 1px var(--black);
}

.body1-img {
  display: block;
  max-width: 100%;
  margin: 10px auto 40px auto;
}

.body2-img {
  display: block;
  max-width: 100%;
  margin: 20px auto;
}

.contact-sect {
  background-color: var(--dkGrey);
  padding: 50px 0;
  border-top: 2px solid var(--dkOrange);
  border-bottom: 2px solid var(--dkOrange);
}

.sect-title {
  text-shadow: 1.25px 1.25px 1px var(--black);
  text-align: center;
}

.contact-form {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.line1, .line2, .line3, .line4 {
  width: 100%;
}

.c-form-control {
  margin: 5px auto;
  height: 35px;
  width: 100%;
  border: none;
  border-radius: 5px;
  text-indent: 5px;
}

.cf-message {
  width: 100%;
  height: 150px;
  resize: vertical;
}

.form-submit {
  display: block;
  width: 150px;
  height: 40px;
  font-size: 18px;
  font-weight: 700;
  background-color: var(--orange);
  color: var(--ltYellow);
  text-shadow: 1px 1px 1px var(--charcoal);
  border: none;
  border-radius: 5px;
  margin: 30px auto 10px auto;
}

footer {
  background-color: var(--charcoal);
  padding: 30px 0;
}

.f-text {
  font-size: 12px;
  color: var(--crystal);
  text-align: center;
}

.f-link {
  font-size: inherit;
  color: var(--ltBlue);
}

.f-link:hover {
  color: var(--orange);
}

@media screen and (min-width: 480px) {

  .main-title {
    font-size: 28px;
  }
}
@media screen and (min-width: 600px) {
  .main-title {
    font-size: 32px;
    top: 20%;
  }

  .line1 {
    display: flex;
    justify-content: space-between;
  }

  .cf-first, .cf-last {
    width: 48%;
    margin: 5px 0;
  } 

}
@media screen and (min-width: 768px) {
  .banner-sect {
    background-image: url(/assets/img/banner/onschedule-home-banner1024x640.jpg);
    height: 640px;
    background-position: 50%;
  }

  .main-title {
    font-size: 36px;
    top: 25%;
  }

  
}
@media screen and (min-width: 900px) {
  .main-title {
    font-size: 40px;
    top: 25%;
    width: 65%;
  }
}
@media screen and (min-width: 1024px) {
  .banner-sect {
    background-image: url(/assets/img/banner/onschedule-home-banner1920x640.jpg);
    background-position: 45%;
  }

  .nav-container {
    display: block;
  }

  .mobile-control {
    display: none;
  }

  .main-links-d {
    display: flex;
    flex-direction: row;
    justify-content: left;
    width: 35%;
    margin-top: 10px;
  }

  .main-link-d {
    font-size: 22px;
    padding: 7px;
    margin: 0 7px;
  }

  .main-link-d:nth-child(1) {
    padding-left: 0;
    margin-left: 0;
  }

  .main-link-d:hover {
    color: var(--ltBlue);
    font-weight: 700;
    border-bottom: 4px solid var(--dkOrange);
    text-shadow: 1px 1px 1px var(--dkGrey);
  }

  .main-title {
    font-size: 42px;
    width: 60%;
  }

  .about-s {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-column-gap: 40px;
  }

  .body1-img {
    grid-column: 1;
    margin: 25px 0 25px 0;
    justify-self: flex-start;
  }

  .body2-img {
    float: right;
    margin: 10px 0 20px 50px;
    max-width: 50%;
  }

  .about-text {
    grid-column: 2;
  }

  .contact-s {
    display: grid;
    grid-template-columns: 48% 48%;
    justify-content: space-between;
  }

  .form-head {
    grid-column: 1;
  }

  .contact-title {
    margin-top: 0;
  }

  .form-container {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
  }

  .contact-form {
    margin: 0;
  }
}
@media screen and (min-width: 1200px) {
  .main-title {
    font-size: 46px;
    width: 60%;
    margin-left: 10%;
  }
}
@media screen and (min-width: 1500px) {
  .main-title {
    font-size: 50px;
    width: 55%;
  }
}
@media screen and (min-width: 1650px) { 
  .main-title {
    font-size: 56px;
    width: 54%;
  }

  .about-s {
    grid-column-gap: 0;
  }
}