@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Roboto', sans-serif; 
}

.loading-container {
    perspective: 600px; 
    text-align: center;
}

.cube {
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate 4s infinite linear; 
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); 
}

.face {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: white;
    border: 1px solid white;
    opacity: 0.9;
    border-radius: 5px; 
}

.front  { transform: translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.right  { transform: rotateY(90deg) translateZ(50px); }
.top    { transform: rotateX(90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

.text {
    color: white;
    margin-top: 20px; 
    font-size: 18px; 
    font-weight: 400; 
}

@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}
