html {
    overflow: hidden;
}

* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    cursor: url(/media/cursor/key.webp), auto;
}

:root {
    --viewport-height: 100vh;
    --beige: #bfb4a3;
}

::selection {
    color: inherit;
    text-shadow: 2px 1px 4px #845757;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #fff9f9;
    border: 1px solid;
    border-radius: 10px;
    border-color: #e7c9d1;
}

::-webkit-scrollbar-track {
    background-color: #f4f4f4;
    border-radius: 10px;
    border: 1px solid #ccc;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    font-style: italic;
}

p {
    margin: 6px 0 6px 0;
}

ul {
    list-style-type: none;
}


mark {
    background: #ffe6f470;
    color: #515151;
}

textarea {
    height: 26px;
    width: 90px;
    font-size: 10px;
}

body {
    min-height: var(--viewport-height);
    color: #515151;
    font-size: 10px;
    font-family: nunito;
    background-image: url(/media/bg/room.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
}

#page {
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    filter: opacity(0.89);
}

.fade-in {
    -webkit-animation: fade-in 1s ease-in both;
    animation: fade-in 1s ease-in both;
}

.main-content {
    display: grid;
    grid-template-columns: auto;
    grid-auto-flow: column;
    filter: drop-shadow(2px 4px 6px #a1a1a1);
}

.header {
    position: relative;
    top: -4em;
    padding: 12px;
    border-radius: 20px;
    text-shadow: 1px 0 0 #806d6e;
    background: #fffbfd;
    box-shadow: inset -2px -2px 2px #e4c9d8;

}

.main {
    width: 50em;
    padding: 2em;
    border-radius: 2em;
    background: #fffafe;
    box-shadow: inset -4px -4px 4px #e1d6d2;
}

.main-box {
    justify-content: space-between;
    height: 100%;
    border: 2px solid #e4ded8;
    border-radius: 10px;
    background: white;
}

.bottom-div {
    transform: rotate(180deg);
}


.divider,
.bottom-div {
    height: 35px;
    margin: 0;
    background-image: url(/media/dividers/pinkribbon.png);
    background-repeat: repeat-x;
}


.text {
    padding: 0 1em;
    text-align: justify;
    line-height: 1.5em;
}

.journal {
    background-image: url(/media/png/journal.png);
}

.bunny {
    background-image: url(/media/png/bunny.png);
}

.umbrella {
    background-image: url(/media/png/umbrella.png);
}

.sweater {
    background-image: url(/media/png/sweater.png);
}

.divider,
.bottom-div,
.sweater,
.umbrella,
.bunny,
.journal {
    background-size: contain;
}

.sweater,
.umbrella,
.bunny,
.journal {
    flex-wrap: wrap;
    align-content: center;
    width: 14em;
    height: 14em;
}

#page,
#container,
.left,
.main-box,
.right,
.sweater,
.umbrella,
.bunny,
.journal {
    display: flex;
}

#page,
#container,
.main-box,
.left,
.right {
    flex-direction: column;
}

.left,
.right {
    padding: 0 20px;
}

.left a:hover,
.right a:hover {
    font-style: italic;
}