*{
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
}
body{
    width: 100%;
    height: 100%;
}
.contenedor_card {
    width: 362px;
    height: 494px;
    display: flex;
    border: solid 3px #34A6BA;
    border-radius: 20px;
    margin-bottom: 30px;

}



    .eventos {
        width: 349px;
        height: 492px;
        border-radius: 22px;
        overflow: hidden;
        border: solid 3px #34A6BA;
        position: relative;
        right: 12px;
        bottom: 16px;
        background-color: #5093cd;
        text-decoration: none;

    }


    .contenedor_img{
        width: 100%;
        height: 50%;
    }

    .img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .informacion-eventos{
        height: 50%;
        color: white;
    }

    .titulo-even{
        width: 100%;
        height: 66px;
        display: flex;
        font-size: 1.75rem;
        justify-content: center;
        align-items: center;
    }

    .sub-even{
        width: 100%;
        height: 70px;
        padding-left: 5%;
        padding-top: 20px;

    }
    

    .nuevo{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 89%;
    }

    .conte-descrip{
        width: 80%;
        height: 100%;
    }
    .leermas{
        width: 100%;
        height: auto;
        padding-left: 5%;
    }

    .contenido{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5%;
        flex-wrap: wrap;
    }

    .contenedor-suscribir{
        width: 100%;
        height: 100px;
        padding-left: 5%;
        padding-top: 2%;
    }
.contenedor-pop{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contenedor-email{
    width: 100%;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}
    .subscription-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px;
        background-color: #f3f4f6;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        max-width: 300px;
    }

    .subscription-container label {
        font-size: 1.1em;
        color: #333;
        font-weight: bold;
    }

    .subscription-container input[type="text"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1em;
        box-sizing: border-box;
    }

    .subscription-container input[type="text"]:focus {
        outline: none;
        border-color: #007acc;
        box-shadow: 0 0 5px rgba(0, 122, 204, 0.2);
    }

.subscription-container input[type="submit"] {
    padding: 10px 20px;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}   

.subscription-container input[type="submit"]:hover {
    background-color: #005f99;
}   

.contenedor-texto{
    width: 260px;
    height: 153px;
}



:root {
    --vs-primary: 29 92 255;
}

/*Dialog Styles*/
dialog {
    padding: 1rem 3rem;
    background: white;
    max-width: 400px;
    padding-top: 2rem;
    border-radius: 20px;
    border: 0;
    box-shadow: 0 5px 30px 0 rgb(0 0 0 / 10%);
    animation: fadeIn 1s ease both;
    margin: auto;


    &::backdrop {
        animation: fadeIn 1s ease both;
        background: rgb(255 255 255 / 40%);
        z-index: 2;
        backdrop-filter: blur(20px);
    }

    .x {
        filter: grayscale(1);
        border: none;
        background: none;
        position: absolute;
        top: 15px;
        right: 10px;
        transition: ease filter, transform 0.3s;
        cursor: pointer;
        transform-origin: center;

        &:hover {
            filter: grayscale(0);
            transform: scale(1.1);
        }
    }

    h2 {
        font-weight: 600;
        font-size: 2rem;
        padding-bottom: 1rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.3rem;
        padding: 0.5rem 0;

        a {
            &:visited {
                color: rgb(var(--vs-primary));
            }
        }
    }
}

/*General Styles*/

button.primary {
    display: inline-block;
    font-size: 0.8rem;
    color: #fff !important;
    background: rgb(var(--vs-primary) / 100%);
    padding: 13px 25px;
    border-radius: 17px;
    transition: background-color 0.1s ease;
    box-sizing: border-box;
    transition: all 0.25s ease;
    border: 0;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px rgb(var(--vs-primary) / 50%);

    &:hover {
        box-shadow: 0 20px 20px -10px rgb(var(--vs-primary) / 50%);
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (orientation=portrait){
    .contenido{
        flex-direction: column;
    }
}    