@font-face {
    font-family: 'Moonrising';
    src: url('../../Fonts/Moonrising.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.pivot-text {
    font-family: 'Moonrising', sans-serif;
    font-size: 3em;
    font-weight: normal;
    color: #000;
    display: flex;
    justify-content: center;
}

.letter {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
