*,
::before,
::after {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  /*font-family: 'Times New Roman', Times, serif;
  font: 'Times New Roman';*/
  font-family: 'Avenir Light', Helvetica, Arial, Lucida, sans-serif;
  scroll-behavior: smooth;

  

}
header{
  position: sticky;
  top: 0;
  z-index: 99999;

}
#site-nav{
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  
}
#mobile-dropdown{
  display: flex;
  justify-content: end;
  width: 80%;
  margin: 0 10vw;
  padding: 1rem;
}
#mobile-dropdown button{
  background-color: white;
  border: none;
  font-size: 1.5rem;
  color: #222222;
}

#mobile-menu{

  background-color: white;
  width: 80vw;
  height: 0vh;
  margin: 0 10vw;
  display: flex;
  flex-direction: column;
  list-style: none;
  justify-content: space-evenly;
  overflow: hidden;
  transition: all 0.5s;
  white-space: nowrap;
  padding: 0 10% ;
  position: absolute;
  z-index: 10;

  }
#mobile-menu li{
  display: flex;
  border-bottom: 1px solid gray;
  font-size: 1rem;
  flex-grow: 1;

  

}
#mobile-menu li a{
  display: flex;
  text-decoration: none;
  color: #222222;
  flex-grow: 1;
  flex-direction: column;
  height: 100%;
  justify-content: center;


}
#main-menu{
  display: none;
  justify-content: end;
  list-style: none;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  position: sticky;
}
#main-menu li{
margin: 0 0.75rem;
}
#main-menu li a{
  text-decoration: none;
  color: #222222;
  transition: all 0.5s;

}
#main-menu li a:hover{
  color: gray;
}

#main-banner-container{
  position:relative;
  min-height: 70vh;
  width: 100%;
  display: flex;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1F3E4E;


}
#main-banner-container::before{
  content: "";
  background-image: url("../images/main_banner_img_mobile.jpg");
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  opacity: 0.25;
}
.banner-flex-item{
  color: white;
  text-align: center;
  margin: 0.75rem;
}

.banner-flex-item h1{
  padding: 0 1rem;
  border-bottom: 1px solid white;
  margin: 1rem 0;
  font-size: 2.5rem;
}
.banner-button-container{
  padding: 1rem;

}
.banner-button-style{
  display: block;
  color: white;
  text-decoration: none;
  transition: border 0.5s;
  border-radius: 0.25rem;
  border: 1px solid white;
  padding: 1rem;
  



}
.banner-button-style:hover{
  border: 1px solid #E09900;
}
/*keyframe fade in animation:*/
#fadeIn1
{
  opacity: 0;
	animation: fadeIn 1s ease-in-out forwards;
  
} 
#fadeIn2{
  opacity: 0;
  animation: fadeIn 1s 1s ease-in-out forwards;
}
#fadeIn3{
  opacity: 0;
  animation: fadeIn 2s 1s ease-in-out forwards;
}

@keyframes fadeIn{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}
.font-a-custom{
  font-size: 3rem;
  color: #E09900;
}
#what-we-do-grid{
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 10%;
  margin-bottom: 2rem;
  color: #222222;


}
#what-we-do-header h1{
  text-align: center;
  margin: 2rem 0;

}
#what-we-do-header h1 span{
  border-bottom: 1px solid #222222;
}
.what-we-do-grid-item {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  row-gap: 1rem;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 5rem;
}
#our-work-banner-container{
  position:relative;
  min-height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1F3E4E;
  text-align: center;
}
#our-work-banner-container::before{
  content: "";
  background-image: url("../images/our_work_image_mobile.jpg");
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  opacity: 0.25;
}
.our-work-flex-item{
  max-width: 80%;
  color: white;
}
h1.our-work-flex-item{
  padding: 0.5rem 1rem;
  border-bottom: 1px solid white;
  font-size: 4rem;
  

}
p.our-work-flex-item{
  padding: 0.5rem;
  font-size: 1.5rem;
}
.gallery-header{
  text-align: center;
  color: #222222;
  font-size: 4rem;
  margin: 2rem 0;
  
  
}
.our-work-row{
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;  
  column-gap: 1rem;
  padding: 0 10%;
  overflow: hidden;
  transition: 1s ease;


}
.our-work-column{
  flex: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  
}

