.elementor-613 .elementor-element.elementor-element-662927b3{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0rem;--margin-bottom:0rem;--margin-left:0rem;--margin-right:0rem;--padding-top:04rem;--padding-bottom:4rem;--padding-left:0rem;--padding-right:0rem;}.elementor-613 .elementor-element.elementor-element-662927b3:not(.elementor-motion-effects-element-type-background), .elementor-613 .elementor-element.elementor-element-662927b3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://codexfraternidades.com/wp-content/uploads/2025/02/freepik__expand__60209.png");background-position:center center;background-repeat:no-repeat;background-size:cover;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-613 .elementor-element.elementor-element-662927b3{--gap:0px 0px;--row-gap:0px;--column-gap:0px;}}/* Start custom CSS for shortcode, class: .elementor-element-11a7522 */@import url('https://fonts.cdnfonts.com/css/bernier-distressed');

                
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div[data-elementor-type="footer"] {
    display: none !important
}



body {

    background-color: #0a1017;
}

/* Usar "BERNIER Distressed" en títulos con mayor tamaño */
h1, h2, h3, .event__info .title {
    font-weight: normal;
    font-size: 2rem !important; /* Aumentado */
}

/* Aumentar tamaño de los textos generales */
p, label, input, button {
    font-size: 1rem !important; /* Aumentado */
    font-family: '';
}


.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 28rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: white;

}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form__input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.25rem;
}

.form__input:focus {
    /*  outline: 2px solid #4c00ff; */
    outline: none;
    outline-offset: 2px;
}

.form__error {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-align: right;
    color: red;
}

.form__input--submit {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-wrap: nowrap;
    color: inherit;
    border-radius: 1.5rem;
    background-color: #4c00ff;
    text-decoration: none;
    transition: filter 0.3s ease-in-out;
    color: white;
    cursor: pointer;
}

.form__input--submit:hover {
    filter: saturate(1.5);
}

.form__input--submit:focus {
    outline: none;
}

.form__input--submit:focus-visible {
    outline: 2px solid #4c00ff;
    outline-offset: 2px;
}

.validation {
    display: flex;
    justify-content: center;
}

.validation__img {
    width: 100vw;
    height: 100vh;
    filter: brightness(40%);
    object-fit: cover;
}

/* .validation__img-container {
    width: 540px;
    height: 960px;
    background-color: #d4edda; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    border-radius: 8px; 
} */

.validation__form {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    max-width: 24rem;
    margin: 0 auto;
    padding: 2rem;
}

.validation__input--submit {
    margin-top: 0;
}

#successMessage {
    display: none;
    width: 100%;
    height: 100vh;
    text-align: center;
    padding: 20px;
    background-size:contain;
    background-repeat: no-repeat;   
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto; 
}

#successMessage h2 {
    font-size: 1.8rem;
    color: #4caf50;
    margin-bottom: 20px;
    font-weight: 600;
}

#successMessage p {
    font-size: 1rem;
    margin: 8px 0;
    color: white;
}

#successMessage p strong {
    font-weight: 600;
    color: white;
}

#successMessage img {
    margin-top: 19rem !important;
    width: 168px;
    height: auto;
}

#successMessage .success-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#successMessage .success-button:hover {
    background-color: #45a049;
}
/* Estilo card evento */
.event {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 1rem;
    color: white;
    border-bottom: 1px solid white;
    max-width: 1140px;
    margin: 0 auto;
    overflow-x: auto;
}

.event__date {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-weight: 500;
    line-height: 1;
}

.event__date .day {
    font-size: 2rem;
}

.event__date .month-year {
    font-size: 1rem;
}

.event__image {
    flex-shrink: 0;
    min-width: 12.5rem;
    max-height: 10rem;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.event__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-weight: 500;
    line-height: 1;
}

.event__info .title {
    font-size: 1.5rem;
}

.event__info .hour {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event__info .hour svg {
    width: 1rem;
    height: 1rem;
    color: #4d00ff;
}

.event__location {
    font-weight: 500;
}

.event__price {
    font-size: 1.5rem;
    font-weight: 600;
    text-wrap: nowrap;
}

.event__cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-wrap: nowrap;
    color: inherit;
    border-radius: 1.5rem;
    background-color: #4c00ff;
    text-decoration: none;
    transition: filter 0.3s ease-in-out;
}

.event__cta:hover {
    filter: saturate(1.5);
}

@media (max-width: 768px) {
    .event img {
        width: 100%;
    }

    .event {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 4rem 0px;
    }

    .event__image {
        width: 100%;
        height: auto;
    }

    .event__date {
        flex-direction: row;
        align-items: center;
        margin: 0px;
    }

    .event__cta {
        text-align: center;
    }
    #successMessage {
        margin-top: 7rem;
        margin-bottom: 4rem;
    }
}

/* Estilos para el toast */
#toast {
    visibility: hidden;
    min-width: 300px;
    max-width: 400px;
    background-color: #fff; /* Fondo blanco */
    color: #333; /* Texto oscuro */
    text-align: left;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 16px;
    z-index: 99999999999;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Mostrar el toast */
#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Estilo del botón de cerrar (X) */
#toast .close-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

#toast .close-btn:hover {
    color: #333;
}/* End custom CSS */