main {
    padding: 2rem;
}

h1 {
    margin: 0;
    font-size: 2.5em;
}
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 250px;
    height: 100px;
    background-color: #d4a373; /* Marrón claro */
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}
.btn svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}


/* Estilo para la barra de navegación */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #4CAF50; /* Color de fondo del menú */
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #4CAF50; /* Color de los botones */
    border: 1px solid #4CAF50;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: white;
    color: #4CAF50;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EAEAEA;
    color: #3C3C3C;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background-color: #004F73;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
header img {
    height: 90px;
}
.ticker-container {
    background-color: #76A728;
    color: white;
    padding: 10px;
    font-size: 1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.ticker {
    overflow: hidden;
    white-space: nowrap;
}
.ticker span {
    display: inline-block;
    padding-left: 30%;
    animation: ticker 180s linear infinite;
}
@keyframes ticker {
    from { transform: translateX(10%); }
    to { transform: translateX(-100%); }
}
.main-container {
    display: flex;
    flex: 1;
    flex-direction: row;
}
.tools-container {
    background-color: #004F73;
    color: white;
    width: 200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}
.tools-container a {
    background-color: #D9A404;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tools-container a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}
.content-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-btn {
    background-color: #D9A404;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 10px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chat-container {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.chat-container h2 {
    text-align: center;
    margin-bottom: 20px;
}
.chat-box {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    background-color: #f9f9f9;
    flex: 1;
}
.chat-input {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 0;
}
.chat-input button {
    padding: 10px 20px;
    background-color: #76A728;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.chat-input button:hover {
    background-color: #D9A404;
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #004F73;
    color: white;
}

/* Media Queries para diseño responsivo */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }
    .tools-container {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .tools-container a {
        flex: 1 1 200px;
        max-width: 250px;
    }
    header img {
        height: 70px;
    }
    .highlight-btn {
        font-size: 1.2em;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    header h1 {
        font-size: 1.5em;
        margin: 10px 0;
    }
    header img {
        height: 60px;
    }
    .ticker-container {
        font-size: 0.9em;
    }
    .chat-box {
        height: 200px;
    }
    .highlight-btn {
        font-size: 1em;
        max-width: 300px;
    }
    .tools-container a {
        padding: 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }
    header img {
        height: 50px;
    }
    .ticker-container {
        font-size: 0.8em;
    }
    .content-container {
        padding: 10px;
    }
    .chat-container {
        padding: 10px;
    }
    .chat-box {
        height: 150px;
    }
    .chat-input {
        flex-direction: column;
    }
    .chat-input input {
        width: 100%;
    }
    .chat-input button {
        width: 100%;
        padding: 10px;
    }
    .highlight-btn {
        font-size: 0.9em;
        padding: 10px;
        max-width: 100%;
    }
    .tools-container {
        padding: 10px;
    }
    .tools-container a {
        flex: 1 1 100%;
        max-width: none;
    }
}
