:root {
  --red: #1a1a1a;
  --blue: #d2738a;
}

* {
  cursor: url("/images/hellokitty-bow.png"), auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--red);
  color: var(--blue);
  background-image: url("/images/bg.png");
  background-repeat: repeat;
  background-position: top left;
  position: relative; /* Necessary for the pseudo-element positioning */
  background-size: 15%;
  font-family: "virale";
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  min-height: 100vh;
  padding: 1rem;
}
body::after {
  content: "";
  position: fixed; /* Fixed to viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/iris.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  pointer-events: none; /* Allows clicks to pass through */
  z-index: 9999; /* Very high z-index to ensure it's on top of everything */
  background-size: 20%;
}
@font-face {
  font-family: "virale";
  src: url("/fonts/monaco.ttf");
}

h1 {
  margin-left: 2%;
  text-align: left;
  margin-bottom: 1rem;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: auto;
  align-items: flex-start;
  justify-content: center;
  min-height: 700px;
  width: 100%;
  max-width: 1200px;
}

.item, .item2, .item3 {
  border: solid var(--blue);
  background-color: var(--red);
  padding: 1rem;
  height: auto;
  margin: auto;
  min-height: 200px;
}

.item {
  width: 100%;
  max-width: 800px;
  order: 1;
}

.item2 {
  width: 100%;
  max-width: 400px;
}

.item3 {
  width: 100%;
  max-width: 200px;
}
#navbar-container {
  order: 2;
}
.header {
  border: solid var(--blue);
  padding: 1rem;
  width: 100%;
  max-width: 1200px;
  color: var(--blue);
  margin: 1rem auto;
  background-color: var(--red);
  font-size: clamp(24px, 5vw, 50px);
}

.borderthing {
  border: solid var(--blue);
  padding: 0.5rem;
  width: 100%;
  background-color: var(--red);
  color: var(--blue);
  text-align: center;
  margin-bottom: 1rem;
  margin: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.whatsnew {
  background-color: var(--red);
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  text-align: center;
  padding: 1rem;
  border: solid var(--blue);
  margin: 1rem auto;
}

img {
  max-width: 100%;
  height: auto;
}

.projectflex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.project {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

#statuscafe {
  padding: 1rem;
  background-color: var(--red);
  border: 2px solid var(--blue);
  margin: 1rem auto;
  max-width: 500px;
}

#statuscafe-username {
  margin-bottom: 0.5rem;
}

#statuscafe-content {
  margin: 0.5rem;
}

.flex2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: auto;
  justify-content: center;
}

.itemv3 {
  margin: auto;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    background-size: 25%;
    padding: 0.5rem;
  }

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

  .header {
    height: auto;
    margin-bottom: 1rem;
  }

  .item, .item2, .item3 {
    width: 95%;
    margin: 0.5rem auto;
  }
}

@media screen and (max-width: 480px) {
  body {
    background-size: 35%;
  }
  
  .projectflex {
    grid-template-columns: 1fr;
  }
}