.reaction-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 10px; /* Ruimte tussen reacties */
}

body {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.85)
    ),
    url("../../interactiveWallLogo.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover,
    /* overlay (witte laag) vult gewoon ‘cover’, geen effect */ 40vw; /* logo op 80% van viewport‑breedte, aspect-ratio in stand */
  background-color: #f5f5f5;
  background-attachment: fixed;
}

.reaction-card {
  background-color: white;
  width: 95%;
  padding: 20px;
  margin: 5px auto;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
}

.reaction-user {
  font-size: 0.9rem;
  text-align: right;
}

form input[type="text"] {
  padding: 10px;
  font-size: 1.5rem;
  margin: 10px 0;
  border: none;
  border-bottom: 3px solid black;
}

/* The alert message box */
.alert {
  padding: 5px;
  color: white;
  margin-bottom: 15px;
}

.alert.success {
  background-color: #2eb886;
}

.alert.error {
  background-color: #f44336;
}

.alert.deleted {
  background-color: orange;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.reaction-delete-btn {
  width: 100%;
  text-align: center;
  background-color: red;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  transition: all 0.3s ease;
}

.reaction-delete-btn:hover {
  background-color: rgb(206, 0, 0);
  cursor: pointer;
}

.reaction-delete-btn:focus {
  transform: scale(0.98);
}

textarea {
  font-size: 1.3rem;
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

.reaction-submit-btn {
  margin-top: 10px;
  padding: 10px 30px;
  text-transform: uppercase;
  font-size: 1.3rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
}

.reaction-submit-btn:hover {
  background-color: #0056b3;
}

.reaction-status {
  font-size: 1.5rem;
  padding: 5px 10px;
  margin: 5px auto;
  border-radius: 5px;
  text-align: center;
  width: 60%;
  background-color: rgb(0, 179, 0);
}
