body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: ghostwhite;
    font-family: Mont, Verdana, Geneva, Tahoma, sans-serif;
}

@font-face {
    src: url("Mont.ttf");
    font-family: Mont;
}

.main {
    width: 60%;
    height: 600px;
    margin: auto;
    padding: 5px;
    text-align: center;
    margin-bottom: 200px;
}

.main h1 {
    font-size: 60px;
}

.big-c {
    font-size: 100px;
}
.bold-style {
    font-weight: bold;
}
.small-style {
    font-size: 10px;
    font-weight: bold;
    color: grey;
}

.can{
    width: 800px;
}

.spin {
    height: 220px;
    width: 33%;
    margin: auto;
}

.logo {
    width: 80%;
    margin: 30px auto;
}


/*
Rotating cube 
*/
.cube-wrapper {
    /* Set the size of the wrapper - adjusted to be smaller */
    width: 200px; /* Adjusted from 300px to 200px */
    height: 200px; /* Adjusted from 300px to 200px */
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cube Container - adjusted sizes */
.cube-wrapper .cube-container {
    height: 67px; /* Adjusted from 200px to approximately 67px */
    width: 67px; /* Adjusted from 200px to approximately 67px */
    perspective: 200px; /* Adjusted perspective for smaller cube */
    perspective-origin: 50% 50%;
    transition: .3s all ease;
}

/* Cube - no size adjustment needed here, it's relative to the container */
.cube-wrapper .cube {
    animation: spin 5s infinite linear;
    height: 100%;
    position: absolute;
    transition: .5s all ease-in-out;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(28deg);
    backface-visibility: visible;
    width: 100%;
}

.cube-wrapper .cube figure {
    box-sizing: border-box;
    margin: 0;
    display: block;
    height: 67px; /* Adjusted from 200px to approximately 67px */
    width: 67px; /* Adjusted from 200px to approximately 67px */
    position: absolute;
    font-size: 2em;
    line-height: 6em;
    text-align: center;
}

/* Cube Panels - no size adjustment needed, the transform is relative */
.cube-wrapper .cube .front {
    transform: translateZ(33.5px); /* Half of the new size */
    background: rgba(45, 45, 45, 0.5);
}

.cube-wrapper .cube .back {
    transform: rotateY(180deg) translateZ(33.5px);
    background: rgba(39, 39, 39, 0.6);
}

.cube-wrapper .cube .left {
    transform: rotateY(-90deg) translateZ(33.5px);
    background: rgba(25, 25, 25, 0.5);
}

.cube-wrapper .cube .right {
    transform: rotateY(90deg) translateZ(33.5px);
    background: rgba(35, 35, 35, 0.4);
}

.cube-wrapper .cube .top {
    transform: rotateX(90deg) translateZ(33.5px);
    background: rgba(31, 31, 31, 0.3);
}

.cube-wrapper .cube .bottom {
    transform: rotateX(-90deg) translateZ(33.5px);
    background: rgba(50, 50, 50, .5);
    opacity: .55;
}

/* Keyframes for Spin Animation */
@keyframes spin {
    from { transform: rotateX(0) rotateY(0); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

