/* Basic Reset to remove default browser margins */
body, h1, p {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.roboto-mono-font {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/* General Body Styling */
body {
    font-family: "DM Mono", monospace; /* Use a common, readable font */
    font-weight: 100;
    font-style: normal;
    /* background-color: #262837; Light gray background */
    color: #c0bfbf; /* Dark gray text color */
    line-height: 1.6; /* Improve readability with line spacing */
    padding: 0px;
}

/* Header Styling */
header {
    background-color: #007BFF; /* Blue header background */
    color: white; /* White text for contrast */
    padding: 1rem 0; /* Some padding top and bottom */
    text-align: center; /* Center the text */
    margin-bottom: 20px;
}

/* Main Content Styling */
main {
    background: white; /* White background for the content area */
    padding: 20px;
    border-radius: 5px; /* Optional: adds rounded corners */
}

/* Footer Styling */
footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

/* Example of a basic CSS rule syntax: */
p {
    font-size: 0.75rem; /* property: value; */
}

.ui-panel {
    position: fixed;
    /* background: rgba(38, 40, 55, 0.85); */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #ffffff;
    z-index: 100;
    padding: 20px;
}

.top-left { top: 20px; left: 20px; }

.top { top: 20px; left: 5rem; }

.bot-left { bottom: 20px; left: 20px; }

.bot-right { bottom: 20px; right: 20px; }

h1.ui-panel {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 25px;
    border-left: 4px solid #3FDCFB;
}

.text-pane {
    position: fixed;
    color: #ffffff;
    z-index: 100;
    padding: 20px;
}

h2.text-pane {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 10px;
}

.lil-gui {
    /* --font-family: "Roboto Mono", monospace; */
    --font-size: 13px;
    --widget-height: 20px;
}

#social-links {
    position: fixed;  /* Changed from absolute to fixed */
    bottom: 20px;
    right: 20px;
    /* background: rgba(38, 40, 55, 0.85);  Dark background matching your scene */
    padding: 20px;
    border-radius: 12px;
    z-index: 100;  /* Ensures it's on top */
}

#social-links hr {
    border: 0;
    border-top: 1px solid; /*rgba(255, 255, 255, 0.1);*/
    margin-bottom: 15px;
}

.link-group {
    display: flex;
    justify-content: left;
    gap: 10px;
}

.link-group a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.0rem;
    font-weight: bold;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: #3FDCFB;
    text-shadow: 0 0 8px rgba(63, 220, 251, 0.6);
    transform: scale(1.02);
}


h1 {
    position: fixed;
    top: 20px;
    left: 20px;
    margin: 0;
    padding: 15px 30px;
    background: rgba(38, 40, 55, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 100;
    letter-spacing: 1px;
    border-left: 4px solid #3FDCFB;  /* Accent border using your cyan color */
}

h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 3rem;
    border-bottom: 2px solid #3FDCFB;
    padding-bottom: 8px;
}

/* Style the range slider itself */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #3FDCFB;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #3FDCFB;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

#social-links {
    position: fixed;  /* Changed from absolute to fixed */
    bottom: 20px;
    right: 20px;
    /*background: rgba(38, 40, 55, 0.85);   Dark background matching your scene */
    padding: 20px;
    border-radius: 12px;
    z-index: 100;  /* Ensures it's on top */
}

#social-links hr {
    border: 0;
    border-top: 1px solid; /* rgba(255, 255, 255, 0.1); */
    margin-bottom: 15px;
}

.link-group {
    display: flex;
    justify-content: left;
    gap: 10px;
}

.link-group a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.69rem;
    font-weight: bold;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: #3FDCFB;
    text-shadow: 0 0 8px rgba(63, 220, 251, 0.6);
    transform: scale(1.02);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* Animated Spinner Symbol */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-text {
    color: #ffffff;
    font-family: sans-serif;
    font-size: 1.2rem;
}