 *,
 *::before,
 *::after {
     box-sizing: border-box;
}
/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Smooth Scroll */
  html, body {
  scroll-behaviour: smooth;
  overflow-x : clip;
  
}
/* 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;
}

/* fade in */
@keyframes appear {
from {
opacity: 0;
scale: 1;
/* transform:translateX(-100px);
clip-path: inset(100% 100% 0 0); */
}
to {
opacity: 1;
scale: 1;
transition: 2s;
/* transform:translateX(0px);
clip-path: inset(0 0 0 0); */
}
}

/* the class given to each element */

.element {
animation: appear linear;
animation-timeline: view();
animation-range: entry 0% cover 10%;
}

/*todo 50% section */
.fifty {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.left-50 {
    padding: 1rem;
}
.right-50 {
    padding: 1rem;
}



/*! 50 areas */

      .location-grid  {
            display: grid;
            width: 100%;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background-color: white;
            grid-template-areas: 
            "one two"
            "three four"
            "five six"
            "seven eight"
            "nine ten"
            "eleven twelve"
            "thirteen fourteen"
            ;
        }

        .location-1 {
            padding: 1rem;
            grid-area: one;
        }

            .location-2 {
            padding: 1rem;
            grid-area: two;
        }

            .location-3 {
            padding: 1rem;
            grid-area: three;
        }

           .location-4 {
            padding: 1rem;
            grid-area: four;
        }
            .location-5 {
            padding: 1rem;
            grid-area: five;
        }

            .location-6 {
            padding: 1rem;;
            grid-area: six;
        }

           .location-7 {
            padding: 1rem;
            grid-area: seven;
        } 

            .location-8 {
            padding: 1rem;
            grid-area: eight;
        }

            .location-9 {
            padding: 1rem;
            grid-area: nine;
        }

            .location-10 {
            padding: 1rem;
            grid-area: ten;
        }
            .location-11 {
            padding: 1rem;
            grid-area: eleven;
        }
            .location-12 {
            padding: 1rem;
            grid-area: twelve;
        }
            .location-13 {
            padding: 1rem;
            grid-area: thirteen;
        }
            .location-14 {
            padding: 1rem;
            grid-area: fourteen;
        }

/* todo added class for back ground green*/
.green-bg {
    background: #264342;
}

/* todo 3 boxes */

.box-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 2rem;
    /* align-items: center; */
    justify-content: center;
}


.box1 {
    background-color: white;
    padding: 1rem;
}

.box2 {
    background-color: white;
    padding: 1rem;
}

.box3 {
    background-color: white;
    padding: 1rem;
}

/* todo 3 for the icons on iteranry page */
.box-three1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 2rem;
    /* align-items: center;
    justify-content: center; */
}

.box11 {
    background-color: white;
    padding: 1rem;
  
}

.box21 {
    background-color: white;
    padding: 1rem;
}

.box31 {
    background-color: white;
    padding: 1rem;
}


/*!fix icon box */

.icon-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: white;
  gap: 1rem;
}
.icon-one {
  padding: 1rem;
}
.icon-two {
  padding: 1rem;
}
.icon-three {
  padding: 1rem;
}


/* todo Four box start */

.fourbox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
}

.four-box1 {
    background-color: white;
    padding: 1rem;
    text-align: center;
}
.four-box2 {
    background-color: white;
    padding: 1rem;
    text-align: center;
}

.four-box3 {
    background-color: white;
    padding: 1rem;
       text-align: center;
}

.four-box4 {
    background-color: white;
    padding: 1rem;
    text-align: center;
 
}

.full-width {
    display: grid;
    padding: 1rem;
}

