html, body {
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
}

main {
    min-width: 100%;
    min-height: 100%;
}

.background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 2;
    opacity: 1;

    animation-delay: 1s;
    animation-name: fadeout;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode:forwards;
}

.background > img {
    width: 720px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    animation-delay: 1.2s;
    animation-name: posup;
    animation-duration: 1.8s;
    animation-iteration-count: 1;
    animation-fill-mode:forwards;
}

.copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: pre-line;
    font-family: "Noto Serif KR", serif;
    font-size: 2.2em;
    color: #f1f1f1;
    opacity: 0;

    animation-delay: 2.8s;
    animation-name: fadeinup;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode:forwards;
}

.link {
    width: 240px;
    height: 60px;
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;

    animation-delay: 4.2s;
    animation-name: fadeinupper;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode:forwards;
}

.link > a {
    display: flex;
    width: 100%;
    height: 100%;
    padding-bottom: 5px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.6em;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    transition: all 200ms ease;
}

.link > a:hover {
    font-weight: bold;
    color: #222;
    background-color: #f1f1f1;
    border-color: #aaa;
}

@keyframes fadeout {
    0% {
        background-color: #ffff;
    }

    100% {
        background-color: #fff0;
    }
}

@keyframes fadeout_ {
    0% {
        background-color: #ffff;
    }

    100% {
        background-color: #fff0;
    }
}    

@keyframes posup {
    0% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(-50%, -150%);
    }
}

@keyframes posup_ {
    0% {
        transform: translate(-50%, -50%);
    }

    100% {
        transform: translate(-50%, -200%);
    }
}

@keyframes fadeinup {
    0% {
        transform: translate(-50%, -20%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -30%);
        opacity: 1;
    }
}

@keyframes fadeinup_ {
    0% {
        transform: translate(-50%, -30%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -40%);
        opacity: 1;
    }
}

@keyframes fadeinupper {
    0% {
        transform: translate(-50%, -30%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
        z-index: 10;
    }
}

@keyframes fadeinupper_ {
    0% {
        transform: translate(-50%, -100%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -120%);
        opacity: 1;
        z-index: 10;
    }
}

@media all and (max-width: 767px) {
    .background {
        animation-name: fadeout_;
    }

    .background > img {
        width: 80%;
        animation-name: posup_;
    }    

    .copy {
        width: 90%;
        font-size: 1.2em;
        line-height: 1.7em;
        animation-name: fadeinup_;
    }   

    .link {
        animation-name: fadeinupper_;
    }
}

