body {
    margin: 0;
    /*background: linear-gradient(120deg, #0044cc, #015505);*/
    background-image: linear-gradient(to bottom, rgba(173, 216, 230, 0.4), rgba(240, 248, 255, 0.5)), url('/img/IceBox_Web3_Block_Chain_dApp_DApp_dapp_Dapp.webp');
    /*background: #000;*/
    /*background-image: linear-gradient(to bottom, rgba(0, 0, 150, 0.7), rgba(150, 0, 0, 0.9)), url('/img/IceBox_Web3_Block_Chain_dApp_DApp_dapp_Dapp.webp');*/
    background-attachment: fixed;
    background-size: cover;
    background-position: center;       
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    /*color: #fff;*/
    font-family: Arial, sans-serif;
}


.container {
    opacity: 0.7;
    perspective: 1000px;
    perspective-origin: 100% 100%;
    position: relative;
    z-index: 1; /* Set the cube to a lower z-index */
}

.cube {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotate 6s linear infinite;
    margin-bottom: 20px;
    z-index: 1; /* Ensure the cube stays behind */
}

.cube > div {
    position: absolute;
    opacity: 0.7;
    width: 200px;
    height: 200px;
    border: 1.5rem double #fff;
    background: linear-gradient(to right, #09adc8, #001f4e);
}

.s1 {
    transform: translateZ(100px);
    font-size: 48px;
    color: #fff;
    line-height: 4.5em;
}

.s2 {
    transform: rotateY(90deg) translateZ(100px);
    font-size: 48px;
    color: #fff;
    line-height: 4.5em;
}

.s3 {
    transform: rotateY(180deg) translateZ(100px);
    font-size: 48px;
    color: #fff;
    line-height: 4.5em;
}

.s4 {
    transform: rotateX(90deg) translateZ(100px);
    font-size: 48px;
    color: #fff;
    line-height: 4.5em;
}

.s5 {
    transform: rotateY(-90deg) translateZ(100px);
    font-size: 48px;
    color: #fff;
    line-height: 4.5em;
}

.s6 {
    transform: rotateX(-90deg) translateZ(100px) rotate(180deg);
    font-size: 48px;
    color: #fff;
    line-height: 4.5em;
}

@keyframes rotate {
    100% {
        transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg);
    }
}

.text-container {
    max-width: 600px;
    color: #fff;
    padding: 20px;
    position: relative;
    /*background: linear-gradient(120deg, #0044cc, #015505);*/
    z-index: 2; /* Bring text to the front */
}

 h1 {
    font-size: 1.8rem;
    margin-bottom: -120px;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.7);
}

.text-container p {
    margin-top: -20px;
    font-size: 17px;
    line-height: 1.8;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.7));
    color: #000;
    /*text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);*/
}

.text-container a.LearnMore {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffa500;
    color: #0044cc;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.text-container a.LearnMore:hover {
    transform: scale(1.1);
}

.text-container a.app {
    color: #000;
    text-decoration: none;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #001f4e;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
