body {
    padding: 0;
    margin: 0;
    background-image: url('../bg/tumblr_inline_mrhsepX6s51qz4rgp540.gif');
}

#hi {
    align-items: center !important;
}

.box {
    background: white;
    height: calc(70% - 4em);
    width: calc(57% - 2em);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 1em;
    border-image-slice: 27 27 27 27;
border-image-width: 25px 25px 25px 25px;
 border-image-outset: 10px 10px 10px 10px; 
border-image-repeat: stretch stretch;
border-image-source: url('../img/pink.png');
border-style: solid;
}

.modal {
    height: calc(100% + 3px);
    width: calc(100% + 3px);
    align-items: center;
    justify-content: center;
    position: absolute;
    background: rgba(82, 46, 60, 0.532);
    top: 0;
    left: -1px;
    display: none;
    backdrop-filter: blur(2px);
}

.flex {
    display: flex;
}

.modal img {
    width: 75%;
}

.modal>.exit {
    width: calc(100% - .75em);
    height: 2.5em;
    padding-right: .75em;
    padding-top: .25em;
    top:0;
    position: absolute;
    text-align: right;
    /* background: white; */
}

.exit button {
    background: none;
    border: none;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
}

.exit button:hover {
    color: rgb(255, 120, 156);
}

.pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5em;
    overflow: auto;
    height: 100%;
    scrollbar-width: none;
}

.pages img {
    width: 420px;
    border: 1px dashed rgb(255, 54, 138);
    cursor: pointer;
}