/* Color scheme:
      #CCCC33, #999900, #cc9933, #FF6633, #669933,
      #CC9966, #55bbee, #ff3300, #52bf77, #729FFF,
      #dd7788, #94b85c
    */

/*@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
*/
body {
  margin: 0;
  background-color: #0a0a0a;
  font-family: /*'Space Mono',*/ 'New Courier', Courier, 'Lucida Console', Monaco, monospace;
  color: #fff;
  font-size: 23px;
}

body::after {
  content: '↓ scroll for more';
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 0.75rem;
  color: #ccc;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.3s ease;
  opacity: 1;
}

body.scrolled-to-bottom::after {
  opacity: 0;
}





/*    header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #111;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  z-index: 2000;
}*/

header {
  width: auto;
  background: #111;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  z-index: 2000;
}

h1 {
  font-weight: bold;
  font-size: 1.8rem;
}

h1 span {
  font-size: 1rem;
  color: #999;
}

footer {
  margin-top: 3rem;
  padding: 1rem;
  text-align: center;
  color: #aaa;
  font-size: 0.8rem;
  background-color: #111;
}



.site-title {
  font-size: 1rem;
  color: #fff;
  text-transform: lowercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

nav a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
}

nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.menu-videos {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 1.5rem;
  right: 0;
  background-color: #222;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  border: 1px solid #444;
  min-width: 260px;
  max-width: 90vw;
  box-sizing: border-box;
  z-index: 3000;
}

.dropdown a {
  color: #bbb;
  padding: 0.3rem 0;
  white-space: normal;
  font-size: 0.85rem;
  line-height: 1.3;
}

.menu-videos:hover .dropdown,
.menu-videos .dropdown:hover {
  display: flex;
}

#desktop {
  position: relative;
  min-height: 100vh;
  /*padding-bottom: 40px;*/
  background-image: url('img/network3.png');
  /*background-size: cover;
  background-position: center;*/
  padding-bottom: 0;
  overflow: hidden;
}



.window {
  position: absolute;
  background: #eee;
  border: 2px solid #666;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  width: 300px;
  min-height: 150px;
  cursor: move;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  transform: scale(0.8);
  z-index: 3000;
}

.window.active {
  box-shadow: 0 0 0 2px #fff, 5px 5px 20px rgba(255, 255, 255, 0.5);
}

.title-bar {
  padding: 0.5rem;
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
}

.content {
  padding: 1rem;
  font-size: 0.9rem;
  color: #111;
}

.content h3 a:link, .content h3 a:visited {
    color: #111;
}

.content h3 a:hover, .content h3 a:focus {
    color: #777;
}

video {
  width: 100%;
  display: block;
  margin-bottom: 0.5rem;
}

.expandable {
  cursor: zoom-in;
  max-width: 100%;
  height: auto;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 5000;
}

#overlay-content img {
  max-width: 80vw;
  max-height: 80vh;
}

#overlay-content p {
  color: #ccc;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.meta {
  /*font-style: italic;*/
  font-size: 1.2em;
  font-variant: small-caps;
  margin-top: 1%;
  margin-bottom: 1%;
}

/* Indication of scrollability */
body::after {
  content: '↓ scroll for more';
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 0.75rem;
  color: #ccc;
  pointer-events: none;
}

@media (max-width: 768px) {
   
  nav {
    font-size: 1.1em;
  }

  .window {
    position: relative !important;
    margin: 2rem auto !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    width: 90%;
    max-width: 700px;
  }

  h1 span {
    display: none;
  }

  #desktop {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }


}
