* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-family: monospace;
    font-size: 12px;

    height: 100vh;
    background: url(IMG/skystarlight.gif
    );
    font-family: monospace;
}

h1 {
    font-size: 20px;
    color: #551a8b;
}

button {
    padding: 5px 10px;
    background: none;
    border: 1.5px dashed #ffffff;

    transition: all 0.3s ease;
}

button a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #551a8b;
    font-weight: bold;
}

button:hover {
    border: 1.5px dashed #551a8b;
}

.envelope {
    background: url(IMG/pplheartsss.gif);
    width: 400px;
    height: 200px;
    margin: 15px;
    border: 1.5px dashed #551a8b;
}

.envelope-img {
    position: absolute;
    width: 200px;
    right: 550px;
    top: 250px;
    z-index: 2;
}

.envelope-top {
    background-color: #ad95f0;
    width: 100%;
    height: 150px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.body-box {
    margin: 10px;
}

.top-img {
    background: url(IMG/BORDER/f-ue.gif) repeat-x;
    height:32px;
    margin:0 32px
}
.bottom-img {
    background:url(IMG/BORDER/f-sita.gif) repeat-x;
    height:32px;
    margin:0 32px
}

.box-top {
    background-image:url(IMG/BORDER/f-kado1.gif), url(IMG/BORDER/f-kado2.gif);
    background-position:top left, top right;
    background-repeat:no-repeat, no-repeat;
    height:32px;
}

.box-bottom {
    background-image:url(IMG/BORDER/f-kado3.gif), url(IMG/BORDER/f-kado4.gif);
    background-position:top left, top right;
    background-repeat:no-repeat, no-repeat;
    height:32px;
}

.box-center {
background-image:url(IMG/BORDER/f-migi.gif), url(IMG/BORDER/f-hidari.gif);
background-position:top right, top left;
background-repeat:repeat-y, repeat-y;
}

.box-inner {
    background:#fff;
    margin:0 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.k-img {
    position: absolute;
    width: 200px;
    z-index: 2;
}

.k-img.uno {
    top: 80px;
    left: 80px;
    transform: rotate(-10deg);
}
.k-img.dos {
    bottom: 80px;
    left: 80px;
    transform: rotate(10deg);
}
.k-img.tres {
    top: 80px;
    right: 80px;
    transform: rotate(10deg);
}
.k-img.cuatro {
    bottom: 80px;
    right: 80px;
    transform: rotate(-10deg);

    background: url(IMG/4.gif);
    background-size: cover;
    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: bolder;
}

.k-img.cuatro a {
    text-decoration: none;
    color: #551a8b;
}

.k-img.cuatro a:hover {
    text-decoration: underline;
} 

.letter {
    width: 500px;
    height: 500px;
    padding: 20px;
    text-align: justify;
    
    line-height: 20px; 
    
    color: #551a8b;
    overflow-y: scroll;
    overflow-x: hidden;

    background-image: linear-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 100% 20px;
    background-attachment: local;
}