@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
    padding: 20px;
}

.wrapper {
    max-width: 1100px;
    margin: 20px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

#titulo_web {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    color: #111;
}

header .logo img {
    width: 100px;
}

.menu {
    display: flex;
    gap: 15px;
    list-style: none;
    background-color: #2c3e50;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.menu a:hover {
    background-color: #3498db;
}

.contenedor-principal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.placeholder-galaxia {
    width: 100%;
    height: 350px;
    background-color: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Instrument Serif', serif;
    margin-bottom: 20px;
    color: #2c3e50;
}

h3 {
    margin: 30px 0 15px;
    color: #222;
    border-left: 4px solid #3498db;
    padding-left: 10px;
}

.noticias-y-foro {
    display: flex;
    gap: 30px;
}

.noticias-y-foro>div {
    width: 100%;
}

ul {
    list-style: none;
}

li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

li:hover {
    color: #3498db;
    padding-left: 5px;
}

.widget {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 25px;
}

.foto-principal {
    margin-top: 15px;
    width: 100%;
}

.foto-principal img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 5px;
}

.grid-fotos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.foto {
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img {
    max-width: 100%;
    border-radius: 5px;
}

.buscador {
    display: flex;
    align-items: center;
    gap: 5px;
}

.buscador input {
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
}

form input[type="text"],
form input[type="email"],
form select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #3498db;
}

footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.9rem;
}