@import url('https://fonts.upset.dev/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');


:root {
    --page-background-color: #eee;
    --text-color: #000;

    --aside-link-background: #dfeadd;
    --aside-link-text: #000;

    --main-background-color: rgba(241, 242, 250, 0.78);    

    --post-link-color: #573232;
}

html {
    background-image: url(/assets/kof99-stage-park3-animate.gif);
    background-color: var(--page-background-color);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


body,
html {
    color: var(--text-color);
    box-sizing: border-box;
    font-family: 'Karla', 'Courier New', Courier, monospace;
    font-size: 0.875rem;

}

main {
    display: flex;
    flex-direction: row;
    width: 50rem;
    margin: auto;
    height: 40rem;
    padding: 2rem;
    margin-top: 12vh;
    background-color: var(--main-background-color);

}

aside,
section {
    padding: 1rem;
}

aside {
    width: 20rem;
}

aside nav ul {
    list-style: none;
}

aside nav ul li {
    margin: 1rem;
    margin-left: -2rem;
    padding: 0;
    line-height: 1rem;
}

aside nav ul li a {
    background: var(--aside-link-background);
    color: var(--aside-link-text);
    padding: 0.25rem;
    text-decoration: none;
    display: block;
    text-align: center;
}

aside h1 {
    margin: 0;
}

hr {
    border: 0;
    border: 1px dashed #000;
}

section {
    width: 30rem;
    overflow: scroll;
}

figure.marquee {
    margin: 1rem auto;
    width: 90%;
    height: 4rem;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

figure.marquee figcaption {
    animation-duration: 10s ;
    animation-iteration-count: infinite ;
    animation-name: marquee-content ;
    animation-timing-function: linear ;
}

figure.marquee:hover figcaption {
    animation-play-state: paused;
}

details {
    margin: 1rem 0;
}

details summary {
    border-bottom: 1px solid var(--text-color);
}

@keyframes marquee-content {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

article a {
    color: var(--post-link-color);
}

article img {
    max-width: 100%;
}

iframe.guestbook {
    border: 0;
    height: 80vh;
    width: 100%;
    margin-top: -10vh;
}

img.floater {
    position: absolute;
    max-width: 20rem;
    bottom: 15vh;
    right: 22vw;
}


@media screen and (max-width: 60rem) {
  
    body,
    html {
      margin: auto;
    }
  
    main {
        margin: auto;
        padding: 0;
        flex-direction: column;
        max-width: 100%;
        height: auto;
    }

    aside,
    section {
        width: 100%;
        padding: 1rem 0;
        margin: 0 auto;
    }

    article {
        padding: 1rem;
    }

    aside {
        padding: 0.5rem;
    }

    aside nav {
        margin-left: -0.5rem;
    }
}

@media screen and (max-width: 90rem) {
  img.floater {
    display: none;
  }
}
