* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #2c3e50;
    font-family: 'Arial', sans-serif;
}

.scene {
    perspective: 1200px;
}

.building {
    position: relative;
    width: 200px;
    height: 300px;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(30deg);
    animation: rotateBuilding 10s infinite linear;
}

.building-face {
    position: absolute;
    width: 200px;
    height: 300px;
    background-color: #44ff00;
    border: 2px solid #16a085;
}

.front {
    transform: translateZ(100px);
    background-color: #59ff00;
}

.back {
    transform: rotateY(180deg) translateZ(100px);
    background-color: #ff0000;
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
    background-color: #0059ff;
}

.right {
    transform: rotateY(90deg) translateZ(100px);
    background-color: #ff0000;
}

.top {
    transform: rotateX(90deg) translateZ(150px);
    background-color: #ff0000;
}

.bottom {
    transform: rotateX(-90deg) translateZ(150px);
    background-color: #ff0000;
}

.display {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 280px;
    background-color: #34495e;
    color: #ecf0f1;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

#display-text {
    font-size: 18px;
    text-align: center;
}
.calc{
    background-color: red;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}