* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
section{
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heart {
    color: red;
    width: 100px;
    height: 100px;
    position: absolute;
    display: inline-block;
    transform: rotate(-45deg);
    background-color: #f20044;
    box-shadow: -20px 20px 90px  #f20044;
    z-index: 2;
    animation: beat 3s infinite;
}

.heart::before,
.heart::after {
    content: "";
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    background-color: #f20044;
    z-index: 2;
}

.heart::before {
    left: 0;
    top: -50px;
    box-shadow: -20px -20px 90px  #f20044;
}

.heart::after {
    top: 0;
    left: 50px;
    box-shadow: 20px 20px 90px  #f20044;
}

section .stars{
    position: absolute;
    top: 0;left: 0;width: 100%;height: 100%;pointer-events: none;
    animation: anime 6s ease-in-out infinite, bgmove 12s linear infinite;
}

section h2 {
    position: absolute;
    color: transparent;
    font-weight: 700;
    font-size: 7rem;
    -webkit-text-stroke: 2px #fff;
    bottom: 0;

}

@media (max-width:768px) {
    section h2 {
        font-size: 3rem;
        bottom: 5%;
    }

}

section .stars.star1{
    animation-delay: 0s;
    background: url('star3.png');
}
section .stars.star2{
    animation-delay: -1s;
    background: url('star4.png');
}
section .stars.star3{
    animation-delay: -2s;
    background: url('star5.png');
}
section .stars.star4{
    animation-delay: -3s;
    background: url('star6.png');
}
section .stars.star5{
    animation-delay: -4s;
    background: url('star7.png');
}
section .stars.star6{
    animation-delay: -5s;
    background: url('star8.png');
}

@keyframes anime {
    0%, 20%, 40%, 60%, 80%, 100%
    {
        opacity: 0;
    }

    10%, 30%, 50%, 70%, 90%
    {
        opacity: 1;
    }
}

@keyframes bgmove {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(2);
    }
}

@keyframes beat {
    0%{
        transform: scale(1) rotate(-45deg);
    }
    50%{
        transform: scale(.8) rotate(-45deg);
    }
    
}
