body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 5px;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: flex-start;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
}

.menu-icon {
  cursor: pointer;
  font-size: 2rem;
  z-index: 1500;
  color: rgb(75, 28, 41);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1400;
}

.overlay-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.menu-list a {
  color: rgb(245, 243, 230);
  text-decoration: none;
  font-size: 1.25rem;
  transition: opacity 0.2s;
}

.menu-list a:hover {
  opacity: 0.7;
}

.overlay.open {
  transform: translateX(0);
}

.menu-icon:hover + .overlay,
.overlay:hover {
  transform: translateX(0);
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

#background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  display: none;
  width: 100%;
  height: auto;
}

.logo {
  position: absolute;
  max-width: 200px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.539);
  color: rgb(75, 28, 41);
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-bar a {
  color: rgb(75, 28, 41);
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.footer-bar a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  bottom: 45px;
  left: 20px;
  right: 20px;
  max-width: 960px;
  margin: 0 auto;

  background: rgb(12, 12, 12);
  border: 1px solid rgb(75, 28, 41);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
}

.banner-content {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.banner-content p {
  color: rgb(245, 243, 230);
  text-decoration: none;
}

.banner-content a {
  color: rgb(245, 243, 230);
  text-decoration: none;
}
.btn-group {
  margin-top: 0.5rem;
}
.cookie-btn {
  background: rgba(0, 0, 0, 0.5);
  color: rgb(245, 243, 230);
  border: 1px solid rgb(245, 243, 230);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  cursor: pointer;
  font-weight: bold;
}
.cookie-btn:hover {
  opacity: 0.75;
}
.settings {
  margin-top: 1rem;
}
.settings.hidden {
  display: none;
}
.settings label {
  display: block;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

/* — COOKIE SETTINGS MODAL — */
.cookie-modal.hidden {
  display: none;
}
.cookie-modal .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
}
.cookie-modal .modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: rgb(12, 12, 12);
  border: 1px solid rgb(75, 28, 41);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  overflow: hidden;
}

.cookie-modal .modal-content p {
  color: rgb(245, 243, 230);
}
/* Header */
.modal-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgb(75, 28, 41);
}
.modal-logo {
  height: 32px;
  margin-right: 1rem;
}
.modal-header h2 {
  flex: 1;
  margin: 0;
  font-size: 1.25rem;
  color: rgb(245, 243, 230);
}
.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  color: rgb(245, 243, 230);
}

/* Body */
.modal-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}
/* Tabs */
.cookie-tabs {
  flex: 0 0 220px;
  background: rgb(12, 12, 12);
  border-right: 1px solid rgb(75, 28, 41);
  overflow-y: auto;
}
.cookie-tabs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cookie-tabs li {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid rgb(75, 28, 41);
  color: rgb(245, 243, 230);
}
.cookie-tabs li.active {
  background: rgb(12, 12, 12);
  font-weight: bold;
  border-left: 4px solid rgb(75, 28, 41);
}
/* Panels */
.cookie-panels {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}
.cookie-panel {
  display: none;
}
.cookie-panel:not(.hidden) {
  display: block;
}
.cookie-panel h3 {
  margin-top: 0;
  color: rgb(245, 243, 230);
}
/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-top: 0.5rem;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(245, 243, 230);
  border-radius: 24px;
  transition: 0.2s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: rgb(68, 68, 67);
  border-radius: 50%;
  transition: 0.2s;
}
input:checked + .slider {
  background: rgb(75, 28, 41);
}
input:checked + .slider:before {
  transform: translateX(26px);
}
/* Footer */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  background: rgb(12, 12, 12);
  border-top: 1px solid rgb(75, 28, 41);
}
.modal-footer .cookie-btn {
  background: rgb(12, 12, 12);
  color: rgb(245, 243, 230);
  border: 1px solid rgb(245, 243, 230);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  cursor: pointer;
}
.modal-footer .cookie-btn:hover {
  opacity: 0.75;
}

