@import url('https://fonts.googleapis.com/css2?family=Anek+Kannada:wght@100..800&family=Anton&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

.member-content-button {
    font-size: 20px;
    font-weight: 500;
    background-color: #FF9000;
    color: white;
    padding: 10px 5px 5px 10px;
    border-radius: 10px;
    box-shadow: 10px;
    margin: 20px;
}

main {
    font-family: "Anek Kannada", sans-serif;
}

/* Estilos para el modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: #f39200ce;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    font-weight: 500;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Contenedor de suscripciones */
#subscriptions-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    min-height: 50vh;
    box-sizing: border-box;
}

/* Estilo de cada tarjeta de suscripción */
.subscription-card {
    background-color: #ffffff60;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 30%; /* 3 tarjetas por fila */
    max-width: 400px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ajustes responsive */
@media (max-width: 1024px) {
    .subscription-card {
        width: 45%; /* 2 tarjetas por fila en tablets */
    }
}

@media (max-width: 768px) {
    .subscription-card {
        width: 100%; /* 1 tarjeta por fila en móviles */
    }
}

/* Efecto al pasar el ratón sobre la tarjeta */
.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.subscription-img {
    transition: opacity 0.3s ease-in-out;
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
}

.subscription-img,
.imgcardsub {
    background-color: transparent !important;
}


/* Títulos de las suscripciones */
.subscription-card h2 {
    font-size: 1.5rem;
    margin: 16px;
    color: #333;
    text-align: center;
}

/* Descripción de las suscripciones */
.subscription-card p {
    font-size: 1rem;
    margin: 0 16px 16px;
    color: #555;
    text-align: center;
}

/* Lista de descripción */
.subscription-description {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    margin: 10px 16px;
}

/* Estilo de cada ítem de la lista */
.subscription-description li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
}

/* Precio de la suscripción */
.subscription-card .member-price {
    font-size: 20px;
    font-weight: 500;
    background-color: #FF9000;
    color: white;
    padding: 10px 5px 5px 10px;
    border-radius: 10px;
    box-shadow: 10px;
}

.subscription-card .member-price:hover {
    background: #c07007;
    letter-spacing: 1px;
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    box-shadow: 5px 40px -10px rgba(0, 0, 0, 0.57);
    transition: all 0.4s ease 0s;
}


/*dark mode header*/

.dark-mode header nav{
    background-color: rgb(24, 24, 24);
    transition: background-color 0.8s ease, color 0.8s ease;
}

.dark-mode .btn-insc-nav:hover {
    background-color: rgb(24, 24, 24);
    border-color: #FF9000;
    color: #FF9000;
}

.dark-mode .perfil-font{
    color: #121212;
}

/* Modo oscuro */
.dark-mode {
    background-color: #1e1e1e;
    color: #fff;
    transition: background-color 0.8s ease, color 0.8s ease;
}

.dark-mode .subscription-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.8s ease, color 0.8s ease;
}

.dark-mode .subscription-card h2 {
    color: #e0e0e0;
    transition: background-color 0.8s ease, color 0.8s ease;
}

.dark-mode .member-desc {
    color: #b3b3b3;
    transition: background-color 0.8s ease, color 0.8s ease;
}

.dark-mode .member-price {
    background-color: #FF8C00;
    color: #fff;
    transition: background-color 0.8s ease, color 0.8s ease;
}

.dark-mode .member-price:hover {
    background: #b36100;
    transition: background-color 0.8s ease, color 0.8s ease;
}