/* styles.css */

/* Ensure html and body take up the full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Update body styles */
body {
    background-color: #f1f2f2;
    overflow: hidden;
    cursor: none;
    position: relative;
    width: 100%;
}

/* Update the body::before pseudo-element */
body::before {
    content: '';
    position: fixed; /* Use fixed positioning to cover the entire viewport */
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(ellipse at center, transparent 51%, rgba(25, 23, 24, 0.777) 100%);
    pointer-events: none;
    z-index: 1; /* Ensure it appears above the background but below other elements */
}


#logo-container {
    position: relative;
    margin-top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vmin;
    height: 60vmin;
    pointer-events: none;
    z-index: 2;
}

#inner-eye,
#glare-layer,
#outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
}

#inner-eye {
    background: url('inner-eye.svg') no-repeat center;
    background-size: contain;
    transform: translateY(50%);
    animation: iris-spin 152.115s ease-in-out infinite;
    pointer-events: none;
}

#glare-layer {
    background: url('glare-layer.svg') no-repeat center;
    background-size: contain;
    opacity: 1;
    transition: opacity 0.2s;
    animation: iris-spin 152.115s ease-in-out infinite reverse; /* Holds glare in place by undoing the spin created by iris */
    pointer-events: auto;
}

#outer-ring {
    background: url('outer-ring.svg') no-repeat center;
    background-size: contain;
    animation: spin 80s linear infinite;
    pointer-events: none;
}

#glare-layer:hover {
    opacity: 0.51;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes iris-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.cursor {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #191718;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

#placeholder-text {
    position: fixed; /* Changed from absolute to fixed */
    bottom: 12.51511%;
    width: 100%;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 1pt;
    color: #191718; /* Match the particle and cursor color */
    z-index: 2; /* Place it above the background but below particles */
    pointer-events: none;
}

/* Style for the h1 element */
#placeholder-text h1 {
    font-family: Arial, sans-serif;
    font-size: 51.5112pt;
    font-weight: black;
    margin: -10pt;
  }
  
  /* Style for the regular text */
  #placeholder-text .text-regular {
    font-family: Arial, sans-serif;
    font-size: 19pt;
  }
  
  /* Style for the small italic text */
  #placeholder-text .text-small {
    font-family: Arial, sans-serif;
    font-size: 9pt;
    display: block; /* Ensures it's on a new line */
    margin-top: 20pt; /* Adds space above "Coming soon." */
  }


@media (hover: none) and (pointer: coarse) {
    #glare-layer {
        transition: none;
    }
}
