* {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  }
img {
  max-width: 100%;
  height: auto;
}

/*! custom Scroll bar */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #C3D256; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #2F2F2F; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* TODO -------TOP AREA OVER SLIDE SHOW LOGo ICONS--------- */
.grid-container-1 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
  /* position: fixed; */
	position: absolute;
  z-index: 999;
  text-align: center;
  width: 100%;
  grid-template-areas: "box1 box2 box3";
  color: rgb(253, 252, 245);
  min-height: 50px;
}
/* TODO---------FINISH TOP AREA OVER SLIDE SHOW--------- */

/*!-------Logo and social media icon placement start----- */
.box1 {
  padding: 1rem;
  grid-area: box1;
  /*? hidden div on mobile <428px */
}
.box2 {
  grid-area: box2;
  /*? logo div */
}
.box3 {
  padding: 1rem;
  grid-area: box3;
}
/*!-------Finish logo and social media icon placement----- */

/* TODO -----------SLIDE SHOW STYLES--------------- */
#all_slides{
    position: relative;
    height: 100vh;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

.slide{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    -webkit-transition: opacity 2s;
    -moz-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 2s;
}

.active{
    opacity: 1;
    z-index: 2;
}

.controls{
    display: none;
}

.slide{
    font-size: 40px;
    padding: 40px;
    box-sizing: border-box;
    background: #333;
    color: #fff;
    background-size: cover;
}

.slide:nth-of-type(1){
  background-image: url('../images/sl2.webp');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.slide:nth-of-type(2){
  background-image: url('../images/sl5.webp');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(3){
  background-image: url('../images/sl3.webp');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(4){
  background-image: url('../images/sl1.webp');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}
.container{
  position: relative;
}
/* TODO -----------FINISH SLIDE SHOW STYLES------------ */

/* !------- START MAIN STYLES-----------

/* -------50 percent container--------- */
.container-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  margin-top: 1rem;
  align-items: center;
  grid-template-areas: 
  "50left 50right";
}
.left50 {
  padding: 1.5rem;
  grid-area: 50left;
}
.right50 {
  padding: 1.5rem;
  grid-area: 50right;
}
/* ---------finish 50 % boxes----------- */

/* --------Start 33 percent boxes--------  */
.container-33 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  grid-gap: 20px;
  background-color: #EBEBEB;
  grid-template-areas: 
  "left33 middle33 right33";
}

.left33 {
  padding: 1rem;
  grid-area: left33;
}
.middle33 {
  padding: 1rem;
  grid-area: middle33;
}
.right33 {
  padding: 1rem;
  grid-area: right33;
  text-align: center;
}
/* -----------finish 33 perecent boxes---------- */


/* --------Start 25 percent 4 boxes section------ */
.container-25 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  margin-left: 1rem;
  margin-right: 1rem;
  grid-gap: 20px;
  margin-bottom: 20px;
  grid-template-areas: 
  "title title title title"
  "box1-25 box2-25 box3-25 box4-25";
}
.title {
  padding: 1rem;
  text-align: center;
  grid-area: title;
}
.box1-25 {
  padding: 1rem;
  grid-area: box1-25;
  text-align: center;
  border-radius: 5px;
}
.box2-25 {
  padding: 1rem;
  grid-area: box2-25;
  text-align: center;
  border-radius: 5px;
}
.box3-25 {
  padding: 1rem;
  grid-area: box3-25;
  text-align: center;
  border-radius: 5px;
}
.box4-25 {
  padding: 1rem;
  grid-area: box4-25;
  text-align: center;
  border-radius: 5px;
}
.boxhover:hover {
  background-color: #EBEBEB;
  -moz-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;}

/* ------finish 25% 4 box container--------  */

