
.container_header{
    width: 100%;
    height: auto;  
    display: flex;
    flex-direction: column;
   align-items: center;
    justify-content: center;
    position: relative;
      z-index: 6;
      overflow: hidden;
}

.container_header::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -17em;
    background-image: url(/recursos/img/florEsquinaHeader.png);
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;

     transform-origin: center;
    animation: girarFlor 60s linear infinite;
}

@keyframes girarFlor {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.container_header::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -17em;
    top: -12em;
    transform: rotate(11deg);
    background-image: url(/recursos/img/florEsquinaHeader.png);
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;
      transform-origin: center;
    animation: girarFlor 58s linear infinite;
}

.container_header_img{
    width: 400px;
    position: relative;
    z-index: 6;

}

.container_header_img img{
    width: 100%;
    height: 50%;
    object-fit: contain;
    
}

.container_header_texto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1.5em;

}

.container_header_fechaCasamiento {
    display: flex;
    flex-direction: row;
    gap: 0.4em;
}

.container_header_fechaCasamiento img{
   width: 65px;
    height: 65px;
}




.container_header_subtexto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
        letter-spacing: 0.03em;
}


.music-player img {
  width: 80px;
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;

}

.music-player img:hover {
  transform: scale(1.1);
}


@media (max-width: 998px) {
.container_header::before {
    width: 450px;
    height: 450px;
}
}

@media (max-width: 890px) {
.container_header::before {
    top: 4em;
}
}




@media (max-width: 768px) {
.container_header{
  padding: 0em 0.5em 0em 0.5em;
}

.container_header_subtexto{
  text-align: center;
}

.music-player img {
  width: 90px;
}

.container_header_img{
    width: 300px;
}
.container_header_texto h1 {
    font-size: 40px;
   text-align: center;

}

.container_header_fechaCasamiento {
    flex-direction: column;
    align-items: center;
    gap: 0em;
}

.container_header_fechaCasamiento h2 {
     font-size: 35px;

}

.container_header_fechaCasamiento img {
    width: 55px;
    height: 55px;
}

.container_header::before {
    width: 300px !important;
    height: 300px !important;
    right: -10em !important;
    top: 4em !important;
}

.container_header::after {
    width: 300px !important;
    height: 300px !important;
    left: -10em !important;
    top: 13em !important;
}
}

@media (max-width: 414px) {
.container_header::before {
    width: 150px !important;
        height: 150px !important;
        right: -5em !important;
        top: -5em !important;
}

.container_header::after {
            width: 150px !important;
        height: 150px !important;
        left: -5em !important;
        top: 12em !important;
}
}