/* BASE CANVAS */

/* Home Section */

html {
  scroll-behavior: smooth;
}

/* Gutters */

html, body {
  margin: 0;
  padding: 0;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcdada;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand {
  font-family: 'Sorts Mill Goudy', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: #455c30;
}

.nav-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}


.nav-logo {
  flex-shrink: 0;
  width: 2rem;
  height: auto;
  margin-right: 0.5rem;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  color: #343434;
  font-weight: 500;
}

.nav-toggle {
  display: none;
}

.nav-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}


/* Sections */

#home {
  padding: 2em;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: #e0bab4;
}


#home-content {
  display: block;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  text-align: center;
}


#home-content h1 {
  font-family: 'Sorts Mill Goudy', serif;
  font-style: italic;
  font-weight: 400;
  /*always at least 3.5rem, scale up with vw, max out at 6rem */
  font-size: clamp(3.5rem, 10vw, 6rem); 
  line-height: 1;
  text-align: center;
  color: #343434;
  margin-bottom: -0.1rem;
  margin-top: 0.67em;
}

#home-content p {
  margin: 16px 0px 16px 0px;
  font-family: 'DM Sans';
  font-weight: 400;
  display: block;
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 1em;
  margin-top: 1em;
  text-align: center;
}


#button-div {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
  text-align: center;
}

#btn {
  display: inline-block;
  background-color: #faf7fa;
  color: #455c30;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5;
  text-align: center;
  text-decoration-line: none;
  border-radius: 44px;
  padding: 1em;
}

/* Advantage Section */

#advantage {
  padding: 2em;
  display: block;
  max-width: 100vw;
  height: auto;
  background-color: #faf7fa;
}

#advantage-content {
  display: block;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
}


#advantage-content h2 {
  display: block;
  color: #343434;
  font-family: 'Sorts Mill Goudy', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3em; /* 48px */
  line-height: 1.2;
  text-align: center;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
}

#flexbox-advantage {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  column-gap: 2rem;
  padding: 2rem;
  margin-top: -2em;
  margin-bottom: 2em;
}

#flexbox-advantage .image-div {
  width: 12rem;
  align-self: center;
}


#flexbox-advantage .image-div img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
}

#advantage-paragraph {
  color: #5a6257;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-align: start;
  max-width: 30rem;
}

/* Rates Section */

#rates {
  padding: 2em;
  background-color: #657650;
  max-width: 100lvw;
  overflow-x: hidden;
  overflow-y: hidden;
}

#rates-content {
  display: block;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
}

#rates-content h2 {
  text-align: center;
  font-family: 'Sorts Mill Goudy', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3em;
  line-height: 1.2;
  margin-bottom: 0.3em;
  color: #fdf2f3;
}

#rates-content p {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: #fdf2f3;
  font-size: 1em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2em;
}

#flexbox-rates {
  display: flex;
  align-content: start;
  align-items: center;
  column-gap: 23px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  object-fit: contain;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1.5rem;
  row-gap: 23px;
  width: auto;
}

.card {
  display: inline;
}

.card img {
  width: 12rem;
  height: auto;
  border-radius: 10px;
}

.card h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: #fdf2f3;
  font-size: 0.8em;
  line-height: 1.2;
}

.card h4 {
  font-family: 'Sorts Mill Goudy', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: -0.2em;
  color: #fdf2f3;
}

  /* Schedule Page */

#schedule {
  padding: 2em;
  text-align: center;
  div {
    padding: 2em;
  }

  h2 {
    font-family: 'Sorts Mill Goudy', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 3em;
    line-height: 1.2;
    color: #343434;
  }

  h3 {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    color: #343434;
    font-size: 1.2em;
    line-height: 1.2;
  }

  p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    color: #4f5e3d;
    font-size: 1em;
    text-decoration: none;
  }


}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #fcdada;
  font-family: 'DM Sans', sans-serif;
  color: #2b2b2b;
  font-size: 0.9rem;
}

/* 865 PX BREAKPOINT */

@media (max-width: 865px) {

  /* Advantage Page - Stack In A Column */


  #flexbox-advantage {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1.5em;
    /*text-align: left;*/
    padding: 1.5rem 2rem;
  }

  #advantage-paragraph {
    max-width: none; /* drop old 30rem limit that was used for aesthetics */
    width: 100%; /*fill the container*/
  }

  #flexbox-advantage .image-div {
    max-width: 12rem;
    align-self: center;
  }


}


/* 767 PX BREAKPOINT */

@media (max-width: 767px) {


  /* Nav Management */

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fcdada;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
  }

  .nav-toggle:checked + .nav-icon + .nav-links {
    display: flex;
  }

  .nav-icon {
    display: block;
    color: #455c30;
  }

  /* Rates Page */

  #flexbox-rates {
    flex-direction: column;

  }

  .card {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(35px);
    box-shadow: 0 0 80px rgba(0.25, 0, 0, 0.25);
    padding-top: 2em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-bottom: 0.5em;
    border-radius: 10px;
  }

  .card h3, h4 {
    text-align: center;

  }

  
}

