* {
    padding: 0;
    margin: 0;
    overflow: auto;
    box-sizing: border-box;
}

@font-face {
    font-family: 'RusticStory';
    src: url(../../../styles/fonts/rustic-story/RusticStory-R9vKM.ttf) format('truetype');
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    font-family: Arial;
    padding: 30px;
    --screen-ratio: 1;
    --rotate-degrees: 0;
}

.parchment {
    display: flex;
    flex-direction: column;
    position: relative;
    width: fit-content;
    text-align: center;
    z-index: 6;
    padding: 50px 130px 50px;
    line-height: 1.3;
    letter-spacing: .5px;
    font-family: 'RusticStory';
}

img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: -1;
}

h2 {
    margin-bottom: 10px;
}

p {
    font-family: 'RusticStory';
    font-weight: 700;
    width: fit-content;
}

a {
    text-decoration: none;
}

a p {
    color: black;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 5px;
    transition: background-color .3s ease;
    text-decoration: none;
    width: fit-content;
    margin: 10px auto;
    font-size: 16px;
    z-index: 9;
    letter-spacing: 1px;
}


a p:active {
    color: white;
    background-color: rgb(139, 112, 93);
    box-shadow: 0 0 10px 2px rgb(139, 112, 93);
    cursor: pointer;
}

@media screen and (max-width:900px) {
    body {
        padding: 2vw;
    }

    .parchment {
        padding: 5vw 14vw;
        font-size: 2.222vw;
        letter-spacing: .05555vw;
    }

    h2 {
        margin-bottom: 1.111vw;
    }

    a p {
        padding: .333vw .667vw;
        border-radius: .5555vw;
        margin: 1.111vw auto;
        font-size: 1.6vw;
        letter-spacing: .1vw;
    }

    a p:hover {
        box-shadow: 0 0 1.111vw .2222vw rgb(139, 112, 93);
    }

}


@media screen and (orientation:portrait) {
    .parchment {
        transform: rotate(var(--rotate-degrees)) scale(var(--screen-ratio));
    }
}