/* style.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: auto;
    max-width:700px;
    overflow: auto;
    height: auto;
}



header, footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
}

nav a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
}

nav a:hover {
    text-decoration: underline;
}

form {
    margin: 2em auto;
    width: 90%;
    max-width: 400px;
    padding: 1em;
    background-color: #fff;
    border: 1px solid #ccc;
}

input, textarea {
    width: 100%;
    padding: 0.5em;
    margin: 0.5em 0;
    box-sizing: border-box;
}

button {
    padding: 0.5em;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
}

.post {
    background-color: #fff;
    border: 1px solid #ccc;
    margin: 1em 0;
    padding: 1em;
}

.post img, .post video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5em 0;
}

@media (max-width: 600px) {
    header, footer {
        padding: 0.5em 0;
    }

    nav a {
        display: block;
        margin: 5px 0;
        width: 100px;
    }

    form {
        width: 95%;
        padding: 0.5em;
    }

    input, textarea {
        padding: 0.4em;
        margin: 0.4em 0;
    }

    button {
        padding: 0.4em;
    }

    .post {
        margin: 0.5em 0;
        padding: 0.5em;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    form {
        width: 80%;
    }

    input, textarea {
        padding: 0.5em;
        margin: 0.5em 0;
    }

    button {
        padding: 0.5em;
    }
}

/* Estilo para el logo */
#logo {
    height: 70px; /* Ajusta la altura del logo según tus necesidades */
    width: auto; /* Mantiene la proporción del logo */
    display: inline-block; /* Asegura que se muestre en línea con el título */
    vertical-align: middle; /* Alinea verticalmente con el título */
    margin-right: 10px; /* Espacio entre el logo y el título */
}

/* Estilo para el contenido del header */
.header-content {
    display: flex;
    align-items: center; /* Alinea verticalmente el logo y el título */
}

/* Ajusta el estilo del header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px; /* Ajusta el padding según tus necesidades */
    background-color: #f5f5f5; /* Color de fondo del header */
}

header h1 {
    margin: 0; /* Elimina el margen del título */
}

/* Estilo para el nav dentro del header */
header nav {
    margin-top: 10px; /* Añade un margen superior para separar el nav del logo y el título */
}

header nav a {
    margin: 0 10px; /* Espacio entre los enlaces del nav */
    text-decoration: none; /* Elimina la subrayado de los enlaces */
    color: #333; /* Color del texto de los enlaces */
}

header nav a:hover {
    color: #007BFF; /* Color del texto de los enlaces al pasar el cursor por encima */
}

.hamburger-menu {
    position: relative;
}

.hamburger {
    background-color: black;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropdown-menu.show {
    display: block;
}

.voting-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.voting-buttons button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    background-color: #f0f0f0;
}

.voting-buttons button:hover {
    background-color: #e0e0e0;
}

.vote-count {
    font-weight: bold;
}

.back-button {
    display: flex;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 8px;
    text-decoration: none;
    color: #000;
    font-size: 40px;
}

.back-button .icon {
    margin: 0px;
    
}


    /* Estilo para el título del post */
    .post h3 a {
        text-decoration: none; /* Sin subrayado */
        color: inherit; /* Mantener el color actual */
    }

    /* Estilo para "Ver más" */
    .read-more {
        text-decoration: none; /* Sin subrayado */
        color: inherit; /* Mantener el color actual */
    }

    /* Estilo para el enlace al perfil del usuario */
    .post small a {
        text-decoration: none; /* Sin subrayado */
        color: inherit; /* Mantener el color actual */
    }

    /* Estilo para el enlace a WhatsApp */
    .post h4 a {
        text-decoration: none; /* Sin subrayado */
        color: green; /* Color verde */
    }

    nav #breadcrumbs {
            padding: 10px;
            background-color: #f0f0f0;
            font-size: 0.9em;
            width: 200px;
            
        }

        nav #breadcrumbs a {
            text-decoration: none;
            color: #333;
        }

        nav #breadcrumbs a:hover {
            text-decoration: underline;
        }
        
       

