:root {
    --rich-black: #0F0B1D;
    --russian-violet: #1f173b;
    --lavender: #B384D7;
    --anti-flash-white: #F4F5F6;
    --royal-purple: #644DA8;
    --pale-purple: #ECE1F4;
    --pistachio: #90C572;
    --light-pistachio: #a6e881;
    --dark-pistachio: #5A7D47;
    --fire-red: #ff6b6b;
    --nav-height: 75px;
    --footer-height: 40px;
}

*{
    text-decoration: none;
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

h1 {
  font-family: 'Play', sans-serif;
  width: 100%;
}

h2 {
  font-family: 'Play', sans-serif;
  width: 100%;
}

img {
pointer-events: none;
}

.blog_link:hover {
    transition: all .55s ease;
    animation: text-glow 0.8s ease-in-out infinite alternate;
    cursor: pointer;
}

/* This styles the scrollbar track (the part the thumb moves along) */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

/* This styles the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background-color: var(--royal-purple); 
    border-radius: 10px; 
    border: 1px solid #f1f1f1;
}

/* Changes the thumb color on hover or when being clicked */
::-webkit-scrollbar-thumb:hover {
    background-color: var(--russian-violet); 
}

/* This styles the main scrollbar container */
::-webkit-scrollbar {
    width: 10px;
    height: 10px; 
}

footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    bottom: 0;
    width: 100vw;
    height: fit-content;
    padding: 8px;
    background-color: var(--russian-violet);
    word-wrap: break-word;
    padding: 20px;
    color: var(--anti-flash-white);
    text-align: center;
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 
                0 4px 8px rgba(0, 0, 0, 0.5), 
                inset 0 1px 3px rgba(255, 255, 255, 0.2),
                inset 0 -3px 3px rgba(0, 0, 0, 0.6); */
    border-top: 1px solid #fff;
    box-shadow: 0 0 2px var(--lavender),
                0 0 4px var(--lavender),
                0 0 6px var(--lavender),
                0 0 8px var(--lavender),
                inset 0 10px 12px -10px var(--lavender);
    animation: pulseGlow 1.5s ease-in-out infinite;
}

.footer-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  flex: 1;
  /* margin-bottom: 10px; */
}

/* .footer-section span {
  display: flex;
  flex-direction: row;
} */

.footer-section h2 {
  align-self: flex-start;
  margin: 0;
  width: fit-content;
}

.footer-socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 150px;
  margin: 10px;
}

.footer-list {
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: left;
}

footer strong {
  font-weight: 700;
  color: var(--pistachio);
}

/* .footer-list li {
  align-self: flex-start;
} */

footer p {
  margin-top: 5px;
}

.footer-right-align {
  align-self: flex-end;
  margin: 5px 0;
}

.footer-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: center;
  padding: 10px 0;
}

.footer-logo {
  height: 30px;
  /* margin: 0 8px; */
  margin: 0 0 5px 0;
  display: flex; 
  flex-wrap: wrap; 
  /* align-self: center; */
}

input, textarea {
  font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--rich-black);
    color: var(--anti-flash-white);
    padding: 0px;
    margin: 0px;
    height: 100%;
    overflow-x: hidden;
    display: block;
    min-height: 100%;
    user-select: none;
}

.clickable-image {
  pointer-events: auto;
}

.confetti {
  width: 10px;
  height: 20px;
  position: fixed;
  opacity: 0.7;
  overflow: hidden;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100vw;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;;
    border-bottom: 1px solid #fff;
    box-shadow: 0 0 2px var(--lavender),
                0 0 4px var(--lavender),
                0 0 6px var(--lavender),
                0 0 8px var(--lavender),
                inset 0 -10px 12px -10px var(--lavender);
    animation: pulseGlow 1.5s ease-in-out infinite;
}

.cryptogram {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0; /* vertical gap */
  column-gap: 30px; /* horizontal gap between words */
}

.cryptogram-word {
  margin: 5px;
  width: fit-content;
  text-transform: uppercase;
  font-size: x-large;
  font-weight: 700;
}

.attempts {
  justify-self: center;
  justify-items: center;
  font-weight: 700;
  border: solid 2px var(--light-pistachio);
  background-color: #0F0B1D;
  border-radius: 5px;
  width: fit-content;
  padding: 12px;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 2px var(--lavender),
                    0 0 4px var(--lavender),
                    0 0 6px var(--lavender),
                    0 0 8px var(--lavender),
                    inset 0 -10px 12px -10px var(--lavender);
    }
    50% {
        box-shadow: 0 0 3px var(--lavender),
                    0 0 5px var(--lavender),
                    0 0 7px var(--lavender),
                    0 0 9px var(--lavender),
                    inset 0 -10px 14px -10px var(--lavender);
    }
}

