/*unifrakturmaguntia, bokor, amarante, mea culpa, manufacturing consent, lunasima*/

#cloud-box{
    color: var(--red);
    background-color: var(--teal);
    border: 3px solid var(--true-black);
    border-radius: 0 0 20px 20px;
    position: fixed;
    top: -80px;
    left: 10px;
    padding: 0.5em;
    display: flex; 
    flex-direction: column;
    gap: 0.3em;
    transition: all 0.5s;
    opacity: 0.6;
    cursor: pointer;
}
#cloud-box:hover{
    top: -5px;
    opacity: 0.9;
}
#cloud-box button{
    background-color: transparent;
    cursor: pointer;
}
fore-ground {
    width: 100vw;
    pointer-events: none;
}
.cloud {
    opacity: 0.7;
    position: fixed;
    z-index: 100;
    display: block;
    box-shadow: 0 0 11px 2px white;
    pointer-events: none;
}
#cloud1 {
    right: -30px;
    top: -30px;
    width: 70%;
    height: 25%;
    max-width: 710px;
    animation: floating 3s linear infinite;
    transition: all 0.8s;
}
#cloud2 {
    left: -30px;
    bottom: -30px;
    width: 60%;
    height: 20%;
    max-width: 650px;
    animation: floating 3.5s ease-in infinite;
    transition: all 1s;
}
@keyframes floating {
    0%{
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 5px);
    }
    100%{
        transform: translate(0, -0);
    }
}


body {
    overflow-y: hidden;
}
#loadingScreen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    user-select: none;
    transition: opacity 300ms;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-family: bokor;
}
#loadingScreen::after {
    content: "";
    animation: loadingDots 2s linear infinite;
}
@keyframes loadingDots {
    0%,
    100% {
        content: "";
    }
    25% {
        content: ".";
    }
    50% {
        content: "..";
    }
    75% {
        content: "...";
    }
}

#modal {
    display: block;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation-name: fadein;
    animation-duration: 2s;
}
@keyframes fadein {
    from {
        background-color: rgba(0, 0, 0, 1);
    }
    to {
        background-color: rgba(0, 0, 0, 0.7);
    }
}
@-webkit-keyframes fadein {
    from {
        background-color: rgba(0, 0, 0, 1);
    }
    to {
        background-color: rgba(0, 0, 0, 0.7);
    }
}
@-webkit-keyframes animatetop {
    from {
        left: -300px;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}
@keyframes animatetop {
    from {
        left: -300px;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}
.modal-content {
    color: var(--true-black);
    position: relative;
    background-color: #601523;
    background-image: linear-gradient(transparent, #bea4a4);
    margin: 14vh auto;
    outline: 3px dotted #ab3d6d;
    outline-offset: -12px;
    width: 82vh;
    height: 82vh;
    border-radius: 50%;
    padding: 58px;
    box-shadow: 0 4px 16px 5px black;
    animation-name: animatetop;
    animation-duration: 0.4s;
}
.modal-content h1{
    font-family: mea culpa; 
    font-size: 90px; 
    margin: 0.2em;
    margin-bottom: 0;
}
.modal-content p{
    font-family: amarante; 
    font-size: 20px;
    margin-top: -10px;
    text-decoration: underline;
}
#text {
    margin-left: 2vh;
    margin-right: auto;
    overflow: auto;
    color: var(--true-white);
    background-color: var(--purple);
    border-radius: 15px;
    box-shadow: inset 0 0 50px 8px #2d0626;
    width: 50vh;
    height: 30vh;
    padding-bottom: 4vh;
}
.modal-content li {
    line-height: 1.6;
    margin: 0.6em;
}
li::marker {
    content: " – ";
    font-weight: bolder;
}
#image{
    position: absolute;
    float: right;
    top: -2vh;
    right: -60px;
    width: 35vh;
    height: 87vh;
    pointer-events: none;
    box-shadow: 7px 11px 15px 0 black;
}
#closeBtn{
    display: block;
    background-color: black;
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 10px;
    margin: 25px auto;
    padding: 13px 34px;
    font-size: 20px;
    font-family: amarante;
    transition: all 0.5s;
}
#closeBtn:hover {
    cursor: pointer;
    background-color: var(--red);
    color: var(--white);

}
#modal.hide {
    animation-name: fadeout;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        display: none;
    }
}
@-webkit-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        display: none;
    }
}

