@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Baloo 2', cursive;
  background: linear-gradient(135deg, #ffc1e3, #a5f3fc);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
}
body::before {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}
/* Navbar */
.navbar {
  background-color: #222;
  padding: 10px 20px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  height: 60px;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #00d8ff;
}

/* Glass container */
.glass-container {
  margin-top: 100px; /* więcej miejsca od navbaru */
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #333;
}
.projects-section {
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.projects-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Styl szklano-pryzmatyczny */
.project-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1),
              0 0 40px rgba(255, 0, 255, 0.2),
              0 0 60px rgba(0, 255, 255, 0.2);
  max-width: 600px;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4),
              0 0 60px rgba(0, 200, 255, 0.3);
}

.footer {
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  color: #444;
  margin-top: 40px;
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #ffdde1, #ee9ca7);
  font-family: 'Bubble', sans-serif;
}

.error-container {
  text-align: center;
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0,0,0,0.2), 0 0 60px rgba(255,255,255,0.1);
  color: #fff;
  max-width: 400px;
  margin: auto;
}

.error-container h1 {
  font-size: 6rem;
  margin: 0;
  font-weight: bold;
  color: #fff;
}

.error-container p {
  font-size: 1.2rem;
  margin: 20px 0;
}

.back-home {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease;
}

.back-home:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #333;
}
