:root {
  --backgroundColOne: #f5b907;
  --backgroundColBtn: #472916;
  --backgroundColWht: #fff;
}

* {
  font-family: "Heebo", sans-serif;
  margin: 0px;
  padding: 0px;
  color: var(--backgroundColBtn);
  box-sizing: border-box;
}

.copyright small {
  color: var(--backgroundColWht);
}
.copyright a{
  color:inherit;
  /* text-decoration: inherit; */
}

h1 {
  font-size: 50px;
  padding-bottom: 40px;
  line-height: 1.25;
}

h2 {
  font-size: 40px;
  line-height: 1.25;
}

h4 {
  font-size: 25px;
  text-transform: uppercase;
  line-height: 1.25;
}

ul {
  padding-left: 20px;
  padding-bottom: 1em;
}

p {
  font-size:15px;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: static;
}

.container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 70%;
  margin: 10px 10% 10px 15%;
}

#navbarResponsive {
  font-weight: 700;
  padding-top: 10px;
}

.navbar-toggler {
  display: flex;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 0.125rem solid transparent;
  border-radius: 0.5rem;
}

.navbar-toggler:hover, .navbar-toggler:focus {
  text-decoration: none;
}

.underline {
  border-bottom: 2px var(--backgroundColBtn) solid;
}

.navbar-list {
  display: flex;
  flex-direction: row;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  margin-bottom: 0;
  list-style: none;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
}

.nav-item {
  padding-left: 1%;
}

.nav-item > .button {
  padding: 0.5rem 2rem;
  margin-left: 10px;
}

.nav-link {
  text-decoration: none;
}


#upperIntro, #featureHeader, #pricingIntro {
  background-repeat: no-repeat;
  background-size: cover; 
  /* Height accounts for viewport increasing in size greater than a width of 1170px so that the div scales accordingly*/
  height: calc(100vw * 600/1170);
  position: relative;

}
#upperIntro {
  background-image: url('../img/images/iStock-1169718972 (2).jpg');
  
}

#featureHeader {
  background-image: url('../img/images/iStock-1322503715 (3).jpg');
}

#pricingIntro {
  background-image: url('../img/images/iStock-484400158 (1).jpg');
  
}

#pricingIntro:before, #featureHeader:before {
  background: rgba(255, 255, 255, 0.2);
  content:'';
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
}

#pricingIntro h1, #featureHeader h1 {
  padding-top: 200px;
}


#upperIntro #upperIntroFade {
  background-color: var(--backgroundColOne);
  height: 23%;
  width: 100%;
  mix-blend-mode:  multiply;
  position:absolute;
  bottom: 0;
}

#introText  {
  position: relative;
  width: 40%;
  min-width: 300px;
  top: 25%;
  left: 15%;
}

#lowerIntro {
  background-color: var(--backgroundColOne);
  height: calc(27vw );
  max-height: 450px;
}

.main {
  width: 85%;
  margin-left: 7.5%;
}

.customisable {
  display: flex;
  flex-direction: row;
  padding: 30px 8.82%;
}

#customisable {
  padding-top: 60px;
}

.cust-right , .cust-left {
  flex: 1 1 0px;
}

.cust-left > h4 {
  padding-bottom: 10px;
}

.cust-left > h2 {
  color: var(--backgroundColOne);
  padding-right: 40px;
}

.cust-right > p {
  padding-top: 45px;
  padding-bottom: 10px;
}

.cust-right {
  display: flex;
  justify-content: center;
}

#customisable > .cust-right {
  padding-left: 2%;
  display: block;
}

.button {
  text-decoration: none;
  background-color: #492c12;
  color: #fff;
  border-radius: 30px / 30px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  padding: 0.75rem 2.3rem;
  font-weight:bold;
}
.button:hover {
  cursor: pointer;
  background-color:var(--backgroundColOne);
}

.cardDetail .button:hover, .column .button:hover, .footer .button:hover {
  background-color:var(--backgroundColBtn);
  padding: 1rem 2.5rem;
}


#footerFeature .button, #footerFeature .button:hover  {
  background-color: var(--backgroundColOne);
}


.row {
  display: flex;
  flex-direction: row;
  margin: 25px 0;
  background-color: var(--backgroundColOne);
  height:auto;
  align-items:stretch;
}
.row img {
  width: 100%;
  height: 100%;
}

.row > div {
  flex: 1 1 0px;
  height: 450px;
}

