:root {
  --border-radius: 1.6rem;
  --border-radius_small: 0.8rem;
  --transition: all 250ms ease;
  --primary: #007a55;
  --primary-light-background: #d0fae5;
  --grey-50: #f6f7f8;
  --grey-100: #f1f2f5;
  --grey-200: #ebeef0;
  --grey-300: #d1d5dc;
  --grey-400: #99a1af;
  --grey-500: #6a7282;
  --grey-600: #4a5565;
  --grey-700: #364153;
  --grey-800: #1e2939;
  --grey-900: #101828;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Lexend", sans-serif;
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--grey-600);
  letter-spacing: 0.05rem;
}

h1,
.h1 {
  font-size: 4.6rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0px;
  color: var(--grey-800);
  margin-bottom: 2.5rem;
}

h2,
.h2 {
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0px;
  color: var(--grey-800);
  margin-bottom: 2.5rem;
}

h3,
.h3 {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.05rem;
  color: var(--grey-800);
  margin-bottom: 1.5rem;
}

h4,
.h4 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--grey-700);
}

p,
ul {
  font-size: 1.8rem;
  line-height: 1.6;
  letter-spacing: 0.1rem;
}

.p-mb {
  margin-bottom: 2.5rem;
}

.list {
  padding-left: 4rem;
  margin-bottom: 2.8rem;
}

.list li {
  margin-bottom: 0.5rem;
}

/* REMOVES TEXT DECORATION FORM HREF ON IOS */
a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}

a,
a:link,
a:visited {
  display: inline-block;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
  color: var(--grey-800);
  transition: var(--transition);
}

a:hover,
a:active {
  color: var(--grey-700);
}

.underline-link {
  text-decoration: underline !important;
}

button {
  font-family: "Lexend", sans-serif;
  cursor: pointer;
  border-style: none;
  transition: var(--transition);
  user-select: none;
}

.button,
.button:link,
.button:visited {
  display: inline-block;

  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  line-height: 1.5;
  text-align: center;
  padding: 1.5rem 3rem;
  color: white;
  background-color: var(--primary);
  border-radius: 50px;
}

.button:hover,
.button:active {
  background-color: #025d42;
}

.button:disabled {
  background-color: #80bcaa;
  pointer-events: none;
}

.button.large,
.button.large:link,
.button.large:visited {
  padding: 1.4rem 2.8rem;
  font-size: 1.6rem;
}

.button.outlined-black,
.button.outlined-black:link,
.button.outlined-black:visited {
  color: var(--grey-800);
  background-color: transparent;
  box-shadow: inset 0 0 0 0.2rem var(--grey-800);
}

.button.outlined-black:hover,
.button.outlined-black:active {
  color: #fff;
  background-color: var(--grey-800);
}

.button.black,
.button.black:link,
.button.black:visited {
  color: #fff;
  background-color: var(--grey-800);
  border: none;
}

.button.black:hover,
.button.black:active {
  background-color: var(--grey-900);
}

.pre-heading {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.25rem;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subheading {
  font-size: 2rem;
  margin-bottom: 3rem;
}

/**********************************/
/* GENERAL COMPONENTS */
/**********************************/

.section {
  margin: 120px 0;
  padding: 0 70px;
}

.section.narrow {
  margin: 60px 0;
}

.section.g-hero {
  margin-top: 60px;
  margin-bottom: 90px;
}

.section.archaeology-club-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100dvh - 11rem);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin: 0;
  padding-top: 6rem;
  padding-bottom: 7.5rem;
}

.mw-900 {
  max-width: 90rem;
}

.full-width {
  width: 100%;
}

.container {
  max-width: 130rem;
  margin: 0 auto;
}

.container-medium {
  max-width: 115rem;
  margin: 0 auto;
}

.container-small {
  max-width: 100rem;
  margin: 0 auto;
}

.container-xsmall {
  max-width: 90rem;
  margin: 0 auto;
}

.container-xxsmall {
  max-width: 50rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  row-gap: 6rem;
  column-gap: 6rem;
}

.gap-3 {
  row-gap: 3rem;
  column-gap: 3rem;
}

.align-items-center {
  align-items: center;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

/* FLEX */

.flex-horizontal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.flex-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}



.space-between {
  justify-content: space-between;
}

.wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 1rem;
}

.gap-3 {
  gap: 3rem;
}

.gap-6 {
  gap: 3rem;
}

.center {
  text-align: center;
}

