/* Same visual design as the original; only the underlying code changed. */
* { margin: 0; padding: 0; font-family: "Roboto", sans-serif; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f76a99;
  background: linear-gradient(320deg, rgba(247,106,153,1) 0%, rgba(124,252,233,1) 51%, rgba(255,213,3,1) 100%);
}

a { cursor: pointer; font-family: sans-serif; font-size: 14px; color: black; text-decoration: none; }
a:hover { color: #FFF; background-color: #0C3; }
a:active { color: #FFF; background-color: red; }

:focus-visible { outline: 2px solid #000; outline-offset: 1px; }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 200; }
.skip:focus { left: 0; }

header { width: 100%; position: relative; background: #FC3; z-index: 123; }
.logo { font-weight: 600; padding: 5px; text-transform: uppercase; display: inline-block; color: black; font-size: 16px; font-family: "Roboto", sans-serif; }
.logo:hover { background: none; color: black; }

/* Top navigation */
.topnav { overflow: visible; background-color: #0C3; }
.menu, .sub { list-style: none; }
.menu { display: flex; flex-wrap: wrap; }
.has-sub { position: relative; }

.sub-toggle {
  font-size: 14px; border: none; outline-offset: -2px; color: white;
  padding: 5px; background-color: inherit; font-family: sans-serif; margin: 0;
  text-transform: uppercase; cursor: pointer;
}
.sub-toggle::after { content: " \25BE"; }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background-color: red; color: white; }

.sub {
  display: none; position: absolute; background-color: #f9f9f9; min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1;
}
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.sub a { display: block; color: black; padding: 5px; text-align: left; }
.sub a:hover, .sub a:focus-visible { background-color: #FC3; color: white; }

.menu-toggle { display: none; }

/* Content area */
.embed-container { position: relative; max-width: 100%; flex: 1 0 auto; }
iframe {
  display: block; width: 98%; height: 1000px; margin: 20px 10px; border: none;
  background-color: transparent; position: relative; z-index: 2;
}

footer {
  margin-top: auto; flex-shrink: 0;
  position: relative; padding: 1rem; background: #FC3; text-align: center; z-index: 123;
  font-family: sans-serif; font-size: 14px;
}
footer a { font-size: 16px; font-weight: bold; margin: 0 1rem; }

/* Mobile (same 600px breakpoint as before) */
@media screen and (max-width: 600px) {
  .menu-toggle {
    display: block; float: right; background-color: #0C3; color: white; border: none;
    font-size: 15px; padding: 5px; cursor: pointer; font-family: sans-serif; position: absolute; right: 0; top: 0;
  }
  #main-nav { display: none; }
  #main-nav.open { display: block; }
  .menu { display: block; }
  .sub-toggle { display: block; width: 100%; text-align: left; }
  .sub { position: relative; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
