/* reset */
*,
 *::before,
 *::after {
     box-sizing: border-box;
}
/* 2. Remove default margin */
* {
  margin: 0;
 
}
/* 3. Smooth Scroll */
  html, body {
  scroll-behaviour: smooth;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}
/* Typographic tweaks! 4. Add accessible line-height 5. Improve text rendering */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
  img,svg,video,picture {
  max-width: 100%;
  height: auto;
}
/* 7. Remove built-in form typography styles */
input, button, textarea, select {
  font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}


/*todo start head wrap */
.head-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* background-color: #B28501; */
    grid-template-rows: auto;
    gap: 0.5rem;
    /* align-items: center;
    justify-content: center; */
    background: url(../images/whitby2.webp) no-repeat center center scroll; 
    -webkit-background-size: cover;
    -moz-background-size: contain;
    -o-background-size: cover;
    background-size: cover;
    padding-bottom: 400px;
    /* padding: 30vh 1rem; */
    grid-template-areas: 
    "menu menu menu"
    "logo title icons";
}

/*todo different backgounds for each page for given class */
/* .background1 {
  background: url(../images/whitby2.jpg) no-repeat center center scroll; 
} */

.background2 {
  background: url(../images/sundowner2.jpg) no-repeat center center scroll; 
  -webkit-background-size: cover;
  -moz-background-size: contain;
  -o-background-size: cover;
  background-size: cover;
}

.background3 {
  background: url(../images/bg3.jpg) no-repeat center center scroll; 
  -webkit-background-size: cover;
  -moz-background-size: contain;
  -o-background-size: cover;
  background-size: cover;
}

/* .background4 {
  background: url(../images/whitby2.jpg) no-repeat center center scroll; 
}  */
/*-----------------------------------------------------------------*/

.logo {
    /* padding: 0.5rem; */
    text-align: center;
    grid-area: logo;
}

.title {
    padding: 0.5rem;
    text-align: center;
    grid-area: title;
}
.icons {
    padding: 0.5rem;
    text-align: center;
    grid-area: icons;

}
.menu {
    grid-area: menu;

}

/* imnage slider */
.intro-head {
    width: 100%;
    /* height: 800px; */
    display: grid;
    margin-top: 1rem;
    text-align: center;
    background: url(../images/bg3.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 30vh 1rem;
  }



.inner-title {
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

/* main-content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    background-color: white;
    margin-top: 1rem;
    gap: 1rem;
}
.left-content {
    padding: 1rem;
    text-align: center;
}
.right-content {
    padding: 1rem;
    text-align: center;
}
/*title */
.title-heading {
    text-align: center;
    margin-top: 1rem;
    /* background-color: rgb(25, 25, 26); */
    padding: 1rem;
}
.text {
  width: 100%;
  background-color: white;
  padding: 1rem;
}
/*locations */
.locations {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 0.5rem;
    margin-top: 1rem;
}
.location-one {
    text-align: center;
    background-color: #003E55;
    border-radius: 5px;
}
.location-two {
    text-align: center;
    background-color: #003E55;
    border-radius: 5px;
}
.location-three {
    text-align: center;
    background-color: #003E55;
    border-radius: 5px;
}
.location-four {
    text-align: center;
    background-color: #003E55;
    border-radius: 5px;
}
.footer {
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    background-color: #B28501;
}


body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size:16px;
}
/*? navigation*/
/*todo --- a added class to show active tab on meni */
.active {
  background-color: #B28501 !important;
}

.mobile-menu {
  display:grid;
  max-width:100%;
  /* background: #003E55; */
  background: transparent;
  line-height: 1.2rem;
  font-weight: 400;
  font-size: 16px;
  width:100%;
  text-align:center;
  position: relative;
  margin:10px auto;
  }
  /*Strip the ul of padding and list styling*/
  .mobile-menu ul {
    list-style-type:none;
    margin: 0 auto;
    padding-left:0;
    text-align:center;
    width:100%;
    position: relative;
    /* background: #003E55; */
  }
  
  /*Create a horizontal list with spacing*/
  .mobile-menu li {
      display:inline-block;
      /*float: left;
      margin-right: 1px;*/
  }
  
  /*Style for menu links*/
  .mobile-menu li a {
      display:block;
      min-width:180px;
      border-radius: 5px;
      text-align: center;
      font-size: small;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      font-size: 16px;
      color: #fff;
    text-transform:uppercase;
      /* background: #003E55; */
      text-decoration: none;
    margin-left:-5px;
    padding: 15px 0;  
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -ms-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  }
  
  /*Hover state for top level links*/
  .mobile-menu li:hover a {
    color: white;
    /* background-color:#B28501; */
    background-color: rgba(255, 255, 255, 0.027);
  }

  /*Style for dropdown links*/
  .mobile-menu li:hover ul a {
      background: #f3f3f3;
      color: #2f3036;
      height: 40px;
      line-height: 40px;
  }
  
  /*Hover state for dropdown links*/
  .mobile-menu li:hover .mobile-menu ul a:hover {
      color: #4db3ff;
  }
  
  /*Hide dropdown links until they are needed*/
  .mobile-menu li ul {
      display: none;
  }
  
  /*Make dropdown links vertical*/
  .mobile-menu li ul li {
      display: block;
      float: none;
  }
  
  /*Prevent text wrapping*/
  .mobile-menu li ul li a {
      width: auto;
      min-width: 100px;
      padding: 0 20px;
  }
  
  
  /*Style 'show menu' label button and hide it by default*/
  .mobile-menu .show-menu {
      text-decoration: none;
      color: #fff;
      /* background: #003E55; */
      text-align: center;
      padding: 10px 15px;
      display: none;
    cursor: pointer;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
  }
  
  .mobile-menu .show-menu span{
     padding-left: 25px;
  }
  
  /*Hide checkbox*/
  .mobile-menu input[type=checkbox]{
      display: none;
  }
  
  /*Show menu when invisible checkbox is checked*/
  .mobile-menu input[type=checkbox]:checked ~ #menu{
      display: block;
  }
  
  /*Responsive Styles*/
  
  @media screen and (max-width : 800px){
    .mobile-menu .lines {
      border-bottom: 15px double #f8f8f8; 
      border-top: 5px solid #f8f8f8; 
      content:"";
      height: 25px; 
      width:30px;
      padding-right:15px;
      float: right;
  }
      /*Make dropdown links appear inline*/
      .mobile-menu ul {
          position: static;
          display: none;
      }
      /*Create vertical spacing*/
      .mobile-menu li {
          margin-bottom: 1px;
      }
      /*Make all menu links full width*/
      .mobile-menu ul li, .mobile-menu li a {
          width: 100%;
      }
      /*Display 'show menu' link*/
      .mobile-menu .show-menu {
          display:block;
      }
  }

  /*TODO  FONTS  */

  h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 3rem;
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  h3 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 20px;;

  }

  h5 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.6rem;
    font-weight: bold;

  }

