@font-face {
    font-family: 'Aurek-Besh';
    src: url('content/aurek-besh.woff') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1f1f1f;
}

#video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.text-container {
    position: absolute;
    top: 30%;
    left: 20%; 
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    color: white;
    text-align: left;
}

.text-0 {
    font-family: 'Aurek-Besh';
    font-size: 10px;
    color: rgb(150, 150, 150);
}

.text-1 {
    font-size: 100px;
    color: white;
    margin-top: 10px;
    transition: opacity 1s ease-in-out;
}

.text-2 {
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.658);
    color: rgb(150, 150, 150);
    max-width: 400px;
    word-wrap: break-word;
    transition: opacity 1s ease-in-out;
}

.text-3 {
    margin-top: 20px;
    font-family: 'Aurek-Besh';
    font-size: 8px;
    color: rgb(150, 150, 150);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 1s ease;
}

.loading-circle {
    width: 100px;
    height: 100px;
    border: 20px solid rgba(255, 255, 255, 0.2);
    border-top: 20px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loaded #loading-screen {
    opacity: 0;
    pointer-events: none;
}

body.loaded #video-background {
    opacity: 1;
}