html,
body {
  font-family: "Varela", sans-serif;
  height: 100%;
  color: white;
  background-color: #FAFAFA;
}

a {
  text-decoration: underline;
  color: black;
}

a:hover {
  color: #5c677d;
}

.navbar {
  background-color: #FAFAFA !important;
  color: black !important;
  padding: 25px;
  height: 100px;
  font-size: 18px;
  font-weight: bold;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0px -8px 60px rgba(0, 0, 0, 0.384);
}

.coverDiv {
  position: relative;
  text-align: center;
  width: 100%;
  height: 91vh;
  cursor: pointer;
  overflow: hidden;
}

.homeCoverImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.3s ease-in-out;
}

.homeCoverImageOverlay {
  position: relative;
  z-index: 2;
  color: white;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  background-color: #9c9b9b0e;
  overflow: hidden;
}

.coverDiv2 {
  position: relative;
  width: 100%;
  min-height: 40vh;
  margin-bottom: 50px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* This centers vertically */
  justify-content: center;
  /* This centers horizontally */
}

.homeCoverImage2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 2.0s ease-in-out;
}

.homeCoverImageOverlay2 {
  position: relative;
  z-index: 2;
  color: white;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  background-color: #9c9b9b0e;
}

.text-slider {
  text-align: center;
  transition: transform 0.4s ease-in-out;
}

.title {
  font-size: 140px;
  font-weight: 800;
  font-style: italic;
  text-shadow: -10px 2px #5c677d;
  margin: 0;
  line-height: 1;
}

.subtitle {
  font-size: 70px;
  /* ADDED: Style for the smaller, secondary text -- BUT NOT IN USE CURRENTLY. */
  font-weight: 400;
  text-transform: uppercase;
  text-shadow: -3px 2px #5F5E63;
  margin: 0;
}

.coverDiv:hover .homeCoverImage,
.coverDiv2:hover .homeCoverImage2 {
  transform: scale(1.1);
}

.coverDiv:hover .text-slider {
  transform: translateY(-5%);
}

.navbar a:hover {
  color: black;
}

.homeMoreInfo {
  min-height: 100%;
  padding: 25px;
  border-radius: 12px;
  color: black;
  background-color: #FAFAFA;
}

.homeMoreInfo2 {
  max-height: 100vh;
  color: black;
  background-color: #FAFAFA;
}

.homeMoreInfo2 .row {
  padding-bottom: 170px;
}

.gMapsText {
  display: flex;
  align-items: center;
  /* This centers vertically */
  justify-content: center;
  /* This centers horizontally */
}

.googleMaps {
  border-left: 4px solid #5c677d !important;
  border-bottom: 3px solid #818692 !important;
  border-radius: 12px;
}

.serviceContainer .row {
  padding-bottom: 150px !important;
}

.serviceContainer h2 {
  text-align: center;
  padding: 15px;
}

.featurette,
.serviceContainer {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2.0s ease-out, transform 2.0s ease-out;
}

.featurette.visible,
.serviceContainer.visible {
  opacity: 1;
  transform: translateY(0);
}

.featurette-image {
  max-height: 420px;
  max-width: 420px;
  border-radius: 50%;
  object-fit: cover !important;
  border-left: 4px solid #5c677d;
  border-bottom: 3px solid #818692;
  display: flex !important;
  justify-content: center !important;
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}

.serviceContainer {
  color: black;
  padding: 25px;
  font-size: 18px;
  max-height: 100%;
}

.serviceContainer h2 {
  font-style: bold;
  font-size: 45px;
  font-weight: 900px;
}

.serviceContainer .fa-solid {
  color: black;
}

.serviceContainer .card {
  border-left: 3px solid #5c677d !important;
  border-bottom: 2px solid #818692 !important;
}

.scheduleFormContainer {
  margin-left: -12px !important;
  background-color: #FAFAFA;
  color: black;
  min-height: 100%;
  border-right: 4px solid #5c677d !important;
  border-top: 3px solid #818692 !important;
  border-bottom: 4px solid black;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 25px;
}

.scheduleFormContainer iframe {
  height: 1000px !important;
}

.contactContainer {
  padding: 25px;
}


.contactInfoParent {
  padding: 35px;
  background: #5c677d;
  border-left: 4px solid black;
  border-bottom: 4px solid black;
  border-top: 3px solid rgb(61, 61, 61);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  text-align: center;
}


#row2 {
  height: 10vh;
}

.contactInfoParent h2 {
  font-size: 25px;
  font-weight: 800;
}

.contactText a:hover {
  color: white;
}

.contactInfoParent .firstItem {
  margin-top: 30px !important;
}

.contactItem {
  margin-top: 15px;
}

.contactItem h2 {
  font-size: 15px;
  font-weight: 600;
}

.contactItem {
  text-align: center;
}

.scanFromPhone {
  height: 175px;
  width: 175px;
  border-radius: 12px;
}

.scanFromPhoneParent a {
  text-decoration: underline !important;
  color: white !important;
}

.scanFromPhoneParent a:hover {
  text-decoration: underline !important;
  color: black !important;
}

/* Original Media Queries */
@media (min-width: 40em) {

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


/*
--------------------------------------------------
!!! CSS FOR MOBILE !!!
--------------------------------------------------
*/
@media (max-width: 1000px) {

  body, html, .serviceContainer, .scheduleFormContainer, .homeMoreInfo, .homeMoreInfo .lead, .homeMoreInfo2 .lead{
    font-size: 16px !important;
  }

  .contactItem h2, .contactInfoParent h2, .navbar{
    font-size: 18px !important;
  }

  .serviceContainer h2, .featurette-heading{
    font-size: 24px !important;
  }

  .title {
    font-size: 3em;
    text-shadow: -4px 1px #5c677d;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 18px;
  }
 .navbar .navbar-brand {
    font-size: 12px;
  }
  .navbar {
    height: auto;
    padding: 15px;
  }

  .homeMoreInfo {
    overflow: hidden;
  }

  .homeMoreInfo2 .row {
    padding-bottom: 120px;
  }

  .coverDiv {
    height: 90vh;
  }

  .featurette {
    text-align: center;
  }

  .featurette-image {
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem auto;
    object-fit: cover !important;
  }

  .featurette-heading {
    font-size: 38px;
    margin-top: 1rem;
  }

  #row2 {
    display: none;
  }

  .scheduleFormContainer {
    border: 0 !important;
  }

  .scheduleFormContainer iframe {
    height: 1500px !important;
  }

  .contactInfoParent {
    border: 0;
    border-radius: 12px;
  }
  .scanFromPhone{
    height: 125px;
    width: 125px;
    border-radius: 12px;
  }

  .googleMaps {
    max-width: 80vw;
    max-height: 25vh;
  }

  .EaGNavLogo {
    max-height: 60px !important;
  }

}