.column {
  flex: 1 1 0px;
  padding: 3% 0px;
  align-items:flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Adds padding to the top and bottom of the p div which is between a heading and a button (so that we don't need to apply to all three)*/
.column > p {
  padding: 20px 10%;
}

.column > h2 {
  padding-left: 10%;
  padding-right: 10%;
  line-height: 1.2;
}
.column a {
  width:100%;
}
.column button {
  margin-left: 10%;
  margin-right: 5%;
}

.lowCard {
  background-color: var(--backgroundColWht);
  display:flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  justify-content: space-between;
  min-height: 200px;
}

.lowCard > .button {
  width: auto;
}

.lowCard > h4 {
  text-align: center;
}

.highCard {
  width: 100%;
  position:relative;
  display: inline-block;
  overflow: hidden;
  margin: 0px;
  height: 200px;
}

 .highCard > img {
  display: block;
  position: absolute;
  top:50%;
  left:50%;
  height: 200px;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%); 
}

.icon {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  height: 0px;
  padding-bottom: 10%;
}

.icon > img {
  position: relative;
  top: -25px;
  width: 40%;
  max-width: 100px;
  align-self: center;
}

.navbar-toggler {
  display: none;
}

.navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

.navbar-collapse {
  display: flex;
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}


@media (max-width: 768px) {
  .navbar > .container-fluid {
    width:100%;
    margin: 10px;
    flex-wrap: wrap;
  }
  .navbar-toggler {
    display:flex;
    justify-content: space-between;
    flex: 1 1 200px;
    }

  .navbar-list {
    justify-content: center;
    flex-direction: column;
  }

  .smallHide {
    display: none;
  }

  .collapse:not(.show) {
    display: none;
  }
}

#footerNavigation , #footerFeature {
  width:100%;
}

#footerNavigation {
    background-color: var(--backgroundColOne);
}


#footerFeature {
  background-color: var(--backgroundColBtn);
}


#footerFeature nav ul a {
  color: var(--backgroundColWht);
}

.footer{
  padding-top: 25px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 5px;;
}

.bottom > .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    right: 0;
    left: 0;
    z-index: 1030;
}

.footer > .bottom > .navbar > .container-fluid > .collapse > .navbar-list > .nav-item > a {
  color: var(--backgroundColWht);
}

#iframeOutDiv {
  width: 100%;
  height: 580px;
  position: relative;
  overflow: hidden;
}

#iframeOutDiv {
  height: 500px;
}

#iframeInDiv {
  position: absolute;
  width: 100%;
  overflow: hidden;
}



#iframeInDiv {
  top: -110px;
  height: 640px;
}

#form_frame {
  height: 680px;
  width: 100%;
  border:none;
  position: relative;
}

iframe  {
  height: 650px;
  width: 100%;
  border:none;
  position: relative;
}

#footer-buttons {
  position: relative;
}

.iframe, .modal-btn {
  position:relative;
  top: 15px;
  left: 37%;
  pointer-events: none;
  
}
.modal-btn {
  left: 38%;
}

.frameholder {
  background-color: #fff;
  position: relative;
  top: -110px;
  width: 100%;
  height: 100px;
  pointer-events: none;
  text-align: left;
}

#featureIntro {
  background-color: var(--backgroundColOne);
  margin-bottom: 0px;
  margin-top: 0px;
  min-height: 400px;
  
}

#featureIntro > div {
  flex: 1 1 50%;
  height: 500px;
  
}

#featureImage {
  overflow: hidden;
  position:relative;
}

#featureImage > img {
  display: block;
  position: absolute;
  top:50%;
  left:50%;
  height:auto;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%); 
}

#featureName {
  padding-left: 15%;
  padding-top: 5%;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

#featureName h2 {
  padding-left: 0;
  padding-bottom:1rem;
}

#feautreName h4 {
  text-transform: initial;
}

#featureName div {
  padding-bottom: 20px;
}

#featureName img {
  min-width: 50px;
  max-width: 100px;
}

.featureDetail {
  margin-top: 50px;
  padding-top: 0;
}

.featureBrief, .featureDescription {
  flex: 1 1 0px;
}

.featureBrief > h2 {
  color: var(--backgroundColOne);
  padding-right: 40px;
}


#featureImageCarousel {
  width: 100%;
  display: flex;
  justify-content: center;
}

#featureImageCarousel img {
  max-width:100%;
  max-height: 500px;
}

.featureLandingCarousel{
  background-color: #f5b906;
}
.featureLandingCarousel > div {
  padding-bottom: 160px;
}
.featureLandingCarousel > h2 {
  text-align:center;
  padding-top:50px;
  padding-bottom:50px;
}
.featureLandingCarousel #carousel{
  top:0px;
}

@media (max-width: 1700px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .row > div {
    height: 400px;
  }


}

