body {
  display: block;
  /*flex-direction: column;*/
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: radial-gradient(#a52a2d 2px, black 3px);
  background-size: 12px 12px;
  background-position: 100%;
  overflow: hidden;
  animation: moveBackground 120s linear infinite;
  font-family: Helvetica;
  /* Ensures the layout covers the entire viewport */
}

@keyframes moveBackground {
  from {
    background-position: 100%;
  }

  to {
    background-position: 0;
  }
}

/* header, .block, footer {
  flex: 0 0 auto;  #Allow the items to grow, but not shrink or be basis#
} */
a {
  color: inherit;
}

.project {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  background-color: black;
  color: white;
  margin: 1em;
  padding: 1em;
  border-radius: 15px;
  align-items: center;
  /* Ensures the layout covers the entire viewport */
}

.project img {
  max-width: 100%;
  height: auto;
  flex: 0 0 auto; /* Prevent image from growing or shrinking */
  border-radius: 15px;
}

.project .text-content {
  flex: 1;
  /* Allow text content to grow and take remaining space */
  padding: 0 1em;
  /* Add spacing around text content */
}

.project h1 {
  font-size: 3em;
  font-weight: normal;
  margin: 0;
}

.project p {
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 1em;
}

.article {
  width: 80%;
  background-color: black;
  color: white;
  margin: 1em;
  padding: 1em;
  border-radius: 15px;
  /* Ensures the layout covers the entire viewport */
}

.article h1 {
  margin: 0;
}

.notice {
  width: 70%;
  background-color: black;
  color: white;
  margin: 1em;
  padding: 1em;
  border-radius: 15px;
  text-align: center;
}

h1 a {
  text-decoration: none;
}

h6 {
  margin-top: 4px;
}

.pxl {
  color: #ff2500;
  font-size: 4em;
  font-family: Helvetica;
  font-weight: bold;
  user-select: none;
}

.fade-in {
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 12vh;
  z-index: 998;
  background-color: black;
}

nav {
  margin-left: auto;
}

.navlink {
  display: inline-block;
  /* Ensure consistent sizing for inline elements */
  width: 200px;
  /*vertical-align: middle;*/
  text-align: center;
  font-family: Helvetica;
  font-size: 1.8em;
  color: #ff2500;
  transition: transform 0.2s;
}

.navlink a {
  text-decoration: none;
}

.navlink:hover {
  transform: scale(1.4);
}

.burger {
  display: none;
  margin: 0 40px;
  text-align: center;
  font-size: 2.8em;
  color: #ff2500;
  2
}

.burgermenu {
  display: none;
  position: fixed;
  top: 12vh;
  height: 78vh;
  width: 100%;
  color: #ff2500;
  background-color: black;
}

.menulink {
  display: block;
  text-align: center;
  width: 100%;
  padding: 2em 0;
  font-family: Helvetica;
  font-size: 1.8em;
  color: #ff2500;
  transition: transform 0.2s;
}

.menulink:hover {
  color: black;
  background-color: #ff2500;

}

main {
  opacity: 0;
  transition: opacity 1.5s ease;
  display: flex;
  width: 100%;
  height: 77vh;
  align-items: center;
  flex-direction: column;
  overflow-y: auto;
  padding-top: 1vh;
}

.block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.move-out {
  position: absolute;
  animation: moveOut 1.5s ease-in forwards;
}

.move-in {
  position: absolute;
  animation: moveIn 1s ease-out forwards;
}

.new {
  color: #ff2500;
  font-size: 3em;
  font-family: Helvetica;
  font-weight: bold;
  user-select: none;
}

.hidden {
  visibility: hidden;
}

.team {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 80%;
  margin-top: 1em;
}

.bio {
  flex: 1;
  /* Allow flex items to grow and shrink equally */
  max-width: calc(33.33% - 20px);
  /* Adjust margin as needed */
  margin: 40px 10px;
  /* Add spacing between flex items */
  text-align: center;
  /* Center the content horizontally */
  color: white;
}

.bio img {
  width: 50%;
  border-radius: 20%;
}

.appeared {
  margin-left: 2.5vw;
}

.project {
  justify-content: center;
}

footer {
  display: flex;
  align-items: center;
  width: 100%;
  height: 10vh;
  z-index: 999;
  background-color: black;
}

footer a {
  margin: 0 20px;
  /* space in between icons in footer */
}

@keyframes moveOut {
  0% {
    transform: translateX(0vw);
  }

  100% {
    transform: translateX(61.5vw);
  }
}

@keyframes moveIn {
  0% {
    transform: translateX(-19vw);
  }

  100% {
    transform: translateX(2.5vw);
  }
}

@media (max-width: 1000px) {
  .navlink {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .menulink {
    padding: 1em 0;
  }

  .pxl {
    font-size: 2em;
  }

  .new {
    font-size: 2em
  }

  .project {
    flex-direction: column;
    /* Stack items vertically on smaller viewports */
  }

  .project h1 {
    font-size: 2em;
  }

  .project p {
    font-size: 1em;
  }

  img {
    width: 90%;
  }

  .team {
    flex-direction: column;
    align-items: center;
  }

  .bio {
    max-width: 90%;
  }
}

@media (max-height: 500px) {

}

::selection {
  color: #ff2500;
  background-color: white;
}