@keyframes reversePulseGlow {
  0%, 100% {
      box-shadow: 0 0 2px var(--lavender),
                  0 0 4px var(--lavender),
                  0 0 6px var(--lavender),
                  0 0 8px var(--lavender),
                  inset 0 10px 12px -10px var(--lavender);
  }
  50% {
      box-shadow: 0 0 3px var(--lavender),
                  0 0 5px var(--lavender),
                  0 0 7px var(--lavender),
                  0 0 9px var(--lavender),
                  inset 0 10px 14px -10px var(--lavender);
  }
}

.menu-icon {
    color: var(--anti-flash-white);
    font-size: 35px;
    z-index: 1001;
    cursor: pointer;
    display: none;
}

.logo-area {
    margin-left: 20px;
    align-items: center;
}

.logo {
    height: 60px;
    border-radius: 50%;
    transition: all .55s ease;
    cursor: pointer;
    display: block;
    margin: 12px 0px;
    box-shadow: 0 0 12px var(--lavender);
}

.logo:hover {
    scale: 110%;
    animation: image-glow 0.8s ease-in-out infinite alternate;
}

@keyframes image-glow {
    from {
        box-shadow: 0 0 12px var(--lavender);
    }
    to {
        box-shadow: 0 0 20px var(--lavender);
    }
}
  
.floating-egg {
    position: absolute;
    width: 200px;
    z-index: -100;
    will-change: transform;
  }

@keyframes egg-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

.navbar {
    /* background-color: var(--royal-purple); */
    background-image: linear-gradient(to top, var(--royal-purple), var(--russian-violet));
    /* border: 2px solid transparent; */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 
                0 4px 8px rgba(0, 0, 0, 0.5), 
                inset 0 1px 3px rgba(255, 255, 255, 0.2),
                inset 0 -3px 3px rgba(0, 0, 0, 0.6);
    /* transition: box-shadow 0.2s, transform 0.2s; */
}

.navlist {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 55%;
    list-style-type: none;
}

.navlist ul li {
    text-align: center;
}

.navlist a {
    color: var(--anti-flash-white);
    font-family: 'Play', sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: all .55s ease;
    display: inline-block; /* Allows transform */
    position: relative; /* Needed for absolute positioning of pseudo-elements */
}

.navlist a::before, .navlist a::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--anti-flash-white);
    transition: all .55s ease;
}

.navlist a::before {
    top: 0;
    transform: translateY(-100%); 
}

.navlist a::after {
    bottom: 0;
    transform: translateY(100%);
}

.navlist a:hover::before, .navlist a:hover::after {
    width: 100%;
    left: 0;
}

.navlist a:hover {
    transform: scale(1.33);
    animation: text-glow 0.8s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow:    0 0 5px var(--pistachio),
                        0 0 15px var(--pistachio),
                        0 0 25px var(--pistachio),
                        0 0 40px var(--pistachio);
    }
    to {
        text-shadow:    0 0 20px var(--pistachio),
                        0 0 30px var(--pistachio),
                        0 0 40px var(--pistachio),
                        0 0 45px var(--pistachio);
    }
}

@keyframes text-glow-light {
    from {
        text-shadow:    0 0 0px var(--anti-flash-white),
                        0 0 0px var(--anti-flash-white),
                        0 0 0px var(--anti-flash-white),
                        0 0 0px var(--anti-flash-white);
    }
    to {
        text-shadow:    0 0 1px var(--anti-flash-white),
                        0 0 1px var(--anti-flash-white),
                        0 0 1px var(--anti-flash-white),
                        0 0 1px var(--anti-flash-white);
    }
}

.navlist li.active-nav a {
  transform: scale(1.33);
  animation: text-glow 0.8s ease-in-out infinite alternate;
}

.navlist li.active-nav a::before, .navlist li.active-nav a::after {
  width: 100%;
  left: 0;
  background: var(--anti-flash-white); 
}

.navlist li.active-nav a::before {
  top: 0;
  transform: translateY(-100%);
  content: '';
}

.navlist li.active-nav a::after {
  bottom: 0;
  transform: translateY(100%);
  content: '';
}