.cookie-status {
  color: rgb(245, 243, 230);
  margin: 2px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.logo {
  max-width: 150px;
  margin-top: 60px;
}

.text {
  margin-top: 200px;
  margin-bottom: 120px;
  height: calc(100vh - 180px);
  overflow-y: hidden;
  width: 800px;
  color: rgb(75, 28, 41);
  position: relative;
}

h1 {
  text-decoration: underline;
}

h2 {
  font-size: 18px;
}

h3 {
  color: rgb(75, 28, 41);
  text-align: justify;
  font-size: 15px;
  text-decoration: underline;
}

h4 {
  color: rgb(75, 28, 41);
  text-align: justify;
  font-size: 14.5px;
}

p {
  color: rgb(75, 28, 41);
  text-align: justify;
  max-width: 800px;
}

a {
  text-decoration: none;
  color: rgb(101, 101, 99);
}

table {
  width: 80%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  text-align: left;
}
th,
td {
  padding: 10px;
  border: none;
}

/* ------------------------------------------------------------






   Responsive styles for mobile devices
   (max-width: 425px)







   ------------------------------------------------------------ */

@media (max-width: 425px) {
  body,
  html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    font-family: Arial, Helvetica, sans-serif;
  }

  header {
    position: fixed;
    top: 0;
    left: 5px;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .menu-icon {
    cursor: pointer;
    font-size: 2rem;
    z-index: 1500;
    color: rgb(75, 28, 41);
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999999;
  }

  .overlay-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
  }

  .menu-list a {
    color: rgb(245, 243, 230);
    text-decoration: none;
    font-size: 1.25rem;
    transition: opacity 0.2s;
  }

  .menu-list a:hover {
    opacity: 0.7;
  }

  .overlay.open {
    transform: translateX(0);
  }

  .menu-icon:hover + .overlay,
  .overlay:hover {
    transform: translateX(0);
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
  }

  #background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .background-video {
    display: none !important;
  }
  .video-fallback {
    display: block !important;
    width: 100%;
    height: 85%;
  }

  .logo {
    position: absolute;
    max-width: 200px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .footer-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.539);
    color: rgb(75, 28, 41);
    text-align: center;
    padding: 10px 0;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
  }

  .footer-links {
    margin-bottom: 10px;
  }

  .footer-bar a {
    color: rgb(75, 28, 41);
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
  }

  .footer-bar a:hover {
    text-decoration: underline;
  }

  .hidden {
    display: none !important;
  }

  .cookie-banner {
    position: fixed;
    bottom: 45px;
    left: 20px;
    right: 20px;
    max-width: 960px;
    margin: 0 auto;

    background: rgb(12, 12, 12);
    border: 1px solid rgb(75, 28, 41);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);

    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10000;
  }

  .banner-content {
    max-width: 960px;
    width: 100%;
    text-align: center;
  }

  .banner-content p {
    color: rgb(245, 243, 230);
    text-decoration: none;
  }

  .banner-content a {
    color: rgb(245, 243, 230);
    text-decoration: none;
  }
  .btn-group {
    margin-top: 0.5rem;
  }
  .cookie-btn {
    background: rgba(0, 0, 0, 0.5);
    color: rgb(245, 243, 230);
    border: 1px solid rgb(245, 243, 230);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    cursor: pointer;
    font-weight: bold;
  }
  .cookie-btn:hover {
    opacity: 0.75;
  }
  .settings {
    margin-top: 1rem;
  }
  .settings.hidden {
    display: none;
  }
  .settings label {
    display: block;
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }

  /* — COOKIE SETTINGS MODAL — */
  .cookie-modal.hidden {
    display: none;
  }
  .cookie-modal .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
  }
  .cookie-modal .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10%;
    max-width: 800px;
    max-height: 90vh;
    background: rgb(12, 12, 12);
    border: 1px solid rgb(75, 28, 41);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    overflow: hidden;
  }

  .cookie-modal .modal-content p {
    color: rgb(245, 243, 230);
  }
  /* Header */
  .modal-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgb(75, 28, 41);
  }
  .modal-logo {
    height: 32px;
    margin-right: 1rem;
  }
  .modal-header h2 {
    flex: 1;
    margin: 0;
    font-size: 1.25rem;
    color: rgb(245, 243, 230);
  }
  .close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: rgb(245, 243, 230);
  }

  /* Body */
  .modal-body {
    flex: 1;
    display: flex;
    overflow: hidden;
  }
  /* Tabs */
  .cookie-tabs {
    flex: 0 0 220px;
    background: rgb(12, 12, 12);
    border-right: 1px solid rgb(75, 28, 41);
    overflow-y: auto;
  }
  .cookie-tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .cookie-tabs li {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid rgb(75, 28, 41);
    color: rgb(245, 243, 230);
  }
  .cookie-tabs li.active {
    background: rgb(12, 12, 12);
    font-weight: bold;
    border-left: 4px solid rgb(75, 28, 41);
  }
  /* Panels */
  .cookie-panels {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
  }
  .cookie-panel {
    display: none;
  }
  .cookie-panel:not(.hidden) {
    display: block;
  }
  .cookie-panel h3 {
    margin-top: 0;
    color: rgb(245, 243, 230);
  }
  /* Toggle switch */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-top: 0.5rem;
  }
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(245, 243, 230);
    border-radius: 24px;
    transition: 0.2s;
  }
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: rgb(68, 68, 67);
    border-radius: 50%;
    transition: 0.2s;
  }
  input:checked + .slider {
    background: rgb(75, 28, 41);
  }
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  /* Footer */
  .modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    background: rgb(12, 12, 12);
    border-top: 1px solid rgb(75, 28, 41);
  }
  .modal-footer .cookie-btn {
    background: rgb(12, 12, 12);
    color: rgb(245, 243, 230);
    border: 1px solid rgb(245, 243, 230);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    cursor: pointer;
  }
  .modal-footer .cookie-btn:hover {
    opacity: 0.75;
  }

  .cookie-status {
    color: rgb(245, 243, 230);
    margin: 2px;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  .logo {
    max-width: 150px;
    margin-top: 60px;
  }

  .text {
    margin-top: 200px;
    margin-bottom: 120px;
    height: calc(100vh - 180px);
    overflow-y: hidden;
    width: 800px;
    color: rgb(75, 28, 41);
    position: relative;
  }

  h1 {
    text-decoration: underline;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    color: rgb(75, 28, 41);
    text-align: justify;
    font-size: 15px;
    text-decoration: underline;
  }

  h4 {
    color: rgb(75, 28, 41);
    text-align: justify;
    font-size: 14.5px;
  }

  p {
    color: rgb(75, 28, 41);
    text-align: justify;
    max-width: 800px;
  }

  a {
    text-decoration: none;
    color: rgb(101, 101, 99);
  }

  table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    text-align: left;
  }
  th,
  td {
    padding: 10px;
    border: none;
  }
}