@media (max-width: 1400px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h4 {
    font-size: 20px;
  }

  #iframeOutDiv {
    height: 520px;
  }

  .cust-right {
    padding-left: 2%;
  }

  .cust-left {
    padding-top: 20px;
  }

  .iframe{
    left: 35%;
  }

  #iframe {
    height: 650px;
  }

  #iframeInDiv{
    height: 650px;
  }



  .row > div {
    height: 350px;
  }

} 

@media only screen and (orientation: landscape) and (max-width: 1280px){
  .container-fluid {
    margin-left: 5%;
    width:90%;
  }
  
  #introText {
    width: 60%;
  }
  #introText > h1 {
    width: 80%;
  }

  #iframeOutDiv {
    width: 100%;
  }

  .main {
    margin:0 0.5%;
    width:99%;
  }

  .lowCard {
    flex-basis: 230px;
    padding:10px;
    padding-bottom:20px;
    min-height: 150px;
  }

  .icon img {
    top: -10px;
  }

  #featureIntro > div {
    height: auto;
  }

  #lowerIntro {
    height: 260px;
  }

  #featureName {
    padding-left: 7.5vw;
  }
}

@media (max-width: 1170px) {
  .navbar > .container-fluid {
    width: 90%;
    margin: 10px 5% 10px 5%;
  }

 #upperIntro, #pricingIntro, #featureHeader {
  height: 600px;
 }

  #lowerIntro {
    height: 260px;
    width: 100%;
  }

  #featureName {
    padding-left: 5vw;
  }

  .header {
    margin-left: 5%;
    width: 90%;
  }


  h1 {
   font-size: 30px;
 }
}

@media  (max-width: 1000px){
  #introText {
    width: 60%;
  }
  .iframe {
    left: 90px;
  }

  #iframeOutDiv {
    width: 350px;
  }

  #featureIntro {
    min-height: auto;
  }
  #featureIntro > div {
    height: auto;
  }
  
  #featureImageCarousel {
    width:100%;
    margin: 0px;
  }

  .featureDetail {
    margin-top: 0px;
    padding-left: 5%;
    padding-right: 5%;
  }
  .customisable {
    padding: 30px 50px;
    flex-direction: column;
    align-content: center;
  }

}

@media (max-width: 991px){
  .icon {
    padding-bottom: 10%;
  }
}

@media (max-width: 767px){

  #introText{
    top: 20%;
    left:10%;
    width: 80%;
    display:flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
  }

  #introText .button {
    align-self: flex-start;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 20px;
  }


  .row {
    flex-direction: column;
    margin: 0px;
    justify-content: space-between;
    border: 0px;
  }

  .row .avatar {
    order: 2;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .column {
    padding: 5% 0px;
  }

  .column h2 {
    font-size: 25px;
  }

  .customisable {
    padding: 30px 5px;
  }

  #iframeOutDiv {
    width: 100%;
  }

  .cust-right {
    padding-left: 0px;
  }

  .cust-right p {
    padding-top: 30px;
  }

  #customisable {
    padding-left: 5%;
    width: 90%;
  }

  .cust-left {
    text-align: center;
  }

  .iframe {
    left: calc(50% - 84px);
  }

  .hideNav {
    display: none;
  }

  #featureIntro > div {
    flex: 1 1 350px;
  }

  #featureName {
    padding-left: 40px;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    flex: 1 1 300px;
  }

  #featureName h2 {
    padding-left: 10px;
    text-align: left;
    align-self: center;
  }

  .featureLandingCarousel > h2 {
    padding: 20px 0;
  }
  
  .featureLandingCarousel > div {
    padding-bottom: 50px;
  }

  .featureDetail {
    padding-left: 5%;
    padding-right: 5%;
  }

}


#feature_table {
  height: auto;
  padding: 5%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
}

table th, table td {
  padding: 0.75rem;
  border-bottom: .125rem solid var(--backgroundColBtn);
}

