/* General Styles */
body {
  font-family: monospace;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  background-color: #e6e6e6;
}

h1 {
  color: #333333d5;
  font-family: monospace;

}

p {
  color: #333333d5;
  font-family: monospace;
  margin-left: auto;
  /* text-align: justifys; */
}

/* Navigation */
.nav {
  background-color: #333;
  display: flex;
  justify-content: space-between;
  /* Change this to space-between */
  padding: 1em;
  align-items: center;
}

.nav .button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: .5em;
}

/* Add this selector to style the first button */
.nav .button-first {
  margin-left: auto;
  /* Adjust the value to increase or decrease the space between the buttons */
}

.nav a {
  font-family: monospace;
  color: #d3d2d2;
  text-decoration: none;
  background-color: #5e5480;
  padding: 0.5em 1em;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-block;
}

.nav a:hover {
  background-color: #877891;
  transform: translateY(-2px);
}

.nav a:active {
  transform: translateY(1px);
}

/* Archive Title */
#arcTitleLink {
  font-family: monospace;
  color: #a6a0bb;
  font-size: 1.5em;
  background: none;
  border: none;
}

.rotating-image {
  display: inline-block;
  vertical-align: middle;
  animation: rotation 4s infinite linear;
  width: 50px;
  height: 60px;
  object-fit: cover;
  margin-right: .5em;
}

/* Update the selector to target the <a> element inside the <h2> */
/* Post Entry */
.post-entry {
  display: flex;
  align-items: baseline;
  margin-left: 5px;
  
}

/* Update the selector to target the <a> element inside the <h2> */
.post-title a {
  color: #5e5480;
  text-decoration: none;
  font-family: monospace;
  font-size: 14px;
  margin-right: 10px;
}

/* Add this selector for the hover effect */
.post-title a:hover {
  color: #877891;
  text-decoration: underline;
}

.post-entry span {
  font-family: monospace;
  font-size: 12px;
  color: #333333d5;
}

.post-entry + .post-entry {
  margin-top: -30px; /* Change this value to adjust the space between posts */
}

.post-image {
  max-width: 100%;
  margin-bottom: 0.5em;
}

.post-image img {
  width: 100%;
  max-height: 350px;
  display: block;
  border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
}


.content {
  margin-left: auto;
  margin-right: auto;
  margin-top: 35px;
  margin-bottom: 35px;
  background-color: #ffffff;
  border-radius: 5px;
  min-height: fit-content;
  padding: 1em;
  max-width: 680px;
}

/* Markdown content styling */
.post-content {
  color: #333333d5;
  font-family: monospace;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content strong,
.post-content b,
.post-content em,
.post-content i,
.post-content li,
.post-content ul,
.post-content ol,
.post-content p,
.post-content blockquote,
.post-content code {
  color: inherit;
  font-family: monospace;
}

.post-content a {
  color: #5e5480;
}

.post-content a:hover {
  color: #877891;
}

.posted-on {
  margin-top: 2em;
  font-size: 0.85em;
  color: #888;
  font-style: italic;
}

.post-content img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 5px;
  object-fit: contain;
  cursor: pointer;
}

#archiveTitle {
  font-family: monospace;
  color: #333333d5;
  font-size: 1.5em;
  background: none;
  border: none;
  margin-bottom: -15px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
  }
}

/* Image Gallery */
.dood {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    margin-top: 10px;

  }

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
  }
  
  .image-gallery-item {
    flex-basis: calc(33% - 2em);
    margin: 1em;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 1em;
  }

  .image-gallery-item img {
    width: 100%;
    height: 250px;
    display: block;
    border-radius: 5px;
    object-fit: cover;
  }


  .image-gallery-item .info-container {
    text-align: center;
    padding-top: 0.75em;
  }

  .image-gallery-item .title {
    font-family: monospace;
    font-size: 1.1em;
    margin: 0;
    color: #333333d5;
    margin-bottom: 0.25em;
  }
  
  .image-gallery-item .date {
    font-family: monospace;
    font-size: 0.85em;
    color: #666;
    margin: 0;
  }

  .image-gallery-item img {
    cursor: pointer;
  }

/* Music Gallery */
.music-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  max-width: 500px;
  padding: 0 1em;
}

.music-gallery-item {
  width: 100%;
  margin: 1em 0;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 1em;
}

.music-gallery-item .soundcloud-embed {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.music-gallery-item .soundcloud-embed iframe {
  display: block;
}

.music-gallery-item .info-container {
  text-align: center;
  padding-top: 0.75em;
}

.music-gallery-item .title {
  font-family: monospace;
  font-size: 1.1em;
  margin: 0;
  color: #333333d5;
  margin-bottom: 0.25em;
}

.music-gallery-item .date {
  font-family: monospace;
  font-size: 0.85em;
  color: #666;
  margin: 0;
}

/* Video Gallery */
.video-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  max-width: 500px;
  padding: 0 1em;
}

.video-gallery-item {
  width: 100%;
  margin: 1em 0;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 1em;
}

