html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: serif;
}
html,
body {
  overscroll-behavior: none;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

::selection {
  color: black;
  /* background: #ffffe0; */
  background: rgb(255 255 224 / 99%);
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
  overflow-wrap: break-word;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.expand img {
  cursor: zoom-out;
  width: 100%;
}
a {
  text-decoration: none;
  color: black;
  font-style: italic;
}
a:hover {
  text-decoration: underline;
  cursor: alias;
}

#blockspace {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.block {
  width: 25%;
  /* padding: 3% 3%; */
  padding-bottom: 1rem;
  cursor: default;
}
.hidden {
  display: none;
}

.aboutbutton {
  cursor: help;
  /* display: inline-block; */
  user-select: none;
  -webkit-user-select: none;
}
.aboutbutton:hover {
  /* font-style: italic; */
}
#about {
  /* height: 100vh;
    width: 100vw;
    position: fixed;
    background: lightyellow;
    top: 0; */
}
#about {
  cursor: help;
  user-select: none;
  -webkit-user-select: none;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns with each taking 25% */
  align-items: end;
}
.grid-item {
  /* background-color: grey; */
  padding-right: 10%;
}

#about {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

header {
  position: sticky;
  top: 0;
  background: white;
}

.expand {
  width: 50%;
}

.onlymobile {
  display: none;
}

@media only screen and (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
  }
  .block {
    width: 50%;
  }
  .onlydesktop {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .expand {
    width: 100%;
  }
  header {
    position: relative;
  }
  .onlymobile {
    display: block;
  }
  .aboutbutton {
    position: fixed;
    background: white;
    width: 100%;
  }
  .aboutbutton:hover {
    font-style: normal;
  }
  #about {
    padding-top: 2rem;
  }
}

@media (prefers-color-scheme: dark) {
  html {
    background: black;
    color: white;
  }
  a {
    color: white;
  }
  header {
    background: black;
  }
  .aboutbutton {
    background: black;
  }
}