a:link {
    color: var(--red);
    transition: all 0.3s ease;
}
a:visited {
    color: var(--green);
}
a:hover {
    font-style: italic;
    color: var(--pink);
}
a:active {
    font-weight: bold;
}
::selection {
    background-color: rgba(205, 51, 103, 0.5);
    color: var(--true-white);
}

* {
    overflow-wrap: break-word;
    box-sizing: border-box;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar:hover {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-purple);
}
::-webkit-scrollbar-thumb {
    background-color: var(--purple);
    border-radius: 10px;
    border: 2px solid var(--light-purple);
}

html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--white);
    color: var(--black);
    background-size: cover;
    font-family: Lunasima, sans-serif;
    font-size: 14px;
    line-height: 1.3;
}
body,
body:has(#light:checked) {
    --white: #c4bebe;
    --grey: #5d5252;
    --black: #0f040a;
    --light-purple: #7f576a;
    --purple: #5c2133;
    --red: #702033;
    --green: #4f5045;
    --teal: #416370;
    --pink: #c18a8a;
}
body:has(#dark:checked) {
    --white: #250e1b;
    --true-white: #b7a8a8;
    --grey: #5d5252;
    --black: #d3c6c6;
    --true-black: #041114;
    --light-purple: #7f576a;
    --purple: #400f27;
    --green: #656751;
    --teal: #7ba3b2;
    --pink: #c18a8a;
}

hr {
    border: 2px dashed var(--light-purple);
    margin: 0 1.5em;
}

.container {
    width: 90vw;
    max-width: 1000px;
    border: 8px double var(--black);
    border-radius: 15px;
    margin: 6vw auto;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: column;
    height: 325px;
    background-color: #d8d0cb;
}
#titles {
    margin-top: auto;
    display: flex;
    place-content: space-around;
    align-items: center;
    padding: 0.6em;
    border: 4px double var(--teal);
    border-left: none;
    border-right: none;
}
#titles h1 {
    color: var(--red);
    margin: 0;
    font-family: UnifrakturMaguntia;
}
header a {
    margin: 0.2em;
    font-weight: bold;
    font-family: monospace;
}
input {
    appearance: none;
    border: 7px solid black;
    margin-bottom: -2px;
    border-radius: 50%;
    transition: all 1s;
}
input:checked {
    border: 7px solid teal;
}
label {
    color: var(--purple);
    font-size: 18px;
}
label:has(input:checked) {
    color: var(--red);
    transition: all 0.5s ease;
    text-decoration: underline;
    font-style: italic;
    text-shadow: 1px 1px 3px 0 white;
}

#banner {
    display: flex;
    place-content: space-between;
    border-bottom: 2px solid var(--teal);
    padding: 0 5vw;
}
#bubbles {
    display: flex;
    gap: 2.1em;
}
#bubbles p {
    font-size: 21px;
    padding: 3px 4px 0;
    text-align: center;
    color: antiquewhite;
    margin: -9px;
    background-color: var(--true-black);
    border: 8px solid var(--true-black);
    border-radius: 50%;
}
#lace {
    z-index: 2;
    height: 75px;
    margin-bottom: -40px;
    background: url("lace1.png") repeat-x cover;
}

#wrap {
    background-color: var(--true-black);
    padding: 0.5em;
    display: grid;
    grid-template-areas: "side-a middle side-b";
    grid-template-rows: minmax(650px, 750px);
}
side-a,
side-b {
    background-color: var(--true-white);
    border: 4px double var(--grey);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.6em;
    margin: 0.6em 0.3em;
    width: 200px;
    font-size: 15px;
}
side-a {
    grid-area: side-a;
}