.white {
  color: white;
}
.grey {
  color: rgb(27, 27, 27);
}

  p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  div.container {
    text-align: center;
  }
  
  ul.myUL {
    display: inline-block;
    text-align: left;
  }

  .pad {
    margin-left: 10px;
    margin-right: 10px;
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /*! buttons */
  .button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
  }
  
  .button1 {
    background-color: #B28501; 
    border-radius: 5px;
    color: white; 
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .button1:hover {
    background-color: #6b5101;
    color: white;
  }

  /*todo 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: #003E55 url("../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: .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;
    }
  }

  /*! Media Queries */

  /* MOBILE MEDIA QUERIES 1024 */

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

    .head-wrap {
        display: grid;
        padding-bottom: 80px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.5rem;
        grid-template-areas: 
        "menu"
        "logo" 
        "title"
        "icons"
        ;
    } 
    
    /* main-content */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: 1rem;
    gap: 1rem;
}

/*locations */
.locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 0.5rem;
    margin-top: 1rem;
}

}



/* MOBILE MEDIA QUERIES 768 */

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

    .head-wrap {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.5rem;
        grid-template-areas: 
        "menu"
        "logo" 
        "title"
        "icons"
        ;
    } 
    
    /* main-content */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: 1rem;
    gap: 1rem;
}

/*locations */
.locations {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 0.5rem;
    margin-top: 1rem;
}
/* imnage slider */
.intro-head {
  width: 100%;
  /* height: 800px; */
  display: grid;
  margin-top: 1rem;
  text-align: center;
  background: url(../images/bg3.jpg) no-repeat center center scroll; 
-webkit-background-size: cover;
-moz-background-size: contain;
-o-background-size: cover;
background-size: cover;
padding: 30vh 1rem;
}

}


/* MOBILE MEDIA QUERIES Mobile iPhone 6plus */

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



}



/* MOBILE MEDIA QUERIES Mobile iPhone 6 */

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



}



/* MOBILE MEDIA QUERIES Mobile Anroid */

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


}


/* MOBILE MEDIA QUERIES Mobile Lumia */

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


}