* {
    box-sizing: border-box;
}

body{
    background-color: #EFEFEF;
}

/* Estilos para móviles */
@media screen and (max-width: 767px) {
    .banner-principal{
        justify-content: center;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    .contenido{
        margin: 20px;
        display: flex;
        justify-content: space-between;
    }

    .div-content-text {
        overflow-x: auto;
    }

    .div-content-text *:not(table, tbody, tr, td) {
        scale: 0.8;
    }


    .div-content-text ul{
        scale: 1;
    }

    td {
        word-wrap: break-word; /* Permite que las palabras largas se dividan */
        white-space: normal;   /* Permite que el texto se divida en varias líneas */
    }    
    
    .contenido-entrada{
        width: 100%;
        background-color: #fff;
        padding: 15px;
    }
    
    .contenido-entrada h3{
        font-size: 20px;
        text-align: center;
    }
    
    .contenido-entrada p{
        text-align: justify;
        margin-bottom: 5px;
    }

    .contenido-entrada img{
        margin: 15px;
        max-width: 80%;
    }
    
    .publis{
        display: none;
        width: 20%;
    }
    
    .entrie{
        padding: 10px;
        cursor: pointer;
        font-size: 12px;
    }
}
  
/* Estilos para tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .banner-principal{
        justify-content: center;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    .banner-principal h1{
        font-size: 30px;
    }
    .contenido{
        margin: 20px;
        display: flex;
        justify-content: space-between;
    }

    .div-content-text {
        display: flex;
        align-items: center;
        overflow-x: auto;
        height: fit-content;
    }

    .contenido-entrada *{
        scale: 0.8;
    }

    .div-content-text table {
        margin-left: -40px;
    }

    td {
        max-width: 100px;
        word-wrap: break-word; /* Permite que las palabras largas se dividan */
        white-space: normal;   /* Permite que el texto se divida en varias líneas */
    }    
    
    .contenido-entrada{
        width: 100%;
        background-color: #fff;
        padding: 5px;
    }
    
    .contenido-entrada h3{
        font-size: 20px;
        text-align: center;
    }
    
    .contenido-entrada p{
        text-align: justify;
    }

    .contenido-entrada img{
        margin: 15px;
    }
    
    .publis{
        display: none;
        width: 20%;
    }
    
    .entrie{
        padding: 10px;
        cursor: pointer;
        font-size: 12px;
    }
}
  
/* Estilos para escritorio */
@media screen and (min-width: 1024px) {
    .banner-principal{
        justify-content: center;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    .banner-principal h1{
        font-size: 30px;
    }
    .contenido{
        margin: 40px;
        display: flex;
        justify-content: space-between;
    }
    
    .contenido-entrada{
        width: 76%;
        background-color: #fff;
        padding: 30px;
    }
    
    .contenido-entrada h3{
        font-size: 20px;
        text-align: center;
    }
    
    .contenido-entrada p{
        text-align: justify;
    }
    
    .contenido-entrada img{
        margin: 15px;
    }
    
    
    .publis{
        width: 20%;
    }
    
    .publi{
        border-radius: 20px;
        background-color: #fff;
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .publi h5{
        font-size: 14px;
        text-align: center;
    }
    
    
    .entrie{
        padding: 10px;
        cursor: pointer;
        font-size: 12px;
    }
    
    .last-entries{
        padding: 0 10px;
    }
    
    .efect-button:hover{
        border-bottom: 1px solid #EA1C24;
    }
}