.card-container {
    display: grid;
    grid-template-columns: repeat(5, 9.375rem); /* 5 tarjetas por fila con un ancho fijo */
    column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
    row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
    justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */

    user-select: none;
}

.card {
    border-radius: 0.625rem;
    overflow: hidden;
    width: 139px; /* Tamaño fijo para las tarjetas */
    height: 268px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    position: relative;
    top: -20rem; /* Sin desplazamiento vertical */
    left: -21.8rem; /* Sin desplazamiento horizontal */


}

.card a {
    text-decoration: none; /* Sin subrayado en el enlace */
    color: inherit; /* Mantener el color del texto */
    display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    position: relative;
    top: -2.5rem;
    padding: 1rem;

    text-align: center;
}

.card-title {
    font-size: 1.3rem;
    margin: 0.3125rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    user-select: none;

}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    margin-top: 0.625rem;
    user-select: none;

    color: #ffffff;
}

.views {
    display: flex;
    align-items: center;
    left: 0.5rem;
}

.views i {
    margin-right: 0.0625rem;
}

.views i.fa-eye {
    font-size: 0.875rem;
 
}

.linea-con-texto {
    position: relative;

    width: 65%; /* Cambia este valor para ajustar largo de la linea */
    height: 0.0625rem; /* Para 1px */
    top: -22.25rem;      /* Para 100px */
    left: 6rem;     /* Para 20px */
    height: 0.35rem;   /* Para 4px */    
    background-color: #707070;
}

.linea-con-texto span {
    position: relative;
    top: -3.5rem;
    left: -0.5rem;
    transform: translateX(-50%);
    color: #ffffff;
    font-weight: bold;
    padding: 0 0.625rem;
    font-size: 2rem;
}

@media (max-width: 2560px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(9, 9.375rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
    
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 139px; /* Tamaño fijo para las tarjetas */
        height: 268px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: -42rem; /* Sin desplazamiento vertical */
        left: -44.8rem; /* Sin desplazamiento horizontal */
    
    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.8rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.3rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 65%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: -48.25rem;      /* Para 100px */
        left: 6rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.8rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 2.2rem;
    }
    
}

@media (max-width: 1920px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(7, 9.375rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
    
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 139px; /* Tamaño fijo para las tarjetas */
        height: 268px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: -42rem; /* Sin desplazamiento vertical */
        left: -30.5rem; /* Sin desplazamiento horizontal */
    
    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.8rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.3rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 65%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: -48.25rem;      /* Para 100px */
        left: 6rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.8rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 2.2rem;
    }
}

@media (max-width: 1366px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(5, 9.375rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
    
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 139px; /* Tamaño fijo para las tarjetas */
        height: 268px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: -22rem; /* Sin desplazamiento vertical */
        left: -21.8rem; /* Sin desplazamiento horizontal */
    
    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 65%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: -24.8rem;      /* Para 100px */
        left: 5rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.5rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(4, 7.5rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
    
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 119px; /* Tamaño fijo para las tarjetas */
        height: 248px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: -22rem; /* Sin desplazamiento vertical */
        left: -19.5rem; /* Sin desplazamiento horizontal */
    
    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 58%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: -24.8rem;      /* Para 100px */
        left: 4rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.5rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 7.5rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
        margin-bottom: 250px;
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 119px; /* Tamaño fijo para las tarjetas */
        height: 248px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: 23rem; /* Sin desplazamiento vertical */
        left: -8rem; /* Sin desplazamiento horizontal */

    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 58%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: 20.8rem;      /* Para 100px */
        left: 4rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.5rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 412px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 7.5rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
        margin-bottom: 250px;
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 119px; /* Tamaño fijo para las tarjetas */
        height: 248px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: 23rem; /* Sin desplazamiento vertical */
        left: -5rem; /* Sin desplazamiento horizontal */

    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 58%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: 20.8rem;      /* Para 100px */
        left: 4rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.5rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 393px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 7.5rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
        margin-bottom: 250px;
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 119px; /* Tamaño fijo para las tarjetas */
        height: 248px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: 23rem; /* Sin desplazamiento vertical */
        left: -3.5rem; /* Sin desplazamiento horizontal */

    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 58%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: 20.8rem;      /* Para 100px */
        left: 4rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.5rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 7.5rem); /* 5 tarjetas por fila con un ancho fijo */
        column-gap: 8.5rem; /* Aumenta el espacio horizontal entre las tarjetas */
        row-gap: 2rem; /* Aumenta el espacio vertical entre filas */
        justify-content: center; /* Centra las tarjetas si hay más espacio horizontal */
        margin-bottom: 250px;
        user-select: none;
    }
    
    .card {
        border-radius: 0.625rem;
        overflow: hidden;
        width: 119px; /* Tamaño fijo para las tarjetas */
        height: 248px;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
        position: relative;
        top: 23rem; /* Sin desplazamiento vertical */
        left: -2.5rem; /* Sin desplazamiento horizontal */

    
    }
    
    .card a {
        text-decoration: none; /* Sin subrayado en el enlace */
        color: inherit; /* Mantener el color del texto */
        display: block; /* Para que el enlace abarque todo el espacio de la tarjeta */
    }
    
    .card-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .card-content {
        position: relative;
        top: -2.5rem;
        padding: 1rem;
    
        text-align: center;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin: 0.3125rem 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: bold;
        user-select: none;
        color: #2182e2;
    
    }
    
    .card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.2rem;
        margin-top: 0.625rem;
        user-select: none;
    
        color: #ffffff;
    }
    
    .views {
        display: flex;
        align-items: center;
        left: 0.5rem;
    }
    
    .views i {
        margin-right: 0.0625rem;
    }
    
    .views i.fa-eye {
        font-size: 0.875rem;
     
    }
    
    .linea-con-texto {
        position: relative;
    
        width: 58%; /* Cambia este valor para ajustar largo de la linea */
        height: 0.0625rem; /* Para 1px */
        top: 20.8rem;      /* Para 100px */
        left: 4rem;     /* Para 20px */
        height: 0.35rem;   /* Para 4px */    
        background-color: #707070;
    }
    
    .linea-con-texto span {
        position: relative;
        top: -3.5rem;
        left: -0.5rem;
        transform: translateX(-50%);
        color: #ffffff;
        font-weight: bold;
        padding: 0 0.625rem;
        font-size: 1.8rem;
    }
}