.action-area {
    height: 100%;
    width: fit-content;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.subscribe-btn {
    background-color: var(--light-pistachio);
    background-image: linear-gradient(to top, var(--light-pistachio), var(--dark-pistachio));
    height: 40px;
    width: -webkit-fill-available;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-family: 'Play', sans-serif;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: box-shadow 0.8s ease-out, transform 0.8s ease-out;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 
                0 4px 8px rgba(0, 0, 0, 0.4), 
                inset 0 1px 3px rgba(255, 255, 255, 0.1),
                inset 0 -3px 3px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.2s, transform 0.2s;
}

.clear-btn {
  background-color: var(--lavender);
  background-image: linear-gradient(to top, var(--light-pistachio), var(--dark-pistachio));
  height: 40px;
  border: var(--light-pistachio);
  border-radius: 20px;
  padding: 4px 12px;
  font-family: 'Play', sans-serif;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.8s ease-out, transform 0.8s ease-out;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 
              0 4px 8px rgba(0, 0, 0, 0.4), 
              inset 0 1px 3px rgba(255, 255, 255, 0.1),
              inset 0 -3px 3px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.2s, transform 0.2s;
}

.twin-buttons {
  width: fit-content;
  justify-self: center;
}

.twin-buttons button {
  margin: 15px;
  width: 175px;
}

.btn-width-limiter {

    width: 200px;
    margin: 5px auto;
}

.subscribe-btn:hover, .clear-btn:hover {
    border: 1px solid var(--anti-flash-white);
    transform: scale(110%);
    animation: subscribe-glow 0.8s ease-in-out infinite alternate;
}

@keyframes subscribe-glow {
    from {
        box-shadow: 0 0 2px var(--pistachio),
                    0 0 4px var(--pistachio),
                    0 0 6px var(--pistachio),
                    0 0 8px var(--pistachio);
    }
    to {
        box-shadow: 0 0 3px var(--pistachio),
                    0 0 6px var(--pistachio),
                    0 0 9px var(--pistachio),
                    0 0 12px var(--pistachio);
    }
}

.mobile-menu {
    width: 100%;
    padding: 14px;
    display: flex;
    align-items: center;
    margin-left: 5px;
    transition: all ease 0.55s;
    border-radius: 10px 0 0 10px;
}

.main-content {
    /* position: fixed; */
    margin-top: calc(var(--nav-height) + 10px);
    min-height: calc(100vh - (var(--nav-height)));
    overflow-x: hidden;
    overflow-y: scroll;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* top: calc(0 + var(--nav-height)); */
    height: 100%;
    /* width: 100vw; */
    padding: 0px 20px;
    justify-content: center;
}

.controller-img {
  width: 50%;
  align-self: center;
}

.main-info {
    position: absolute;
    display: flex;
    flex-direction: row;
    margin: 40px;
    height: fit-content;
    min-height: calc(100vh - var(--nav-height) - var(--nav-height));
    width: 90%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.game-info {
    position: absolute;
    display: flex;
    flex-direction: row;
    margin: 40px;
    height: fit-content;
    width: 90%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.easter-egg-message {
  width: 70%;
  border-radius: 20px;
  padding: 20px;
}

.header-row {
    width: 100%;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.column {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
}

.text-content {
  overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

.half-column {
  height: 100%;
  width: 50%;
}

.scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    padding: 15px;
    margin: 8px;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: var(--russian-violet);
}

.scrollable {
  flex-grow: 1;
  overflow-y: auto;
}

.button-container {
    margin: 0;
    display: flex;
    justify-content: center;
}

.spaced {
  margin: 20px;
}

.cipher-input {
    width: 30px;
    height: 40px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-transform: uppercase;
    color: var(--anti-flash-white);
    background-color: var(--rich-black);
    font-size: 18px;
    font-weight: 700;
    caret-color: transparent;
    padding: 0 2px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.cipher-input:focus {
  background-color: var(--pale-purple);
  color: #0F0B1D;
  outline: 2px solid var(--light-pistachio);
  border-bottom: 4px solid transparent; /* Start with transparent */
  animation: blink-animation 0.3s infinite alternate;
}

@keyframes blink-animation {
  from {
    border-bottom-color: transparent;
  }
  to {
    border-bottom-color: black; /* Or desired underline color */
  }
}

.shake-animation {
  animation: shake 0.25s; /* Adjust duration as needed */
  animation-iteration-count: 1; /* Play once */
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.egore-head {
  width: 150px;
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 100;
}

.egore-chat-bubble {
  position: fixed;
  width: 200px;
  bottom: 70px;
  right: 80px;
  z-index: 101;
}

.speech-bubble-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  opacity: 1;
}

td {
  padding: 5px 10px;
}

.col-left {
  text-align: left;
}

.col-right {
  text-align: right;
}

#stats-table-caption {
  font-size: 24px;
  font-weight: 700;
  padding: 5px;
}

#stats-table {
  width: 270px;
}

.speech-bubble-text {
  align-content: center;
  position: fixed;
  width: 150px;
  height: 90px;
  bottom: 140px;
  right: 100px;
  /* transform: translate(-50%, -50%); */
  text-align: center;
  padding: 5px;
  /* width: 70%; */
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  z-index: 102;
}

.scrambled-letter {
  color: var(--light-pistachio);
}

.cipher-pair {
    display: inline-block;
    text-align: center;
    margin: 5px;
    width: 30px;
}

.extra-space {
  margin: 40px;
}

.tall {
    height: calc(100% - 8px);
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image {
    max-width: 100%;
    max-height: 100%;
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    flex-shrink: 2;
}

.blog-image img {
    max-width: 100%;
    max-height: 60%;
    flex-shrink: 3;
}

.blog-text {
    height: 100%;
    background-color: var(--anti-flash-white);
    color: black;
    margin: 5px;
    border-radius: 20px;
}

.egore-small {
    height: 200px;
    margin: 20px;
}

.egore {
    height: 400px;
    margin: 20px;
}

.egore-container {
    display: flex;
    flex: 1;
    justify-content: center;
}

/* Slideshow CSS */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  position: relative;
}

.slideshow-container h1 {
  text-align: center;
}

/* Hide the images by default */
.mySlides {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  height: 70%;
  width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  overflow: visible;
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  margin-top: -22px;
  color: var(--light-pistachio);
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  user-select: none;
  animation: text-glow 0.8s ease-in-out infinite alternate;
}

.padding-0 {
  padding: 0;
}

/* Position the "next button" to the right */
.next {
  right: 2%;
}

.prev {
  left: 2%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  /* background-color: rgba(0,0,0,0.8); */
  color: var(--anti-flash-white);
  animation: text-glow-white 0.8s ease-in-out infinite alternate;
}

@keyframes text-glow-white {
  from {
      text-shadow:    0 0 5px var(--anti-flash-white),
                      0 0 15px var(--anti-flash-white),
                      0 0 25px var(--anti-flash-white),
                      0 0 40px var(--anti-flash-white);
  }
  to {
      text-shadow:    0 0 20px var(--anti-flash-white),
                      0 0 30px var(--anti-flash-white),
                      0 0 40px var(--anti-flash-white),
                      0 0 45px var(--anti-flash-white);
  }
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.slideshow-image {
    width: 85%;
    margin: auto;
}

.centered {
  max-width: 100%;
  margin: 18px auto 0 auto;
  text-align: center;
  word-wrap: break-word;
}

/* Contact Us page formatting */
.privacy-policy {
    margin-top: 20px;
    font-size: 14px;
}

.two-col {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.col-1, .col-2 {
    margin: 10px;
}

.col-1 {
    margin: 10px;
    flex: 2;
}

.col-2 {
    margin: 10px;
    flex: 1;
}

.contact-form {
  padding: 20px 40px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    height: 60px;
    overflow-y: auto;
    resize: none;
}

.error {
    color: red;
    font-size: 0.8em;
}

.cryptogram-error {
    text-shadow: 0 0 6px #b17f7f;
    color: var(--anti-flash-white);
    font-size: 2em;
}

.cryptogram-success {
  color: var(--light-pistachio);
  font-size: 2em;
}

#cryptogram-submit-btn:disabled {
      animation: none;
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
      transition: none;
      border: none;
    }

#cryptogram-clear-btn:disabled {
      animation: none;
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
      transition: none;
      border: none;
    }

.row {
  margin: 20px 0;
}

/* Music Player */
*:focus {
    outline: none;
  }
  
  #app-cover {
    position: absolute;
    bottom: calc(var(--footer-height) * 2);
    right: 0;
    left: 0;
    width: 500px;
    height: 100px;
    margin: -4px auto;
  }
  
  #player {
    position: relative;
    height: 100%;
    z-index: 3;
  }
  
  #player-track {
    position: absolute;
    top: 0;
    right: 15px;
    left: 15px;
    padding: 13px 22px 10px 184px;
    background-color: var(--anti-flash-white);
    border-radius: 15px 15px 0 0;
    transition: 0.3s ease top;
    z-index: 1;
  }
  
  #player-track.active {
    top: -92px;
  }
  
  #album-name {
    color: #54576f;
    font-size: 17px;
    font-weight: bold;
  }
  
  #track-name {
    color: #acaebd;
    font-size: 13px;
    margin: 2px 0 13px 0;
  }
  
  #track-time {
    height: 12px;
    margin-bottom: 3px;
    overflow: hidden;
  }
  
  #current-time {
    float: left;
  }
  
  #track-length {
    float: right;
  }
  
  #current-time,
  #track-length {
    color: transparent;
    font-size: 11px;
    background-color: #ffe8ee;
    border-radius: 10px;
    transition: 0.3s ease all;
  }
  
  #track-time.active #current-time,
  #track-time.active #track-length {
    color: var(--rich-black);
    background-color: transparent;
  }
  
  #s-area,
  #seek-bar {
    position: relative;
    height: 4px;
    border-radius: 4px;
  }
  
  #s-area {
    background-color: var(--lavender);
    cursor: pointer;
  }
  
  #ins-time {
    position: absolute;
    top: -29px;
    color: #fff;
    font-size: 12px;
    white-space: pre;
    padding: 5px 6px;
    border-radius: 4px;
    display: none;
  }
  
  #s-hover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    z-index: 2;
  }
  
  #ins-time,
  #s-hover {
    background-color: #3b3d50;
  }
  
  #seek-bar {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: var(--pistachio);
    transition: 0.2s ease width;
    z-index: 1;
  }
  
  #player-content {
    position: relative;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    z-index: 2;
  }
  
  #album-art {
    position: absolute;
    top: -40px;
    width: 115px;
    height: 115px;
    margin-left: 40px;
    transform: rotateZ(0);
    transition: 0.3s ease all;
    box-shadow: 0 0 0 10px #fff;
    border-radius: 50%;
    overflow: hidden;
  }

  #album-art-image {
    width: 50px;
  }
  
  #album-art.active {
    top: -60px;
    box-shadow: 0 0 0 4px #fff7f7, 0 30px 50px -15px #afb7c1;
  }
  
  #album-art:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: -10px auto 0 auto;
    background-color: #d6dee7;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
    z-index: 2;
  }
  
  #album-art img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
  }
  
  #album-art img.active {
    opacity: 1;
    z-index: 1;
  }
  
  #album-art.active img.active {
    z-index: 1;
    animation: rotateAlbumArt 3s linear 0s infinite forwards;
  }
  
  @keyframes rotateAlbumArt {
    0% {
      transform: rotateZ(0);
    }
    100% {
      transform: rotateZ(360deg);
    }
  }
  
  #buffer-box {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 13px;
    color: #1f1f1f;
    font-size: 13px;
    font-family: Helvetica;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    padding: 6px;
    margin: -12px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.19);
    opacity: 0;
    z-index: 2;
  }
  
  #album-art img,
  #buffer-box {
    transition: 0.1s linear all;
  }
  
  #album-art.buffering img {
    opacity: 0.25;
  }
  
  #album-art.buffering img.active {
    opacity: 0.8;
    filter: blur(2px);
    -webkit-filter: blur(2px);
  }
  
  #album-art.buffering #buffer-box {
    opacity: 1;
  }
  
  #player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 100%;
    margin: 0 5px 0 141px;
    float: right;
    overflow: hidden;
  }
  
  .control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.333%;
    float: left;
    padding: 12px;
  }
  
  .button {
    width: 26px;
    height: 26px;
    padding: 25px;
    background-color: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .button i {
    display: flex;
    color: var(--russian-violet);
    font-size: 26px;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  
  .button,
  .button i {
    transition: 0.2s ease all;
  }
  
  .button:hover {
    background-color: #d6d6de;
  }
  
  .button:hover i {
    color: #fff;
  }
  
  .volume {
    background-color: #fff;
    display: flex;
    border-radius: 0 0 15px 15px;
    width: 50%;
    align-self: center;
    justify-content: center;
    margin: 0 auto;
  }

  .music-player input[type="range"] {
    align-self: center;
    justify-content: center;
    width: 50%;
  }

  .vol-btn {
    color: var(--russian-violet);
    margin: 6px;
    display: none;
  }

  .repeat-on {
    background-color: var(--pistachio);
  }

  .easter-egg {
    width: 20px;
  }

  .controller-logo {
    width: 200px;
    align-items: center;
  }

  /* Privacy Policy Pop-Up */
  .overlay {
    position: fixed;
    top: var(--nav-height);
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    display: flex;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: calc(var(--nav-height)) 40px 40px 40px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 75%;
    position: relative;
    color: black;
    /* overflow-y: auto; */
    transition: all 5s ease-in-out;
    display: flex;
    align-self: center;
  }
  
  .popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
  }
  .popup .close {
    position: absolute;
    top: -50px;
    right: -35px;
    transition: all 200ms;
    font-size: 60px;
    font-weight: bold;
    text-decoration: none;
    color: white;
  }
  .popup .close:hover {
    color: #06D85F;
  }
  .popup .content {
    /* max-height: 30%; */
    overflow-y: auto;
  }

  .popup div {
    overflow-y: auto;
  }
  
  @media screen and (max-width: 700px){
    
  }

  .text-dec {
    text-decoration: underline;
    color: var(--pistachio);
  }



.stretch {
  display: flex;
  align-items: stretch;
}

.mobile-blog-layout {
  position: absolute;
  top: 0;
  height: 95%;
  width: fit-content;
  margin: 5px;
  display: none;
  max-height: 100%;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

.padding-40 {
  padding: 0px 40px;
}

.padding-bottom-40 {
  padding-bottom: 40px;
}

.margin-top-40 {
  margin-top: 40px;
}

.scroll-start {
  justify-content: flex-start;
}

.active-nav {
  color: var(--pistachio);
  animation: text-glow 0.8s ease-in-out infinite alternate;
}

.search-bar {
  display: flex;
  flex-direction: row;
  position: absolute;
  /* top: 18px; */
  max-width: 90vw;
  width: 400px;
  top: -20px;
  font-size: 24px;
  color: #808080;
  padding: 7px;
  background-color: var(--anti-flash-white);
  border: solid 2px rgba(0,0,0,0.75);
  border-radius: 25px;
}

#search {
  padding-left: 7px;
  width: 100%;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
}

.indented {
  /* box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 1); */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 
                0 4px 8px rgba(0, 0, 0, 0.2), 
                inset 0 1px 3px rgba(255, 255, 255, 0.1),
                inset 0 -3px 3px rgba(0, 0, 0, 0.2);
}

.collapse-left {
  transform-origin: left;
}

.collapse-right {
  transform-origin: right;
}

.switch-container {
  position: absolute;
  bottom: calc(var(--footer-height) + 5px);
  display: flex;
  justify-content: center;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 260px;
  height: 34px;
  align-self: center;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--royal-purple);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 50%;
  left: 2%;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 
                0 4px 8px rgba(0, 0, 0, 0.5), 
                inset 0 1px 3px rgba(255, 255, 255, 0.2),
                inset 0 -3px 3px rgba(0, 0, 0, 0.6);
}

