:root {
    --green: #073336;
    --white: #fcc4bd;

    --tonedgreen: #253738;
}

* {
    padding: 0;
    scrollbar-color: var(--green) var(--white);
}

*::-webkit-scrollbar-track {
    background: var(--white);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--green);
}

.skip-to-content {
    position: absolute;
    transform: translateY(-100%);
    opacity: 0;
}

.skip-to-content:focus {
    transform: translateY(0%);
    opacity: 1;
}

hr {
    color: var(--green);
    margin: 0.5em;
    border-top: double var(--green);
}

body {
    min-height: 100vh;

    background: #faddda url(/image-files/backgrounds/bg3.png);
    background-attachment: fixed;
    color: var(--green);
    font-family: MS PGothic;
}

header {
    background: var(--green);
    color: var(--white);

    min-height: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    background: var(--green);
    color: var(--white);
    
    margin-top: 3vh;

    min-height: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

main {
    display: flex;
    gap: 20px;
    margin: 3vh 2vw 0 2vw;
    width: 1300px;
    margin: 2em auto 0 auto;
    z-index: 1;
    position: relative;
}

.leftside {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#navigation-box {
    max-height: 30em;
    min-height: 23em;
    min-width: 288px;
}

#nav-content {
    max-height: 33em;
    overflow: hidden scroll;
    padding: 0.6lh 2ch 0lh 2ch;
    margin-bottom: 0.9lh;
    display: flex;
    flex-direction: column;
    gap: 1lh;
}

.strikethrough {
    text-decoration: underline var(--green) .08em;
    text-underline-offset: -.25em;
    text-decoration-skip-ink: none;
}

li::marker {
    content: "♡︎ ";
    color: var(--green);
}

ol li::marker {
    content: initial;
}

a {
    position: relative;
    color: #073336;
    transition: color .3s ease-in-out;
    z-index: 0;
    &:after {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        width: 0;
        background-color: #073336;
        transition: width .3s ease-in-out;
        z-index: -1;
    }
    &:hover {
        color: white;
    }
    &:hover:after {
        width: 100%;
    }
}

#left-width {
    min-width: 280px;
    max-width: 280px;
}

.yumeoi-name {
    writing-mode: vertical-rl;
    margin-top: 0.8em;
    font: 1.2em MS PGothic;
}

.letter {
    text-combine-upright: all;
}

#to-do ol {
    padding: 0 1em 1em 1em;
}

#to-do div {
    height: min-content;
}

.empty-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 55px;
    min-width: 230px;
    max-width: 230px;
}

#panels {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
}

ul, ol {
    margin-left: 1em;
}

.header { 
    display: flex;
    justify-content: space-between;
}

.header span {
    background: linear-gradient(180deg,rgba(252, 196, 189, 0) 0%, rgba(252, 196, 189, 1) 50%);
    margin-left: 3ch;
    position: relative;
    bottom: 2px;
}

#content { 
    padding: 0.6lh 2ch 1lh 2ch;
    display: flex;
    flex-direction: column;
    gap: 1lh;
    max-height: 15lh;
    overflow-y: scroll;
    margin: auto 0.34em 0.55lh 0.34em;
}

.img-borders {
    border: 6px double var(--green);
}

.ocs {

    min-width: 100%;

    li::marker {
        content: "♡︎ ";
        color: var(--green);
    }

    li:nth-child(3n-1) {
        margin-bottom: 1em;
    }
    
}

.underlined-link {
    text-decoration: underline dashed var(--green);
}

@media only screen and (max-width: 1200px) {

    main {
        flex-direction: column;
        justify-content: initial;
        width: initial;
        margin: 2em 10px 0 10px;
    }

    footer {
        position: initial;
    }

    .leftside {
        display: flex;
        flex-direction: initial;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    #navigation-box {
        max-height: 25em;
        min-height: 25em;
        min-width: 288px;
    }

    #nav-content {
        max-height: 23em;
        overflow: hidden scroll;
        text-align: center;
        align-items: center;
    }

    li {
        list-style-position: outside;
    }

    .yumeoi-name {
        writing-mode: initial;
        text-align: center;
        margin-top: initial;
        margin-bottom: -2.5em;
    }

    .letter {
        text-combine-upright: none;
    }

    .empty-sec {
        align-self: center;
    }
    
    #content {
        max-height: 18lh;
    }

}

@media (prefers-reduced-motion: reduce) {
    a {
        transition: initial;
    }

}

@media (prefers-color-scheme: dark) {

* {
    padding: 0;
    scrollbar-color: var(--white) var(--tonedgreen);
}

*::-webkit-scrollbar-track {
    background: var(--tonedgreen);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--white);
}

.skip-to-content {
    position: absolute;
    transform: translateY(-100%);
    opacity: 0;
}

.skip-to-content:focus {
    transform: translateY(0%);
    opacity: 1;
}

.strikethrough {
    text-decoration: underline var(--white) .08em;
    text-underline-offset: -.25em;
    text-decoration-skip-ink: none;
}

hr {
    color: var(--white);
    border-top: double var(--white);
}

body {
    background: #353f40 url(/image-files/backgrounds/bg3.png);
    background-attachment: fixed;
    color: var(--white);
}

header {
    background: var(--white);
    color: var(--tonedgreen);
}

footer {
    background: var(--white);
    color: var(--tonedgreen);
}

li::marker {
    content: "♡︎ ";
    color: var(--white);
}

a {
    position: relative;
    color: #faddda;
    transition: color .3s ease-in-out;
    z-index: 0;
    &:after {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        width: 0;
        background-color: #faddda;
        transition: width .3s ease-in-out;
        z-index: -1;
    }
    &:hover, &:focus {
        color: black;
    }
    &:hover:after, &:focus:after {
        width: 100%;
    }
}

.header span {
    background: linear-gradient(180deg,rgba(30, 54, 56, 0) 0%, rgba(30, 54, 56, 1) 50%);
    margin-left: 3ch;
    position: relative;
    bottom: 2px;
}

.img-borders {
    border: 6px double var(--white);
}

.ocs {

    min-width: 100%;

    li::marker {
        content: "♡︎ ";
        color: var(--white);
    }

    li:nth-child(3n-1) {
        margin-bottom: 1em;
    }
    
}

.underlined-link {
    text-decoration: underline dashed var(--white);
}
    
}