.btn-success222{
    --bs-btn-color: #fff; /* Color del texto */
    --bs-btn-bg: #7c0101; /* Color de fondo principal */
    --bs-btn-border-color: #7c0101; /* Color del borde */
    
    /* Hover */
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #680101; /* Un tono más oscuro */
    --bs-btn-hover-border-color: #5a0101;
    
    /* Focus */
    --bs-btn-focus-shadow-rgb: 124, 1, 1; /* Mismo tono en RGB */
    
    /* Activo (cuando se presiona el botón) */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5a0101; /* Un tono más oscuro */
    --bs-btn-active-border-color: #4e0101;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    
    /* Deshabilitado */
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #7c0101;
    --bs-btn-disabled-border-color: #7c0101
}


.btn-success {
    --bs-btn-color: #fff; 
    --bs-btn-bg: #7c0101;
    --bs-btn-border-color: #7c0101;
    white-space: nowrap;
  }

  .btn-success:hover {
    --bs-btn-bg: #600101 !important; /* un tono más oscuro para hover */
    --bs-btn-border-color: #600101 !important;
  }
  
        

        .envelope-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: #ffffff;
            border-radius: 10px;
            width: 300px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            perspective: 1000px; /* Necesario para dar profundidad al efecto */
        }

        .envelope {
            position: relative;
            width: 100%;
            height: 250px;
            border: solid  2px #ebc899;
            background-color: #f8e5ca;
            border-radius: 0 0 20px 20px;
            overflow: hidden;
            transition: transform 0.5s ease;
        }

        @media only screen and (min-width: 768px) {
            .envelope {
                position: relative;
                width: 60%;
                height: 450px;
                border: solid  2px #ebc899;
                background-color: #f8e5ca;
                border-radius: 0 0 20px 20px;
                overflow: hidden;
                transition: transform 0.5s ease;
            }
        }
        .envelope:hover {
            transform: rotateX(-30deg);
        }

        .flap {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            border: solid  20px #ff6f61;
            background-color: #f8e5ca;
            border-bottom: 10px solid #f2d1a4;
            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
            transition: transform 0.5s ease;
            transform-origin: top;
        }

        .envelope:hover .flap {
            transform: rotateX(180deg);
        }

        .letter {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: 20px;
            border-radius: 0 0 20px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: top 0.5s ease;
        }

        .envelope:hover .letter {
            top: 25%;
        }

        .btn-invitation {
            padding: 10px 20px;
            background-color: #ff6f61;
            border: none;
            border-radius: 20px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn-invitation:hover {
            background-color: #ff3e30;
        }

        .heart {
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            background-color: #ff6f61;
            clip-path: polygon(50% 0%, 100% 35%, 80% 100%, 20% 100%, 0% 35%);
        }

        .texto-corazon {
            margin-top: 20px;
            font-family: 'Lora', serif;
            color: #333;
            text-align: center;
        }