/*
COLORS HEX CODES

dark gray background: #565656
blue: #033bd0
red: #df110f
medium gray thin border: #868181
light gray(ish) content area bg: #e2dedd

*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Dosis", sans-serif;
  font-weight: 550;
  background-color: #565656;
  margin: 15px;
  font-size: medium;
}

footer {
  border-top: 2px solid #868181;
  width: 80%;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  margin: auto;
}

.footer__list {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  margin: auto;
  text-decoration: none;
}

.footer__list--item {
  font-weight: 500;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  border-radius: 10px;
}

h2 {
  margin: 0.33rem auto;
  font-weight: 550;
  font-size: 1.4em;
  color: #033bd0;
}

.container {
  margin: 0 auto;
  max-width: 900px;
  background-color: #e2dedd;
  border-radius: 10px;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px 10px 0 0;
  background-color: #e2dedd;
  width: 100%;
}

.body__link {
  text-decoration: none;
  color: #033bd0;
}

.body__link:focus,
.body__link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.photo-fader img {
  visibility: hidden;
}

.photo-fader {
  border-radius: 10px;
  background-image: url(images/cb3375_LRG.png);
  background-size: cover;
  animation: 20s ease-in-out 0s photo-fader infinite;
  margin: 1em auto;
  width: 100%;
}

@keyframes photo-fader {
  0% {
    background-image: url(images/cb3375_MED.png);
  }
  12.5% {
    background-image: url(images/cg3375_MED.png);
  }
  25% {
    background-image: url(images/co3375_MED.png);
  }
  37.5% {
    background-image: url(images/cr3375_MED.png);
  }
  50% {
    background-image: url(images/cb5785_MED.png);
  }
  62.5% {
    background-image: url(images/cg5785_MED.png);
  }
  75% {
    background-image: url(images/co5785_MED.png);
  }
  87.5% {
    background-image: url(images/cr5785_MED.png);
  }
  100% {
    background-image: url(images/cb3375_MED.png);
  }
}

.photo-fader-2 img {
  visibility: hidden;
}

.photo-fader-2 {
  border-radius: 10px;
  background-image: url(images/rounded/24.jpg);
  background-size: cover;
  animation: 20s ease-in-out 0s photo-fader-2 infinite;
  margin: 1em auto;
  width: 100%;
}

@keyframes photo-fader-2 {
  0% {
    background-image: url(images/rounded/3.jpg);
  }
  20% {
    background-image: url(images/rounded/4.jpg);
  }
  40% {
    background-image: url(images/rounded/24.jpg);
  }
  60% {
    background-image: url(images/rounded/16.jpg);
  }
  80% {
    background-image: url(images/rounded/18.jpg);
  }
  100% {
    background-image: url(images/rounded/12.jpg);
  }
}

.photo-fader-3 img {
  visibility: hidden;
}

.photo-fader-3 {
  border-radius: 10px;
  background-image: url(images/rounded/Day_cropped_side-by-side_250.png);
  background-size: cover;
  animation: photo-fader-3 6s ease-in-out infinite;
  margin: 1em auto;
  width: 100%;
  height: 425px;
}

@keyframes photo-fader-3 {
  0% {
    background-image: url(images/rounded/Day_cropped_side-by-side_250.png);
    opacity: 1; /* Fully visible */
  }
  33.33% {
    background-image: url(images/rounded/night_cropped_side-by-side_250.png);
    opacity: 1; /* Fully faded out */
  }
  50% {
    background-image: url(images/rounded/night_cropped_side-by-side_250.png);
    opacity: 1; /* Fully visible */
  }
  83.33% {
    background-image: url(images/rounded/Day_cropped_side-by-side_250.png);
    opacity: 1; /* Fully faded out */
  }
  100% {
    background-image: url(images/rounded/Day_cropped_side-by-side_250.png);
    opacity: 1; /* Fully visible */
  }
}

/* @NAVIGATION */

.nav {
  width: 100%;
  position: relative;
  display: flex;
}

.nav__list {
  font-weight: 550;
  max-width: 100%;
  margin: 0.4em auto;
  display: flex;
  list-style: none;
}

.nav__list--primary {
  position: relative;
}

.nav__list--secondary {
  position: relative;
}

.nav__list--free-sample {
  position: relative;
  display: none;
}

.nav__item {
  margin-left: 1.5em;
}

.nav__link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__link--button {
  background: #fff;
  color: #033bd0;
  padding: 0.05em 0.5em;
  border-radius: 5em;
}

.banner {
  position: relative;
}

.free_sample {
  position: absolute;
  top: 10px;
  left: 10px;
}

