:root {
  --blue: rgba(35, 89, 196, 1);
  --gold: rgba(255, 203, 27, 1);
  --navy: rgba(19, 34, 101, 1);
  --gray: rgba(0, 0, 0, .7);
  --lite: rgba(255, 203, 27, .25);
}
*, *::after, *::before {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.66;
  background: #e6e6e6;
  width: 100vw;
  margin: 0;
  padding: 0;
}

h1 {font-size: 3em; font-weight: 400;}
h2 {font-size: 1.8em; font-weight: 400; color: var(--navy);}
h3 {font-size: 1.5em; font-weight: 400;}
p, li {font-size: 1.25em; line-height: 160%;}
a {color: var(--blue); text-decoration: underline;}
a:hover {color: var(--hover);}

section {
  display: flex;
  justify-content: center;
  line-height: 1;
}
.container {
  display: flex;
  width: auto;
  justify-content: center;
  align-items: flex-start;
}
.logo img {
  flex: 1 1 0px;
  justify-item: center;
  width: 100%;
  max-height: 110px;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 5em 0;
}
.placeholder {
  display: grid;
  max-width: 400px;
  height: 100%;
}
.placeholder img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
}

.feature  {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: .5em 2.5em;
  background: white;
  border: 1px solid #efefef;
  border-radius: 6px;
  -webkit-box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.07);
  -moz-box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.07);
  box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.07);
  margin: 1em;
}
.responsive {
  width: 90vw;
}
.banner {
  background-color: var(--lite);
  padding: .5em 2em;
  margin: .75em;
}
.chip {
  background-color: var(--gold);
  font-size: calc(100% * .66);
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-block;
  margin: 4px;
}
.rotated {transform: rotate(-7deg);
}
.nogrow {flex-grow: 0;}
#main {
  display: flex;
  flex-basis: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch;
  align-content: space-between;
  margin: 3em;
}
#sidebar {display: flex; flex-basis: 50%;}
.reversed {
  background-color: var(--navy);
  color: white;
  text-align:center;
}
.reversed a {
  color: white;
}
.reversed a:hover {
  color: var(--gold);
}
footer {
  padding: 2em;
  bottom: 0;
}
.small {
  font-size: calc(100% * .75);
}
.smaller {
  font-size: calc(100% * .6);
}
.smallest {
  font-size: calc(100% * .5);
}
.feature h2 {
  border-bottom: 1px solid var(--gold);
}
.volunteer {
  display: flex;
  /* width: 100vw; */
  background: var(--blue);
  padding: 1em;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.volunteer h2 {
  color: white;
}
.tout  {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-around;
  align-items: center;
  padding: .5em 1em;
}
a.btn {
  background: var(--gold);
  padding: 1.25em 1.5em;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  color: white;
  line-height: 1;
  white-space: nowrap;
  display: flex;
}
a.btn:hover {
  background: var(--navy);
}
.wiggle {
  backface-visibility: hidden;
  transform: translateZ(0px);
  animation-duration: 5s;
  animation-name: wiggle;
  animation-play-state: running;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes wiggle {
2% {transform: translateX(3px) rotate(2deg);}
4% {transform: translateX(-3px) rotate(-2deg);}
6% {transform: translateX(3px) rotate(2deg);}
8% {transform: translateX(-3px) rotate(-2deg);}
10% {transform: translateX(2px) rotate(1deg);}
12% {transform: translateX(-2px) rotate(-1deg);}
14% {transform: translateX(2px) rotate(1deg);}
16% {transform: translateX(-2px) rotate(-1deg);}
18% {transform: translateX(1px) rotate(0deg);}
20% {transform: translateX(-1px) rotate(0deg);}
}
/* -------- global changes on mobile size -------- */

@media only screen and (max-width: 900px) {
  h1 {font-size: 2em; font-weight: 400;}
  h2 {font-size: 1.3em; font-weight: 400; color: var(--navy);}
  .logo img {
    width: 40%;
  }
  .feature  {
    padding: .5em 2em;
    margin: 1em .5em;
  }
  #main {
    margin: 2em;
  }
}
@media only screen and (max-width: 600px) {
  .feature  {
    padding: .5em 1.5em;
    margin: .25em .5em;
    /* align-self: stretch; */
  }
  .container {
    margin: 1em 0;
  }
  .container > .volunteer {
    margin: 0;
  }
  .volunteer {
    padding: 1em;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }
  .tout  {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-around;
    align-items: center;
    padding: .5em 1em;
  }

  a.btn {
    white-space: nowrap;
    display: block;
  }
  #main {
    margin: 1em;
  }

}
