:root{
    --accentColor: rgb(36, 147, 110);
}
::selection{
    background: var(--accentColor);
    color: #eee;
}
body{
    margin: inherit;
    font-family: "Noto Sans JP", sans-serif;
}
h1{
    text-align: center;
}
footer{
    font-size: small;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}
footer a:any-link{
    color: var(--accentColor);
}
#viewer{
    /*width: 100vw;*/
    display: flex;
    flex-direction: column;
    align-items: center;
}
article{
    width: clamp(200px, 80vw, 800px);
    display: grid;
    grid-template-columns: 150px 1fr;
    /*border: solid var(--accentColor) 3px;*/
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin: 0.5em;
    padding: 1em;
    transition: .3s;
}
/*article:hover{
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    transform: translate(0, -6px);
}*/
article h2 {
    display: flex;
    align-items: center;
    /*cursor: pointer;*/
    font-size: 2rem;
    margin: 0 10px 0 0;
}
/*article h2:hover span{
    opacity: 0.8;
}
article h2 span {
    color: #333;
    opacity: 0;
    transition: .3s;
}*/
article p{
    width: clamp(200px, 80vw, 800px);
    word-wrap: break-word;
}
article > :first-child{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
article > :first-child div {
    display: flex;
    align-items: flex-end;
}
article > :nth-child(2){
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
}
article > :nth-child(2) span{
    margin: 0 0.5rem;
}
article  > :nth-child(2) span b {
    font-size: larger;
}
article img{
    grid-column-start: 1;
    grid-column-end: 3;
    width: 100%;
    border-radius: 6px;
}
.button{
    position: fixed;
    bottom: 20px;
    right: 50px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--accentColor);
    border-radius: 40px;
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    transition-duration: .3s;
    box-shadow: 0 0 6px -2px #333;
}
.button:hover{
    width:110px;
}
.button:hover :nth-child(2){
    opacity: 1;
}
.button:active{
    transform: translate(2px ,2px);
}
.button :nth-child(1){
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
}
.button :nth-child(2){
    opacity: 0;
    transition-duration: .3s;
}
#loadingWrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    transition: opacity 1s;
    cursor: wait;
    z-index: 300;
}
.animation{
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(clamp(20px, 10vw, 80px) + 20px);
    height: calc(clamp(20px, 10vw, 80px) + 20px);
}
.animation div{
    width: clamp(20px, 10vw, 80px);
    height: clamp(20px, 10vw, 80px);
    border-radius: 50%;
    position: absolute;
}
.animation :first-child{
    border: solid 10px #eee;
}
.animation :nth-child(2){
    border: #333 solid 10px;
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 20%);
    animation: loadership_VZVLD_spin 1.2s infinite;
    animation-timing-function: linear;
}
.page{
    display: flex;
    justify-content: center;
}
ul{
    padding: initial;
    list-style: none;
    display: flex;
}
.page ul{
    background: #eee;
    border-radius: 30px;
}
.page li{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition-duration: .3s;
    cursor: pointer;
}
.page li:not(.here){
    color: var(--accentColor);
}
.page li:hover, .here{
    background: var(--accentColor);
    color: #eee;
}
.page ul li:hover .edge{
    border-color: #eee;
}
.page ul li:has(.edge){
    border-radius: 30px 0px 0px 30px;
}
#next{
    border-radius: 0px 30px 30px 0px;
}
.edge{
    width: 8px;
    height: 8px;
    border-top: solid 2px var(--accentColor);
    border-left: solid 2px var(--accentColor);
    transform: rotate(-45deg);
}
#next .edge{
    transform: rotate(135deg);
}

#menu{
    display: none;
}
.hamburgerWrapper{
    position: fixed;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 200;
}
.hamburger, .hamburger::after, .hamburger::before{
    width: 30px;
    height: 4px;
    background: var(--accentColor);
}
.hamburger{
    position: relative;
    transition: background .1s .3s ease;
}
.hamburger::after, .hamburger::before{
    content: '';
    position: absolute;
    transition: top .3s .3s ease, transform .3s ease, background .6s ease;
}
.hamburger::before{
    top: -8px;
}
.hamburger::after{
    top: 8px;
}
#menu:checked ~ .hamburgerWrapper .hamburger{
    background: transparent;
}
#menu:checked ~ .hamburgerWrapper .hamburger::before, #menu:checked ~ .hamburgerWrapper .hamburger::after{
    transition: top .3s ease, transform .3s .3s ease;
    background: #eee;
    top: 0;
}
#menu:checked ~ .hamburgerWrapper .hamburger::before{
    transform: rotate(45deg);
}
#menu:checked ~ .hamburgerWrapper .hamburger::after{
    transform: rotate(-45deg);
}
#menu:checked ~ .menu{
    left: 0;
}
.menu{
    position: fixed;
    background: var(--accentColor);
    color: #eee;
    top: 0;
    left: -100vw;
    width: calc(100vw - 40px);
    height: calc(100dvh - 70px);
    padding: 70px 20px 0 20px;
    z-index: 180;
    transition: left .6s ease;
}
.menu ul{
    flex-direction: column;
    padding: initial;
    list-style: none;
}
.menu a{
    color: #eee;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: #eee solid 4px;
    transition-duration: .3s;
}
.menu a:hover{
    background: #eee;
    color: var(--accentColor);
}
.comingSoon a::after{
    margin-left: 10px;
    content: 'coming soon';
    color: #ddd;
    transition: color .3s ease;
}
.comingSoon a:hover::after{
    color: #999;
}
#bigWrapper{
    /*display: flex;*/
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(3px) brightness(0.5);
    -webkit-backdrop-filter: blur(3px) brightness(0.5);
    position: fixed;
    top: 0;
    left: 0;
    transition: opacity 1s;
    z-index: 300;
}
.frame{
    max-width: 90vw;
    max-height: 90vh;
    padding: 10px;
    background: #fff;
}
#bigImg{
    width: 100%;
    height: 100%;
}
@keyframes loadership_VZVLD_spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
