/* 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 {
  background-color: white;
  color: black;
  font-family: Verdana;
  font-size: 12px;
  margin: 0;
  padding: 0;
}
<iframe 
  src="/webdeck-player/index.html" 
  height="250" 
  width="600"
  style="
    position: fixed;
    bottom: 0;
    right: 0;
    border: none;
    z-index: 1000; /* para que esté por encima de otros elementos */
  "
></iframe>

:root {
  --header-bg: #F1F1F1;
  --nav-bg: #F2F2F2;
  --article-bg: #EDEDEF;
  --border-color: #E0E0E0;
  --sidebar-text-color: #6F7A79;
  --article-text-color: #625F5F;
  --article-heading-color: #929292;
  --nav-link-color: #5f758c;
  --darker-border-color: #C6C6C6;
}

body a {
  color: var(--nav-link-color);
}

header, nav {
  max-width: 100%;
}

aside {
  width: 1000px; /* Ajusta según tu diseño */
  margin-top: 0;
}

.flex {
  display: flex;
  max-width: 2000px;
  text-align: center;
  font color: black;
}

nav {
  height: auto;
  margin-bottom: 20px;
  border: 2px solid var(--darker-border-color);
  border-left: none;
  border-right: none;
}

header {
  max-height: 200px;
  height: 200px;
  background-color: var(--header-bg);
  background-image: url('https://learn.sadgrl.online/wp-content/uploads/2022/02/skyline-banner.png');
  background-repeat: repeat-y;
  background-size: 600px;
  background-position: fixed;
}

main {
  flex: 1 1 auto; /* crecer y encoger según espacio */
  max-width: 1000px;
  padding: 0 20px;
    margin-right: 15px;

}

section {
  margin-bottom: 10px;
  color: var(--sidebar-text-color);
}

article {
  border: 1px solid var(--darker-border-color);
  background-color: rgba(255, 255, 255, 0.75);
  color: var(--article-text-color);
  padding: 10px;
  margin: 0 0 15px 0; /* Solo margen inferior */
}

.subtitle {
  border: 1px solid var(--darker-border-color);
  background-color: rgba(255, 255, 255, 0.75);
  color: var(--article-text-color);
  font-weight: bold;
  letter-spacing: 1px;
}

article .subtitle {
  text-transform: uppercase;
  font-size: 16px;
  color: var(--article-heading-color);
  margin: 10px 5px 10px 5px;
}

.links {
  list-style-type: none;
  padding-left: 0;
}

.links li {
  background-color: var(--nav-bg);
  border: 1px solid var(--border-color);
  margin-bottom: 3px;
}

.links li a {
  text-decoration: none;
  color: inherit;
}

.nav {
  margin-top: 10px;
  margin-left: 100px;
}

.nav li {
  display: inline-block;
  padding-left: 30px;
}

.nav li a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--nav-link-color);
}

.left-sidebar {
  margin-left: 15px;
}

.right-sidebar {
  margin-left: 15px;
  margin-right: 15px;
}

footer {
  max-width: 3000px;
  text-align: center;
  color: var(--sidebar-text-color);
}

footer a {
  color: var(--nav-link-color); /* Corregido */
}

/* Responsive */
@media only screen and (max-width: 800px) {
  .flex {
    flex-wrap: wrap;
  }
  aside {
    display: flex;
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
  }
  aside > section {
    margin-right: 10px;
  }
  .nav {
    margin-left: 0 !important;
    margin-right: 50px;
  }
  .nav li {
    padding-bottom: 5px;
  }
}

/* CRT effect */
.crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.10626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.10626;
  }
  30% {
    opacity: 0.18128;
  }
  35% {
    opacity: 0.23604;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}