input:checked + .slider {
  background-color: var(--pistachio);
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 1);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--pistachio);
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 1);
}

input:checked + .slider:before {
  -webkit-transform: translateX(93%);
  -ms-transform: translateX(93%);
  transform: translateX(93%);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 34px;
}

.details-blog-switch {
  color: var(--anti-flash-white);
  margin-right: 15px;
}

.slider div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  height: 100%;
  align-items: center;
  color: #0F0B1D;
  z-index: 2;
  font-weight: 700;
}

.blog-panel {
  width: 30%;
}

.flip-box {
  height: 100%;
  width: 100%;
  perspective: 1000px;
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  height: 95%;
  width: 100%;
  text-align: center;
  transition: transform 0.4s;
  transform-style: preserve-3d;
}

.flip-box-mobile {
  position: relative;
  height: 95%;
  width: 95%;
  text-align: center;
  transition: transform 0.4s;
  transform-style: preserve-3d;
}

.flip-box-front, .flip-box-back {
  text-align: left;
  position: absolute;
  background-color: var(--anti-flash-white);
  border-radius: 20px;
  color: black;
  width: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.align-left {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: left;
  align-items: flex-start;
  align-content: flex-start;
}

.align-center {
  text-align: center;
}

.flip-box-back {
  display: block;
  position: absolute;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
}

.blog-col-1 {
  flex: 1 1 30%;
}

.blog-col-2 {
  flex: 1 1 70%;
}

.comment-section {
  font-size: 14px;
  align-items: center;
  padding: 15px;
}

.comment-section div {
  display: flex;
  text-align: left;
}

.comment-form-group label {
  flex-basis: 18%;
  justify-content: left;
  /* margin-right: 10px; */
}

.comment-form-group input, textarea{
  padding: 4px;
  width: 100%;
  margin: none;
}

.comment-form-group input{
  align-self: flex-end;
}

.comment-form-group textarea{
  resize: none;
  height: 40px;
}

.comment-form-group input[type="text"], 
.comment-form-group input[type="email"], 
.comment-form-group textarea {
    flex-grow: 1;
    padding: 4px;
    font-size: 12px;
    border: solid 1px gray;
    border-radius: 6px;
}

.comment-section input.subscribe-btn {
  padding: 0 12px;
  font-size: 16px;
  margin-left: 10px;
}

.comment-form-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
}

