.blog-entry {
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.blog-entry .cover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    transition: .5s ease;
    background-color: #0080c5;
}

.blog-entry .cover:hover {
    opacity: 0;
}

.text {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px #000000;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

/* -----------------------------codigo para hacer la pagina responsiva de escritorio---------------------------- */
@media screen and (min-width: 1051px) {

    main {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    
    .blog-list {
        display: grid;
        grid-template-columns: repeat(3, 30fr);
        justify-items: center;
        justify-content: space-around;
    }

    .blog-entry img {
        max-width: 400px;
    }

    .blog-entry .cover {
        max-height: 400px;
    }
        
}
  
  /* -----------------------------codigo para hacer la pagina responsiva de celular---------------------------- */
  @media screen and (max-width: 1050px) {
  
    
    .blog-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .blog-entry img {
        max-width: 300px;
    }

    .blog-entry .cover {
        max-height: 300px;
    }
}