body {
    font-family: "aktiv-grotesk", sans-serif;
    margin: 0;
    padding: 20px;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
}

.links-container {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
    z-index: 9999;
}

.home-link,
.page1-link,
.page2-link, 
.page3-link,
.page4-link {
    font-size: 18px;
    color: #202020;
    text-decoration: none;
    z-index: 9999;
}

.home-link:hover, 
.page1-link:hover, 
.page2-link:hover, 
.page3-link:hover,
.page4-link:hover {
    color: blue;
    z-index: 9999;
}

.flipbook-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(-30px);
    z-index: 1;
}

@keyframes enlargeEllipse {
    0% {
        width: 900px;
        height: 900px;
        border-radius: 50%;
    }
    100% {
        width: 1500px;
        height: 450px;
        border-radius: 50%;
    }
}

#flipbookImage {
    width: 900px;
    height: 900px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    animation: enlargeEllipse 6s ease-in-out forwards;
}

.manhole-text {
    font-size: 75px;
    font-family: "Lora", "lores-21-serif", sans-serif;
    color: whitesmoke;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeText 6s ease-in-out forwards;
    text-shadow: 
        0px 0px 5px rgba(255, 255, 255, 0.8),
        0px 0px 15px rgba(161, 161, 161, 0.6),
        0px 0px 30px rgba(37, 37, 37, 0.5); 
}

@keyframes fadeText {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.text-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.text-container.visible {
    display: block;
    opacity: 1;
}

.top-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    font-size: 10pt;
    color: #202020;
    margin: 0;
    line-height: 1.2;
}

.colophon {
    padding: 20px;
    margin: 20px auto;
    max-width: 450px;
    text-align: center;
    color: #575757;
    font-size: 12px;
}

.colophon .title {
    font-size: 14px;
    margin-bottom: 10px;
}

.colophon .line {
    font-size: 11px;
    margin: 5px 0;
}