html {
    overflow-x: hidden;
}

body {
    color: aliceblue;
    background-color: black;
    overflow-x: hidden;
    overflow-y: hidden;
}

header { 
    display: flex;
    justify-content: space-between;
}

header span{ 
    word-break: keep-all;
}

header MARQUEE {
    width: 60%;
    margin: 0 1rem 0 1rem;
}

header a {
    text-decoration: none;
    color: aliceblue;
    margin: 0;
}

header .right {
    float: right;
    white-space:nowrap;
}

nav {
    width: 100%;
    height: 8rem;
}

nav #home {
    border: none;
}

nav #home img {
    animation: rotate_image 60s ease-in-out infinite;transform-origin: 50% 50%;
    filter: drop-shadow(16px 16px 20px red) invert(75%);
}

@keyframes rotate_image{
    100% {
        transform: rotate(360deg);
    }
}

nav a {
    text-decoration: none;
    color: aliceblue;
    border: 4px rgba(162, 70, 255, 0.562) double;
    float: left;
    margin: 2px;
}

section {
    background: url(../img/Momiji_flow.png);
    width: 100%;
}

section h1{
    text-align: center;
}

section h2{
    text-align: center;
    font-size: medium;
}

section #pic_main {
    text-align: center;
    margin-bottom: 6rem;
    margin: 0 auto 6rem;
}

section #frame_main {
    width: 70%;
    margin: 0 auto;
    padding: 3rem 0 3rem 0;
    border-top: 4px double rgba(162, 70, 255);
    border-bottom: 1px solid rgba(162, 70, 255);
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, black 60%, black 80%);
}

section #frame_main img{
    max-width: 100%;
    max-height: 480px;
}

section figcaption{
    font-size: x-small;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    display: inline;
}


section .frame {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 3rem 0 3rem 0;
    border-top: 1px solid rgba(162, 70, 255);
    border-bottom: 1px solid rgba(162, 70, 255);
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, black 60%, black 80%);
}

section .container {
    margin: 0 4vh 0 4vh;
    text-align: center;
}

section .container .pic{
    display: inline-block;
    margin: 0 8px 6rem 8px;
    text-align: center;
}

section .container img{
    width: 70%;
}

section a {
    text-decoration: none;
    color: white;
}