table {
  border-collapse: collapse;
  width: 70%;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.bg-primary {
  background-color: var(--backgroundColOne);
}

.card {
  display: flex;
  flex-direction: column;
  flex: 1 1 0px;
  border-collapse: collapse; 
}

.cardDetail {
  display: flex;
  flex-direction: column;
  padding: 20px 10%;
  border: 1px solid var(--backgroundColBtn);
  min-height: 680px;
  background-color: hsl(45,50%,90%);
  margin-top: 15px;
}

.cardHolder {
  margin-left: 7.5%;
  display: flex;
  flex-direction: row;
  width: 85%;
  justify-content: space-between;

}

.cardList {
  text-align: left;
}


.cardOne {
  border-radius: 2% 0 0 2%;
}

.cardThree {
  border-radius: 0 2% 2% 0;
}
.price {
  padding-bottom: 40px;
}
.price h1 {
  text-align: center;
  font-size: 50px;
  padding-right: 10px;
  padding-bottom:5px;
}

.cardInformation {
  display:flex;
  flex-direction: column;
  justify-content:space-between;
  flex-grow: 5;
}

.extraInfo {
  margin-bottom: 50px;
  margin-left: 7.5%;
  width: 85%;
}
.extraInfo p{
  text-align: left;
  line-height: 1.5;
}

.cardDetail:hover{
  border-radius: 2%;
  height: 700px;
  margin-top:5px
}

.selectedCard {
  background-color: var(--backgroundColOne);
  border: 2px solid var(--backgroundColBtn);
  border-radius: 2%;
  height: 700px;
  margin-top:5px;
  border-collapse: collapse;
}

h5 {
  font-size: 20px;
}

.header {
  height: 500px;
  margin-bottom: 40px;
  width:85%;
  margin-left: 7.5%;
  overflow: hidden;
}

.headerText {
  text-align: center;
  padding-left: 22%;
  padding-right: 22%;
}

.headerText h1 {
  padding-top: 15%;
  text-align: center;
  padding-bottom: 20px;
}

.enginIcon {
  width: 160px;
  height: 50.4px;
  background-image: url("../img/logos/engin-logo-navbar.png");
}

#footerNavigation .enginIcon, #footerFeature .enginIcon {
  background-image: url("../img/logos/engin-logo-honey.svg");
}



.featureDiv {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}
.featureDiv > div{
  margin: 0 15px;
  width: 20%;
  min-width: 200px;
  display: flex;
}

.featureDiv .carousel-contents {
  border: 0.5px var(--backgroundColBtn) solid; 
}
.carousel-contents{

  width: 100%;
  margin: 10px 1%; 
}

@media only screen and (max-width: 1627px){
  .cardHolder{
  margin-left: 0%;
  width:100%;
  }
}

/* Tablet Landscape */
@media only screen and (orientation: landscape) and (max-width: 1280px) {
  .featureDiv .highCard {
    width:100%;
  }

  .carousel-contents{width:250px; overflow: hidden; }
  .highCard{height: 150px; }
  .lowCard{flex: 5 150px; padding-bottom: 5px;}
  .lowCard > h4 { font-size: 15px;}

  .header {
    width:90%;
    margin-left: 5%;
  }
}

/* Tablet Portrait */
@media only screen and (max-width: 991px) {
  .featureDiv {
    flex-wrap: wrap;
  }
  .featureDiv>div{
    margin: 0 15px;
    width:30%;
    min-width: 350px;
  }

  .header {
    width: 100%;
    margin-left: 0;
  }
  .highCard{height: 150px; }
  .lowCard{
    min-height: 150px;
  }
  .main {
    width: 98%;
    margin: 0 1%;
  }

  .sm-hide {
    display: none;
  }
  .card{
    width:100%;
    flex:auto;
    margin-top: 15px;
  }
  .cardTitle {
    padding: 40px 20px;
    width: 50%;
    margin-left: 25%;
    border-radius: 10px;
    border: var(--backgroundColBtn) 1px solid;
    background-color: var(--backgroundColOne);
  }
  .card:hover{
    cursor:pointer ;
  }
  .cardDetail {
    border-radius: 0%;
  }
  .cardHolder {
    flex-wrap: wrap;
    width: 100%;
  }
}


/*Pricing Page Small screens */
@media only screen and (max-width: 590px){
  .cardHolder {
    flex-wrap: wrap;
    width: 100%;
  }


  .card{
    width:100%;
    flex:auto;
    margin-top: 15px;
  }
  .cardTitle {
    border: var(--backgroundColBtn) 1px solid;
    background-color: var(--backgroundColOne);
  }
  .card:hover{
    cursor:pointer ;
  }
  .cardDetail {
    border-radius: 0%;
  }

  .headerText{
    padding-left: 10%;
    padding-right: 10%;
  }

  .header{
    height: 300px;
  }
  #upperIntro, #pricingIntro, #featureHeader {
    height: 400px;
  }

  #pricingIntro h1, #featureHeader h1 {
    padding-top: 70px;
  }

  .featureDiv > div {
    margin: 0 5px;
    min-width: 175px;
  }

  .carousel-contents {
    margin: 10px 0;
  }
  .lowCard {
    padding: 10px 5px; 
  }
  .featureBrief > h2 {
    padding-right: 0px;
    padding-bottom: 10px;
  }

  .icon > img {
    width: 20%;
    top: -10px;
  }
  #lowerIntro {
    height: 320px;
  }
  #lowerIntro > div {
    top: 50px;
    position: relative;
  }
}