.nav__link--free {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__link--button--free {
  background: #fff;
  color: #033bd0;
  padding: 0.05em 1em;
  border-radius: 5em;
}

.nav__link:focus,
.nav__link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.nav-toggle:hover {
  opacity: 0.75;
}

.nav-toggle {
  display: none;
}

.hamburger {
  width: 50%;
  position: relative;
  top: 0.75em;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  margin: 0 auto;
  height: 3px;
  background: #033bd0;
}

.hamburger::before,
.hamburger::after {
  content: "";
  width: 100%;
}

.hamburger::before {
  transform: translateY(-6px);
}

.hamburger::after {
  transform: translateY(3px);
}

.nav {
  display: flex;
  background-color: #df110f;
  visibility: visible;
  height: auto;
}

.logo {
  font-family: "Anton", sans-serif;
  text-align: center;
  width: 100%;
  padding: 0.25rem 0;
  text-decoration: none;
}

a.logo {
  text-decoration: none;
}

.header_text {
  text-align: center;
  line-height: 2em;
  width: 100%;
}

.seeit {
  color: #df110f;
  font-size: x-large;
  font-weight: 900;
  font-style: italic;
}

.phone {
  font-weight: 600;
  font-size: large;
  padding-top: 0.5rem;
}

.rays {
  width: 100%;
}

.parent__index {
  width: 100%;
  padding: 0.25rem 0.5rem 0.5rem 0.5rem;
}

.parent {
  width: 100%;
  padding: 0.25rem 0.5rem 0.5rem 0.5rem;
}

.hydrant__lit {
  border-radius: 10px 10px 10px 10px;
  max-width: 100%;
}

p {
  margin: 0 auto;
  max-width: 90%;
  padding: 0.5rem;
  color: black;
}

.testimonials {
  width: 85%;
  margin: 0 auto;
}

.testimonials__quote {
  font-style: italic;
  border-bottom: 2px solid #868181;
  margin: 1rem 0;
}

.testimonials__credit {
  margin: 1rem 0;
  font-style: normal;
  text-transform: capitalize;
}

.legal_text {
  width: 85%;
  margin: auto;
  font-weight: 500;
}

.row {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  align-content: center;
  max-width: 100%;
}

.row2 {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  max-width: 100%;
}

.col {
  width: 100%;
  text-align: center;
}

.col__left {
  width: 70%;
  margin: auto;
}

.col__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 30%;
  margin: 10px;
}

.funding__list {
  padding: 1rem;
  list-style: none;
}

.funding__list--item {
  padding: 1rem;
}

.content {
  max-width: 90%;
  margin: auto;
  line-height: 1.5em;
}

@media (max-width: 900px) {
  .rays {
    display: none;
  }

  .logo {
    font-family: "Anton", sans-serif;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 612px) {
  body {
    margin: 10px;
  }

  .row {
    display: block;
  }

  .header_text {
    display: none;
    margin: 0 auto;
  }

  .col {
    margin: 1em 0;
  }

  h2 {
    font-size: 1.35em;
    margin: 0.1em;
  }

  .col__text {
    font-size: 1em;
    margin: 0;
  }

  header {
    display: flex;
    justify-content: center;
  }

  .logo {
    font-family: "Anton", sans-serif;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .nav {
    display: flex;
    background-color: #df110f;
    height: 30px;
    justify-content: space-around;
    align-items: center;
  }

  .nav-toggle {
    cursor: pointer;
    border: 0;
    width: 4em;
    height: 1.75em;
    background: #fff;
    color: #033bd0;
    padding: 1em 1em;
    border-radius: 5em;
    transition: opacity 500ms ease;
    display: flex;
    position: relative;
  }

  .nav__list {
    margin: 0 auto;
    padding: 0;
  }

  .nav__list--primary {
    visibility: hidden;
  }

  .nav--visible {
    visibility: visible;
    height: auto;
    position: relative;
  }

  .nav__list--primary {
    position: absolute;
    left: 30px;
    display: block;
    margin: 0 auto;
    padding: 1em;
    top: 66px;
    background-color: black;
    opacity: 80%;
    border-radius: 10px;
    text-align: center;
    z-index: 100;
  }

  .nav__list--free-sample {
    display: inline-flex;
  }

  .nav__item {
    margin: 0;
  }

  .hydrant__lit {
    display: none;
  }

  .parent__index {
    display: flex;
    flex-direction: column-reverse;
  }

  footer {
    display: block;
    text-align: center;
    font-size: small;
  }

  .footer__list--item {
    padding: 1rem;
  }

  .content {
    font-size: 1em;
    margin: auto;
    line-height: 1.2em;
    max-width: 95%;
  }

  .free_sample {
    display: none;
  }

  .col__left {
    width: 90%;
  }

  .col__right {
    display: flex;
    justify-content: flex-start;
    width: 90%;
    height: 100%;
    margin: 0 auto;
  }

  .photo-fader {
    width: 100%;
    background-size: cover;
  }

  .photo-fader-2 {
    width: 100%;
  }
}
