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

html, body {
  margin: 0;
  padding: 0;
  min-height: fit-content;  
  font-family: 'Overpass', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  background: #2B3A64;
  color: #EEF4ED;
}
header, main, footer {
  max-width: 800px;
  margin: 0 auto;
}
h1, h2, h3, h4 {
  font-weight: 800;
}
@media screen and (max-width: 600px) {
  h1, h2, h3, h4 {
    font-weight: 600;
  }
  h1 {
    font-size: 1.750rem;
  }
}
strong {
  font-weight: 600;
}
label {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.25rem;
}
input,
textarea {
  background: #FFFFFF;
  color: #1F2041;
  border: 1px solid #1F2041;
  border-radius: 3px;
  font-size: 0.875rem;
  font-family: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
}
input:focus,
input:active {
  outline: 3px solid hsla(209, 69%, 84%, 1);
}
button {
  border-radius: 3px;
  font-size: 0.875rem;
  font-family: inherit;
  line-height: inherit;
  padding: 0.5rem;
  box-sizing: border-box;
  border: none;
  background-color: #6F9CEB;
  color: #FFFFFF;
  text-shadow: 0 0 0.25rem #43629E;
  font-weight: 600;
}
input + button {
  margin-left: 0.25rem;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
a {
  color: hsl(209, 68%, 84%);
  color: #EEF4ED;
  text-shadow: 0 1px 3px rgba(31, 32, 65, 0.5);
}
a:hover {
  color: #FFFFFF;
  text-shadow: 0 1px 5px rgba(31, 32, 65, 0.75);
  text-shadow: 0 1px 3px #43629E;
}
a:focus {
  border-radius: 3px;
  outline: 2px solid hsla(209, 69%, 84%, 1);
  outline-offset: 2px;
}
hr {
  border-top: 2px solid hsla(209, 69%, 84%, 1);
  border-bottom: 1px solid #1F2041;
  margin: 1rem 0;
  clear: both;
}
hr.spacer {
  border: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}
header .logo-link {
  display: inline-block;
  text-decoration: none;
  vertical-align: middle;
}
header .logo {
  display: inline-block;
  text-decoration: none;
  text-shadow: none;
  color: #FFFFFF;
  color: #EEF4ED;
  overflow: hidden;
  padding: 1rem;
}
header .logo .logo-name {
  font-size: 1.5rem;
  line-height: 1.25rem;
  font-weight: 800;
  display: block;
  ---vertical-align: baseline;
}
header .logo .logo-detail {
  font-size: 0.9rem;
  line-height: 0.9rem;
  font-weight: 600;
  display: block;
  ---vertical-align: baseline;
  margin-left: 0.25rem;
}

.panel {
  background-color: hsl(225, 39%, 20%);
  color: #FCFCFC;
  border-radius: 0.5rem;
  padding: 1rem;
}
.panel.dim {
  background-color: #263154;
}
.panel *:first-child {
  margin-top: 0;
}
.panel *:last-child {
  margin-bottom: 0;
}



header nav {
  padding: 0 1rem;
  vertical-align: middle;
}
@media screen and (min-width: 600px) {
  header nav .mobile-expander {
    display: none;
  }
  header nav a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
  }
  header nav a.current-page {
    text-decoration: none;
    color: #FFFFFF;
  }
}
@media screen and (max-width: 600px) {
  header nav {
    position: relative;
  }
  header nav a {
    display: none;
  }
  header nav .mobile-expander {
    cursor: pointer;
    display: inline-block;
  }
  header nav.expanded {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 200px;
    z-index: 1;
    text-align: right;
    background-color: #EEF4ED;
    background-color: #FFFFFF;
    padding: 0;
    box-shadow: 0 0 8px rgba(31, 32, 65, 1);
  }
  header nav.expanded a {
    display: block;
    text-shadow: none;
    color: #2B3A64;
    padding: 0.25rem 1rem;
    text-align: left;
  }
  header nav.expanded a:hover {
    text-shadow: none;
    color: #2B3A64;
    text-decoration: none;
  }
  header nav.expanded a:focus {
    outline-offset: 0;
  }
  header nav.expanded .mobile-expander {
    text-align: right;
    color: #2B3A64;
    padding: 1.5rem 1rem 0.5rem 0.5rem;
  }
}