/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    margin-top: 100px;
}

/* Estilos del encabezado y el menú */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #404040;
    color: white;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5em 1em;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #606060;
    border-radius: 5px;
}

/* Estilos de las secciones */
section {
    padding: 2em 1em;
    max-width: 800px;
    margin: 0 auto;
}

section h2 {
    color: #00a6cf;
    margin-bottom: 0.5em;
}

section .content {
    display: flex;
    align-items: center;
    gap: 1em;
}

section .content .text {
    flex: 1;
}

section .content .image img {
    max-width: 100%;
    border-radius: 10px;
}

p {
    padding-bottom: 1em;


}

a:link {
    color: #a0a0a0;
    text-decoration: none;
}
a:visited {
    color: #a0a0a0;
    text-decoration: none;
}

a:hover {
    color: red;
}
a:active {
    color: red;
}

li a:hover {
    color: white;
    font-weight: bold;
}
li a:active {
    color: white;
    font-weight: bold;
}

/* Estilos para la sección de accionistas */
#accionistas form {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 1em;
}

#accionistas textarea {
    resize: vertical;
    padding: 0.5em;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#accionistas button {
    padding: 0.7em;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accionistas button:hover {
    background-color: #003f7f;
}

/* Estilos del pie de página */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1em;
    background-color: #404040;
    color: white;
    font-size: 0.9em;
    margin-top: 2em;
}
