/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

html, body {
  height: 100%;
  margin: 0;
}

body {
    background-color: #98826aff;
    color: black;
    font-family: Courier New;
    padding: 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.fixed-audio {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  padding: 5px 0;
  z-index: 9999;
}

header {
  background: black;
  flex:1;
  padding: 10px;
}

main {
  flex: 1;
  padding: 10px;
}

footer {
  background: black;
  color: #98826aff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
}

p {
  font-size: 20px;
  text-align: left;
}

::selection {
    background: yellow;
    color: black;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 20px;
}

img, svg {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.image-wrapper {
    text-align: center;
    width: 100%;   /* Default: 100% width on mobile */
    margin: 0 auto;
    height: auto;
}

img:hover {
  filter: invert(80%) sepia(99%) saturate(7497%) hue-rotate(356deg) brightness(108%) contrast(105%);
}

.image-wrapper img,
.image-wrapper svg {
    width: 100%;              /* Makes image scale with container */
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Apply 60% width starting from 1024px screen size (typical laptop) */
@media (min-width: 1024px) {
  .image-wrapper {
    width: 70%;
  }
}

.nav {
    display: flex;
    flex-wrap: wrap;          /* allows items to wrap on narrow screens */
    justify-content: space-between;
}
.nav a {
    flex: 1 1 auto;           /* each link grows/shrinks equally */
    padding: .5rem;
    text-align: center;
}