*{box-sizing:border-box;margin:0;padding:0}
body,html{
  height:100vh;
  width:100%;
  color: black;
  font-weight: 300;
  font-size:1em;
  line-height:1.6;
  font-family: 'Serif', sans-serif;
  text-rendering: auto;
  }
img {
width: 100%;
height: auto;
}
li{
padding-left: 15px;
padding-bottom: 5px;
list-style-type: square;
}
ul{
padding-left: 30px;
}

/* MOBILE SCREEN */
.master-grid{
display:grid;	grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
grid-template-areas:
"header"
"hero"
"lodge-1"
"what"
"lodge-2"
"what2"
"gallery-1"
"myform"
"footer"
"sub-1"
"sub-4"


}
/* DESKTOP SCREEN */
@media only screen and (min-width:1280px){
.master-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
grid-template-areas:
"header  header  header  header "
" . hero  hero    . "
" .   lodge-1    lodge-1 . "
"  .  what   what   .      "
"  . lodge-2    lodge-2  .  "
"  .   what2     what2   .  "
" .  gallery-1     gallery-1  .  "
"  .  myform    myform   .   "
"footer   footer  footer  footer"
"sub-1  sub-1  sub-4  sub-4"
}
}

.hero{
grid-area: hero;
min-height:600px;
background-image: url(../mafura-house-1.webp);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
margin:0 0;
}

.lodge-1{
grid-area: lodge-1;
padding: 30px;
margin: 20px 5px;
}
.lodge-1 h1 {
  font-size: 2vw;
  margin-top: 0;
}
.lodge-1 h2{
margin-top: 40px;
font-size: 1.5vw;
}
.lodge-1 h3, h4 {
margin-top: 60px;
font-size: 1.5em !important;
}



/* UNIT #2 */

.lodge-2{
 grid-area: lodge-2;
 padding: 30px;
 }
 .lodge-2 h3, h4 {
  font-size: 1.4em !important;
 }
.what2{
  grid-area: what2;
  padding: 30px;
}
.what2 h3, h4 {
font-size: 1.4em !important;
}

.what {
grid-area: what;
padding: 30px;
margin-top: 20px;
}


/* MAFURA GALLERY */
.gallery-1{
  grid-area: gallery-1;
  
}

.container {
  margin: auto;
  border: #fff solid 5px;
  background: #fff;
}

/* mak images fill their container*/
img {
  max-width: 100%;
}
/* img:hover {
cursor: pointer;
} */

/* CSS Grid*/
.img-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 5px;
}
/* .zoom{
  transition: transform .2s; 	
  margin:0 auto;padding:5px}
 
 .zoom:hover{  transform: scale(1.00);
 } */


/* Media Query for changing grid on bigger screens*/

/* Bigger than Phones(tablet) */
@media only screen and (min-width: 750px) {
  .img-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Bigger than Phones(laptop / desktop) */
@media only screen and (min-width: 970px) {
  .img-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* MAIN BUTTON */
.btn-m{
  background-color:#364A50;
  color: white !important; 
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 8px ;
  border: 2px solid black;
  text-decoration:none;
  font-size: 1em;
  font-weight:bold;
  width:15em;
  padding:7px 5px;
  margin:auto;
  }
  .btn-m:hover{
   background-color:  #16292b;
   color:white; 
   cursor: pointer;
   text-decoration: underline;
 
  }


/* ENDS */
/* BACK TO THE TOP */


.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  }
  .scrollToTopBtn {
  background-color: #5e5c5c;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 30px;
  line-height: 48px;
  width: 48px;
  /* place it at the bottom right corner */
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* keep it on top of everything else */
  z-index: 100;
  /* hide with opacity */
  opacity: 0;
  /* also add a translate effect */
  transform: translateY(100px);
  /* and a transition */
  transition: all .5s ease
  }
  
  .showBtn {
  opacity: 1;
  transform: translateY(0)
  }
  
  
  /* ENDS */

  
#sub-1{
grid-area: sub-1;
padding:20px;align-content:center;
 text-align:center;
align-items:center;
margin:5px 0;
scroll-behavior: smooth;
background-color: #839DA5;
color:black;
min-height: 400px;
margin-bottom: 0;
font-size: 1.1em;
}


    #sub-1 a{
    color: white!important;
    text-decoration: none;
    font-weight: 700;
    }
    #sub-1 a:hover{
    color: black;
    text-decoration: underline;
    font-weight: 700;
    }
      .sub-4{
      grid-area: sub-4;
      padding:20px;align-content:center;text-align:center;align-items:center;margin:5px 0;
      /* background-color: rgb(17, 110, 217); */
     color:black;
     margin-bottom: 0;
     background-color: #839DA5;
     }
    /* FORM SECTION */
    
    
    input[type=text], select {
    width: 60%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border-style: solid  ;
    border: white solid 1px;
    box-sizing: border-box;
    color: white;
    font-size: 0.9em;
    background-color: transparent;
    }
    
    input[type=submit] {
    text-decoration: none;
    cursor: pointer;
    color: black;
    font-size: 0.9em;
    }
    /* text area styles */
    textarea {
    height:150px !important;
    padding: 10px 10px;
    color: black;
    font-size: 0.9em;
    }
    
    label,
    textarea {
    
    color: black;
    font-size: 0.9em;
    }
    
    .no-outline:focus {
    outline: none;
    }  
    /* adds space on top for label */
    .contact-form {
    margin-top: 30px;
    }
    
    /* positioning .form-field relative, so .lable can be positioned on-top (absolute) */
    .form-field {
    position: relative;
    }
    
    /* label styles */
    .label {
    position: absolute;
    left: 0;
    top: -25px;
    line-height: 26px;
    font-weight: 400;
    text-transform: capitalize;
    color: black;
    cursor: text;
    font-size: 0.9em;
    }
    .mess{
    color: black;
    font-size: 0.9em;
    }
    /* input styles */
    input[type="text"],
    input[type="password"],
    input[type="date"],
    input[type="datetime"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="time"],
    input[type="url"],
    
    textarea, select {
    border: 2px solid rgb(8, 150, 206);
    height: 40px;
    padding: 5px 10px;
    width: 100%;
    background-color: rgb(247,247,247);
    color: black;
    font-size: 0.9em;
    }  
    /* END */
    

