* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px 15px;
  background-color: #cfeeff;
  background-image:
    repeating-linear-gradient(
      to bottom,
      #d9f4ff 0px,
      #d9f4ff 2px,
      #cfeeff 2px,
      #cfeeff 4px
    );
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 13px;
  color: #111;
}

a {
  color: #e60000;
  text-decoration: none;
}

a:hover {
  color: #0068b7;
  text-decoration: underline;
}

.site-wrap {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.site-header {
  position: relative;
  margin-bottom: 16px;
}

.logo {
  position: relative;
  display: block;
  width: 260px;
  max-width: 80%;
  margin: 0 auto -100px;
  z-index: 1;
}

.main-nav {
  position: relative;
  display: inline-block;
  padding: 7px 18px;
  background: #ffffff;
  border: 2px solid #0068b7;
  border-radius: 999px;
  box-shadow: 0 2px 0 #e60000;
  font-size: 12px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.main-nav a {
  color: #0068b7;
  font-weight: bold;
}

.main-nav a:hover {
  color: #e60000;
}

.main-nav span {
  color: #e60000;
  padding: 0 7px;
}

.content-box {
  position: relative;
  margin: 0 auto;
  padding: 70px 34px;
  background: #ffffff;
  border: 3px solid #0068b7;
  border-top: 6px solid #e20000;
  border-radius: 18px;
  text-align: left;
  line-height: 1.55;
  box-shadow: 0 6px 0 rgba(0, 104, 183, 0.18);
}

.content-box::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 3px;
  height: 22px;
  background: #0068b7;
  transform: translateX(-50%);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #e60000;
  text-align: center;
  letter-spacing: 1px;
}

h3 {
  text-transform: uppercase;
  font-weight: 100;
}

h4 {
  margin-top: 0;
  color: #e60000;
  text-align: left;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

h2::before,
h2::after {
  content: " ✦ ";
  color: #0068b7;
}

.stats-box {
  margin: 22px auto 0;
  padding: 14px;
  background: #eaf7ff;
  border: 1px dashed #0068b7;
  border-radius: 10px;
}

.site-footer {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.4;
}

.site-footer p {
  margin: 3px 0;
}

.site-collective a {
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0.95;
}

.member-count {
  text-align: center;
  font-size: 12px;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 12px;
}

.members-table th {
  padding: 8px;
  background: #eaf7ff;
  color: #0068b7;
  border-bottom: 2px solid #0068b7;
  text-align: left;
}

.members-table td {
  padding: 7px 8px;
  border-bottom: 1px dotted #9ed8f5;
}

.members-table tr:hover {
  background: #f3fbff;
}

.members-table th:first-child,
.members-table td:first-child {
  width: 40px;
  text-align: center;
}

.member-website {
  display: none;
}

.pagination {
  margin: 16px 0 4px;
  text-align: center;
  font-size: 12px;
}

.pagination a,
.pagination span {
  margin: 0 8px;
}

.join-form {
  max-width: 520px;
  margin: 0 auto;
}

.join-form label,
.join-form legend {
  display: block;
  font-weight: bold;
  color: #0068b7;
  margin-bottom: 4px;
}

.join-form input[type="text"],
.join-form input[type="email"],
.join-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #0068b7;
  border-radius: 8px;
  font-family: inherit;
}

.join-form small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.join-form fieldset {
  margin: 18px 0;
  padding: 12px;
  border: 1px dashed #0068b7;
  border-radius: 10px;
  background: #eaf7ff;
}

.checkbox-label {
  display: inline-block !important;
  margin-right: 14px;
  color: #111 !important;
  font-weight: normal !important;
}

.form-buttons,
.centered,
.button-grid {
  text-align: center;
}

button {
  padding: 8px 22px;
  background: #ffffff;
  border: 2px solid #0068b7;
  border-radius: 999px;
  color: #0068b7;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 0 #e60000;
}

button:hover {
  color: #e60000;
}

.success-message {
  text-align: center;
  padding: 14px;
  background: #eaf7ff;
  border: 1px dashed #0068b7;
  border-radius: 10px;
}

.extra-message {
  text-align: center;
  padding: 14px;
  background: #f5e4cf;
  border: 1px dashed #0068b7;
  border-radius: 10px;
}

.error-message {
  max-width: 520px;
  margin: 0 auto 18px;
  padding: 12px;
  background: #fff3f3;
  border: 1px dashed #e60000;
  border-radius: 10px;
}

.hidden-field {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding: 14px 8px;
    font-size: 13px;
  }

  .site-wrap {
    width: 100%;
  }

  .logo {
    width: 210px;
    max-width: 72%;
    margin-bottom: -88px;
  }

  .main-nav {
    max-width: 92%;
    padding: 1px 4px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .main-nav span {
    padding: 0 4px;
  }

  .content-box {
    padding: 48px 18px 24px;
    border-radius: 14px;
    line-height: 1.55;
  }

  h2 {
    font-size: 1.35rem;
  }

  .site-footer {
    font-size: 11px;
    padding: 0 12px;
  }

  .join-form {
    max-width: 100%;
  }

  .join-form input[type="text"],
  .join-form input[type="email"],
  .join-form select {
    font-size: 14px;
    padding: 7px;
  }

  .join-form label,
  .join-form legend {
    font-size: 13px;
  }

  .join-form small {
    font-size: 11px;
    line-height: 1.4;
  }

  button {
    font-size: 14px;
    padding: 7px 18px;
  }

  .button-grid img {
    width: 40px;
    height: auto;
  }

  .table-wrap {
    overflow-x: visible;
    width: 100%;
  }

  .members-table,
  .members-table tbody,
  .members-table tr,
  .members-table td {
    display: block;
    width: 100%;
  }

  .members-table thead {
    display: none;
  }

  .members-table {
    min-width: 0 !important;
    width: 100% !important;
    margin-top: 18px;
    border-collapse: separate;
    font-size: 14px;
  }

  .members-table tr {
    margin-bottom: 16px;
    padding: 14px;
    background: #eaf7ff;
    border: 1px dashed #0068b7;
    border-radius: 12px;
  }

  .members-table td {
    border: 0;
    padding: 3px 0;
    text-align: left !important;
  }

  .members-table td::before {
    content: "";
  }

  .members-table td[data-label="#"] {
    display: inline-block;
    width: auto !important;
    padding-right: 6px;
    font-size: 13px;
  }

  .members-table td[data-label="Name"] {
    display: inline-block;
    width: auto !important;
    font-weight: bold;
    font-size: 14px;
  }

  .member-website {
    display: inline;
    font-size: 13px;
    font-weight: normal;
  }

  .members-table td[data-label="Website"] {
    display: none !important;
  }

  .members-table td[data-label="Country"] {
    display: block;
    margin-top: 2px;
    font-size: 13px;
  }

  .members-table td[data-label="Favorites"],
  .members-table td[data-label="Joined"] {
    display: block;
    margin-top: 5px;
    font-size: 13px;
  }

  .members-table td[data-label="Favorites"]::before {
    content: "Favorites: ";
    font-weight: bold;
    color: #0068b7;
  }

  .members-table td[data-label="Joined"]::before {
    content: "Joined: ";
    font-weight: bold;
    color: #0068b7;
  }
}

.time-capsule img {
  display: block;
  margin: 12px auto;
}

@media (max-width: 768px) {
  .time-capsule img {
    max-width: 100%;
    height: auto;
  }
}

.time-divider {
  text-align: center;
  border: 0;
  margin: 30px 0;
}

.time-divider::before {
  content: "🐾 🐾 🐾";
  color: #0068b7;
  letter-spacing: 8px;
  font-size: .90rem;
}

.time-links {
  margin-top: 22px;
}

.time-link {
  margin: 0 0 18px;
}

.time-link a {
  color: #e60000;
}

.time-link i {
  color: #0068b7;
  width: 18px;
  margin-right: 5px;
  text-align: center;
  font-size: 13px;
}

.time-link p {
  margin: 3px 0 0 23px;
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {

  .main-nav {
    min-width: 95%;
  }
  .mobile-break {
    display: inline;
  }

  .mobile-hide {
    display: none;
  }

}

.memory-box {
  max-width: 430px;
  margin: 18px auto;
  padding: 10px;
  background: #eaf7ff;
  border: 1px dashed #0068b7;
  border-radius: 10px;
}

.memory-box:nth-of-type(even) {
  background: #fff8df;
  border-color: #e5b700;
}

.memory-box p {
  margin: 0;
  line-height: 1.4;
}

.join-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: 1px solid #5a8fd8;
    border-radius: 10px;
    background: #f8fcff;
    font-family: Verdana, sans-serif;
    font-size: 11px;
    box-sizing: border-box;
}

.view-options {
  text-align: left;
  font-size: 12px;
  margin: 8px 0 16px;
}

.view-options span {
  color: #e60000;
  padding: 0 6px;
}

@media (max-width: 768px) {
  .view-options {
    display: none;
  }
}

.awards {
  margin-top: 35px;
  text-align:center;
}
