/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
 
body {
    background-color: black;
    color: white;
}
 
/* Menu */
.navbar {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 40px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}
 
.logo img { width: 200px; }
.logo a   { display: inline-block; }
 
/* Buscar */
.search {
    width: 40%;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    background: rgb(23, 23, 39);
    color: white;
    font-size: 14px;
}
 
/* Menu iconos */
.navbar nav         { display: flex; align-items: center; gap: 15px; }
.navbar nav img     { width: 7%; height: 25px; }
.navbar a           { margin-left: 3px; text-decoration: none; color: white; font-size: 13px; cursor: pointer; }
.navbar a:hover     { color: darkred; }
 
/* Banner */
.banner {
    margin: 25px 3%;
    background: url(Imagenes/CocheDelMes.webp) center/cover;
    padding: 100px;
    border-radius: 15px;
}
 
.banner h1           { font-size: 36px; margin: 10px 0; }
.banner button       { background: red; border: none; padding: 10px 20px; border-radius: 8px; color: white; cursor: pointer; }
.banner button:hover { background: darkred; }
 
/* Contenido principal */
.container { display: flex; padding: 30px 60px; gap: 40px; }
.feed      { flex: 2; }
.sidebar   { flex: 1; }
 
/* Stories (Decorativo) */
.stories { display: flex; gap: 20px; margin: 25px 0 30px 0; }
 
.story {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #626262;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
 
.story:hover  { scale: 1.1; }
.story img    { width: 100%; height: 100%; border-radius: 50%; }
 
/* Publicaciones */
.post {
    background: #1a1a23;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
 
/* Header publicacion */
.post-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
 
.user-info             { display: flex; align-items: center; gap: 12px; }
.user-info img         { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.user-info strong      { display: block; font-size: 15px; cursor: pointer; }
.user-info strong:hover { color: #ff3b3b; }
.user-info span        { font-size: 13px; color: #aaa; }
 
/* Imagen publicacion */
.post-img { width: 100%; border-radius: 15px; margin-bottom: 15px; object-fit: cover; }
 
/* Separador */
.post hr { border: none; height: 1px; background: #2a2a35; margin: 20px 0; }
 
/* Descripcion */
.comentarios        { font-size: 15px; }
.comentarios strong { margin-right: 5px; cursor: pointer; }
.comentarios strong:hover { color: #ff3b3b; }
 
/* Acciones */
.post-acciones { display: flex; gap: 25px; margin-bottom: 10px; }
 
/* Acciones (Decorativas) */
.accion           { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.accion img       { width: 24px; }
.accion:hover     { scale: 1.15; opacity: 0.7; }
 
/* Boton de like */
.like-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
 
.like-btn.activo { color: red; }
.like-btn img    { width: 24px; }
 
/* Columna derecha (Decorativa) */
.linea { margin: 28px 0 20px 0; }
 
.card {
    background: #1a1a23;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}
 
.card hr         { margin: 5px 0 20px 0; }
.card ul         { list-style: none; margin-top: 10px; }
.card li         { margin: 8px 0; cursor: pointer; }
.card li:hover   { color: darkred; }
.card img        { margin-top: 30px; width: 100%; }
.card h3         { cursor: pointer; }
.card h3:hover   { opacity: 0.6; }
 
/* Colores medallas del top 3 */
.Primero h3 { color: gold; }
.Segundo h3 { color: silver; }
.Tercero h3 { color: rgb(177, 147, 147); }
 
/* Mensaje */
.sin-pubs { color: #aaa; margin-top: 20px; }