.hero {
  width: 100%;
  text-align: center;
  padding-top: 200px;
  padding-bottom: 200px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.hero-bg {
  background: url(../../static/images/heroimg.webp) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/*TODO Background images for 50% pages */
.bg10 {
  background: url(../../static/images/bg11.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
  padding-top: 300px;
  padding-bottom: 300px;
}
.bg11 {
  background: url(../../static/images/bg13.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
  padding-top: 300px;
  padding-bottom: 300px;
}
.bg12 {
  background: url(../../static/images/bg14.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
  padding-top: 300px;
  padding-bottom: 300px;
}
.bg13 {
  background: url(../../static/images/bg15.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
  padding-top: 300px;
  padding-bottom: 300px;
}
.bg14 {
  background: url(../../static/images/bg10.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
  padding-top: 300px;
  padding-bottom: 300px;
}
/*TODO finish background 50% box images */

/*! ------ FINISH MAIN STYLES------- */


/* ?---------FONTS STYLES--------- */

h1 {
  font-size : clamp(1.5rem, 8vw, 2rem);
  font-family: 'Open Sans', sans-serif;
  color:black;
  margin-bottom: 1.6rem;
  text-align: center;
}

h2 {
  font-size : clamp(1.5rem, 8vw, 1.5rem);
  color:black;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1.6rem;
  margin-top: 1.5rem;
  text-align: center;
}

h3 {
  font-size : clamp(1.5rem, 8vw, 1.2rem);
  color:black;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1.6rem;
}

h4 {
  font-size : clamp(1.6rem, 7vw, 1.2rem);
  color:black;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1.6rem;
  }

h5 {
    font-size : clamp(1.6rem, 7vw, 1.2rem);
    color:darkolivegreen;
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 1.6rem;
    }
p {
  font-size : clamp(0.9rem, 4vw, 1.4rem);
  color:black;
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

/*TODO BUTTON STYLES */

.button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 16px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 4px 12px;
  transition-duration: 0.5s;
  cursor:pointer;
}

.button1 {
  background-color: #C8D644; 
  color: black; 
}

.button1:hover {
  background-color: #2F2F2F;
  color: white;
}
/*TODO END BUTTON STYLES */

/**-------ICONS---------- */
.fa {
  padding: 15px;
  font-size: 30px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  color: white;
}

.fa-twitter {
  color: white;
}
.fa-instagram {
  color: white;
}
.fa-envelope-o {
  color: white;
}
.fa-phone {
  color: white;
} 

/*! BLACK ICONS */

#bottom.fa {
  padding: 15px;
  font-size: 30px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
  opacity: 0.7;
}

#bottom .fa-facebook {
  color: black;
}

#bottom .fa-twitter {
  color: black;
}
#bottom .fa-instagram {
  color: black;
}
#bottom .fa-envelope-o {
  color: black;
}
#bottom .fa-phone {
  color: black;
}

/**----------- END ICONS ---------- */

/*? ------BACK TO TOP------- */
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #C8D644 url("../../static/images/cd-top-arrow.svg") no-repeat center 50%; 
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 1;
  /* opacity: .5; */
}
.no-touch .cd-top:hover {
  background-color: #F29E92;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
  right: 20px;
  bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
  height: 60px;
  width: 60px;
  right: 30px;
  bottom: 30px;
  }
}
/* ? -----End back to top----- */

/* *********************************** */
/*TODO ------------MEDIA QUERIES---------- */

/* MOBILE MEDIA QUERIES iPad portrait <768px */

@media screen and (max-width: 768px) {

/* 50 percent container */
.container-50 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  margin-top: 1rem;
  text-align: center;
  grid-template-areas: 
  "50left" "50right";
}
/* ---------finish 50 % boxes----------- */

/* --------Start 33 percent boxes--------  */
.container-33 {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  grid-template-rows: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  grid-gap: 20px;
  grid-template-areas: 
  "left33" "middle33" "right33";
}
/* ---------finish 33 perecent boxes------- */

/* -------Start 25 percent 4 boxes section-------- */
.container-25 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 20px;
  grid-template-areas: 
  "title title"
  "box1-25 box2-25" 
  "box3-25 box4-25";
}
}
/* -------finish 25% 4 box container--------  */

@media screen and (max-width: 604px) {
  .grid-container-1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    /* position: fixed; */
    position: absolute;
    z-index: 999;
    text-align: center;
    width: 100%;
    grid-template-areas: "box1" "box2" "box3";
    color: rgb(253, 252, 245);
    min-height: 50px;
}
.box1 {
  display: none;
  padding: 1rem;
  grid-area: box1;
}

}

/* MOBILE MEDIA QUERIES iPhone Pro and down <320px */

@media screen and (max-width: 428px) {

  .grid-container-1 {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      /* position: fixed; */
      position: absolute;
      z-index: 999;
      text-align: center;
      width: 100%;
      grid-template-areas: "box1" "box2" "box3";
      color: rgb(253, 252, 245);
      min-height: 50px;
  }
  .box1 {
    display: none;
    padding: 1rem;
    grid-area: box1;
  }
  /* Start 25 percent 4 boxes section */
.container-25 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-gap: 20px;
  text-align: center;
  grid-template-areas: 
  "title"
  "box1-25" 
  "box2-25" 
  "box3-25" 
  "box4-25";
}
.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 12px;
  transition-duration: 0.4s;
  cursor:pointer;
}
.button1 {
  background-color: #C3D256; 
  color: black; 
  /* border: 2px solid #C3D256; */
}

.button1:hover {
  background-color: #000000;
  color: white;
}
}