.side {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.link a {
    background-color: var(--true-black);
    color: var(--light-purple);
}
.gauche {
    width: fit-content;
    padding: 0.1em 2em 0.2em 0.7em;
    border-radius: 0 10px 10px 0;
}
.droit {
    align-self: flex-end;
    padding: 0.1em 0.7em 0.2em 2em;
    border-radius: 10px 0 0 10px;
}
.word {
    margin-top: 1em;
    background-color: var(--true-black);
    color: var(--true-white);
    font-family: amarante;
    letter-spacing: 0.5px;
    padding: 0.5em;
}
.box {
    text-align: center;
    margin: 0;
}
.thintext {
    font-size: x-small;
    font-style: italic;
    margin: 0.3em;
}
.prettybox {
    background-image: url("/Images/pretty-box.png") cover;
    margin: 0.5em 1em;
    border-style: solid;
  border-width: 12px;
  border-image: url("/Images/borderblack4.png") 13 fill round;
}

side-b {
    grid-area: side-b;
}
.lineB {
    width: fit-content;
    padding: 0.1em 2em 0.2em 0.7em;
    border-radius: 0 10px 10px 0;
}
.button {
    background-color: var(--purple);
    outline: 2px dashed black;
}
button-box {
    overflow: auto;
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    place-content: center;
    /*Border image!!*/
}
button-box img {
border-style: solid;
  border-width: 12px;
  border-image: url("https://cheenbiskits.neocities.org/Images/borderblack4.png") 6 fill round;

    width: 88px;
    height: 31px;
    image-rendering: pixelated;
}
button-box a {
    border-radius: 5px;
    padding: 5px;
}
side-b details {
    color: var(--true-black);
    width: 100%;
    margin: 0.5em;
    padding: 0.3em;
    background-color: var(--light-purple);
}


#middle {
    padding: 1.8em 0.2em ;
    overflow: auto;
}
.divvies {
    display: flex;
    place-content: center;
    padding: 0.7em;
    gap: 1em;
}
.divvies img {
    display: block;
    width: 50px;
    height: 55px;
}

#welcome {
    border-image: url('borderpurple2.png') 315 fill round;
    border: 20px solid transparent;

    
    grid-area: welcome;
    margin: 0.6em;
    padding: 0.5em;
}
#welcome img {
    width: 85px;
    height: 110px;
    margin-right: 0.5em;
}
#welcome .box-wrap {
    overflow: auto;
    max-height: 325px;
}
#hearts {
    display: flex;
    font-size: 40px;
    place-content: center;
    color: var(--black);
}
#hearts p {
    margin: -24px 0.5vw;
}

#icons {
    border-image: url(borderblack1.png) 13 round fill;
    background-color: var(--purple);
    padding: 0.5em;
    margin: 0.6em;
    color: var(--true-white);
    grid-area: icons;
}
#icons span {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--black);
    place-content: center;
    gap: 0.3em;
    padding: 2vw;
    border-radius: 10px;
}
#icons span img {
    width: 80px;
    height: 80px;
    border: 3px solid var(--red);
    border-radius: 12px;
}
#icons span img:hover {
    transform: scale(1.1);
    transition: all 0.3s;
}

#about {
    margin: 0.8em;
    background-image: url("/Images/border12.png");
}
#about .box-wrap {
    padding: 1em 0.5em;
    max-height: 250px;
    overflow: auto;
}
#about p::before {
    content: "• ";
}
#about h3 {
    margin: 0;
    padding: 0.6em 1em;
    background-color: #0f040a;
    color: var(--light-purple);
}
h3,
h4,
label {
    font-family: Amarante;
    letter-spacing: 0.5px;
}
#about img {
    float: left;
    width: 100px;
    height: 115px;
    margin: 0.5em 0.5em 0.3em;
}

#shrines {
    margin: 0.5em;
    padding: 0.4em;
    color: var(--purple);
    /*border!!!*/
}

.divvie {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.8em 1.5em;
    gap: 0.5em;
    color: pink;
}
.divvie div {
    border: 2px dashed var(--pink);
    display: inline-block;
    width: 100%;
}
.divvie p {
    font-size: 35px;
    margin: 0;
    display: inline;
}

#line-1,
#line-2 {
    display: flex;
    margin: 0.5em;
}

