/* -- basic reset -- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -- body -- */


body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background-color: #212127;
}

.logo img {
  height: 100px;
}

img {
  height: 80px;
}

/* -- text -- */

h1 {
  color: #000000;
  font-size: 100px;
  font-family: "Modak", sans-serif;
  -webkit-text-stroke: #f9f9f9 3px;
}

h2 {
  font-size: 80px;
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
  color: #ffffff
}

/* -- list --*/
ul {
  list-style-type: none;
  display: flex;
  width: 50%;
}

.finished {
  color: #99d0f0;
}

.playing {
  color: #92eb9f;
}

.planned {
  color: #f393bd;
}

.finishedBorder {
  border-color: #99d0f0;
}

.playingBorder {
  border-color: #92eb9f;
}

.plannedBorder {
  border-color: #f393bd;
}

.pausedBorder {
  border-color: #ffffff;
}

#game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  width: 80%;
  margin: auto;
  padding: 10px;
  justify-content: center;
  z-index: 5;
}

.game-card {
  background-color: #212127;
  color: white;
  flex: 0 0 calc(25% - 10px);
  min-width: 220px;
  max-width: 300px;
  height: 300px;
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 1.1rem;
  border-width: 2px;
  border-style: solid;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.game-card:hover {
  background-color: #2a2a35;
  transform: scale(1.03);
}

.game-card .thumbnail-container {
  height: 70%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.game-card .title-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.95rem;
}

.game-card .desc-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.95rem;
}

.game-card .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .game-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 400px) {
  .game-card {
    flex: 0 0 100%;
  }
}

/* -- games -- */

li {
  background: rgba(61, 61, 61, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(3px) saturate(150%);
  margin: 10px;
  padding: 50px;
  border: 4px solid #ddd;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 5px; /* adds the rounded corners */
  z-index: 2;
  cursor: pointer;
  color: rgb(255, 255, 255);
}

li:hover {
  transform: scale(1.02);
  transition: transform 0.2s;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

/* -- rain -- */

/* Styling for the rain container */
#rain {
  position: fixed; /*changed from absolute to fixed to make it go all the way to the bottom*/
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.raindrop {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  width: 2px;
  height: 10px;
  animation: fall 1s linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

.placeholder{
    font-family: "Share Tech Mono", monospace;
}