#envelope {
    position: absolute;
    background-color: rgb(71,93,93);
    height: 50%;
    aspect-ratio: 2;
    bottom: 0;
    left: 50%;
    translate: -50% 0%;
    border-radius: 5px;
}

.opening {
    height: 100%;
    background-color: rgb(39, 51, 51);
    border-radius: 5px;
    clip-path: polygon(0% 0%, 50% 75%, 100% 0%);
}

.flap {
    height: 200%;
    background-color: rgb(39, 51, 51);
    translate: 0% -100%;
    border-radius: 5px;
    transition: all 0.5s linear;
}

.closed {
    clip-path: polygon(0% 50%, 50% 90%, 100% 50%);
}

.open {
    clip-path: polygon(0% 50%, 50% 10%, 100% 50%);
}

#name {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    font-family: 'Lucida Handwriting';
    color: rgb(0, 0, 0);
}

.paper {
    transition: all 1s linear;
    background-color: rgb(197, 185, 173);
    padding: 10px;
}

.hidden {
    width: 90%;
    height: 100%;
    translate: 5%;
}

.reveal {
    position: absolute;
    bottom: 10%;
    left: 50%;
    width: 90vw;
    height: auto;
    z-index: 10;
    translate: -50%;
}