/*!
 * Cyber Mint Theme for status.cafe
 * Created by smallpancakes (https://smallpancakes.nekoweb.org)
 * Feel free to use this theme! Just please keep the credits ♡
 */

/* Custom Properties */
:root {
  --cyber-bg: #0a192f;
  --cyber-text: #a8b2d1;
  --cyber-primary: #64ffda;
  --cyber-secondary: #e6f1ff;
  --cyber-glow: rgba(100, 255, 218, 0.2);
  --cyber-grid: rgba(100, 255, 218, 0.05);

}

 /* custom css styling here */
    html {
      
    }
    
    body {
     margin: 35px;
    }
    
    header {
     font-size: 55;
     text-align: center;
    }
   
                          #layout {
                            display: flex;
                            gap: 20px;
                            justify-content: center;
                            align-items: flex-start;
                          }
                          
                          #sidebar {
                            width: 200px;
                            min-height: 300px;
                            padding: 15px;
                            border: 1px solid #26d4bf;
                            border-radius: 10px;
                            text-align: center;
                          }
                          
                          #maincon {
                            padding: 15px;
                            width: 500px;
                            min-height: 500px;
                            text-align: center;
                            border: 1px solid #26d4bf;
                            border-radius: 7px;
                          }
    
    hr {
      color: #26d4bf6c; 
    }
    
    ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center; /* Centers the menu items */
    }
    
    ul li a {
      display: block;
      color: white;
      text-align: center;
      padding: 14px 16px;
      text-decoration: none;
    }
    
    ul li a:hover {
      background-color: #111111;
    }
    
    footer {
      text-align: center;
      margin-top: 15px;
    }

/* ends here */

/* Global Styles */
body {
  background-color: var(--cyber-bg);
  background-image: linear-gradient(var(--cyber-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyber-grid) 1px, transparent 1px);
  background-size: 30px 30px;
  color: var(--cyber-text);
  font-family: "JetBrains Mono", "Courier New", monospace;
  text-shadow: 0 0 5px var(--cyber-glow);
  position: relative;
  overflow-x: hidden;
}

/* test */

mark {
  background: transparent;
  text-decoration: underline dotted aqua 1px;
  text-shadow: none;
  color: #a8b2d1;
}
/* Links */
a {
  color: var(--cyber-primary);
  text-decoration: none;
  position: relative;
  padding: 0 3px;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 8px var(--cyber-primary);
}

a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyber-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Headings */
h1,
h2,
h3 {
  color: var(--cyber-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-left: 20px;
}

h1::before,
h2::before {
  content: "#";
  position: absolute;
  left: 0;
  color: var(--cyber-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: var(--cyber-bg);
}

::-webkit-scrollbar-track {
  border: 1px solid var(--cyber-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--cyber-primary);
  border: 1px solid var(--cyber-primary);
}

/* Selection */
::selection {
  background: var(--cyber-primary);
  color: var(--cyber-bg);
  text-shadow: none;
}

/* Animations */
@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Apply animations */
.window::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--cyber-glow), transparent);
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

.status-content::after {
  content: "_";
  display: inline-block;
  color: var(--cyber-primary);
  animation: blink 1s step-end infinite;
}