.main-content-wrapper {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.main-content-image_wide {
  position: relative;
  overflow: hidden;
  width: calc(50% - 3rem);
  min-width: calc(50% - 3rem);
  height: 0;
  padding-top: 36%;
  border-radius: var(--border-radius);
}

.main-content-image_narrow {
  position: relative;
  overflow: hidden;
  width: calc(40% - 3rem);
  min-width: calc(40% - 3rem);
  height: 0;
  padding-top: 50%;
  border-radius: var(--border-radius);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  line-height: 0;
}

.image-aspect {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.aspect-balanced {
  width: 100%;
  height: 0;
  padding-top: 68%;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.aspect-fluid {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.aspect-1x1 {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}

.aspect-16x9 {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
}

.rounded {
  border-radius: var(--border-radius);
}

/*************************************************/
/*************************************************/

.text-white {
  color: #fff;
}

.text-primary {
  color: var(--primary);
}

.text-grey-50{
  color: var(--grey-50);
}

.text-grey-100{
  color: var(--grey-100);
}

.text-grey-200{
  color: var(--grey-200);
}

.text-grey-300{
  color: var(--grey-300);
}

.text-grey-400{
  color: var(--grey-400);
}

.text-grey-500{
  color: var(--grey-500);
}

.text-grey-600{
  color: var(--grey-600);
}

.text-grey-700{
  color: var(--grey-700);
}

.text-grey-800{
  color: var(--grey-800);
}

.text-grey-900{
  color: var(--grey-900);
}

.greyscale70 {
  filter: brightness(0);
  opacity: 70%;
}

.greyscale80 {
  filter: brightness(0);
  opacity: 80%;
}

.mb-0 {
  margin-bottom: 0rem;
}

.mb-5 {
  margin-bottom: 0.5rem;
}

.mb-10 {
  margin-bottom: 1rem;
}

.mb-15 {
  margin-bottom: 1.5rem;
}

.mb-20 {
  margin-bottom: 2rem;
}

.mb-30 {
  margin-bottom: 3rem;
}

.mb-45 {
  margin-bottom: 4.5rem;
}

.mb-60 {
  margin-bottom: 6rem;
}

.mb-90 {
  margin-bottom: 9rem;
}

.mt-15 {
  margin-top: 1.5rem;
}

.mt-20 {
  margin-top: 2rem;
}

.mt-30 {
  margin-top: 3rem;
}

.weight500 {
  font-weight: 500;
}

.weight600 {
  font-weight: 600;
}

/**********************************/
/* HEADER */
/**********************************/

.section.header {
  position: relative;
  top: 0;
  width: 100%;
  margin: 0;
  z-index: 9;
  background-color: var(--primary-light-background);
  z-index: 999;
  height: 11rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 130rem;
  margin: 0 auto;
  padding: 2rem 0;
}

.header.header-absolute {
  position: absolute;
  top: 0;
  background-color: transparent;
}

.logo {
  width: 17.5rem;
}

.header-home-icon {
  line-height: 0;
  width: 3.5rem;
  height: 3.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link,
.nav-link:link,
.nav-link:visited {
  font-size: 1.7rem;
  font-weight: 600;
  padding: 1.5rem;
  color: var(--grey-800);
  display: inline-block;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:active {
  color: var(--grey-700);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 3.6rem;
  width: 3.6rem;
  color: var(--grey-800);
}
.icon-mobile-nav[name="close-icon"] {
  display: none;
  color: #fff;
}

/* SLIDER */

.splide {
  margin-bottom: 9rem;
}

.splide__arrow.splide__arrow--next,
.splide__arrow.splide__arrow--prev {
  display: none !important;
}

.splide *:focus {
  outline: none;
}

.slider-arrow-link {
  display: inline-block;
  position: absolute;
  padding: 0.8rem 0.9rem;
  line-height: 0;
  background-color: var(--grey-200);
  border-radius: var(--border-radius_small);
  transform: translateY(-50%);
}

.slider-arrow-link.prev-slide {
  top: 50%;
  left: -5rem;
  bottom: auto;
}

.slider-arrow-link.next-slide {
  top: 50%;
  right: -5rem;
  bottom: auto;
}

.slider-arrow-icon {
  width: 2.2rem;
  height: 2.2rem;
  line-height: 0;
  color: var(--grey-700);
}

.splide__pagination {
  display: none !important;
  bottom: -3.2rem !important;
}

.splide__pagination__page {
  background: var(--grey-200) !important;
  opacity: 1 !important;
}

.splide__pagination__page.is-active {
  background: var(--grey-400) !important;
  transform: scale(1.2) !important;
}

/*************************************************/
/* CTA */
/*************************************************/

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 6rem;
  padding: 6rem;
  background-color: var(--primary-light-background);
  border-radius: var(--border-radius);
}

.cta-new-price {
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--primary);

}

.cta-old-price {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: #e97d7d;
  text-decoration-line: line-through;
}

/**********************************/
/* REVIEWS */
/**********************************/

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.review-box {
  padding: 3rem;
  border-radius: var(--border-radius);
  background-color: var(--grey-100);
}

.review-stars {
  width: 13rem;
  color: #ffd203;
  margin-bottom: 1rem;
}

.review-name {
  font-size: 1.9rem;
  margin-bottom: 0;
}

/**********************************/
/* FOOTER */
/**********************************/

.section.footer {
  background-color: var(--primary-light-background);
  margin-bottom: 0;
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9rem;
  margin-bottom: 6rem;
}

.footer-logo {
  display: block;
  width: 17.5rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  width: 100%;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.social-icon svg {
  height: 3.2rem;
  width: 3.2rem;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 6rem;
}

.footer-menu-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 0.4rem;
  column-gap: 3rem;
  max-height: 17.5rem;
}

.footer-copyright {
  padding-top: 1.5rem;
  border-top: solid 0.1rem var(--grey-600);
  font-size: 1.4rem;
}

/* RANDOM */

.mobile-shown {
  display: none;
  visibility: hidden;
}

.tablet-shown {
  display: none;
  visibility: hidden;
}

.title-light {
  color: #e6fff5; 
  text-shadow: 0 5px 7px rgba(0, 0, 0, 0.4); 
  font-weight: 700;
  letter-spacing: 0.05rem;
}

.white-box {
  border: 1px solid var(--grey-300);
  border-radius: var(--border-radius);
  padding: 3rem;
  background: white;
}

/********************************************/
/* QUERIES */
/********************************************/

/**************************/
/* ABOVE 1800px  */
/**************************/

@media (min-width: 112.5em) {
  html {
    font-size: 68%;
  }
}

/**************************/
/* BELOW 1100px (Landscape Tablets) */
/**************************/

@media (max-width: 70em) {
  html {
    font-size: 58%;
  }

  .grid--4-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 4.5rem;
  }
}

/**************************/
/* BELOW 992px (Landscape Tablets) */
/**************************/

@media (max-width: 62em) {
  html {
    font-size: 54%;
  }

  h1, .h1 {
    font-size: 4.4rem;
  }

  h2, .h2 {
    font-size: 3.6rem;
  }
 
  h3, .h3 {
    font-size: 2.5rem;
  }

  .section {
    margin: 90px 0;
    padding: 0 50px;
  }
  
  .section.narrow {
    margin: 45px 0;
  }

  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3-cols {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tablet-shown {
    display: block;
    visibility: visible;
  }

  .tablet-hidden {
    display: none;
    visibility: hidden;
  }
}

/**************************/
/* BELOW 768px  */
/**************************/

@media (max-width: 48em) {
  html {
    font-size: 52%;
  }

  .section {
    padding: 0 35px;
  }

  .logo {
    width: 20rem;
  }

  .main-content-wrapper {
    flex-direction: column;
    gap: 4.5rem;
  }

  .main-content-image_narrow {
    width: 100%;
    max-width: 55rem;
    padding-top: 120%;
  }

  .main-content-image_wide {
    width: 100%;
    padding-top: 75%;
    order: 2;
  }

  .cta-new-price {
    font-size: 4.8rem;
  }

  .cta-old-price {
    font-size: 2.7rem;
  }

  .footer-menu-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 3rem;
  }
    /* MOBILE NAVIGATION */
    .btn-mobile-nav {
      display: block !important;
      z-index: 9999;
    }
  
    .nav {
      background-color: rgba(51, 51, 51, 0.9);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      -webkit-transform: translate(100%);
      transform: translateX(100%);
  
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s ease;
  
      /* 1) Hide it visually */
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
  
      z-index: 999;
    }
  
    .nav-open .nav {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      -webkit-transform: translateX(0);
      transform: translateX(0);
    }
  
    .nav-open .icon-mobile-nav[name="close-icon"] {
      display: block;
      position: fixed;
      right: 3.5rem;
      top: 2.85rem;
    }
  
    .nav-open .icon-mobile-nav[name="menu-icon"] {
      display: none;
    }
  
    .nav-list {
      flex-direction: column;
      gap: 1.5rem;
      padding-bottom: 7.5rem;
    }
  
    .no-flexbox-gap .nav-list li:not(:last-child) {
      margin-bottom: 1.5rem;
    }
  
    .nav-link,
    .nav-link:link,
    .nav-link:visited {
      color: #fff;
      font-size: 2.2rem;
    }
  
    .nav-link:hover,
    .nav-link:active {
      color: var(--grey-200);
    }
  
    .header .button,
    .header .button:link,
    .header .button:visited {
      font-size: 2rem;
      padding: 1.8rem 3.8rem;
    }

    .header .button.outlined-black,
    .header .button.outlined-black:link,
    .header .button.outlined-black:visited {
      color: #fff;
      background-color: transparent;
      box-shadow: inset 0 0 0 0.2rem #fff;
    }

    .header .button.outlined-black:hover,
    .header .button.outlined-black:active {
      color: var(--grey-800);
      background-color: #fff;
    }
}

/**************************/
/* BELOW 660px  */
/**************************/

@media (max-width: 41em) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .mobile-shown {
    display: block;
    visibility: visible;
  }

  .mobile-hidden {
    display: none;
    visibility: hidden;
  }

  body, p, ul {
    font-size: 1.9rem;
  }

  .button,
  .button:link,
  .button:visited {
    font-size: 1.8rem;
    padding: 1.6rem 3.2rem;
  }
}

/**************************/
/* BELOW 479px (Phones) */
/**************************/

@media (max-width: 30em) {
  .section {
    padding: 0 25px;
  }

  .section.g-hero {
    margin-top: 45px;
    margin-bottom: 90px;
  }

  .bu

  .grid--3-cols {
    grid-template-columns: 1fr;
  }

  .grid--4-cols {
    grid-template-columns: 1fr;
  }


  .nav-open .icon-mobile-nav[name="close-icon"] {
    display: block;
    position: fixed;
    right: 2.5rem;
    top: 2.9rem;
  }

  .cta-box {
    padding: 4rem;
  }

  .main-content-image_narrow {
    padding-top: 130%;
  }

  .button,
  .button:link,
  .button:visited {
    width: 100%;
  }
}

/*******************/
/* FIXING FLEX GAP */
/*******************/
.no-flexbox-gap .nav-list li:not(:last-child) {
  margin-right: 2.5rem;
}


/*********/
/* GRID */
/*******/
.home-hero-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  align-items: center;
  column-gap: 9rem;
}

.home-hero-image {
  width: 100%;
  border-radius: var(--border-radius);
}

.home-features-primary-item {
  padding: 3rem 4rem;
  background-color: var(--primary-light-background);
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4.5rem;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 63rem;
  margin-bottom: 4.5rem;
}

.home-features-primary-icon {
  width: 14rem;
}

.home-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 3rem;
  row-gap: 3rem;
}