/*NAVIGATION*/
header{
  grid-area: header;
  }
  
  .nav {
  height: 70px;
  width: 100%;
  background-color:#364A50 ;
  position: fixed;
  z-index: 555;
  }
  
  .nav > .nav-header {
  display: inline;
  margin-right: 20px;
  }
  
  .nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 20px;
  color: #eeeae2;
  padding: 10px 10px 10px 10px;
  }
  
  .nav > .nav-btn {
  display: none;
  }
  
  .nav > .nav-links {
  display: inline;
  float: right;
  font-size: 17px;
  }
  
  .nav > .nav-links > a {
  display: inline-block;
  padding: 1px 60px 5px 5px;
  text-decoration: none;
  color: white;
  }
  
  .nav > .nav-links > a:hover {
  background-color: #36454F;
  color: white ;
  z-index: 1;
  }
  .nav > #nav-check {
  display: none;
  }
  
  @media (max-width:1080px) {
  .nav > .nav-btn {
  display: inline-block;
  position: absolute;
  right: 80px;
  top: 10px;
  z-index: 1;
  }
  .nav > .nav-btn > label {
  display: inline-block;
  width: 50px;
  height: 50px;
  padding: 13px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
  background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
  display: block;
  width: 25px;
  height: 10px;
  border-top: 2px solid #eee;
  }
  .nav > .nav-links {
  position: absolute;
  display: block;
  width: 100%;
  background-color: #9EA791;
  height: 0px;
  transition: all 0.3s ease-in;
  overflow-y: hidden;
  top: 50px;
  left: 0px;
  z-index: 1;
  color: white;
  }
  .nav > .nav-links > a {
  display: block;
  width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
  height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
  height: calc(100vh - 50px);
  overflow-y: auto;
  }
  }







/* MEDIA - HAND HELDS */

@media  screen and (max-width: 480px){ 

.hero{
grid-area: hero;
min-height:350px;
background-size: contain;
background-position: center center;
margin: 0 0 ;
}

.lodge-1 h1{
margin-top: 40px;
font-size: 6vw;
}

.lodge-1 h2{
  margin-top: 10px;
  font-size: 1.4em;
  }
  

.what{
grid-area: what;
margin-top: 20px;
padding: 30px !important;
}
.what2 h2, h3, h4 {
  font-size: 1.4em !important;
  }


.review1{
  grid-area:review1;
min-height: 300px;
color: black;
padding: 30px;

}
.review-card{
	padding: 20px;
	border-radius: 8px;
	border: 1PX solid rgb(105, 104, 104);
  margin-bottom: 60px;
}

.gallery-1{
  margin: 5px 20px;
}

}


/* MEDIA SCREEN - TABLETS --------------------------------------------------*/

@media screen and  (min-width: 811px) and (max-width: 1279px){
.hero{
grid-area: hero;
min-height:600px;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
margin:0 0;
}
.hero h1{
position: absolute;
font-size: 6vw !important;
left: 15%;
top: 10%;
color: white;
font-weight: 700;
}

.hero h2 {
position: absolute;
left:30%;
top: 30%;
color: white;
font-size: 5vw;
}
.lodge-1 h2{
margin-top: 60px;
font-size: 3vw;
}
.lodge-1 h3, h4 {
margin-top: 60px;
font-size: 2.5vw !important;
}


}








