body{
    background-image: url('./img/fondo mariposa 2.png');
    background-size: 100% 100%;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Dancing Script', serif;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 0;
    padding: 0;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}
@keyframes fadeIn{
    to {
        opacity: 1;
    }
}
.hero {
    padding: 80px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero h1 {
    font-size: 3em;
    font-weight: bold;
}
.hero h2 {
    font-size: 1.5em;
}
.hero img{
    width: 350px;
    height: 350px;
    mask-image: linear-gradient(
        black 85%,
        transparent
    );
}
.audio-player {
    width: 100%;
    max-width: 300px;
    margin: 40px auto;
    /* background: #ffffff; */
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    text-align: center;
}
      
.controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
}

.btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    color: rgba(red, green, blue, 0.8);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

#progress {
    flex: 1;
    height: 6px;
    border-radius: 5px;
    background: #ddd;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

#progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2575fc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    background: #2575fc;
}
.gallery img {
    width: 40%;
    margin: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
}
.greetings{
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    margin: 30px auto;
    width: 70%;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: black;
    font-size: x-large;
}
.details, .gifts, .rsvp {
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    margin: 30px auto;
    width: 70%;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: black;
}
.rsvp button, .details button{
    color: black;
}
.greetings h3{
    font-size: 1.8em;
    border-bottom: 2px solid purple;
    padding-bottom: 10px;
    display: inline-block;
}
.details h3, .gifts h3, .rsvp h3 {
    font-size: 1.8em;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
    display: inline-block;
}
.details a{
    text-decoration: none;
    color: black;
}
.greetings p{
    text-align: justify;
}
.container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.container p{
    width: 50%;
    align-content: space-between;
    font-size: x-large;
}
.container button{
    font-size: small;
    width: min-content;
}
.gift-button, button {
    background: linear-gradient(45deg, #cd8746, #fd8751);
    color: #2c003e;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: 0.7s;
}
.gift-button a{
    text-decoration: none;
    color: black;
}
.gift-button:hover, button:hover {
    background: linear-gradient(45deg, #ffd700, #b8860b);
    transform: scale(1.05);
}
