body {
    margin: 0;
    overflow: hidden;

    width: 100%;
    height: 100vh;

    text-align: center;

    /*
    background: url('images/bg.png') no-repeat center center fixed;
    background-size: cover; 
    */
}

canvas {
    display: block;

    position: absolute;
    top: 0;
    left: 0;

    z-index: -1;

    width: 100%;
    height: 100%;
}

#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loader img {
    width: 100px;
    height: 100px;
}

#main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 1;
}

#main-content.hidden {
    display: none;
}

.cube-container {
    perspective: 1000px;
}

.cube {
    position: relative;
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(-15deg);
    transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 5px solid rgba(59, 68, 75, 1);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    user-select: none; /* Prevent text selection */
}

.face-inner {
    margin: 0; 
    padding: 0;

    width: 100%; 
    height: 100%; 

    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

.face.front { transform: translateZ(100px); background: rgba(59, 68, 75, 1); }
.face.back { transform: rotateY(180deg) translateZ(100px); background: rgba(28, 37, 60, 1); }
.face.left { transform: rotateY(-90deg) translateZ(100px); background: rgba(31, 62, 90, 1); }
.face.right { transform: rotateY(90deg) translateZ(100px); background: rgba(20, 80, 81, 1); }
.face.top { transform: rotateX(90deg) translateZ(100px); background: rgba(40, 28, 60, 1); }
.face.bottom { transform: rotateX(-90deg) translateZ(100px); background: rgba(60, 28, 49, 1); }

a {
    text-decoration: none;
    color: white;
}

.thumbnail {
    width: 75px;
    height: 75px;
    
    margin: 10px;
    
    display: flex;
    justify-content: center;
    align-items: center;

    color: white;

    filter: invert(1);
}