#line-1 {
    margin-right: 0;
    height: 480px;
    gap: 0.8em;
}
sudoku-box {
    border: 3px solid var(--true-white);
    outline: 2px solid var(--light-purple);
    outline-offset: -10px;
    border-radius: 16px;
    padding: 1em;
    padding-bottom: 1.5em;
    background-color: var(--purple);
    display: flex;
    flex-direction: column;
    place-items: center;
    transition: all 0.3s;
    box-shadow: -1px 3px 4px 0 black;
}
sudoku-box:hover {
    transform: scale(1.05);
}
#sudoku {
    color: #844b4b;
    background-color: #e8ede1;
    box-shadow: -1px 2px 8px 2px var(--black);
}

#ad {
    display: flex;
    flex-direction: column;
}
#ad-spot {
    /*border!!!*/
    color: black;
    margin: 1em auto;
    outline: 10px dotted black;
    outline-offset: -13px;
    border: 7px solid black;
    border-radius: 12px;
    box-shadow: 2px 3px 5px 2px var(--purple);
    width: 40vw;
    height: 30vw;
    min-width: 340px;
    min-height: 250px;
    padding: 1em 3.5vw;
    font-family: mea culpa;
    font-size: large;
    background-color: var(--pink);
}
#ad-spot h1 {
    margin: 0.2em -12px;
}
#ad-spot p {
    margin: 0;
    font-family: bokor;
}
#devise {
    border: 4px double var(--teal);
    border-right: none;
    outline: 2px dashed teal;
    outline-offset: -8px;
    border-radius: 50px 0 0 50px;
    padding: 0 1em 0 1.5em;
    margin: 1em;
    margin-right: 0;
    float: right;
    background-image: linear-gradient(to left, black, var(--teal));
    color: floralwhite;
    font-family: amarante;
    letter-spacing: 0.2px;
    box-shadow: 4px 3px 10px 0 var(--true-black);
}
#stamps {
    background-color: var(--true-black);
    border: 2px solid var(--teal);
    border-radius: 10px;
    display: flex;
    gap: 0.3em;
    flex-wrap: wrap;
    overflow: auto;
    margin: 1em;
    padding: 0.5em;
    /*border!!!*/
    max-height: 20%;
    justify-content: center;
}
.stamp {
    width: 99px;
    height: 56px;
    image-rendering: pixelated;
}
.pixel {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
}

.little-stamp {
    border: 3px solid var(--light-purple);
    border-radius: 10px;
    outline: 2px dashed var(--pink);
    outline-offset: -10px;
    width: 100%;
    background-color: #c8b2b2;
}
#abyss {
    grid-area: abyss;
    min-width: 300px;
    padding: 2em 3em;
    background-color: black;
    margin: 2.5em;
    box-shadow: 0 0 12px 15px black;
    border-radius: 12px;
    color: var(--light-purple);
    font-family: amarante;
    text-align: center;
    border: 1px dotted var(--grey);
}

#first {
    grid-area: first;
}
#second {
    grid-area: second;
}
.marquee {
    opacity: 0.6;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    box-sizing: unset;
    width: 95%;
    gap: 0.5em;
    margin: auto;
    border: 2px solid black;
    transition: all 0.5s;
}
.marquee:hover {
    opacity: 1;
}
.marquee-items {
    display: flex;
    flex-shrink: 0;
    height: 100%; /* This line is extremely important to prevent bugs on some browsers such as FireFox */
    min-width: 100%;
    position: relative;
}
.marquee img {
    display: block;
    border: 2px solid #884343;
    width: 150px;
    height: 20px;
    image-rendering: pixelated;
}
@keyframes scroll-r2l {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
.scroll-r2l {
    animation: scroll-r2l 20s linear infinite;
}
.paused {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

#guardian {
    color: var(--red);
    display: flex;
    place-items: center;
    flex-direction: column;
}
#guardian img {
    width: 280px;
    height: auto;
    animation: glowing 3s linear infinite;
}
@keyframes glowing {
    0%,
    100% {
        box-shadow: 0 2px 10px 1px var(--true-black);
    }
    50% {
        box-shadow: 0 2px 10px 3px var(--true--black);
    }
}
/*<a href="https://lnm330.neocities.org/" target="_blank"> <img src="https://lnm330.neocities.org/lnmbanner.gif"> </a>
 * 
 <a href="https://sugarbunny.neocities.org"><img src="https://files.catbox.moe/0vx0m6.png"></a>*/