.comment-form-group label {
  display: flex;
  flex-direction: row;
  justify-content: left;
}

.media {
  margin: 4px;
}

.media-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 12px;
  border-radius: 20px;
  border-radius: 16px 16px 16px 0;
}

.vertical-centered {
  align-items: center;
}

.padding-left-8 {
  padding-left: 8px;
}

.centered-2 {
  position: absolute;
  top: calc((var(--nav-height) + 20px));
}

.query-result {
  border-radius: 20px;
  margin: 5px;
  padding: 5px;
  /* background-color: var(--anti-flash-white); */
  /* color: var(--rich-black); */
}

.mb-20 {
  margin-bottom: 20px;
}

.search-bar form {
  display: flex;
  width: 100%;
}

.glow-border {
  width: auto;
  display: flex;
  margin: 20px 10px;
  flex: content;
  position: relative;
  /* border: 5px solid var(--lavender);
  box-shadow: 
      0 0 10px var(--lavender), 
      0 0 20px var(--lavender), 
      0 0 40px var(--lavender);  */
      /* 0 0 80px var(--lavender); */
  border: 1px solid #fff;
  /* box-shadow: 0 0 6px var(--lavender),
                0 0 12px var(--lavender),
                0 0 24px var(--lavender),
                0 0 48px var(--lavender),
                inset 0 0px 12px -8px var(--lavender); */
  animation: pulseGlowIntense 1.5s ease-in-out infinite;
}

