body {
    font-family: 'Arial', sans-serif;
    padding: 20px;
    background-color: #1c1c1c; /* Fondo oscuro */
    color: #d3d3d3; /* Texto en gris claro */
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    background-color: #282828;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    background-color: #282828;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.logo {
    height: 40px; /* Reducir tamaño de la imagen */
    margin-right: 10px;
}

.header-title {
    color: #9982BC; /* Tono morado */
    font-weight: bold;
    font-size: 1.5rem;
}

.logout-button {
    background-color: #4CAF50; /* Verde atractivo */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.logout-button:hover {
    background-color: #45a049; /* Color más oscuro en hover */
    transform: scale(1.05); /* Efecto de zoom al pasar el cursor */
}

/* Responsivo para dispositivos móviles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .logout-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

main {
    text-align: center;
    margin-top: 20px;
}

h1 {
    color: #9982BC;
    font-weight: bold;
    font-size: 2.5rem;
    margin: 10px 0;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    background-color: #282828;
    color: #d3d3d3;
    border: 1px solid #9982BC;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #9982BC;
    color: #1c1c1c;
}

/* Estilo responsivo */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logout-button {
        margin-top: 10px;
        align-self: flex-end;
    }

    .button-container {
        width: 100%;
    }
}
.logout-button {
    background-color: #ff6347; /* Tono rojo vibrante */
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px; /* Espaciado con la imagen */
}

.logout-button:hover {
    background-color: #e55347; /* Color más oscuro al pasar el cursor */
}

@media (max-width: 768px) {
    .logout-button {
        font-size: 0.9rem;
        padding: 8px 12px;
        margin-top: 10px;
        align-self: flex-end; /* Ajuste en pantallas pequeñas */
    }
}
