/* I'm not gonna explain everything here */
body, html {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #ddd;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.scene {
    perspective: 1000px;
    width: 100%;
    height: 100vh;
    position: relative;
}
.container {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s;
}

/* Individual pages */
.page {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

/* Page 1 - Landing Page */
.page1 {
    background-color: #000;
    text-align: center;
}

/* Page 2 - Canva Presentation */
.page2 {
    transform: rotateY(180deg);
    background-color: #000;
}

/* Page 3 - More Info */
.page3 {
    transform: rotateY(90deg);
    background-color: #000;
}

.info-box {
    background-color: #111;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    text-align: center;
    font-size: 14px;
    width: 100%;
    height: 80%;
    margin-bottom: 20px;
}

.info-box p, h3 {
    margin-top: 0;
    padding-top: 0;
}

textarea {
    resize: none;
}

.info-box p {
    text-align: left;
    font-size: 0.9em;
}

textarea {
    width: 100%;
    height: 30%;
    background-color: #222;
    color: #0f0;
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-family: monospace;
}

#resultFrame {
    width: 100%;
    height: 35%;
    margin-top: 20px;
    border: 2px solid #444;
    border-radius: 8px;
}

#hiddenLink {
    display: none;
    margin-top: 20px;
}

h1, h2 {
    color: #f0f0f0;
    margin: 0;
    font-weight: 600;
}
p {
    color: #a0a0a0;
    font-size: 1.2em;
    text-align: center;
}

.nav-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}
.nav-buttons button {
    padding: 12px 25px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #444;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
.nav-buttons button:hover {
    background-color: #444;
    color: #fff;
}
.nav-buttons button:active {
    transform: scale(0.95);
}

/* Embedding Canva Presentation */
.canva-embed {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: 20px 0;
}

/* Responsivity just out of habit */
@media (max-width: 768px) {
    .nav-buttons {
        flex-direction: column;
        bottom: 50px;
    }
    .nav-buttons button {
        width: 100%;
    }
}
