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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url('background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

header {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}

header .home-link {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

header .logo h1 {
  color: #fff;
  font-size: 1.5rem;
}

nav.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 18px;
  justify-items: center;
  margin-left: -130px;
  position: relative;
  padding: 8px 16px;
  border-radius: 25px;
  z-index: 0;
}

nav.desktop-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(155, 155, 155, 0.164);
  border-radius: 100px;
  z-index: -1;
  transition: background 0.5s ease;
  backdrop-filter: blur(8px);
}

body.night-mode nav.desktop-nav::before {
  background: rgba(48, 48, 48, 0.311);
  text-shadow: 0 0 0px #000, 0 0 0px #fff;
}

nav.desktop-nav a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: color 0.3s ease;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
  text-shadow: 0 0 7px #1c1c1c, 0 0 11px #1c1c1c;
}

body.night-mode nav.desktop-nav a {
  text-shadow: 0 0 4px #000, 0 0 6px #fff;
}

nav.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #48c048;
  border-radius: 1px;
  transition: width 0.3s ease-in-out;
}

.selection-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px;
}

.selection-item {
  width: 400px;
  text-align: center;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.selection-item img {
  width: 100%;
  display: block;
}

.selection-item h2 {
  margin: 15px 0;
  color: #fff;
}

.selection-item a {
  text-decoration: none;
  color: inherit;
}

.selection-item:hover {
  transform: scale(1.05);
}