/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    background: black;
    font-family: 'Courier New', Courier, monospace;
  font: 3vx;
    overflow: hidden;
    color: white;
    cursor: help;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensure it stays behind everything else */
    pointer-events: none;
    display: none; /* Initially hidden */
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.clock {
    background: black;
    position: absolute;
    top: 5%;
    text-align: center;
   font-size: 2vw;
    color: white;
opacity: 0;
visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 9;
  user-select: none;

}

.clock.visible {
  background: rgba(0, 0, 0, 1);
    opacity: 1;
    visibility: visible;
}

.center-group {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 15%;
    z-index: 2;
}

.glow-center {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: black;
    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.5),
        0 0 25px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 4;
}

.glitch {
    font-size: 3vw;
    opacity: 75%;
    user-select: none;
    color: white;
    text-transform: uppercase;
    position: relative;
    z-index: 4;
    text-align: center;
}
#button-bar1, #button-bar2, #button-bar3{
    position: absolute;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 5;
}
#button-bar1 {
    bottom: 15%; /* Positioning 15% from the top */
}
#button-bar2 {
    bottom: 4%; /* Positioning 15% from the bottom */
}
#button-bar3 {
    bottom: 75%; /* Positioning 15% from the bottom */
}

.button-bank {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.button-bank.visible {
    visibility: visible;
    opacity: 1;
}

button.standard-button, a.standard-button {
    background: rgba(50, 50, 50, 0.3);
    color: white;
    padding: 15px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2vw;
    border-radius: 5px;
    border: 2px solid transparent; /* Optional: adds border */
    cursor: pointer;
    transition: background-color 1s, color 1s, box-shadow 0.3s ease;
    text-decoration: none; /* Removes the underline on anchor tags */
  user-select: none;
}

button.standard-button:hover, a.standard-button:hover {
    background-color: rgba(100, 100, 100, 0.5);
    color: white;
    box-shadow: 4px 4px 4px rgba(50, 50, 50, 0.5); /* Adds a subtle shadow for hover effect */
}

.custom-btn {
    color: #fff;
    width: 130px;
    height: 40px;
    padding: 10px 25px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/* 15 - Using CSS Variables for Better Control */
.btn-15 {
    --border-color: #ff9aff;          /* Default border color */
    --text-color: #ff9aff;            /* Default text color */
    --box-shadow-color: #ff9aff;      /* Default shadow color */
    --after-bg-color: #ff9aff;        /* Default background color for :after */
    --hover-text-color: #ffffff;      /* Default text color on hover */

    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 5px var(--box-shadow-color), 0 0 5px var(--box-shadow-color) inset;
    z-index: 1;
}

.btn-15:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background: var(--after-bg-color);
    box-shadow: 0 0 20px var(--box-shadow-color);
    transition: all 0.3s ease;
}

.btn-15:hover {
    color: var(--hover-text-color);
}

.btn-15:hover:after {
    left: 0;
    width: 100%;
}

.btn-15:active {
    top: 2px;
}



@media only screen and ((max-width: 1080px)) {
  body {
    .center-group
    {
     width: 27%;
    }
    .glitch {
      font-size: 5vw;
    }
    .clock {
      font-size: 5vw;
    }
    
  }
}

@media only screen and ((min-width: 2560px)) {
  body {
    .center-group
    {
    width: 10%;
    
    }
    .glitch {
      
      font-size: 2vw;
    }
    .clock {
      font-size: 1.5vw;
    }
    .standard-button, .a.standard-button {
    background: rgba(50, 50, 50, 0.3);
    color: white;
    padding: 15px 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1vw;
    border-radius: 5px;
    border: 2px solid transparent; /* Optional: adds border */
  }
   
}
