html {
  background-image: url("../backgrounds/dots.png");
  background-repeat: repeat-x;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: auto;
  margin-top: 0.5rem;
}

h3,
p {
  margin: auto;
}

.box {
  border: 2px black solid;
  background-color: white;
}

h1 {
  margin: auto;
}

#content h1 {
  margin-top: 1rem;
}

#content img {
  width: 100%;
  padding: 0px;
}

nav h3 {
  display: flex;
  justify-content: space-between;
}

#logomark img {
  width: 100%;
}

@media only screen and (min-width: 920px) {
  .box {
    box-shadow: 6px 6px black;
    padding: 3px;
    padding-inline: 6px;
  }
  body {
    max-width: min(100vw, 1000px);
    display: grid;
    grid-template-areas: "header  header" "content sidebar" "footer  footer";
    grid-template-columns: min(60vw, 715px) min(35vw, 305px);
    column-gap: 1rem;
    row-gap: 0.5rem;
    justify-content: center;
  }
  header {
    grid-area: header;
    display: grid;
    grid-template-areas: "logo   stuff" "nav    _";
    grid-template-columns: min(60vw, 715px) min(35vw, 305px);
    gap: 0.5rem;
  }
  header #logomark {
    grid-area: logo;
  }
  header #other-stuff {
    grid-area: stuff;
  }
  header #addr.box,
  header #socials.box {
    float: right;
    width: fit-content;
    margin-bottom: 0.5rem;
    font-size: large;
  }
  header #addr.box a,
  header #socials.box a {
    margin-inline: 2px;
  }
  header nav {
    grid-area: nav;
    height: fit-content;
  }
  #content {
    grid-area: content;
  }
  #content ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
  }
  #content img {
    margin-bottom: -0.5rem;
  }
  #sidebar {
    grid-area: sidebar;
    margin-top: -1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #sidebar #events {
    width: min(35vw, 305px);
  }
  #sidebar #events div {
    margin-bottom: 6px;
  }
  #sidebar #events h1 {
    font-size: xx-large;
  }
  #sidebar #events h3 {
    text-align: center;
    margin-top: -6px;
  }
  #sidebar #events iframe {
    border: none;
    width: min(35vw, 305px);
    height: 680px;
    margin: auto;
  }
  footer {
    grid-area: footer;
    height: 2rem;
  }
}
@media only screen and (max-width: 919px) {
  body > * {
    margin: 0.25rem;
  }
  #content h1,
  #content p {
    margin: 0.5rem;
  }
  .box {
    box-shadow: 0.8vw 0.8vw black;
    padding: 0.4vw;
    padding-inline: 0.8vw;
    margin-top: 1vw;
    margin-right: 1.8vw;
  }
  h1 {
    font-size: 6vw;
  }
  h3 {
    font-size: 4vw;
    -webkit-text-size-adjust: 90%;
  }
  header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  header .box {
    margin: 0;
  }
  header #other-stuff {
    display: flex;
    justify-content: space-between;
  }
  header #socials {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
  }
  header #socials a img {
    width: 4vw;
  }
  header nav {
    padding: 0 0.25rem;
  }
  #content img {
    width: 99%;
  }
  #events h3 {
    display: none;
  }
  #events iframe {
    width: 100vw;
    margin-left: -0.25rem;
    margin-top: 0.25rem;
    border: none;
    height: 40vw;
  }
  #webring {
    text-align: center;
  }
  footer {
    height: 1rem;
  }
}
