
@import url('https://fonts.googleapis.com/css2?family=Barlow&display=swap');

  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  
  img,svg,video,picture {
    max-width: 100%;
    height: auto;
  }

  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }


  /* todo grid control */
  .header-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: auto;
      margin-bottom: 1rem;
      gap: 1rem;
      grid-template-areas:
      "logo strap strap"
      "logo details details"
      "nav nav nav"
      ;  
  }
  
  .logo {
      background-color: white;
      padding: 1rem;
      text-align: center;
      grid-area: logo;
  }
  .head-strap {
      background-color: rgb(104, 104, 1);
      color: white;
      padding: 1rem;
      padding-top: 1rem;
      text-align: center;
      margin-left: 1rem;
      margin-top: 1rem;
      margin-right: 1rem;
      border-radius: 5px;
      grid-area: strap;
  }
  
  .details {
      background-color: white;
      padding: 1rem;
      margin: 1rem;
      text-align: center;
      color: black;
      grid-area: details;
  }
  
  .navigation {
    max-width: 100%;
    grid-area: nav;
  }
  .slider {
    width: 100%;
    position: relative;
    margin-top: -16px;
  
  }
/*todo grid control */
  .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    margin-top: 1.2rem;
    gap: 1rem;
  }
  .left {
    background-color: white;
    padding: 1rem;

  }
  .right {
    display: grid;
    background-color: white;
    /* justify-content: center;
    align-content: center; */

    padding: 1rem;
  }
  .content-strap {
    background-color: #353501;
    position: relative;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    margin-bottom: 1rem;
  }

/*todo grid control */
  .four-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .box1 {
    background-color: white;
    padding: 1rem;
  }
  .box2 {
    background-color: white;
    padding: 1rem;
  }
  .box3 {
    background-color: white;
    padding: 1rem;
  }
  .box4 {
    background-color: white;
    padding: 1rem;
  }


  /*-- Fonts --*/

.head-text {
    font-size: 1.4rem;
    font-family: 'Barlow', sans-serif;
}

.head-strap-text {
    font-size: 1.2rem;
    color: white;
    font-family: 'Barlow', sans-serif;
}

h1 {
    color: #484800;
    font-family: 'Barlow', sans-serif;
    font-size: 1.5rem;
}

h2 {
  font-family: 'Barlow', sans-serif;
  color: #484800;
  font-size: 1.5rem;
}

h3 {
  font-family: 'Barlow', sans-serif;
  color: #484800;
  font-size: 1.2rem;
}
h4 {
  font-family: 'Barlow', sans-serif;
  color: white;
  font-weight: 200;
  font-size: 1.2rem;
}

p {
    color: #2f3036;
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
}

/*todo Background images */
.service-bg {

  background: url(../images/slide4.webp) no-repeat center center scroll; 
-webkit-background-size: cover;
-moz-background-size: contain;
-o-background-size: cover;
background-size: cover;
padding: 20vh 1rem;
}

.contact-bg {

  background: url(../images/slide2.webp) no-repeat center center scroll; 
  -webkit-background-size: cover;
  -moz-background-size: contain;
  -o-background-size: cover;
  background-size: cover;
  padding: 20vh 1rem;
  }

  .about-bg {

    background: url(../images/slide1.webp) no-repeat top center scroll; 
    -webkit-background-size: cover;
    -moz-background-size: contain;
    -o-background-size: cover;
    background-size: cover;
    padding: 20vh 1rem;
    }

  /*todo image round corners */
  .round {
    border-radius: 8px;
  }

  /*? Icons */
  .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: #0077B5; 
	  color: white; 
	}
	
	.button1:hover {
	  background-color: #015380;
	  color: white;
	}

  /*todo buttons */


/*? navigation*/

.mobile-menu {
  display:grid;
  max-width:100%;
  background: #1E8E1E;
  line-height: 1.2rem;
  font-weight: 400;
  width:100%;
  text-align:center;
  position: relative;
  margin:0 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: olive;
  }
  
  /*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:140px;
      text-align: center;
      font-size: small;
      font-family: 'Barlow', sans-serif;
      font-size: 1rem;
      color: #fff;
    text-transform:uppercase;
      background: olive;
      text-decoration: none;
    margin-left:-5px;
    padding: 10px 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:rgb(104, 104, 1);
  }

  /*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: olive;
      text-align: center;
      padding: 10px 15px;
      display: none;
    cursor: pointer;
    font-family: 'Barlow', 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 : 966px){
    .mobile-menu .lines {
      border-bottom: 15px double #f8f8f8; 
      border-top: 5px solid #f8f8f8; 
      content:"";
      height: 5px; 
      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;
      }
  }

/*! 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: #464600 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;
    }
  }

  /*todo MEDIA QUERIES */


/* MOBILE MEDIA QUERIES Nexus 7 Android landscape */

@media screen and (max-width: 966px) {
  /* todo grid control */
  .header-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    grid-template-areas:
    "nav"
    "logo" 
    "strap"
    "details";  
}
/*todo grid control */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  /*todo grid control */
  .four-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }

}

/* MOBILE MEDIA QUERIES iPad portrait */

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

  /*todo grid control */
  .four-boxes {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .head-strap-text {
    font-size: 1rem;
    color: white;
    font-family: 'Barlow', sans-serif;
}

}


/* MOBILE MEDIA QUERIES 360 portrait */

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

  body {
    overflow-x: hidden;
  }
  .head-text {
    font-size: 1rem;
    font-family: 'Barlow', sans-serif;
  }

.head-strap-text {
  font-size: 1rem;
  color: white;
  font-family: 'Barlow', sans-serif;
}

  .head-strap {
    background-color: rgb(104, 104, 1);
    color: white;
    padding: 10px;
    /* padding-top: 1rem; */
    text-align: center;
    margin-left: 0.6rem;
    margin-top: 1rem;
    margin-right: 0.6rem;
    border-radius: 5px;
    grid-area: strap;
}

}
  



