html {
    position: relative;
    height: 100%;
    min-height: 100%;
}
body {
    background-image: url("my_candy_love_university.jpg");
    color: #3a3a3a;
    background-attachment: fixed;
    font: 14px "Stack Sans Text";
    text-align: justify;
}
::-webkit-scrollbar {
    display: none;
}
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
a {
    color: inherit;
    text-decoration: inherit;
}
p {
    margin: 0 0 20px 0;
    text-align: justify;
    line-height: 25px;
}
li {
    margin-bottom: 5px;
    list-style: disc;
    line-height: 25px;
}
table.otome-table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
    & p {
        margin: 15px 0;
    }
    & td,
    th {
        border: 1px solid #cecece;
        padding: 15px;
        height: 195px;
    }
    & td.image {
        width: 335px;
        font-size: 12px;
        text-align: left;
        line-height: 18px;
    }
}
table.otome-table p:first-of-type {
    margin-top: 0;
}
table.otome-table p:last-of-type {
    margin-bottom: 0;
}
sup {
    line-height: 0;
    font-size: 10px;
}

aside {
    margin: 15px 0;
    padding: 10px;
    background: linear-gradient(0deg, #d9e9f3 50%, #ffffff 100%);
    border: 2px solid #6cabd1;
    border-radius: 6px;
    box-sizing: border-box;
    position: relative;
    first-of-type {
        margin-top: 10px;
    }
    :before,
    &::after {
        border: 8px solid transparent;
        content: "";
        position: absolute;
        top: 100%;
        left: 30px;
    }
    &::before {
        border-top: 8px solid #6cabd1;
    }
    &::after {
        border-top: 8px solid #d9e9f3;
        margin-top: -3px;
    }
}
.aomine-daiki {
    padding: 1px 7px;
    background-color: #156cb9;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    border-radius: 5px;
    position: absolute;
    top: -11px;
    right: 10px;
    &::before {
        content: "Aomine Daiki";
    }
}
.black {
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(0deg, #e4e4e4 50%, #ffffff 100%);
    border: 2px solid #616161;
    border-radius: 6px;
}

p a,
li a,
#section a,
h3 a,
.coment a,
table.otome-table td a {
    color: #ef6793;
    &:hover {
        color: #cc144f;
        text-decoration: underline solid;
    }
}
#header {
    width: 900px;
    min-height: 150px;
    margin: auto;
    background: linear-gradient(to bottom, #ffffff00 25%, #ffffff);
    position: relative;
    & #title {
        font-size: 24px;
        font-weight: 600;
        position: absolute;
        top: 70px;
        left: 280px;
        &:hover {
            color: #31585c;
            text-decoration: 2px solid underline;
        }
    }
    & #link {
        font-size: 14px;
        font-weight: 700;
        color: #0e191a;
        text-transform: uppercase;
        position: absolute;
        bottom: 15px;
        left: 270px;
    }
    table tr td {
        padding: 5px 10px;
        cursor: pointer;
        &:hover {
            color: #31585c;
            text-decoration: 2px solid underline;
        }
    }
}
#header-logo {
    width: 250px;
    height: 80px;
    background-image: url("Site-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
#fanmade-wiki {
    width: 830px;
    min-height: 950px;
    margin: auto;
    padding: 25px 35px;
    background-color: #ffffff;
    position: relative;
}

table.information {
    width: 270px;
    height: fit-content;
    margin: 0 0 15px 25px;
    padding: 2px;
    background-color: #f5f5f5;
    font-size: 11px;
    text-align: left;
    border: 1px solid #c3c6c6;
    border-radius: 1.5em;
    vertical-align: top;
    float: right;
    position: relative;
}
#table-title {
    padding: 12px 9px;
    background: #f74869;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-radius: 1em;
}

.gallery {
    margin: auto;
    text-align: center;
    & img {
        width: 98%;
        border: 1px solid #c3c6c6;
    }
}
#navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.button {
    padding: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #686868;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    &:hover {
        color: #f74869;
    }
    &.active {
        color: #ee5989;
        border-bottom: 2px solid #ee5989;
    }
}

#section {
    padding: 9px 0 9px 9px;
    border-bottom: 1px solid #adc7fa;
    display: flex;
    flex-direction: row;
}
#iii {
    width: 90px;
    font-weight: 600;
}
.section-table {
    padding: 2px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-radius: 1.5em;
}
.section-table.i {
    background-color: #f74869;
    & a:hover {
        text-decoration: 1px solid underline;
    }
}
.section-table.ii {
    background-color: #f74869;
}
#Sweet-Amoris {
    width: 28px;
    height: 21px;
    background-image: url("sweet-amoris.png");
    position: absolute;
    top: -5px;
    right: -10px;
}
h1 {
    margin: 0;
    margin-bottom: 15px;
    font-size: 35px;
    font-weight: 300;
}
#sections {
    width: fit-content;
    border-bottom: 1px solid #f74869;
    margin-bottom: 20px;
}
#sections button {
    width: 166px;
    padding: 10px 0;
    background-color: #f74869;
    font: 600 15px "Stack Sans Text";
    color: #ffffff;
    border: 1px solid #e03d5b;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}
