@-moz-viewport { width: device-width; scale: 1; }
@-ms-viewport { width: device-width; scale: 1; }
@-o-viewport { width: device-width; scale: 1; }
@-webkit-viewport { width: device-width; scale: 1; }
@viewport { width: device-width; scale: 1; }

html {
  box-sizing: border-box;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #fff;
  font-family: sans-serif;
  line-height: 1.3;
  background-color: #3b1b23;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
}

header {
  padding: 0 .1rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: absolute;
  max-width: 50em;
}

.img-flex {
  width: 100%;
  display: block;
}

h1 {
  background-color: #3b1b23;
  border-radius: .2rem;
  max-width: 95%;
  z-index: 1;
  display: inline-block;
  top: 3rem;
  left: 2rem;
  position: absolute;
  text-align: center;
  font-size: 2rem;
  width: 80%;
  margin-top: 2rem;
  transform: translateX(5%);
}

.first-section-img {
  display: none;
}

.image-overlay {
  display: block;
  width: 100%;
}

.banner {
  width: 100%;
  display: inline-block;
  overflow: hidden;
  max-height: 15rem;
  position: relative;
}

ul {
  display: block;
  align-items: center;
  justify-content: space-around;
  font-size: 1rem;
  margin: 0;
}

a {
  padding: .5rem;
  margin: auto;
  color: #fff;
  text-decoration: none;
}

li {
  list-style-type: none;
  display: inline-block;
}

header a:hover {
  color: #fff;
  background-color: #3b1b23;
}

footer li:hover {
  background-color: #a63f38;
}

.first-section {
  width: 100%;
  color: #000;
  display: block;
}

h2 {
  margin-top: .5rem;
  margin-bottom: 1rem;
  text-align: left;
  font-size: 2rem;
  color: #e6e6e6;
}

p {
  color: #e6e6e6;
  margin-top: 1rem;
  text-align: left;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.second-section-img {
  display: block;
  width: 100%;
}

.second-section {
  display: block;
}

footer {
  background-color: #e6e6e6;
}

footer p, h3, nav {
  color: #a63f38;
  display: block;
  text-align: center;
}

footer p {
  font-size: 1rem;
}

footer h3 {
  font-size: 1.5rem;
}

footer img {
  width: 2rem;
  margin: 1rem 0;
}

footer nav {
  background-color: #e6e6e6;
}

footer a {
  padding: 1rem;
}

.nav {
  padding: 0;
}

label {
  background-color: #3b1b23;
  cursor: pointer;
  border-radius: .3rem;
  font-size: 1rem;
  text-align: center;
  padding-top: .2rem;
  z-index: 1;
  height: 1.5rem;
  width: 8rem;
  margin-top: .5rem;
  display: inline-block;
}

#menu-toggle {
  display: none;
}

#menu {
  font-size: 1.1rem;
  z-index: 1;
  background-color: #000;
  overflow: hidden;
  max-height: 0;
  position: absolute;
  left: .5rem;
  bottom: 0;
  max-width: 7rem;
  height: 15rem;
  padding: 0 1rem;
  -webkit-transition: all .5s ease;
}

#menu li {
  padding: .5rem;
}

#menu-toggle:checked + #menu {
  max-height: 11.5rem;
  position: absolute;
  left: .3rem;
  bottom: -12rem;
}

@media only screen and (min-width: 38em) {
  /* 608 */

  html {
    line-height: 1.4;
    font-size: 110%;
  }

  footer p, h3, nav {
    color: #a63f38;
    display: block;
    text-align: center;
  }

}

@media only screen and (min-width: 40em) {
  /* 608 */

  label {
    display: none;
  }

  .nav {
    background-color: #000;
  }

  #menu {
    overflow: visible;
    max-width: 100%;
  }

}

@media only screen and (min-width: 45em) {
  /* 960 */

  html {
    line-height: 1.4;
    font-size: 110%;
  }

  .img {
    padding: 1rem;
    display: block;
    width: 62%;
  }

  .card-title {
    display: block;
    padding: 2rem 1rem;
  }

  .first-section, .second-section {
    display: flex;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

}

@media only screen and (min-width: 60em) {

  html {
    line-height: 1.5;
    font-size: 120%;
  }

  nav {
    font-size: 1.2rem;
  }

}

@media only screen and (min-width: 90em) {

  html {
    font-size: 130%;
  }

  nav {
    font-size: 1.2rem;
  }

}