@keyframes pulseGlowIntense {
  0%, 100% {
      box-shadow: 0 0 3px var(--lavender),
                  0 0 5px var(--lavender),
                  0 0 7px var(--lavender),
                  0 0 9px var(--lavender),
                  inset 0 -10px 12px -10px var(--lavender);
  }
  50% {
      box-shadow: 0 0 5px var(--lavender),
                  0 0 7px var(--lavender),
                  0 0 9px var(--lavender),
                  0 0 11px var(--lavender),
                  inset 0 -10px 14px -10px var(--lavender);
  }
}

.major-header {
  text-transform: uppercase;
  border: 4px double rgba(255,255,255,.25);
  border-width: 4px 0;
  font: 700 3em/1 "Play", sans-serif;
  padding: .325em 0 .325em;
  animation: text-glow 0.8s ease-in-out infinite alternate;
  overflow: visible;
}

#game-container {
  align-self: center;
    overflow: auto;
    max-height: 80vh;
    border: 2px solid #333;
}
#game-board {
    display: inline-grid;
    grid-template-columns: repeat(18, 20px);
    grid-template-rows: repeat(18, 20px);
    gap: 1px;
    background: #ddd;
    padding: 10px;
}
.cell {
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #ccc;
    cursor: pointer;
}
.cell:hover {
    background: #f0f0f0;
}
.player1 {
    background: #4CAF50 !important;
}
.player2 {
    background: #2196F3 !important;
}
#info {
    width: 100%;
    flex-direction: row;
}