.gallery-img-container{
  margin-bottom: 1rem;
  width: 100%;
  overflow: hidden;

}
.gallery-img-container:last-child{
  flex: 1;
}
.gallery-img-container:last-child img{
  height: 100%;
}

.gallery-img-container img{
  display: block;
  width: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
.gallery-img-container img:hover{
  transform: scale(1.2);
}
#gallery-row-2{
  max-height: 0;
}
#gallery-row-2.show-gallery{
  max-height: none;
}
.gallery-modal{
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease-out;
  z-index: 200;
}
.gallery-modal.open{
  opacity: 1;
  pointer-events: all;
}
.gallery-modal-img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  transition: all 0.5s ease-out;
  
}
.gallery-modal-img.open{
  transform: translate(-50%, -50%) scale(1);
  max-width: 100%;
  max-height: 80%;


}
.gallery-modal p{
  font-size: 2rem;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -5%);
}
#show-more-button-container{
  text-align: center;
  line-height: 0;
  margin-bottom: 4rem;
  margin-top: 2rem;
}
#show-more-button{
  background-color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 1px;
  color: #222222;

}
/*START OF ABOUT US SECTION******************************/
#about-us-container{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background-color: #1F3E4E;
}

.about-us-flex{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
  flex: 1 1 auto;

  
}
.about-us-flex img{
  display: block;
  width: 100%;
  opacity: 0.8;
}
.about-us-blurb{
  padding: 2rem 5%;
  background-color: #1F3E4E;
  
}
.about-us-blurb h1{
  font-size: 4em;
  color: white;
}
.about-us-blurb h2{
  color: #E09900;
}
.about-us-blurb p{
  color: white;

}
.about-us-blurb-section{
  margin-bottom: 1rem;
}
.about-us-blurb-section h2{
  margin-bottom: 1rem;
}
/*start of client testimonials section*/
#referrals-container{
  background-color: #F7F7F7;
  color: #222222;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 3rem;
  padding-bottom: 2rem;

  

}
#referrals-header{
  text-align: center;
  flex: 1 0 100%;
  margin-top: 2rem;
  
}
#referrals-card-container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 2rem;
  max-width: 100%;
  

}
.referrals-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
  overflow: hidden;
  width: 290px;
  height: 440px;
  max-width: 100%;
  color: #222222;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  inset: 0;
  z-index: 100;

  


  

}
.referrals-card-item{
  max-width: 80%;
}
.name-logo{
  display: block;
  font-size: 3rem;
  height: 5rem;
  width: 5rem;
  text-align: center;
  line-height: 5rem;
  border-radius: 50%;
  background-color: rgba(129, 122, 122, 0.461);
  color: rgb(76, 74, 74);
  margin: auto;
  margin-bottom: 20%;
  
}
.star-rating{
  color: orange;
}
.referrals-icon-rating{
  margin-bottom: -2rem;
}
.referrals-review{
  overflow: hidden;
  width: 100%;
  height: 5em;
  line-height: 1em;
  white-space: initial;
  /*  hyphens: auto; also works */
  text-align: center;
  margin-top: -1rem;
  

}
.invisible-formatting{
  visibility: hidden;
}
.quotation-styles{
  line-height: 1em;
}
.display-full-referral-button{
  cursor: pointer;
  border: none;
  background-color: white;
}
.referrals-review-overlay{
  position: absolute;
  color: #222222;
  background-color: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  top: 100%;
  transition: 0.2s;

  
}
.close-referral-button{
  background-color: white;
  border: none;
  cursor: pointer;
  font-size: 2em;
  position: absolute;
  top: 5%;
  right: 5%;

}

