html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #EEE8DF;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif; 

}

header {
  background-color: rgba(0, 0, 0, 0);
  min-height: auto;
  position: relative;
  overflow: visible;
  z-index: 10;
}


#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #000;
}


nav {
  background-color: transparent;
  height: 6rem;
  display: flex;
  align-items: center;
  padding-right: 4rem;
  position: relative;
  z-index: 10;
}

nav ul {
  display: flex;
  margin-left: auto;
  gap: 3.5rem;
}

nav ul > li {
  list-style: none;
  display: inline-block;
  padding: 1rem 3rem;
  background-color: grey;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeIn 0.8s ease-out forwards;
  position: relative;
}

.button-nav{
  color: white;
  text-decoration: none;
  background: transparent;
  border: none;
  font: inherit;
  cursor: pointer;
  width: 150%;
}

nav ul > li a,
.dropbtn {
  color: white;
  text-decoration: none;
  background: transparent;
  border: none;
  font: inherit;
  cursor: pointer;
}

.dropdown {
  padding: 0;
}

.dropdown .dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 3rem;
  width: 100%;
}

.dropdown .dropbtn::after {
  content: "▾";
  font-size: 0.9rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  background: grey;
  border-radius: 16px;
  padding: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

.dropdown-menu li {
  list-style: none;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  opacity: 1;
  transform: none;
  animation: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 12px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: rgba(255, 255, 255, 0.15);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: flex;
}

.logo-container {
  width: 150px;
  height: 150px;
}

.logo-container img {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  margin-left: 1.5rem;
  object-fit: contain;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo-container img { animation-delay: 0.2s; }
ul li:nth-child(1) { animation-delay: 0.4s; }
ul li:nth-child(2) { animation-delay: 0.6s; }

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  align-items: center;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-title {
  text-align: center;
  height: 6rem;       
  margin-bottom: 1rem; 
}

.page-title h1 {
  font-size: 6rem;
  color: #003367;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #003367;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.frontpage-video {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: -2rem;
  margin-top: 2%;
  
}

.frontpage-video iframe {
  position: relative;
  width: clamp(250px, 60vw, 800px);
  border: none;
  height: 23rem;
  margin: 0 auto;
  margin-bottom: 20%;
  border-radius: 1rem; 
  animation: fadeUp 1.2s ease-out forwards;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

nav, .page-title,
.frontpage-video {
  position: relative;
  z-index: 2;
}

.wave-1 {
  width: 102%;
  height: auto;
  position: absolute;
  bottom: -2px;
  left: -1%;
  transform-origin: bottom;
  animation: waveRise 2.2s ease-out forwards;
  z-index: 1;
}

@keyframes waveRise {
  0%   { transform: translateY(40px) scaleY(0.02); }
  70%  { transform: translateY(0) scaleY(1.05); }
  100% { transform: translateY(0) scaleY(1); }
}

.wave path {
  animation: float 5s ease-in-out infinite alternate;
  animation-delay: 2.3s;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

section {
    min-height: 100vh;
}

.section-1 {
  background-color: #003367;
}

.section-2 {
  background-color: bisque;
}

.games_section {
  background: linear-gradient(to bottom, rgba(0, 51, 103, 0.95) 0%, rgba(0, 88, 176, 0.95) 100%);
  padding: 4rem 2rem;
  min-height: auto;
  position: relative;
}

.games_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="30" cy="30" r="1" fill="white" opacity="0.1"/><circle cx="60" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="20" r="1" fill="white" opacity="0.1"/></svg>');
  pointer-events: none;
}

.games_section h1 {
  color: white;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.games_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.game_card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.game_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 128, 255, 0.4);
}

.game_card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game_card:hover img {
  transform: scale(1.05);
}

.game_card h2 {
  color: #003367;
  padding: 1.5rem 1.5rem 0.5rem;
  margin: 0;
  font-size: 1.5rem;
}

.game_card .game_link {
  background: #0058b0;
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  margin: 1rem 1.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3);
}

.game_card .game_link:hover {
  background: #0099ff;
  box-shadow: 0 6px 20px rgba(0, 128, 255, 0.5);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .games_grid {
    grid-template-columns: 1fr;
  }
  
  .games_section h1 {
    font-size: 2rem;
  }
}

footer {
  background-color: black;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
}

.footer-every {
  display: flex;
  gap: 50%;
  justify-content: center;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.footer-team {
  display: flex;
  gap: 3rem;
}

.footer-collab {
  display: flex;
  gap: 20%;
}

.footer-swed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 43%;
}

.footer-ned {
  display: flex;
  align-items: center;
  min-width: 100% ;
}

.footer-dif {
  display: flex;
  align-items: center;
}

.footer-cop {
  text-align: center;
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.footer-cop_text {
  color: rgb(180, 180, 180);
  font-size: 0.9rem;
}

.footer-names {
  color: white;
  margin: 0.5rem 0;
}

.footer-title {
  color: white;
  margin-bottom: 1rem;
}

.footer-land {
  color: white;
  margin: 0.3rem 0;
}

.footer-di_text {
  color: white;
}

.footer-website ul,
.footer-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}