.tictactoe {
  width: 90vw;
  height: 60vh;
}

.input-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.game-layout {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 15px auto;
}

.game-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-section {
    width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
}

.chat-toggle {
    transition: transform 0.3s ease;
}

.info-centered {
    max-width: 100%;
    margin: 9px auto;
    text-align: center;
    word-wrap: break-word;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    max-height: 500px;
    /* min-height: 300px; */
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.system-message {
    font-style: italic;
    color: var(--light-pistachio);
    text-align: center;
    background: rgba(144, 197, 114, 0.2);
}

.chat-message-header {
    font-weight: bold;
    color: var(--lavender);
    margin-bottom: 4px;
}

.chat-timestamp {
    font-size: 0.8em;
    color: #999;
    margin-left: 8px;
}

.chat-input-area {
    display: flex;
    gap: 8px;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.1);
    color: var(--anti-flash-white);
}

#send-btn {
    padding: 10px 20px;
    background: var(--light-pistachio);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

#send-btn:hover {
    background: var(--pistachio);
}

.connect-5-header h1 {
  /* display: flex;
  flex-direction: row; */
  margin: 0 10px;
  text-align: center;
}

#toast {
    /* position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px); */
    background-color: var(--light-pistachio);
    color: var(--rich-black);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10000;
}

#turn-info {
    /* padding: 12px 20px; */
    border-radius: 8px;
    font-weight: bold;
    /* margin: 10px auto; */
    text-align: center;
    transition: all 0.3s ease;
}

.my-turn {
    background: rgba(144, 197, 114, 0.3); /* Green - pistachio */
    color: var(--light-pistachio);
    border: 2px solid var(--light-pistachio);
}

.opponent-turn {
    background: rgba(220, 80, 80, 0.3); /* Red */
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.temporary-message {
    background: rgba(180, 132, 215, 0.3); /* Purple - lavender */
    color: var(--lavender);
    border: 2px solid var(--lavender);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: pulse 0.5s ease;
}

.temporary-error {
    background: rgba(220, 80, 80, 0.4); /* Red */
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    animation: shake 0.5s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 80%;
    word-wrap: break-word;
}

.system-message {
    font-style: italic;
    color: var(--light-pistachio);
    text-align: center;
    background: rgba(159, 169, 154, 0.2);
    margin-left: auto;
    margin-right: auto;
}

/* Your messages - right aligned, green */
.my-message {
    background: rgb(24, 46, 11);
    border-radius: 12px 12px 0px 12px;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    position: relative;
}

.my-message::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid rgb(24, 46, 11);;
    border-top: 12px solid transparent;
}

.my-message .chat-message-header {
    color: var(--light-pistachio);
    font-weight: bold;
}

/* Opponent messages - left aligned, red */
.opponent-message {
    background: rgb(95, 30, 30);
    border-radius: 12px 12px 12px 0px;
    position: relative;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.opponent-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -11px;
    width: 0;
    height: 0;
    border-right: 12px solid rgb(95, 30, 30);
    border-top: 12px solid transparent;
}

.opponent-message .chat-message-header {
    color: #ff6b6b;
    font-weight: bold;
}

.chat-message-header {
    font-weight: bold;
    margin-bottom: 4px;
}

.chat-timestamp {
    display: flex;
    justify-self: center;
    font-size: 0.8em;
    color: #999;
    margin: 5px 0;
}

.score-display {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
}

.player-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.score-name {
    font-size: 14px;
    color: var(--lavender);
    margin-bottom: 5px;
}

.score-value {
    font-size: 32px;
    color: var(--light-pistachio);
}

.player1-score .score-value {
    color: var(--light-pistachio);
}

.player2-score .score-value {
    color: #ff6b6b;
}

.score-separator {
  align-self: flex-end;
    font-size: 28px;
    color: var(--anti-flash-white);
    opacity: 0.5;
}

.rps-game, .create-connect5-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(31, 23, 59, 0.98);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--lavender);
    box-shadow: 0 0 30px rgba(180, 132, 215, 0.5);
    text-align: center;
    z-index: 10000;
    min-width: 400px;
}

.rps-game h3 {
    color: var(--light-pistachio);
    margin-top: 0;
    font-size: 24px;
}

.rps-game p {
    color: var(--anti-flash-white);
    font-size: 18px;
    margin: 15px 0;
}

.rps-buttons {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin: 20px 0;
}

.rps-label {
  font-size: 16px;
}

