@import url('https://fonts.googleapis.com/css2?family=Nosifer&family=Roboto&display=swap');

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    z-index: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: url('Resources/404bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f0f0f0;
}

header {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.7);
}

.logo img {
  width: 700px;
  height: 200px;
}

.logo h1 {
  font-family: 'Nosifer', cursive;
  font-size: 48px;
  margin: 10px 0;
  color: #ff3c3c;
  text-shadow: 2px 2px 8px #000;
}

.logo p {
  margin: 0;
  color: #ccc;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff4d4d;
}

.section {
  padding: 60px 20px;
  background-color: rgba(20, 20, 20, 0.8);
  margin: 20px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.section.dark {
  background-color: rgba(10, 10, 10, 0.85);
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px #000;
  color: #ff3333;
}

.section p,
.section li {
  font-size: 18px;
  line-height: 1.6;
}

.section ul {
  padding-left: 20px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #8b0000;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #b30000;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  color: #aaa;
}

header,
.section,
footer {
  position: relative;
  z-index: 1;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(20, 20, 20, 0.7);
  border-radius: 8px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

::-webkit-scrollbar-thumb {
  background: #ff3c3c;
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff6666;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #ff3c3c rgba(20, 20, 20, 0.7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}