body {
    display:flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgb(37, 33, 33)
}

.container{
    position:relative;
}
.namorados{
    position: relative;
    top: 50px;
    animation: up 3s linear infinite;
}

@keyframes up{

    0%, 100% {
        transform: translateY(0);
    }
    50%{
        transform: translateY(-30px);
    }
}

.envelope {
    position: relative;
    width: 300px;
    height: 200px;
    background-color: #4b4b4b;
}


.envelope:before {
    background-color: #4b4b4b; /* Tom de preto mais claro */
    content:"";
    position: absolute;
    width: 212px;
    height: 212px;
    transform: rotate(45deg);
    top:-105px;
    left:44px;
    border-radius: 30px 0 0 0;
}

.card{
    position: absolute;
    background-color: #eae2b7;
    width: 270px;
    height: 170px;
    top: 5px;
    left: 15px;
    box-shadow: -5px -5px 100px rgba(0,0,0,0.4);
    z-index: 5;
}

.card:before {
    content: "";
    position: absolute;
    border: 3px solid #003049;
    border-style: dotted;
    width: 240px;
    height: 140px;
    left: 12px;
    top: 12px;
}

.text{
    position: absolute;
    font-family: "Cedarville Cursive", cursive;
    font-weight: 1000;
    font-style: bold;
    text-align: center;
    line-height: 25px;
    top:37px;
    left:45%;
    transform: translateX(-45%);
    color: #003049;
}

.coracao {
    background-color: #d62828;
    display:inline-block;
    height: 22px;
    margin: 0 10px;
    position: relative;
    top: 120px;
    left: 105px;
    transform: rotate(-45deg);
    width: 22px;
    cursor: pointer;
    z-index: 999;

}

.coracao span {
    display: block;
    width: 100%;
    height: 100%;
  }

.coracao:before, .coracao:after{
    content: "";
    background-color: #d62828;;
    border-radius: 50%;
    height:22px;
    position: absolute;
    width: 22px;
}

.coracao:before {
    top:-10px;
    left:0;
}

.coracao:after {
    left:10px;
    top:0;
}

.coracoes{
    position:absolute;
    top:15px;
}

@keyframes coracao {
    0%{
        transform: translateY(0) rotate(-45deg) scale(0.3);
        opacity: 1;
    }
    100%{
        transform: translateY(-150px) rotate(-45deg) scale(1.3);
        opacity:0.5;
    }
}

.um, .dois, .tres, .quatro, .cinco{
    background-color: red;
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 10px;
    position:relative;
    transform: rotate(-45deg);
    top:50px;
}

.um:before, .um:after, .dois:before, .dois:after, .tres:before, .tres:after, .quatro:before, .quatro:after, .cinco:before, .cinco:after {
    content:"";
    background-color: red;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    position: absolute;
}

.um:before, .dois:before, .tres:before, .quatro:before,.cinco:before{
    top: -5px;
    left:0;
}

.um:after, .dois:after, .tres:after, .quatro:after,.cinco:after{
    left:5px;
    top:0;
}

.um{
    left:10px;
    animation: coracao 2s ease-out infinite;
}
.dois{
    left:30px;
    animation: coracao 2s ease-out infinite;
}

.tres{
    left:50px;
    animation: coracao 1.5s ease-out infinite;
}

.quatro{
    left:70px;
    animation: coracao 2.3s ease-out infinite;
}

.cinco{
    left:90px;
    animation: coracao 1.7s ease-out infinite;
}

.front{
    position:absolute;
    border-right: 180px solid #414141; /* Tom de preto mais claro */
    border-top: 95px solid transparent;
    border-bottom: 100px solid transparent;
    left: 120px;
    top: 5px;
    width:0;
    height: 0;
    z-index:10;
    pointer-events: none;
}

.front:before{
    position:absolute;
    content:"";
    border-left: 300px solid #4b4b4b; /* Tom de preto mais claro */;
    border-top: 195px solid transparent;
    left: -120px;
    top:-95px;
    width: 0;
    height: 0;
}

.sombra{
    position:absolute;
    width: 300px;
    height: 25px;
    border-radius:50%;
    background-color: rgba(0,0,0,0.03);
    top:265px;
    left: -15px;
    z-index:-1;
    animation: scale 3s linear infinite;
}


@keyframes scale{
    0%, 100%{
        transform: scaleX(1);
    }
    50%{
        transform: scaleX(0.85);
    }
}