@import url("/font.css");

* {
    box-sizing: border-box;
    font-family: "JetBrainsMonoNLNFM", monospace !important;
}

body {
    margin: 0;
    background-color: #1a1b26;
    color: #c0caf5;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#loader-container {
    width: 240px;
    transition: opacity 0.3s ease;
}

.track {
    width: 100%;
    height: 3px;
    background-color: #2f3b54;
    position: relative;
    overflow: hidden;
}

.bar {
    width: 60px;
    height: 100%;
    background-color: #7aa2f7;
    position: absolute;
    animation: bounce 1.8s infinite ease-in-out;
}

@keyframes bounce {
    0% { left: -60px; }
    50% { left: calc(100% - 60px); }
    100% { left: -60px; }
}

#error-screen {
    color: #f7768e;
    text-align: center;
    opacity: 0.8;
}

.hidden { display: none !important; }

#appContainer {
    position: absolute;
    inset: 0;
    z-index: 999;
    background-color: #1a1b26;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
