@import url("https://fonts.googleapis.com/css?family=Nunito+Sans:300,400,600,700,800");
html, body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #FFF;
  background-color: #222222;
  font-family: 'Nunito Sans', sans-serif;
}
* {
  list-style-type: none;
  font-family: 'Nunito Sans', sans-serif;
}
.hero {
  background-color: #001933;
  color: #fff;
  padding: 2.5rem;
  text-align: center; 
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 500;
}
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #181818;
  color: #FFF;
  height: 75px;
  padding: 1em;
  z-index: 999;
}
  
.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  z-index: 999;
}
  
.menu > li {
  margin: 0 1rem;
  overflow: hidden;
  z-index: 999;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#menu-toggle {
  display: none;
  z-index: 999;
}
  
.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
  z-index: 999;
}
  
.menu-button::before {
  content: '';
  margin-top: -8px;
  z-index: 999;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
  z-index: 999;
}
  

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
  z-index: 999;
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
  z-index: 999;
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
  z-index: 999;
}
  
@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
    z-index: 999;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 75px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
    z-index: 999;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
    z-index: 999;
  }
}
  
ul.menu li a {
  text-decoration: none; /* Remove underline */
  color: #e9e9e9; /* Default link color */
  padding: 5px 10px; /* Add padding to make the clickable area larger */
  border-radius: 5px; /* Add rounded corners */
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Smooth color transition on hover */
}

/* Change link color on hover */
ul.menu li a:hover {
  color: #00bb7d; /* Change to a different color on hover */
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Smooth color transition on hover */
}
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .banner {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(70%);
    border-bottom: 8px solid #28a547;
  }
  
  .topinfo {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #28a547;
  }
  
  .topinfo img {
    max-width: 200px;
    height: auto; /* Adjusted height to maintain aspect ratio */
    margin-right: 20px;
  }
  
  h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .topinfo-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  #descGAME {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .availablegame {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-top: 20px;
  }
  
  button[name="RulebreakerGameButton"] {
    background-color: #35b63b;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  button[name="RulebreakerGameButton"]:hover {
    background-color: #1d8625;
  }
  
  h2 {
    font-size: 24px;
    margin: 40px 0;
  }
  /* Add your existing styles here */

.image-viewer {
  display: none;
  position: fixed;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
  text-align: center;
}

#viewer-image {
  max-width: 90%;
  max-height: 80vh;
}

.close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}

.arrow {
  position: absolute;
  font-size: 24px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}

#prev-arrow {
  left: 10px;
}

#next-arrow {
  right: 10px;
}

/* Default styles for larger screens */
.video-and-screens {
    display: flex;
    align-items: flex-start;
  }
  
  .video {
    width: 50%;
    padding-right: 20px;
  }
  
  .video iframe {
    width: 100%;
    border: none;
  }
  
  .screens {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
  }
  .screensPressKit{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
  }

  .logoscreen{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
  }

  .screens-mobile {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
  }
  .screens-bot {
    width: 75%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 20px;
  }
  .screenshot {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    transition: transform 0.3s;
  }
  
  .screenshot:hover {
    transform: scale(1.05);
  }

  .screenshotlogo{
    width: 75%;
    height: 100%;
    display: block;
  }
  
  /* Responsive design for smaller screens (e.g., mobile devices) */
  @media (max-width: 768px) {
    .video-and-screens {
      flex-direction: column; /* Stack elements vertically */
    }
  
    .video {
      width: 100%; /* Take the full width */
      padding: 0;
    }
  
    .screens {
      width: 100%; /* Take the full width */
    }
    .logoscreen{
      width: 100%;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(3, 1fr);
      gap: 10px;
    }
    .screensPressKit{
      width: 100%;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 20px;
    }
  }

  
  
  
  .system-requirements {
    background-color: #2e2e2e;
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    color: #ccc;
  }
  
  .system-requirements h2 {
    font-size: 28px;
    margin: 0 0 20px;
    color: #fff;
  }
  
  .system-requirements p {
    font-size: 18px;
    line-height: 1.5;
    margin: 10px 0;
  }
  
  /* Responsive design for smaller screens */
  @media (max-width: 768px) {
    .topinfo {
      flex-direction: column;
      text-align: center;
    }
  
    .topinfo img {
      max-width: 100%;
      margin-bottom: 20px;
    }
  
    button[name="RulebreakerGameButton"] {
      margin-top: 20px;
    }
  
    .screeninfo {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto;
    }
  
    .screenshot {
      border: none;
      margin-bottom: 20px;
    }
  
    .system-requirements {
      padding: 20px;
      font-size: 16px;
    }
  }

  footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    bottom:0;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    width: 50px; 
    margin-right: 50px;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center; 
}

.footerNav{
  margin-left: auto;
  margin-right: auto;
  display : flex;
  flex-direction : row;
  gap: 10em;
}
@media (max-width: 768px) {
  .footerNav{
    margin-left: auto;
    margin-right: auto;
    display : flex;
    flex-direction : column;
    gap: 2em;
    margin-bottom: 30px;
  }
}


#separatorFooterNav{
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  width: 100%;
  background-color: #222;
  border: none;
  height: 2px;
}

.centered-content {
  text-align: center; 
}

#separatorFooter{
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  width: 75%;
  background-color: #222;
  border: none;
  height: 2px;
}


.footer-links ul {
  list-style: none;
  padding: 0;
  align-items: flex-start;
}

.footer-links li {
    display: flex;
    margin-right: 20px;
    margin-bottom: 0.5em;
    align-items: flex-start;
}

.footer-links a {
  text-decoration: none;
  color: #8a8a8a;
  font-weight: 500;
}
.footer-links a:hover {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.footer-social .social-icon {
    display: inline-block;
    margin-right: 10px;
}

.social-icon{
    border-radius: 50%;
}

.footer-legal {
    margin-bottom: 20px;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
}

/* Style the links on hover */
.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}
.patch-note {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #222222; 
  color: #FFF; 
}

.update-section, .bug-fix-section {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #181818; 
  border-radius: 5px;
  color: #FFF; 
}

.updates, .bug-fixes {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.updates li::before, .bug-fixes li::before {
  content: "• ";
  color: #70aeff;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.updates li {
  margin-bottom: 10px;
}

.bug-fixes li {
  margin-bottom: 10px;
  color: #FFF; 
}

.bug-fixes li::before {
  color: #00bb7d; 
}

hr {
  border: 0;
  height: 1px;
  background: #555;
  margin-top: 20px;
  margin-bottom: 20px;
}

.gameAcceuilImage{
  transition: 0.3s;
}
.gameAcceuilImage:hover {
  transform: translate(0, -10px);
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.424);
}
.lightbox-content {
  position: center;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 80%;
}
.lightbox-content img {
  width: 100%;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s;
  user-select: none;
}
.prev {
  left: 0;
}
.next {
  right: 0;
}