﻿@media (max-width: 768px) {
    /* Estilos para pantallas más pequeñas, como dispositivos móviles */
    .container {
        padding: 0 10px;
    }
    /* Otros ajustes de diseño */
}

@media (max-width: 768px) {
    .blog-post {
        flex-direction: column; /* Cambia la dirección del flexbox para apilar elementos verticalmente */
        align-items: flex-start; /* Alinea elementos a la izquierda */
    }

    .post-content {
        margin-top: 10px; /* Agrega un margen superior al texto */
        text-align: left; /* Alinea el texto a la izquierda */
    }

    /* Otros ajustes de diseño para pantallas más pequeñas */
}

/* Estilos generales */





    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-size: 36px;
    margin-bottom: 10px;
}

.nav-list {
    list-style: none;
    display: flex;
}

    .nav-list li {
        margin-right: 20px;
    }

        .nav-list li:last-child {
            margin-right: 0;
        }

    .nav-list a {
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        font-size: 16px;
        transition: color 0.3s;
    }

        .nav-list a:hover {
            color: #007bff;
        }

.main {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

.blog-post {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.post-image {
    max-width: 100%;
    height: auto;
    margin-right: 20px;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.meta {
    font-style: italic;
    color: #666;
}

.author {
    font-weight: bold;
}

.date {
    font-weight: bold;
}

.category {
    font-weight: bold;
    color: #007bff;
}

.post-text {
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #9a2734;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

    .read-more:hover {
        background-color:white;
    }

.footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
.social-bar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: #9a2734;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
}

.social-icon {
    display: block;
    margin-bottom: 10px;
}

    .social-icon img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        margin-right: 10px;
    }

 
        .social-icon:hover img {
            filter: brightness(1.2);
        }
/* Estilo para la lista de redes sociales */
.social-list {
    list-style: none;
    padding: 20px;
}

.social-item {
    margin-bottom: 10px;
}



