:root {
  --text-default: #000;
  --text-header: #fff;
  --background-default: #1a2b1c;
  --background-wrapper: #fff;
  --background-header: #153902;
  --background-footer: #8e8e8e;
}

/* RESET */
h1,
h2,
h3,
h4,
body,
blockquote,
p,
main,
section,
header,
footer,
img {
  margin: 0;
  padding: 0;
  font: inherit;
}

body {
  font-size: 100%;
  background-color: var(--background-default);
}

div.wrapper {
  width: 95%;
  background: var(--background-wrapper);
  color: var(--text-default);
  margin: 0 auto;
  font-family: Gill Sans, Helvetica, Arial, sans-serif;
  min-width: 320px;
  max-width: 1440px; /* allow wider desktop */
}

h1 {
  font-size: 2em;
  padding: 1em 8px;
}
h2 {
  font-size: 1.625em;
  padding: 5px;
}
h3 {
  font-size: 1.375em;
  padding: 5px;
}
h4 {
  font-size: 1.125em;
  padding: 5px;
}

p {
  padding: 5px;
}

/* NAV */
.responsive-nav {
  background-color: var(--background-header);
  text-align: right;
  position: relative;
  top: 0;
}

.hamburger {
  font-size: 1.5em;
  color: var(--text-header);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
}

.nav-items {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-items li {
  padding: 0.5em;
  text-align: left;
}

.nav-items a {
  text-decoration: none;
  color: var(--text-header);
  font-size: 1.1em;
}

/* HEADER */
header {
  color: var(--text-header);
  background: url("../images/background-dew-on-grass.jpg") no-repeat
    center/cover;
  padding-bottom: 1rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

section.gallery {
  text-align: center;
  padding-bottom: 1rem;
}

section.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

section.gallery .images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  font-size: 0.75em;
  color: var(--background-footer);
  padding-bottom: 1rem;
}
/* make this section italic  */
section.testimonials {
  font-style: italic;
  padding: 1.5rem 2rem;
  color: #5d4b4b;
}

/* responsive break points */

/*  TABLET 600px+ */
@media (min-width: 600px) {
  .responsive-nav {
    position: static;
    text-align: left;
    padding-left: 1rem;
  }
  /* wider typography */
  h1 {
    font-size: 2.3em;
  }
  h2 {
    font-size: 1.9em;
  }
  /* removed hamburger menu for tablet and desktop */
  /* tablet nav: show inline */
  .hamburger {
    display: none;
  }

  .nav-items {
    display: flex !important;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.7rem 1rem;
  }

  .nav-items li {
    padding: 0;
  }
  /* sections columns */
  .grid-container {
    display: grid;
    grid-template-columns: 2, 1fr;
    grid-template-areas: "sidebar section2" "sidebar section3";
  }
  .grid-sidebar {
    grid-area: sidebar;
  }
  .grid-section2 {
    grid-area: section2;
  }
  .grid-section3 {
    grid-area: section3;
  }

  .text {
    text-align: left;
    padding-left: 2rem;
  }

  /* gallery becomes 2-column */
  section.gallery .images {
    grid-template-columns: repeat(2, 1fr);
  }

  /* make this section italic */
  section.testimonials {
    font-style: italic;
    padding: 1.5rem 2rem;
    color: #5d4b4b;
  }
}

/* ========== DESKTOP 900px+ ========== */
@media (min-width: 900px) {
  div.wrapper {
    max-width: 1440px;
  }

  /* Larger readable text */
  body {
    font-size: 110%;
  }

  /* layout: multi-column sections */
  section.tours,
  section.participants,
  section.equipment {
    padding: 1.5rem 2rem;
  }
  /* made the 3 section on html 3 columns */
  .section-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  /* make testimonials italic */
  section.testimonials {
    font-style: italic;
    padding: 1.5rem 2rem;
    color: #5d4b4b;
  }
  /* changed my class quotes on original html to quotes-container so i can have 3 columns for this section */
  .quotes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  /* this makes the first 3 sections to have 3 columns */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "sidebar section2 section3";
  }
  .grid-sidebar {
    grid-area: sidebar;
  }
  .grid-section2 {
    grid-area: section2;
  }
  .grid-section3 {
    grid-area: section3;
  }

  /* arranged images on a row like on the mockup */
  section.gallery .images {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }

  header {
    padding: 4rem 1rem;
  }

  h1 {
    font-size: 3rem;
    padding-left: 1rem;
  }
  .text {
    text-align: left;
    padding-left: 2rem;
  }
}
