html, body, div, section, ul, li, h1, h2, a, p, span, time, small, img, video, audio, input, label, details, summary {
    margin: 0;
    padding: 0;
    color: rgb(50, 30, 20);
    font-size: 14px;
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 700;
    text-align: justify;
    list-style: none;
}

a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

a::after, label::after {
    content: "";
    position: absolute;
    bottom: 2.5px;
    left: calc(50% - 5px);
    transform: scale(0, 1);
    transform-origin: right top;
    height: 5px;
    width: 10px;
    opacity: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, rgb(179, 145, 240), rgb(255, 169, 108));
    transition: transform 0.5s, opacity 0.5s;
}

a:hover::after, label:hover::after {
    transform: scale(1, 1);
    transform-origin: left top;
    opacity: 1;
}

img {
    width: 100%;
}

#lb {
    background-color: rgb(119, 225, 255);
}

#pk {
    background-color: rgb(254, 188, 233);
}

#gr {
    background-color: rgb(119, 255, 235);
}

#yl {
    background-color: rgb(255, 227, 119);
}

#pr {
    background-color: rgb(179, 145, 240);
}

#or {
    background-color: rgb(255, 169, 108);
}

#bl {
    background-color: rgb(127, 158, 247);
}

#rd {
    background-color: rgb(255, 161, 160);
}

/* header */

.check {
    display: none;
}

.logo {
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    width: 150px;
    margin: 10px;
    z-index: 20;
    border-radius: 10px;
    background-color: rgb(245, 245, 245);
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.75), 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.logo img {
    height: 50px;
    width: 50px;
}

.logo span {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translate(-50%, -50%);
}

.btn {
    position: fixed;
    top: 0;
    right: 0;
    height: 50px;
    width: 50px;
    margin: 10px;
    z-index: 20;
}

div.btn {
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.75), 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.btn span {
    position: absolute;
    display: inline-block;
    transition: all 0.5s;
}

.btn span:nth-of-type(1) {
    top: 30%;
    left: 20%;
    height: 2px;
    width: 30%;
    background-color: rgb(179, 145, 240);
}

.btn span:nth-of-type(2) {
    bottom: 30%;
    right: 20%;
    height: 2px;
    width: 30%;
    background-color: rgb(255, 169, 108);
}

#open:checked ~ .btn span:nth-of-type(1) {
    top: 60%;
    left: 10%;
    transform: rotate(90deg);
    width: 20%;
}

#open:checked ~ .btn span:nth-of-type(2) {
    bottom: 60%;
    right: 10%;
    transform: rotate(90deg);
    width: 20%;
}

.menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    margin: 10px;
    z-index: 10;
    opacity: 0;
    border-radius: 10px;
    background: rgb(245, 245, 245);
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.75), 5px 5px 5px rgba(0, 0, 0, 0.25);
    transition: all 0.5s;
}

.menu li {
    position: relative;
    margin: 10px 0;
    padding: 15px;
}

.menu li:nth-of-type(1) {
    margin-top: 0;
}

.menu li:nth-of-type(3) {
    margin-bottom: 0;
}

#open:checked ~ .menu {
    width: 150px;
    visibility: visible;
    opacity: 100%;
}

/* footer */

.navi {
    display: flex;
    position: fixed;
    bottom: 0;
    height: 50px;
    width: 150px;
    margin: 10px;
    z-index: 20;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.75), 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.navi li {
    position: relative;
    height: 50px;
    width: 50px;
}

.navi img {
    height: 30px;
    width: 30px;
    padding: 10px;
    object-fit: contain;
}

.copy {
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    z-index: 20;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.75), 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.copy small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
}

/* material */

.loading span {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 20;
    opacity: 0;
    background: linear-gradient(135deg, rgb(179, 145, 240), rgb(255, 169, 108));
    pointer-events: none;
    transition: all 0.75s ease;
}

.loading span::after {
    content: "";
    position: fixed;
    top: 0;
    height: calc(100% - 20px);
    width: calc(50% - 20px);
    margin: 10px;
    z-index: 20;
    opacity: 0;
    border-radius: 25px;
    background: rgb(235, 235, 235);
    box-shadow: inset -5px -5px 5px rgba(255, 255, 255, 0.75), inset 5px 5px 5px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: all 0.75s ease;
}

.loading span:nth-of-type(1), .loading span:nth-of-type(1)::after {
    left: -100%;
}

.loading span:nth-of-type(2), .loading span:nth-of-type(2)::after {
    right: -100%;
}

.fadeout span, .fadeout span::after {
    opacity: 1;
}

.fadeout span:nth-of-type(1), .fadeout span:nth-of-type(1)::after {
    left: 0;
}

.fadeout span:nth-of-type(2), .fadeout span:nth-of-type(2)::after {
    right:  0;
}

.loading span img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50vw;
    width: 50vw;
    max-width: 300px;
    max-height: 300px;
    z-index: 21;
    object-fit: contain;
}

.back {
    position: fixed;
    top: 0%;
    height: 100%;
    width: 100%;
    z-index: -10;
}

.back img {
    position: absolute;
    height: 50px;
    width: 50px;
    transform: translate(-50%, -50%);
    opacity: 0%;
    object-fit: cover;
}

@keyframes back {
    0% {
        top: 10%;
        opacity: 0%;
    }
    20%, 80% {
        opacity: 100%;
    }
    100% {
        top: 90%;
        opacity: 0%;
    }
}