@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --text: #cdd6f4;
  --subtext: #a6adc8;
  --background: #1e1e2e;
  --surface: #313244;
  --primary: #89b4fa;
  --secondary: #f38ba8;
  --accent: #a6e3a1;
  --border: #45475a;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--background);
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  color: var(--primary);
}

.application-list {
  list-style-type: none;
  padding: 0;
}

.application-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
  padding: 1.2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.application-item:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.application-item h2 {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--accent);
}

.status {
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

.status-open {
  background-color: rgba(166, 227, 161, 0.2);
  color: var(--accent);
}

.status-closed {
  background-color: rgba(243, 139, 168, 0.2);
  color: var(--secondary);
  box-shadow: none
}

.link {
  display: inline-block;
  margin-top: 0px;
  padding: 0.6rem 1.2rem;
  background-color: var(--primary);
  color: var(--background);
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.link:hover {
  background-color: #74a5f7;
  box-shadow: 0px 0px 15px rgba(137, 180, 250, 0.5);
}

footer {
  text-align: center;
  margin-top: 2rem;
  color: var(--subtext);
  font-size: 0.9rem;
  opacity: 0.75;
}

footer a {
  color: #00aaff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #33ccff;
  text-decoration: underline;
}

p {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0.2rem;
  margin-bottom: 0.5rem;
}


.application-item:hover {
  
}

.application-item:not(:has(.status-closed)):hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.application-item:has(.status-closed) {
  pointer-events: none;
}

.application-item:has(.status-closed):hover {
  transform: none;
  filter: none;
}

.status-event {
  background-color: rgba(250, 179, 135, 0.2);
  color: #fab387; 
}

.link.event-link {
  background-color: #fab387;
  color: var(--background);
}

.link.event-link:hover {
  background-color: #f5a578;
  box-shadow: 0px 0px 15px rgba(250, 179, 135, 0.5);
}

.application-item:has(.status-event):hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
