.contenedor-base-blog{
    /* border: solid 1px; */
    align-items: center;
    gap: 5vh;

}

.titulo-blog{
    border-bottom: solid 2px #cacaca;
    width: 70%;

    @media (max-width:800px) {
        width: 100%;
    }
}

.div-blog{
    /* border: solid 1px; */
    padding: 1vh;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vh;

    @media (max-width:800px) {
        width: 100%;
    }
}

.entrada-blog{

    padding: 1vh;
    border-radius: 1cap;
    height: 30vh;
    width: 100%;
    background-color: white;
    box-shadow: 1px 1px 10px #c7c7c7;

    @media (max-width:800px) {
        height: 15vh;
        padding: .5vh;
    }
}

.link-entrada{

    width: 100%;
    height: 100%;
    display: flex;
    gap: 1vw;
    align-items: center;
}



.img-entrada-blog{
    width: 30%;
    height: 100%;
    border-radius: .6cap;
}

.contenido-entrada-blog{
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 100%;
    /* border: solid 1px; */
    gap: 2vh;

    @media (max-width:800px) {
        gap: 1vh;
    }
}

.titulo-entrada-blog{
    font-size: 2.5vh;
    font-weight: 500;
    text-decoration: underline;
    color: var(--grisOscuro);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    @media (max-width:800px) {
        font-size: 2vh;
    }
}

.texto-entrada-blog{
    font-size: 2vh;
    color: var(--grisOscuro);
    /* border: solid 1px; */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;

    @media (max-width:800px) {
        font-size: 1.5vh;
    }
}

.autor-fecha{
    color: var(--naranja);
    font-size: 1.7vh;

    @media (max-width:800px) {
        font-size: 1.5vh;
    }
}



/* Modal subir entrada */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;

    textarea{
        width: 70%;
        height: 20vh;
    }
}

/* Contenido del modal */
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 1cap;
    /* height: 0%; */
    width: 50%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

    @media (max-width : 740px) {
        width: 90%;
    }

    h2{
        @media (max-width : 740px) {
           font-size: 2.5vh;
        }
    }
}

.modal-content-login{
    height: fit-content;
}

/* Botón para cerrar el modal */
.close-btn {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.form-modal{
    margin: 0 auto;
    margin-top: 2.5vh;
    gap: 1vh;
    display: flex;
    flex-direction: column;
    width: 80%;
    /* border: solid 1px; */
    align-items: center;
}

.div-modal{
    /* border: solid 1px; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5vh;

    input,textarea{
        width: 100%;
        padding: .5vh;
    }
}


/* subir imagen modal */

.drop-zone {
    width: 100%;
    /* max-width: 400px; */
    height: 20vh;
    margin: 0 auto;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
}

.drop-zone.dragover {
    background-color: #e0ffe0;
    border-color: #33cc33;
}

.preview {
    margin-top: 20px;
}

.preview img {
    max-width: 300px;
    max-height: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sendDataButton, .openModalLoginBtn{
    border-radius: 1cap;
    border: solid 1px var(--grisOscuro);
    padding: .5vh;

    &:hover{
        cursor: pointer;
        background-color: #c7c7c7;
    }
}


