body {
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', 'Fira Mono', 'Consolas', monospace;
    color: #ffe81f;
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
}

.starwars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, #222 0%, #000 100%);
}

.container {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.85);
    max-width: 500px;
    margin: 4rem auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    border-radius: 14px;
    box-shadow: 0 0 32px #ffe81f44;
    border: 2px solid #ffe81f;
}

.starwars-title {
    font-family: 'Orbitron', 'Arial Black', sans-serif;
    color: #ffe81f;
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 12px #ffe81f, 0 0 2px #fff;
    margin-bottom: 2rem;
}

label {
    color: #ffe81f;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1.2rem;
    border-radius: 6px;
    border: 1.5px solid #ffe81f;
    font-size: 1rem;
    background: #111;
    color: #ffe81f;
    resize: vertical;
}

button {
    width: 100%;
    background: #ffe81f;
    color: #111;
    border: none;
    padding: 0.7rem 0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 0 8px #ffe81f;
    letter-spacing: 2px;
}

button:hover {
    background: #111;
    color: #ffe81f;
    box-shadow: 0 0 16px #ffe81f;
}

.result {
    background: #222;
    color: #ffe81f;
    padding: 1rem;
    border-radius: 6px;
    word-break: break-all;
    margin-top: 1.5rem;
    border-left: 4px solid #ffe81f;
    box-shadow: 0 0 8px #ffe81f44;
    font-size: 1.1em;
}

.footer {
    text-align: center;
    color: #ffe81f;
    font-size: 1rem;
    margin-top: 2rem;
    opacity: 0.8;
}

.wall {
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/18515/PIA09959-1280x800_copy.jpg);
    background-size: cover;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background: #000;
    text-align: center;
}

body:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.scene {
    display: inline-block;
    vertical-align: middle;
    perspective: 5px;
    perspective-origin: 50% 50%;
    position: relative;
}

.wrap {
    position: absolute;
    width: 1000px;
    height: 1000px;
    left: -500px;
    top: -500px;
    transform-style: preserve-3d;
    animation: move 12s infinite linear;
    animation-fill-mode: forwards;

}

.wrap:nth-child(2) {
    animation: move 12s infinite linear;
    animation-delay: 6s;
}

.wall {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    animation: fade 12s infinite linear;
    animation-delay: 0;
}

.wrap:nth-child(2) .wall {
    animation-delay: 6s;
}

.wall-right {
    transform: rotateY(90deg) translateZ(500px);
}

.wall-left {
    transform: rotateY(-90deg) translateZ(500px);
}

.wall-top {
    transform: rotateX(90deg) translateZ(500px);
}

.wall-bottom {
    transform: rotateX(-90deg) translateZ(500px);
}

.wall-back {
    transform: rotateX(180deg) translateZ(500px);
}

@keyframes move {
    0% {
        transform: translateZ(-500px) rotate(0deg);
    }

    100% {
        transform: translateZ(500px) rotate(0deg);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}