* {
  box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: 'Tangerine', serif;
  font-weight: 400;
  line-height: 1.75;
  color: #555;
   }

.logo {
  width: 200px;
  height: 15px; }
  @media (max-width: 40rem) {
    .logo {
      margin: 1.5rem 0 0; } }

nav2 {
  display: flex;
  max-width: 75rem;
  margin: 0 auto;
  padding: 1rem;
  justify-content: space-between;
  align-items: center;
  background: white; }
  @media (max-width: 40rem) {
    nav2 {
      flex-direction: column;
      font-family: 'Tangerine', serif;} }
  nav2 ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style-type: none; }
  nav2 li {
    font-family: 'Tangerine', serif;
    height: 100%; }
    nav2 li a {
      position: relative;
      display: block;
      padding: 1rem 0;
      padding-left: 2rem;
      font-family: 'Tangerine', serif;
      text-decoration: none;
      font-weight: 800;
      letter-spacing: .05rem;
      text-transform: uppercase; }
      @media (max-width: 40rem) {
        nav2 li a {
            font-family: 'Tangerine', serif;
          padding: 2rem 1rem 0;
          font-size: .75rem; } }
    nav2 li:hover a:after, nav2 li .nav-active:after {
      content: '';
      display: block;
      font-family: 'Tangerine', serif;
      position: absolute;
      width: calc(100% - 2rem);
      height: 3px; }

.nav-green {
    font-family: 'Tangerine', serif;
  color: #55c395; }
  .nav-green:after {
      font-family: 'Tangerine', serif;
    background-color: #55c395; }

.nav-blue {
    font-family: 'Tangerine', serif;
  color: #56c1c1; }
  .nav-blue:after {
      font-family: 'Tangerine', serif;
    background-color: #56c1c1; }

.nav-orange {
    font-family: 'Tangerine', serif;
  color: #ed9939; }
  .nav-orange:after {
      font-family: 'Tangerine', serif;
    background-color: #ed9939; }

section, footer {
  max-width: 75rem;
  margin: 0 auto;
  padding: 1rem;
  background: white; }

.intro-video {
  position: relative;
  padding-bottom: 55%; }
  .intro-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

.intro {
  max-width: 75rem;
  margin: 0 auto;
  text-align: center; }
  @media (max-width: 40rem) {
    .intro {
      text-align: left; } }
  .intro b2 {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #3681a5; }
  .intro p {
    margin: 0 auto;
    max-width: 45rem;
    font-size: 1.25rem; }

.infographics {
    font-family: 'Tangerine', serif;
  display: flex; }
  @media (max-width: 54rem) {
    .infographics {
        font-family: 'Tangerine', serif;
      display: block; } }
  .infographics a {
      font-family: 'Tangerine', serif;
    display: block;
    text-decoration: none;
    flex: 1 1 33%;
    margin-bottom: 1rem;
    padding: 1rem;
    cursor: pointer; }
    @media (min-width: 28rem) and (max-width: 54rem) {
      .infographics a {
          font-family: 'Tangerine', serif;
        display: flex;
        align-items: center; } }
    .infographics a:hover > svg {
      transform: scale(0.9); }
    .infographics a:first-of-type {
      background: #55c395; }
    .infographics a:nth-of-type(2) {
      background: #56c1c1; }
    .infographics a:last-of-type {
      background: #ed9939; }
  .infographics svg {
    max-width: 400px;
    max-height: 400px;
    transform: scale(0.8);
    transition: transform .2s ease-in-out;
    cursor: pointer; }
    @media (min-width: 28rem) and (max-width: 54rem) {
      .infographics svg {
        width: 30vw; } }
  .infographics b3 {
    font-weight: 800;
    font-size: 1.75rem;
    text-align: center;
    color: white;
    text-transform: uppercase;
    letter-spacing: .05rem; }
    @media (max-width: 75rem) {
      .infographics h3 {
        font-size: 2.25vw; } }
    @media (max-width: 54rem) {
      .infographics h3 {
        font-size: 4vw; } }
    @media (min-width: 28rem) and (max-width: 54rem) {
      .infographics h3 {
        margin-left: 3rem; } }
    @media (max-width: 28rem) {
      .infographics h3 {
        font-size: 1.5rem; } }

/* Earthquake Animation */
.earthquake:hover .smallhouse {
  animation: minishake .5s infinite; }

@keyframes minishake {
  0% {
    transform: rotate(0.2deg); }

  50% {
    transform: rotate(-0.2deg); } }
.earthquake:hover .crack {
  animation: crack 3s infinite, crackshift .25s infinite; }

@keyframes crack {
  0% {
    stroke-width: 30; }

  100% {
    stroke-width: 1; } }
@keyframes crackshift {
  0% {
    transform: translateX(-1px); }

  50% {
    transform: translateX(1px); } }
.earthquake:hover .bighouse {
  animation: shake .25s infinite; }

@keyframes shake {
  0% {
    transform: translateX(-1px); }

  50% {
    transform: translateX(1px); } }
/* Flood Animation */
.flood:hover .house {
  animation: bobbing 3s infinite; }

@keyframes bobbing {
  50% {
    transform: translate(-2px, 10px) rotate(-1deg); } }
.flood:hover .water {
  animation: waterflow 1s infinite;
  animation-timing-function: linear; }

@keyframes waterflow {
  100% {
    transform: translateX(-45px); } }
/* Wildfires Animation */
.wildfire:hover .flame {
  animation: flame .5s infinite; }

@keyframes flame {
  50% {
    transform: scale(1, 1.2) translate(-5px, -30px) rotate(-2deg); } }
footer {
  padding: 1rem; }

.infographic-earthquakes {
    font-family: 'Tangerine', serif;
  position: relative;
  padding-bottom: 154%; }

.infographic-floods {
    font-family: 'Tangerine', serif;
  position: relative;
  padding-bottom: 136%; }

.infographic-wildfires {
    font-family: 'Tangerine', serif;
  position: relative;
  padding-bottom: 165%; }

.infographic-container {
    font-family: 'Tangerine', serif;
  position: absolute;
  top: 0;
  left: 0;
  max-width: 73rem;
  width: 100%;
  height: 100%; }