.video-gallery-item .video-embed {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.video-gallery-item .video-embed iframe {
  display: block;
}

.video-gallery-item .info-container {
  text-align: center;
  padding-top: 0.75em;
}

.video-gallery-item .title {
  font-family: monospace;
  font-size: 1.1em;
  margin: 0;
  color: #333333d5;
  margin-bottom: 0.25em;
}

.video-gallery-item .date {
  font-family: monospace;
  font-size: 0.85em;
  color: #666;
  margin: 0;
}

/* Vikings Dashboard */
.vk-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.vk-season-btn {
  font-family: monospace;
  background-color: #e6e6e6;
  color: #333333d5;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s;
}

.vk-season-btn.active,
.vk-season-btn:hover {
  background-color: #5e5480;
  color: #d3d2d2;
}

.vk-week-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 15px;
}

.vk-week-pill {
  font-family: monospace;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.vk-week-pill.win {
  background-color: #5e5480;
  color: #d3d2d2;
}

.vk-week-pill.loss {
  background-color: #ccc;
  color: #666;
}

.vk-week-pill.selected {
  outline: 2px solid #333;
  outline-offset: 1px;
}

.vk-week-pill:hover {
  opacity: 0.8;
}

.vk-divider {
  border-top: 1px solid #e6e6e6;
  margin-bottom: 15px;
}

.vk-game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.vk-game-matchup {
  font-family: monospace;
  color: #333333d5;
  font-size: 1.05em;
}

.vk-game-result {
  font-family: monospace;
  font-size: 1.3em;
  font-weight: bold;
}

.vk-game-result.w {
  color: #5e5480;
}

.vk-game-result.l {
  color: #999;
}

.vk-stats {
  margin: 10px 0;
}

.vk-stat-line {
  font-family: monospace;
  color: #333333d5;
  font-size: 0.95em;
  margin: 5px 0;
}

.vk-stat-label {
  color: #666;
}

.vk-big-plays {
  margin-top: 15px;
}

.vk-big-plays-title {
  font-family: monospace;
  color: #666;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.vk-play-item {
  font-family: monospace;
  color: #333333d5;
  font-size: 0.9em;
  margin: 3px 0;
  padding-left: 15px;
}

.vk-empty {
  font-family: monospace;
  color: #999;
  text-align: center;
}

/* Secret Gallery */
#secret-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1;
}

#physics-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#physics-canvas:active {
  cursor: grabbing;
}

/* Desktop-only secret link on spinning head */
.nav .secret-link {
  cursor: pointer;
  background: none !important;
  padding: 0;
  border-radius: 0;
}

.nav .secret-link:hover {
  background: none !important;
  transform: none;
}

@media screen and (max-width: 768px) {
  .secret-link {
    pointer-events: none;
    cursor: default;
  }
}

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 5px;
  }

  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
  }

  .lightbox-close:hover {
    color: #ccc;
  }

  #lightbox-caption {
    color: #fff;
    font-family: monospace;
    margin-top: 1em;
    font-size: 1.1em;
    text-align: center;
    width: 100%;
  }

  .hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #d3d2d2;
    border-radius: 2px;
  }
  
  .mobile-nav {
    display: none;
  }
  
  .mobile-nav-button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5em 1em;
    margin-bottom: .5em;
  }
  
  .mobile-nav-button a {
    display: block;
    width: 100%;
  }
  

  /* Media Queries */
  /* Phones (portrait, up to 480px) */
  @media screen and (max-width: 480px) {
    h1 {
      font-size: 1.5em;
      color: #333333d5;
      margin-left: 13px;
    }
  
    p {
        color: #333333d5;
        font-family: 'Roboto', sans-serif;
        margin-left: 15px;
    }
    .content {
        margin-left: 35px;
        margin-right: 35px;
      }
    
    
    .image-gallery-item {
        flex-basis: calc(100% - 1em);
        }

    .music-gallery {
        padding: 0;
        max-width: none;
        margin: 0 35px;
        }

    .video-gallery {
        padding: 0;
        max-width: none;
        margin: 0 35px;
        }

    .vk-game-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        }

    .hamburger-menu {
        display: flex;
        }
    
        .nav .button-container {
        display: none;
        }
    
        .mobile-nav {
            position: fixed;
            left: -250px; /* Width of the sliding panel */
            top: 0;
            width: 150px; /* Width of the sliding panel */
            height: 100%;
            background-color: #333;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding-top: 1em;
            padding-left: 0em;
            transition: left 0.3s ease;
          }
    
        .mobile-nav-button a {
        color: #d3d2d2;
        text-decoration: none;
        padding: 10px;
        width: auto;
        }
    
        .mobile-nav-button a:hover {
        background-color: #5e5480;
        color: #d3d2d2;
        }

  }

  /* Tablets (portrait, 481px to 768px) */
  @media screen and (min-width: 481px) and (max-width: 768px) {
    .content {
        margin-left: 35px;
        margin-right: 35px;
      }
    
    h1 {
      font-size: 1.75em;
    }

    p {
      font-size: 0.9375em;
    }
    .image-gallery-item {
        flex-basis: calc(50% - 1em);
      }
    }