.home-features-item {
  grid-column: span 2;
  padding: 3rem;
  background-color: #e8fbf9;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.home-features-item.clickable {
  display: flex;                
  flex-direction: column;       
  align-items: center;          
  text-align: center;           
  gap: 2rem;                    
  cursor: pointer;              
}

.home-features-item.clickable:hover,
.home-features-item.clickable:active {
  background-color: #c3e9e5; 
}

.home-features-item.centered {
  grid-column: 2/4;
}

.home-features-icon {
  width: 8.6rem;
  color: var(--grey-800);
}

.home-features-icon.small {
  width: 9rem;
}

.home-gallery-slide-image {
  width: 50rem;
  height: auto;
  border-radius: var(--border-radius);
}

/**************************/
/* BELOW 768px  */
/**************************/

@media (max-width: 48em) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    row-gap: 6rem;
  }

  .home-features-item, .home-features-item.centered {
    grid-column: unset;
  }
}

/**************************/
/* BELOW 660px  */
/**************************/

@media (max-width: 41em) {
  .home-features-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .home-features-item {
    width: 100%;
    max-width: 46rem;
  }
}

/**************************/
/* BELOW 577px  */
/**************************/

@media (max-width: 36em) {
  .home-features-primary-item {
    justify-items: center;
    text-align: center;
    padding: 4.5rem;
    grid-template-columns: 1fr;
    row-gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
  }

  .home-gallery-slide-image {
    width: 45rem;
  }
}
