@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Creepster&family=Orbitron:wght@400&family=Press+Start+2P&family=UnifrakturCook:wght@700&family=Monoton&display=swap');

/* Full-Screen Loader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}


.container-web-team{
    display: flex;
    justify-content: center;
    align-items: center;
}


.loader {
    display: flex;
    gap: 10px;
    font-size: 50px;
    font-weight: bold;
    color: white;
}


.loader span:nth-child(1) { animation: changeStyle 2.5s infinite alternate ease-in-out; }
.loader span:nth-child(2) { animation: changeStyle 3.1s infinite alternate ease-in-out; }
.loader span:nth-child(3) { animation: changeStyle 2.8s infinite alternate ease-in-out; }
.loader span:nth-child(4) { animation: changeStyle 3.5s infinite alternate ease-in-out; }
.loader span:nth-child(5) { animation: changeStyle 3.2s infinite alternate ease-in-out; }
.loader span:nth-child(6) { animation: changeStyle 2.7s infinite alternate ease-in-out; }
.loader span:nth-child(7) { animation: changeStyle 3.8s infinite alternate ease-in-out; }
.loader span:nth-child(8) { animation: changeStyle 3.3s infinite alternate ease-in-out; }

@keyframes changeStyle {
    0% { font-family: 'Black Ops One', sans-serif; color: #ffffff; transform: rotate(0deg) scale(1.1); opacity: 1; }
    20% { font-family: 'Creepster', cursive; color: #bbbbbb; transform: rotate(-10deg) scale(1); opacity: 0.8; }
    40% { font-family: 'Orbitron', sans-serif; color: #888888; transform: rotate(10deg) scale(1.2); opacity: 1; }
    60% { font-family: 'Press Start 2P', sans-serif; color: #dddddd; transform: rotate(-5deg) scale(0.9); opacity: 0.7; }
    80% { font-family: 'Monoton', cursive; color: #ffffff; transform: rotate(3deg) scale(1.1); opacity: 1; }
    100% { font-family: 'UnifrakturCook', sans-serif; color: #eeeeee; transform: rotate(0deg) scale(1); opacity: 1; }
}
@media screen and (max-width: 768px) {
    .loader {
        font-size: 30px;
        flex-wrap: wrap;
        text-align: center;
    }

    .loader span {
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {
    .loader {
        font-size: 20px;
    }
}