*{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;
}
ul{
padding-left: 30px;
}
/* MOBILE SCREEN */
.master-grid{
display:grid;	grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
grid-template-areas:
"header"
"hero"
"duna"
"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        hero         hero"
" .            duna    duna         .        "
" .   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(../duna/duna-lodge-18.jpg);
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
text-align: center;
}

.duna{
grid-area: duna;
padding: 20px;

}



/* DUNA GALLERY */
.gallery-1{
grid-area: gallery-1;
margin: 100px 5px;

}

.container {
margin: auto;
border: #fff solid 5px;
background: #fff;
}

img {
max-width: 100%;
}

.img-grid {
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-gap: 5px;
}

  @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);
    }
  }
  
  
.advert{
  width: 700px;
  height: auto;
  margin-left: 60px;
}    
  
  /* 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-2{
    grid-area: sub-2;
    padding:20px;align-content:center;text-align:center;align-items:center;margin:5px 0;
    background-color: #839DA5;
    color: black;
    margin-bottom: 0;
    }
    .sub-2 p{
    font-size: 0.8em !important;
    color: black;
    font-weight: 700;
    }
    .sub-2 h4{
      font-size: 1.3em !important;
      color: black;
      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: 40px;
  top: 10px;
  z-index: 1;
  }
  
  .nav > .nav-btn > label {
  display: inline-block;
  width: 50px;
  height: 50px;
  padding: 13px;
  margin-right: 40px;
  }
  .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:400px;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}

.duna{
grid-area: duna;
padding: 20px;
}
.advert{
  width: 700px;
  height: auto;
  margin: auto;
} 

}

/* MEDIA SCREEN - TABLETS --------------------------------------------------*/

@media screen and  (min-width: 810px) and (max-width: 1279px){
.hero{
  min-height:600px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin:0 0;
  }


.duna{
grid-area: duna;
padding: 20px;
}
.advert{
width: 700px;
height: auto;
margin: auto;
} 

}


