.hero-container {
    display: grid;
    align-items: center;
    /* justify-content: center; */
    grid-template-columns: 1fr;
    grid-template-columns: auto;
    /* background: url(../images/yorkshire.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 the classes for the hero backgrounds */
.hero-main  {
      background: url(../images/yorkshire.webp) no-repeat top center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 20vh 1rem;
}

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

.hero-box {
    background-color: white;
    padding: 1rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/*todo finsh hero sections */

.footer {
    background-color: #294242;
    text-align: center;
    color: white;
    padding-top: 1rem;
}
.list {
    width: 100%;
    padding: 1rem;
    text-align: center;   
}

ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;

}
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
ul.breadcrumb li+li:before {
  padding: 8px;
  color: white;
  content: "|\00a0";
}
ul.breadcrumb li a {
  color: white;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: rgba(230, 228, 228, 0.199);
  text-decoration: underline;
}


/*todo fonts */

@font-face {
    font-family: 'Recoleta DEMO';
    src: url('../fonts/Recoleta-RegularDEMO.woff2') format('woff2'),
        url('../fonts/Recoleta-RegularDEMO.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1 {
     font-family: 'Recoleta DEMO';
     color: white;
     letter-spacing: 0.1em;
     font-size: clamp(1.25rem, 0.8703rem + 1.8987vw, 3.125rem);
   
}

h2  {
    font-family: 'Recoleta DEMO';
    margin-bottom: 1rem;
    font-size: clamp(1.125rem, 0.8718rem + 1.2658vw, 2.375rem);
}

h3  {
    font-family: 'Recoleta DEMO';
    margin-bottom: 1rem;
    font-size: clamp(1.125rem, 0.8972rem + 1.1392vw, 2.25rem);

}

h4  {
    font-family: 'Recoleta DEMO';
    margin-bottom: 1rem;
    font-size: clamp(1.125rem, 0.8972rem + 1.1392vw, 2.25rem);
}

p  {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;   
  margin-bottom: 1rem;
  font-size: clamp(0.875rem, 0.7991rem + 0.3797vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: 0.1em;
}
/*todo white font */
.white {
    color: white;
}



/*--form styles */

    form {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      width: 100%;
      font-family: "DM Sans", sans-serif;
      /* max-width: 550px;  */
    }

    label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
      color: black;
      font-family: "DM Sans", sans-serif;
    }
    input, textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #e2e1e1;
      border-radius: 5px;
      font-size: 14px;
    }
    input:invalid, textarea:invalid {
      background-color: #eeebeb;
    }
    button.one {
      background: #426B6B;
      color: #fff;
      border: none;
      padding: 12px;
      width: 100%;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }
    button.one:hover {
      background: #2F2F2F;
    }

    /* Honeypot (hidden) */
    div[style*="display:none"] {
    display: none !important;
}

/*! ACCORDIAN STYLES TODO */

button.accordion {
    background-color: #eee;
    color: #444;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

button.accordion.active, button.accordion:hover {
    background-color: #ccc; 
}

div.panel {
    padding: 0 18px;
    display: none;
    padding-top: 1rem;
    background-color: white;
}

button.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}


/*todo button styles */
.button {
  background-color: #; /* Green */
  font-family: "DM Sans", sans-serif;
  border: none;
  color: white;
  padding: 14px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  /* cursor: <button>pointer; */
}

.button:hover {
  -ms-transform: scale(1.05); /* IE 9 */
  -webkit-transform: scale(1.05); /* Safari 3-8 */
  transform: scale(1.05); 
}

.button1 {
  background-color: white; 
  color: black; 
  /* border: 2px solid #4CAF50; */
}

.button1:hover {
  background-color: white;
  color: black;
}

.button2 {
  background-color: #264342; 
  color: white; 
}

.button2:hover {
  background-color: #264342;

}

.button3 {
  background-color: white; 
  color: black; 
  border: 2px solid #f44336;
}

.button3:hover {
  background-color: #f44336;
  color: white;
}

.button4 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
}

.button4:hover {background-color: #e7e7e7;}

.button5 {
  background-color: white;
  color: black;
  border: 2px solid #555555;
}

.button5:hover {
  background-color: #555555;
  color: white;
}

/*
<button class="button button2">Blue Border</button>
<button class="button button3">Red Border</button>
<button class="button button4">Gray Border</button>
<button class="button button5">Black Border</button>
*/
/*todo finnish buttons */

/*todo icons */

.fa {
	/* padding: 20px; */
	font-size: 14px;
	width: 14px;
	text-align: center;
	text-decoration: none;
	margin: 8px 2px;
	color:white;
  }
  
  /* Hover for AF4 fa but for AF5 it will be fas */
  .fa:hover {
	  opacity: 0.8;
	  color: #b6b6b6;
	  transition: .6s ease;
  }

  /*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: #264342 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 iPad portrait */

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

    .location-grid  {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            grid-template-areas: 
            "two" 
            "one"
            "three"
            "four"
            "six"
            "five"
            "seven"
            "eight"
            "ten"
            "nine"
            "eleven"
            "twelve"
            "fourteen"
            "thirteen"
            ;
        }

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

 /*todo 50% section */
.fifty {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

  .icon-container {
  display: grid;
  grid-template-columns: 1fr;
  background-color: white;
  gap: 1rem;
  text-align: center;

}

   /* .fifty-areas {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    grid-template-areas: 
              "one"
               "two"
              "three"
               "four"
              "five"
               "six"
              "seven"
               "eight"
              "nine"
               "ten"
              "eleven"
               "twelve"
              "thirteen"
               "fourteen"
              ;
} */


/* todo 3 boxes */
.box-three {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
}
.fourbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 1rem;
}

}

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

  .fourbox {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
}

}


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

  .icon-container {
  display: grid;
  grid-template-columns: 1fr;
  background-color: white;
  gap: 1rem;
  text-align: center;

}

}