#sections button.i {
    background-color: #ffffff;
    font-weight: 800;
    color: #000000;
}
#sections button.ii {
    &:hover {
        text-decoration: 1px underline solid #e03d5b;
    }
}

h2 {
    width: 100%;
    margin: 35px 0 10px 0;
    padding-bottom: 5px;
    font-size: 24px;
    font-weight: 500;
    border-bottom: 1px solid #cecece;
}
h2.ii {
    width: 535px;
}
h3 {
    margin-top: 25px;
    font-size: 18px;
}
h4 {
    width: 95%;
    font-size: 13px;
    font-weight: 400;
    text-align: right;
}

#content {
    width: 300px;
    border: 1px solid #cecece;
    border-radius: 8px;
    #title {
        list-style: url("fanmade-menu.png") inside;
        margin: 0;
        font-weight: 600;
    }
}
#content-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
}
.content-show {
    padding: 10px;
    border-top: 1px solid #cecece;
    & button {
        width: 100%;
        padding: 5px 10px;
        background: none;
        border: none;
        font: 15px "Stack Sans Text";
        color: #3a3a3a;
        text-align: left;
        border-radius: 3px;
        cursor: pointer;
        &.ii {
            padding: 5px 10px 5px 20px;
        }
        & span {
            color: #898989;
            margin: 0 10px 0 0;
        }
        &:hover {
            background-color: #d9e9f3;
            color: #006cb0;
        }
    }
}

#hide-show {
    font-size: 12px;
    color: #ee5989;
    cursor: pointer;
    text-decoration: none;
    &:hover {
        color: #cd1751;
    }
    &::before {
        content: "[ ";
        color: #3a3a3a;
    }
    &::after {
        content: " ]";
        color: #3a3a3a;
    }
}

#quote {
    margin: auto;
    text-align: center;
    border: none;
}
#quote-left,
#quote-right {
    font-size: 45px;
    color: #EF6793;
    font-weight: bold;
}
#quote-left {
    vertical-align: top;
    padding: 0.3em em em em;
    &::before {
        content: "“";
    }
}
#quote-right {
    vertical-align: bottom;
    padding: 0;
    &::before {
        content: "”";
    }
}
#quote-center {
    padding: 1em 1em;
}

.other-links {
    width: 830px;
    margin: auto;
    padding: 15px 35px;
    background-color: #280033;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    line-height: 25px;
    & a {
        color: #ffc500;
        font-weight: 700;
    }
    & a:hover {
        color: #ffffff;
    }
    & span {
        margin: 0 10px;
        & span::before {
            content: "|";
        }
    }
}

.in-progress {
    width: 475px;
    margin: 20px auto 10px auto;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    border-right: 5px solid #40e0d0;
    border-left: 5px solid #40e0d0;
    border-radius: 15px;
    & img {
        width: 65px;
        height: 65px;
        margin: 3px 10px 0 7px;
    }
    & p {
        margin: 0;
    }
}

.scenario,
.piece {
    border: 1px solid #d3d3d3;
    overflow: hidden;
    & img,
    video {
        width: 100%;
        height: fit-content;
    }
    & img:hover {
        transform: scale(1.05);
        cursor: pointer;
    }
}

.scenario {
    width: 335px;
    height: 188px;
}

.gallery-section {
    width: 650px;
    margin: auto;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    &.i {
        width: 650px;
    }
    &.ii {
        width: 420px;
    }
}
.piece {
    width: 180px;
    height: fit-content;
}
.piece-footer {
    width: 180px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 12px;
    & p {
        margin: 5px 0 0 0;
        line-height: 18px;
        text-align: left;
    }
    &.i {
        float: left;
        margin-right: 15px;
        margin-bottom: 0;
    }
    &.ii {
        float: right;
        margin-left: 15px;
    }
}
.piece-zoom {
    width: 100%;
    height: 100%;
    padding: 100px 0 0 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
}
.piece-content {
    width: 440px;
    background: #ffffff;
    margin: auto;
    padding: 25px 25px 20px 25px;
    color: #3a3a3a;
    text-align: left;
    border: 1px solid #cecece;
    border-radius: 10px;
    position: relative;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    & .zoom {
        width: 442px;
        height: 442px;
        margin: 15px 0 10px 0;
        border: 1px solid #d3d3d3;
        object-fit: contain;
    }
    & .date {
        font-size: 15px;
        & a {
            padding: 2px 7px;
            background: #006cb0;
            color: #ffffff;
            font-weight: 600;
            border-radius: 10px;
        }
    }
    & p {
        margin: 0;
        font-size: 13px;
        line-height: 18px;
        text-align: justify;
    }
    & mark {
        padding: 2px 7px;
        background: #2e8b57;
        color: #ffffff;
        font-weight: 600;
        border-radius: 10px;
    }
}
.close {
    color: #3a3a3a;
    font: 600 30px "Stack Sans Text";
    position: absolute;
    top: 5px;
    right: 15px;
    cursor: pointer;
    &::before {
        content: "Ã—";
    }
}
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

.title {
    padding: 7px 0;
    margin: 20px auto;
    background: linear-gradient(90deg, #ffffff 0%, #6699ff 15%, #6699ff 85%, #ffffff 100%);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-align: center;
}