/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  max-width: 600px;
  min-width: 400px;
  background: #000;
  font-family: sans-serif;
  color: #ffffff;
  margin: auto;
}

.name {
  color: #9e9eff;
}

.wael {
  color: #458588;
}

a {
  color: #9e9eff;
  text-decoration: none;
}

center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* === Content Warning Overlay Styles === */

#accept-toggle {
  display: none;
}

.wrapper {
  max-width: 600px;
  min-width: 400px;
  margin: auto;
  position: relative;
}

/* Full-page black background that covers the wrapper */
.warning-screen {
  position: fixed;
  inset: 0;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  text-align: center;
  padding: 20px;
}

.ticker {
  border: 2px solid white;
  background: black;
  color: white;
  padding: 20px;
  max-width: 600px;
}

.accept-button {
  margin-top: 20px;
  padding: 10px 10px;
  font-size: 16px;
  cursor: pointer;
  background: #9e9eff;
  color: black;
  border: none;
}

/* Hide warning and show content after acceptance */
#accept-toggle:checked ~ .wrapper .warning-screen {
  display: none;
}

#accept-toggle:checked ~ .wrapper .page-content {
  display: block;
}

.page-content {
  display: none;
  padding: 20px;
}
