/* Base styles for all devices */
body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
  font-family: 'Heebo', 'Helvetica';
}

header {
  text-align: center;
  padding: 10px 0;
}

h1 {
    font-family: 'Coda', 'Impact', 'Helvetica';
    font-style: normal;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;    text-align: center;
    margin:20px 0 0 0;
}

img {
    height:150px;
    max-width:90vw;
}
img.all_sonets {
    height:auto;
    max-width:90vw;
}
h2, h3 {
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 20px;
    margin-block-start:0;
    text-align: center;
    margin: 0 0 10px 0;
}

h3 {
    font-weight: 700;
    font-size: 25px;
}

cite {
    white-space: nowrap;
}
h2 span, h1 cite {
    font-family: 'Coda', 'Impact', 'Helvetica';
    font-style: normal;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    text-align: center;
    font-style: normal;
    white-space: nowrap;
}
h2 span.longer {
    letter-spacing: -2px;
}
h2 span.huger {
    white-space: wrap;
}
h2 span::before {
    content: "\A";
    white-space: pre;
}

article {
    padding:0 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 29px;
    text-align:center;
}
dd, p {
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    padding: 0 36px;
}
dt {
    font-weight: 600;
    line-height: 43px;
    text-transform: uppercase;
}
dt.correct {
  color: #30ff1a; 
}
dt.light_wrong {
  color: #ffea00; 
}
dt.wrong {
  color: #ff1c1c; 
}

dd {
    margin: 0;
}

p span::after {
    content: "\A";
    white-space: pre;
}

div {
      display: inline-block; /* shrink to fit content */
  margin: 0 auto;       /* center horizontally if parent is block */
    text-align:left;

}
label {
    text-align:left;
    line-height:40px;
}
nav {
    text-align: center;
    padding: 10px 0 0 0;
}
button {
    background-color:black;
    color:white;
    min-width: 98px;
    height: 29.16px;
    border: outset 2px white;
    border-radius: 30px;
    margin:0px 4px 20px 4px;
    font-size: 18px;
    padding: 0 35px;
    letter-spacing: 1px;
}

button:hover, button:focus, button:active {
    border-style:inset;
}

button:active {
    font-weight:bold;
}

/* Hamburger lines */
  .hamburger span {
    display: block;
    height: 6px;
    width: 50px;
    background-color: white;
    margin: 8px 0;
    transition: 0.4s;
  }

menu {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position to stay in viewport */
    top: 45px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust to perfectly center horizontally */
    margin-top: 20px; /* Optional: space from top */
    padding: 10px;
    background-color: black;
    border: 1px solid white;
    /*border-radius:10px;*/
    width: 300px;
    z-index: 1000; /* Ensure it overlays other content */
    font-size: 20px;
    min-height:187px;
  }

  /* Show menu when active */
  menu.show {
    display: block;
  }

  /* Style for menu items */
  menu > * {
    display: block;
    padding: 8px 0;
  }

  menu a {
    text-decoration: none;
    color: white;
  }

#policy section, #about section {
   padding:10px 32px;
}
#policy section p {
    text-align: left;
    padding:0;
}
#about section p {
    text-align: left;
    line-height:1.2;
}
#policy section h2, #about section h2 {
    font-weight: 700;
}
section a {
    color: white;
}
section a[href^="mailto:"] {
    text-decoration: none;
    color: lightgray;
}

footer {
    text-align:right;
    padding-right:20px;
}

  /* Style for the button */
  #scrollDownBtn,   #scrollDownBtn:hover, #scrollDownBtn:focus,
    #scrollDownBtn:active {
    position: fixed;
    bottom: 5px;
    right: 5px;
    padding: 0;
    min-width:30px;
    font-size: 16px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: 1px white solid;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
  }

  /* Optional: Add hover effect */
  #scrollDownBtn:hover {
    background-color: #0056b3;
  }
/* Styles for portrait orientation (vertical) */
@media (orientation: portrait) and (max-width: 767px) {
 
  /* Additional styles for portrait */
  .container {
    padding: 20px;
    flex-direction: column;
  }
}

/* Styles for landscape orientation (horizontal) */
@media (orientation: landscape) {
 abody {
    flex-direction: row;
  }
  aheader {
    width: 200px; /* or any fixed width for sidebar */
  }
  aarticle {
    flex: 1; /* take remaining space */
  }
}