@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');

@media (min-width: 768px) {
  :root { font-size: calc(.9375rem + ((1vw - 7.68px) * .8681)); min-height: 0; }
}
@media (min-width: 1920px) {
  :root { font-size: 25px; }
}

:root {
  --black: #000000;
  --gray: #464646;
  --blue: #abcae4;
  --dblue: #436887;
  --red: #be3a34;
  --white: #ffffff;
  --yellow: #f6b700;
}

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

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

a:link,
a:visited {
  color: var(--dblue);
}

a:hover,
a:focus {
  text-decoration: none;
}

.masthead,
.footer {
  background: var(--black);
  color: var(--white);
  padding: .5em 1em;
  font-size: .9em;
}

.masthead a:link,
.masthead a:visited,
.footer a:link,
.footer a:visited {
  text-decoration: none;
  color: var(--blue);
}

.pledge a:link,
.pledge a:visited {
  color: var(--blue);
}


.brand {
  font-weight: bold;
  text-transform: uppercase;
  font-size: .75em;
  padding: .5em 1em;
}

.banner {
  display: block;
  width: 100%;
}

.content {
  max-width: 36em;
  margin: 0 auto;
  padding: 1em;
}

.intro {
  text-align: center;
}

h1 {
  color: var(--red);
  font-size: 2.15em;
}

h1:after {
  content: " ";
  display: block;
  width: 100px;
  border-bottom: 1px solid;
  margin: 1em auto;
}

h1, h2 {
  font-weight: 100;
}

h2 {
  text-transform: uppercase;
}

.sponsor-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.sponsors img {
  max-width: 100%;
}

.pledge {
  font-size: 1.25em;
  background: var(--red);
  padding: 1em;
  margin: 1em 0;
  color: white;
}

.pledge h1 {
  color: var(--white);
  text-align: center;
}

.thanks,
.pledge-text {
  font-weight: 500;
}

.pledge h2,
.pledge p {
  text-align: center;
}

input, select, textarea, button{
  font-size:inherit;
  font-family:inherit;
}

.pledge label {
  display: block;
  text-transform: uppercase;
  font-size: .75em;
}

.required label:after {
  content: " (required)";
  text-transform: none;
}

.pledge textarea,
.pledge input {
  border: 1px solid var(--gray);
  width: 100%;
  padding: .5em;
  border-radius: 4px;
}

.pledge-group { margin-bottom: 1.5em; }

.submit {
  background: var(--dblue);
  color: var(--white);
  cursor: pointer;
  font-weight: 300;
  text-transform: uppercase;
  -webkit-appearance: none;
}


h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
}


.admin .content {
  max-width: 45em;
}

table {
  border: 1px solid #000;
  border-collapse: collapse;
  width: 100%;
}

table td {
  border: 1px solid #000;
  padding: 1em;
}

.friend-list {
  list-style-type: none;
  margin: 1em 0;
  padding: 0;
}

.friend-list li {
  display: inline;
}

.friend-list li:nth-child(even) {
  color: var(--dblue);
}

.friend-list li:nth-child(odd) {
  color: var(--red);
}

.friend-list li::after {
  content: " • ";
}

.friend-list li:last-child::after {
  content: "";
}

.pledge-name{
  font-weight: 500;
}

.pledge-message:before {
  content: '-';
}

.friends {
  margin: 5em 0;
}

.more .content {
  border-top: 1px solid;
  border-bottom: 1px solid;
  margin-bottom: 5em;
  padding: 5em inherit;
}

.friends .content,
.sponsors .content {
  max-width: 100%;
  text-align: center;
}

.more .content {
  text-align: center;
}

.by-redhead {
  font-size: .7em;
  text-align: right;
  opacity: .5;
}

.by-redhead:hover {
  opacity: 1;
}

.social a {
  display: inline-block;
  margin-right: 1em;
}

.social img {
  width: 1.25em;
}

@media (min-width: 768px) {
  .sponsor-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .sponsor-list  li {
    width: 15%;
  }
}
