@font-face {
    font-family: spirit;
    src: url(assets/Spirit.ttf);
}

@font-face {
    font-family: font;
    src: url(assets/rainyhearts.ttf);
}

* {
    box-sizing: border-box;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

body {
    font-size: 15px;
    font-family: font;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #495bacff;
    background: url(assets/blueplaidpattern-2.webp)center center;
    background-size: contain;

}

.center {
    width: fit-content;
    margin: 0 auto;
}

a {
    color: #6480fcff;
}

a:hover {
    font-style: italic;
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.layer {
    width: fit-content;
    height: fit-content;
    border: 15px solid;
    border-top: 0;
    border-bottom: 0;
    border-image: url(assets/clouds.png) 50 fill round;
}

.container {
    background: white;
    background-clip: padding-box;
    height: 100vh;
    box-shadow: inset 0 0 0 1px #b6c2f8;
    width: 710px;
    padding: 15px;
    border: 39px solid;
    border-top: 0;
    border-bottom: 0;
    border-image: url(assets/frilly.png) 68 round;
    position: relative;
}

.container::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 70px;
    background: url(assets/bluediv2.webp)center center no-repeat;
    background-size: cover;
    -webkit-filter: drop-shadow(0 0 white) drop-shadow(0 0 white) drop-shadow(0 1px #495bac78);
    filter: drop-shadow(0 0 white) drop-shadow(0 0 white) drop-shadow(0 1px #495bac78);
    pointer-events: none;
}

.container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: url(assets/lacee.webp)center center no-repeat;
    background-size: 100%;
    -webkit-filter: drop-shadow(0 -1px #495bac78);
    filter: drop-shadow(0 -1px #495bac78);
    pointer-events: none;
}

.banner {
    width: 100%;
    height: 200px;
    background: url(assets/haruka.webp) top center;
    background-size: 80%;
    margin-bottom: 10px;
    box-shadow: inset 0 0 10px 5px white;
}

.maincontent {
    width: 605px;
    border: 8px solid;
    border-image: url(assets/frill2.png) 7 fill round;
    padding: 10px;
    padding-bottom: 28px;
    text-align: center;
    margin-top: 10px;
    height: calc(100vh - 310px);
}

.maincontent-contain {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}

.maincontent-contain img {
    max-width: 500px;
}

.navigate {
    padding: 2px 0;
    box-shadow: inset 0 0 0 2px white, 0 0 2px 1px #6480fc94;
    background: url(assets/bg2.webp) center center;
    position: relative;
    margin-top: 20px;
}

.navigate::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 90px;
    background: url(assets/bleu.webp)center center no-repeat;
    background-size: cover;
    -webkit-filter: drop-shadow(0 1px #495bac78);
    filter: drop-shadow(0 1px #495bac78);
    pointer-events: none;
}

.navigate ul {
    gap: 10px;
    justify-content: center;
}

.navigate li>a {
    border: 1px solid #495bac8a;
    display: block;
    text-align: center;
    background: linear-gradient(to bottom, white 40%, #d1ddfdc4 50%), white;
    box-shadow: inset 2px 2px white, inset -1px -1px #6480fc59, 0 0 0 1px white, 0 0 10px 0px #ffffff87;
    border-radius: 5px;
    padding: 5px;
    width: fit-content;
    text-shadow: 1px 0 white, 0 1px white, -1px 0 white, 0 -1px white;
}

.navigate li>a:active{
    box-shadow: inset 2px 2px #6480fc59, inset -1px -1px white, 0 0 0 1px white, 0 0 10px 0px #ffffff87;
}

.tags {
    gap: 5px;
    justify-content: center;
    margin-bottom: 1em;
    position: sticky;
    top: 0;
    background: white;
}

.btn {
    font-family: 'font';
    font-size: 1em;
    border: 1px solid #b6c2f8;
    border-radius: 3px;
    padding: 2px 6px;
    color: #494bac;
}

.btn.active {
    background: #b6c2f8;
    color: white;
}

.divider {
    height: 55px;
    background: url(assets/blew.webp) center center;
    background-size: 23%;
    -webkit-filter: drop-shadow(0 1px #495bac8f);
    filter: drop-shadow(0 1px #495bac8f);
}

.color {
    display: none;
}

.show {
    display: block;
}

.graphic {
    position: absolute;
    pointer-events: none;
}

#curtain {
    top: -15px;
    right: -190px;
}

#curtain2 {
    top: -15px;
    left: -190px;
    transform:scaleX(-1);
}