* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: Arial, sans-serif;
      background-color: #000000;
      background-image: url("../img/checkered-light-emboss.png");
      color: #fff !important;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
      margin: 0;
    }


    
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: transparent;
      padding: 20px 40px;
    }

    #logo-link {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: white;
    }

    #logo-img {
      width: 120px; 
      height: auto;
      filter: invert(1);
    }

    #remember-text {
      font-size: 2.5rem;
      text-transform: uppercase;
      font-weight: bold;
      font-family: 'Roboto Slab', serif;
      margin-left: 10px;
      line-height: 1.1;
      color: #f5f5f5;
    }

    #main-title {
      font-size: 2.5rem;
      font-weight: bold;
      text-align: center;
      flex-grow: 1;
    }

    main {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 40px 20px;
    }

    .grid-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: 120px;
      gap: 20px;
      width: 100%;
      max-width: 1000px;
      margin-top: 40px;
    }

    .grid-item {
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      font-size: 1.2rem;
      font-weight: bold;
      transition: transform 0.2s, background-color 0.3s;
      cursor: pointer;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%; 
    }

    
    .grid-item:hover {
      transform: translateY(-5px);
      background-color: #4b1a9c;
    }

    .grid-item.disabled {
      background-color: #555;
      cursor: not-allowed;
    }

    .grid-item.disabled:hover {
      transform: none;
      background-color: #555;
    }

#main-title-container {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
  justify-content: flex-start;
  gap: 30px; 
}



.header-section {
  display: flex;
  align-items: center;
}

#left-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
#center-right-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

#main-title-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#main-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 2rem;
  color: #f5f5f5;
  margin: 0;
  letter-spacing: 2px;
  user-select: none;
  flex-grow: 1;
  text-align: center;
}

#header-right {
  display: flex;
  align-items: center;
  gap: 15px; 
}

#info-button {
  background-color: transparent;
  border: 2px solid #f5f5f5;
  color: #f5f5f5;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

#info-button:hover {
  background-color: #f5f5f5;
  color: #9602d1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background:linear-gradient(325deg, black, #2a2a2a);
  background-color: linear-gradient(135deg, black, #2a2a2a);
  margin: 3% auto;
  padding: 40px 35px;
  border-radius: 12px;
  width: 95%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  max-height: 80vh;
  overflow-y: auto;
  color: #b38512;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.8;
}


.modal-content h2, 
.modal-content h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #b38512;
  text-align: left;
}

.modal-content p,
.modal-content ul {
  margin-bottom: 1em;
  color: #b38512;
  line-height: 1.6;
  font-size: 1.05rem;
  text-align: left;
}

.modal-content ul {
  padding-left: 20px;
}

.modal-content ul li {
  margin-bottom: 0.8em;
  font-weight: 400;
}

.modal-content ul li strong {
  font-weight: 700;
  color: #b38512;
}

.close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  color: #bbb;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #eee;
}



.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}
.close:hover {
  color: #000;
}

@media (max-width: 1070px) {
  html {
    font-size: 125%;
  }

  body {
    padding: 25px;
  }

  #logo-img {
    width: 150px;
  }

  #remember-text {
    font-size: 3rem;
  }

  #main-title {
    font-size: 2.5rem;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .grid-item {
    font-size: 1.7rem;
    padding: 30px;
  }

  header {
    padding: 25px 30px;
  }

  #info-button {
    font-size: 1.8rem;
    width: 38px;
    height: 38px;
  }

  .modal-content {
    font-size: 1.35rem;
  }

  #liga2-text {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  }
}