.referrals-review-overlay p{
  width: 80%;
}
/* start of final section*/
#footer-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: #1F3E4E;

  
}
#contact-us-header{
  color: white;
  font-size: 3rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid white;
}
/* contact us form section */
#contact-form-flex{
  margin: 2rem 10%;
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
  column-gap: 1rem;
}
#contact-form-flex h1{
  flex: 1 0 100%;
  text-align: center;
  
}
#contact-form-flex p{
  flex: 1 0 100%;
  
}
.contact-field-styles{
  padding: 1rem;
  color: #222222;
  resize: vertical;
  font-size: 1rem;
  background-color: white;
  border: none;
  color: #222222;
  width: 100%;
  
  
  
}
.contact-field-styles::placeholder{
  color: #222222;
}
#contact-message{
  min-height: 10rem;
}
#contact-submit{
  color: #222222;
  text-align: right;
}
#contact-submit button{
  color: white;
  padding: 0.75rem;
  font-size: 0.75rem;
  background-color: inherit;
  border: 1px solid white;
  cursor: pointer;
}
#contact-submit button:hover{
  border: 1px solid orange;
  transition: 0.5s all ease-in;

}

#contact-submit button::placeholder{
  color: white;
}
#AL-information-container{
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
}
#AL-information-container{
  word-wrap: break-word;
}
#socials-container{
  text-align: center;
  background-color: #222222;
  padding: 1rem 0;
  
  
  
}

#socials-container a{
  display: inline-block;
  margin: 0 0.5rem;
  border: 1px solid white;
  padding: 0.5rem;
  border-radius: 1rem;

}
.font-a-social-custom{
  color: white;
  font-size: 3rem;
}
#socials-container a:hover{
  transition: 0.25s all ease-in;
  border: 1px solid orange;
}
.font-a-ul-custom{
  margin: 0;
}
#final-info-container{
  padding: 1rem 10%;
  background-color: white;
  color: #222222;
}
#final-info-container p:not(:first-child), #final-info-container li{
  margin-top: 1rem;
}
#footer-tag{
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  word-break: break-word;

  
}
/* media queries below*/
@media screen and (min-width: 768px) {
  #mobile-dropdown {
    display: none;
  }
  #mobile-menu{
    height: 0vh;
    
  }
  #main-menu{
    display: flex;
  }
  #main-banner-container::before{
    background-image: url("/images/main_banner_img_desktop.jpg");
  }
  .banner-flex-item h1{
    font-size: 4rem;
  }
  #what-we-do-grid{
    grid-template-columns: repeat(3, 1fr);
    column-gap: 4rem;

  }
  #what-we-do-header{
    grid-column: 1 / -1;
  }
  #our-work-banner-container::before{
    background-image: url("/images/our_work_image_tablet.jpg");
  }
  h1.our-work-flex-item{
    padding: 1rem 1.5rem;
    margin-bottom: 3rem;
  }
  p.our-work-flex-item{
    padding: 0;
  }
  .our-work-column{
    flex: calc(50% - 1rem);
    max-width: 50%;
    
  }
  .referrals-review-overlay p{
    font-size: 1em;
  }
  #contact-form-flex .contact-input{
    flex: 1 0 40%;

  }
  #contact-us-container{
    flex: 1 0 40%;
  }
  #AL-information-container{
    flex: 1 0 40%;
  }
  
  


}
@media screen and (min-width: 1024px){
  
}
@media screen and (min-width: 1200px){
  .our-work-column{
    flex: calc(25% - 1rem);
    max-width: 25%;
    
  }
  .about-us-flex{
    flex-basis: 50%;
  }
  #our-work-banner-container::before{
    background-image: url("/images/our_work_image.jpg");
  }

}


