@font-face {
    font-family: Moyudan;
    src: url("./font/Moyudan.ttf");
}

@font-face {
    font-family: Jekteam;
    src: url(./font/Jekteam.ttf);
}

body {
    background-color: black;
}

h1 {
    font-family: Jekteam, Georgia, 'Times New Roman', Times, serif;
    font-size: 40pt;
    color: white;
}

h2 {
    font-family: Jekteam, Georgia, 'Times New Roman', Times, serif;
    font-size: 30pt;
    color: white;
}

p {
    font-family: Moyudan, Georgia, 'Times New Roman', Times, serif;
    font-size: 16pt;
    color: white;
}

.clown {
    display: flex;
    flex-direction: row;
    width: 850px;
    height: 300px;
}

.clown img {
    width: 100%;
    height: 100%;
}

.space {
    margin-top: 50px;
}

.column {
    float: left;
    width: 33.33%;
    padding-top: 25px;
    max-width: 300px;
}

.row:after {
    display: table;
    clear: both;
}

.center {
    margin: auto;
    width: 50%;
    color: white
}

.imageflex {
    display: flex;
    width: 980px;
}

.imageflexcontent {
    margin-left: 5px;
    margin-top: 0;
    color: white
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.curtain-container {
    width: 980px;
    height: 300px;
    position: relative;
}

.curtain-container>* {
    position: absolute;
    top: 0;
    left: 0;
}


.curtain-spritesheet {
    width: 980px;
    height: 300px;

    background-image: url("https://images2.imgbox.com/74/03/gOFpI0jM_o.png");
    background-repeat: no-repeat;
    background-position: 0 0;

    animation-name: play-gif;
    animation-duration: 0.375s;
    animation-timing-function: steps(9);
    animation-fill-mode: forwards;
    animation-iteration-count: 1;

    animation-play-state: paused;
}

.curtain-container:hover .curtain-spritesheet {
    animation-play-state: running;
}

@keyframes play-gif {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -8820px 0;
    }
}


.placeholder {
    width: 980px;
    height: 300px;
    background-image: url("https://clowncrossing.neocities.org/img/CURTAIN_PULL.png");
    background-repeat: no-repeat;
    background-position: 0 0;
    animation: remove-placeholder 0.001s steps(1) forwards;
    animation-iteration-count: 1;
    animation-play-state: paused;
}

.curtain-container:hover .placeholder {
    animation-play-state: running;
}

@keyframes remove-placeholder {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.about-button {
    all: unset;
    width: 300px;
    height: 150px;
    background-image: url(./img/ABOUT_static.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
}

.about-button:hover {
    background-image: url(./img/ABOUT_hover.png)
}

.about-button:active {
    background-image: url(./img/ABOUT_selected.png)
}

.home-button {
    all: unset;
    width: 300px;
    height: 150px;
    background-image: url(./img/HOME_static.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
}

.home-button:hover {
    background-image: url(./img/HOME_hover.png)
}

.home-button:active {
    background-image: url(./img/HOME_selected.png)
}

.art-button {
    all: unset;
    width: 300px;
    height: 150px;
    background-image: url(./img/ARTWORK_static.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
}

.art-button:hover {
    background-image: url(./img/ARTWORK_hover.png)
}

.art-button:active {
    background-image: url(./img/ARTWORK_selected.png)
}