:root {
  --nord0: #2E3440;
  --nord1: #3B4252;
  --nord2: #434C5E;
  --nord3: #4C566A;
  --nord4: #D8DEE9;
  --nord5: #E5E9F0;
  --nord6: #ECEFF4;
  --nord7: #8FBCBB;
  --nord8: #88C0D0;
  --nord9: #81A1C1;
  --nord10: #5E81AC;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--nord6);
  color: var(--nord1);
}

.container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background-color: var(--nord1);
  width: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo {
  font-size: 1.5rem;
  color: var(--nord6);
  font-weight: bold;
  margin-bottom: 20px;
}

.nav-links {
  list-style: none;
  padding: 0;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  color: var(--nord5);
  text-decoration: none;
  padding: 10px;
  display: block;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  background-color: var(--nord3);
}

.sidebar-mascot {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 20px;
}

.main-content {
  flex-grow: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.absol-image {
  max-width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h1 {
  margin-top: 20px;
  color: var(--nord10);
}

p {
  color: var(--nord3);
  font-weight: 300;
}

.resources h1 {
  margin-bottom: 30px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.resource-card {
  background-color: var(--nord5);
  padding: 20px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--nord0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 0;
  }

  .main-content {
    padding: 20px;
  }

  .sidebar-mascot {
    display: none;
  }
}
