* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
.header {
    position: relative;
    background-color: rgb(59, 115, 164); 
    height: 95vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.header__title {
    position: absolute;
    top: 20rem;
    font-size:5rem;
    font-style: italic;
    color: rgb(255, 255, 215);
    text-align: center;
    
}
.header__title2 {
    position: absolute;
    top: 30rem;
    font-size:2rem;
    font-style: italic;
    color: rgb(255, 255, 215);
    text-align: center;
    animation: letrero 1s linear infinite;
}
.footer {
    position: relative;
    height: 2rem; 
    background-color: rgb(59, 115, 164); 
    justify-content: center;
    align-items: center;
}
.footer__text {
    font-size: 1rem;
    color:rgb(37, 40, 219);
    text-align: center;
}
.heart {
    aspect-ratio: 1;   
    width: 1.5rem; 
    position: absolute;
    top: 0;
    left: 0;
    animation: heart-rain 2s linear infinite;
}
.heart__icon {
    width: 100%;
    height: 100%;
    background-color: rgb(222, 10, 10);
    position: relative;
    rotate: -45deg;
}

.heart__icon::before,
.heart__icon::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(222, 10, 10);
    border-radius: 50%;
}
.heart__icon::before{
    top: -50%;
}
.heart__icon::after {
    left: 50%;
}
@keyframes letrero {
    0% {
        opacity: 1;
    }
    75% {
        color: rgb(7, 47, 83);
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes heart-rain {
    0% {
        top:0;
        transform: translateY(150%) rotateY(0);
        opacity: 1;
    }
    75% {
        transform: translateY(75%) rotateY(270deg);
        opacity: 1;
    }
    100% {
        top: 100%;
        transform: translateY(150%)  rotateY(360deg);
        opacity: 0;
    }
}
