@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  background-image: url('immagini/bg\ sky\ alley.png');
  background-size: 50% auto;
  background-position: center;
  background-attachment: fixed;
  color: #000000;
  font-family: 'Special Elite', cursive;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.video-container {
  display: flex;
  justify-content: center;
  padding: 60px 40px;
}

.video-container iframe {
  border: 1px solid #000000;
  max-width: 100%;
}

.announcements {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.announcement {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  border-top: 1px solid #222;
  padding-top: 40px;
}

.announcement img {
  width: 280px;
  height: auto;
  border: 1px solid #222;
  flex-shrink: 0;
}

.announcement-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcement-text h3 {
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.6);
}

.announcement-text p {
  color: #aaaaaa;
  line-height: 1.8;
  font-size: 15px;
  background-color: rgba(0, 0, 0, 0.6);
}

.announcement-text a {
  display: inline-block;
  color: #50e0c0;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  border: 1px solid #50e0c0;
  padding: 8px 16px;
  transition: all 0.2s;
  align-self: flex-start;
  background-color: rgba(0, 0, 0, 0.6);
}

.announcement-text a:hover {
  background-color: #50e0c0;
  color: #0a0a0a;
  background-color: rgba(0, 0, 0, 0.6);
}


.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border: 1px solid #000000;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #888;
  font-size: 24px;
  cursor: pointer;
}

#lightbox-caption {
  color: #000000;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

header {
  padding: 40px;
  border-bottom: 1px solid #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  nav a {
  text-shadow: 0px 0px 8px #000000, 0px 0px 2px #000000;
}
}

h1 {
  font-size: 28px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
  nav a {
  text-shadow: 0px 0px 8px #000000, 0px 0px 2px #000000;
}
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 32px;
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover {
  color: #50e0c0;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.tagline {
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 3px;
  text-align: center;
  
}

footer {
  padding: 32px 40px;
  border-top: 1px solid #ffffff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  nav a {
  text-shadow: 0px 0px 8px #000000, 0px 0px 2px #000000;
}
}

footer a {
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  transition: color 0.2s;
  nav a {
  text-shadow: 0px 0px 8px #000000, 0px 0px 5px #000000;
}
}

footer a:hover {
  color: #50e0c0;
}

.games-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.game-entry {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.game-entry img {
  width: 300px;
  height: auto;
  border: 1px solid #222;
}

.game-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-info h2 {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background-color: rgb(0, 0, 0);
  color: #ffffff;
}

.game-info p {
  color: #aaaaaa;
  line-height: 1.8;
  background-color: rgb(0, 0, 0);
  font-size: 15px;
}

.game-links {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.game-links a {
  color: #50e0c0;
  background-color: rgb(0, 0, 0);
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  border: 1px solid #50e0c0;
  padding: 8px 16px;
  transition: all 0.2s;
}

.game-links a:hover {
  background-color: #50e0c0;
  color: #0a0a0a;
  
}

.about-page {
  max-width: 650px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-page h2 {
  font-size: 50px;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #000000;
  background-color: rgb(0, 0, 0);
  border-bottom: 1px solid #000000;
  padding-bottom: 16px;
  nav a {
  text-shadow: 0px 0px 8px #000000, 0px 0px 5px #000000;
}
  
}

.about-page p {
  color: #ffffff;
  line-height: 1.9;
  font-size: 20px;
  background-color: rgb(0, 0, 0);
  nav a {
  text-shadow: 0px 0px 8px #000000, 0px 0px 5px #000000;
}
}

.page-home {
  background-image: url('immagini/bg sky alley.png');
}

.page-games {
  background-image: url('immagini/bg\ school.png');
}

.page-about {
  background-image: url('immagini/bg\ skyscrapers\ night.png');
}

body {
  opacity: 1;
  transition: opacity 0.4s ease;
}

body.fade-out {
  opacity: 0;
}

.credits {
  position: fixed;
  bottom: 16px;
  right: 24px;
  font-size: 11px;
  color: #ffffff;
  text-shadow: 0px 0px 8px #000000, 0px 0px 5px #000000;
  letter-spacing: 1px;
}