.wedding-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}

.wedding-hero__title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.wedding-hero__title,
.wedding-hero__subtitle {
    font-family: 'Caravan', serif;
    font-size: 150px;
    font-weight: 400;
    color: #343D2A;
    margin: 0;
    line-height: 1;
}

.wedding-hero__title {
    margin-left: -100px;
}

.wedding-hero__subtitle {
    margin-top: -90px;
    margin-left: 74px;
}

.wedding-hero__since {
    position: absolute;
    top: 36%;
    right: 0;
    font-size: 13px;
    color: #4A5540;
}

.wedding-hero__image {
    width: 344px;
    height: auto;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.wedding-hero__heart--one {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20%;
    left: 30%;
    background-image: url("./images/main_heart1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: floatHeart 3s ease-in-out infinite;
    z-index: 0;
}

.wedding-hero__heart--two {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 28%;
    background-image: url("./images/main_heart2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: floatHeart 3.5s ease-in-out infinite reverse;
    z-index: 0;
}

@media (max-width: 600px) {    
    .wedding-hero__heart--one {
        width: 40px;
        height: 40px;
        top: 28%;
        left: 8%;
    }
    
    .wedding-hero__heart--two {
        width: 34px;
        height: 34px;
        bottom: 10%;
        right: 2%;
    }
}

@media (max-width: 500px) {
    .wedding-hero {
        gap: 20px;
    }
    .wedding-hero__image {
        width: 280px;
    }
}

@keyframes floatHeart {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}
