body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    background-image: url("mike-petrucci-c9FQyqIECds-unsplash.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 80px;
}

.page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#startSide {
    justify-content: center;
}

#startBtn {
    background-color: lightgreen;
    box-shadow: inset 0 0 10px green;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    cursor: pointer;
}

#storySide {
    background: transparent;
}

.topBar {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

#storyText {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border: 1px solid #999;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 3rem;
    text-align: left;
    line-height: 1.5;
    text-align: center;
}

nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    border-top: 1px solid #ccc;
}

button, a {
    padding: 0.6rem 1.2rem;
    border: 1px solid #777;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    text-decoration: none;
    color: #000;
}

button:hover, a:hover {
    background: #eee;
}

#pauseOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.pauseBox {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

* {
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

.pauseNav {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

@media (max-width: 600px) {

    nav {
        padding: 0.8rem 1rem;
    }

    button, a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    #storyText {
        margin-top: 2rem;
        padding: 1rem;
    }
}