.rps-btn {
    background: var(--royal-purple);
    border: 2px solid var(--lavender);
    color: var(--anti-flash-white);
    flex-direction: column;
    font-size: 48px;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rps-btn:hover {
    transform: scale(1.1);
    background: var(--lavender);
    box-shadow: 0 0 20px var(--lavender);
}

.rps-btn:active {
    transform: scale(0.95);
}

.rps-waiting {
    color: var(--lavender);
    font-style: italic;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.rps-result {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(31, 23, 59, 0.98);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--lavender);
    box-shadow: 0 0 30px rgba(180, 132, 215, 0.5);
    text-align: center;
    z-index: 10001;
    min-width: 400px;
}

.rps-result h3 {
    color: var(--light-pistachio);
    font-size: 28px;
    margin-top: 0;
}

.rps-choices {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px 0;
    font-size: 64px;
}

.rps-vs {
    font-size: 24px;
    color: var(--lavender);
    font-weight: bold;
}

.cell.winning {
    animation: winningPulse 1s ease-in-out infinite;
    box-shadow: 0 0 20px var();
    position: relative;
    z-index: 10;
}

@keyframes winningPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 1);
    }
}

/* Optional: Add a glow effect */
.cell.player1.winning {
    box-shadow: 0 0 20px rgba(144, 197, 114, 1);
}

.cell.player2.winning {
    box-shadow: 0 0 20px rgba(33, 150, 243, 1);
}

.chat-toggle {
  font-size: 36px;
  display: none;
}

.games-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media screen and (max-width: 1050px) {
  .games-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .game-layout {
    flex-direction: column;
        }
  .chat-section {
    background-color: #0F0B1D;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90vh; 
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  .chat-section.open {
    transform: translateY(0);    /* Slide into view */
  }
  .chat-toggle {
    display: block;
    position: fixed;
    bottom: 0;
    right: 5%;
    /* transform: translateX(-50%); */
    z-index: 10000;
    background: #333;
    color: #fff;
    border: none;
    padding: 4px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
  }
  .chat-toggle.open {
    transition: transform 0.3s ease;
    transform: translateY(-55px);
  }
  .glow-border {
    animation: none;
    box-shadow: 0 0 6px var(--lavender),
                0 0 12px var(--lavender),
                0 0 24px var(--lavender),
                0 0 48px var(--lavender),
                inset 0 0px 12px -8px var(--lavender);
  }
  .switch-container {
    bottom: calc(var(--nav-height) + 5px);
  }
  .navbar {
    background-image: linear-gradient(to bottom, var(--royal-purple), var(--russian-violet));
    
  }

  .cipher-pair {
    margin: 0px;
    width: 25px;
  }

  .cipher-input {
    width: 25px;
  }

  #app-cover {
    position: absolute;
    bottom: calc(var(--nav-height) * 1.5);
  }
  .box{
    width: 70%;
  }
  .overlay {
    top: 0;
  }
  .popup{
    width: 100%;
  }
  .contact-form {
    padding-left: 5px;
    padding-right: 5px;
  }
  .mobile-blog-layout {
    display: flex;
  }
  .half-column {
    height: 100%;
    width: 100%;
  }
  .mobile-blog-hide {
    display: none;
  }
  .mobile-hide {
    display: none;
  }
  .footer-row {
    flex-direction: column;
  }
  .footer-right-align {
    align-self: center;
  }
  .footer-section {
    align-content: center;
    align-items: center;
    text-align: center;
  }
  .footer-list {
    text-align: center;
  }
  .footer-socials {
    align-self: center;
  }
  .navbar ul {
      position: absolute;
      right: -50%;
      transition: all .55s ease;
      top: 105%;
      width: 115px;
      height: 270px;
      background-color: var(--royal-purple);
      background-image: linear-gradient(to bottom, var(--royal-purple), var(--lavender));
      padding: 10px 20px;
      float: none;
      flex-direction: column;
      text-align: center;
      margin: 0;
      border-radius: 10px 0 0 10px;
  }
  .navbar ul li {
      margin: 15px 0;
  }
  .navbar a.menu-icon {
      float: right;
      display: block;
  }
  .navbar.responsive ul {
      top: 105%;
      right: 0%;
  }
  .navbar.responsive .mobile-menu {
      background-color: var(--lavender);
      /* background-color: var(--royal-purple); */
      background-image: linear-gradient(to top, var(--royal-purple), var(--lavender));
      border: 2px solid transparent;
      /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 
                  0 4px 8px rgba(0, 0, 0, 0.5), 
                  inset 0 1px 3px rgba(255, 255, 255, 0.2),
                  inset 0 -3px 3px rgba(0, 0, 0, 0.6); */
  }
  .search-bar {
    top: 95%;
  }
  .logo-area {
    margin-left: 5px;
  }
  .main-content {
    padding: 0;
  }
  .main-info {
    margin: 0;
    width: 100%;
    min-height: calc(100vh - var(--nav-height));
  }
  .lead {
    margin: 20px;
    margin-bottom: 0;
  }
}