body {
    background-color: rgb(219, 231, 234);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

#exercise-container {
    display: flex;
}
#chart-container {
    width: 40%;
    padding: 20px;
}

#quiz-container {
    width: 60%;
    padding: 20px;
    text-align: center;
}

#problem {
    font-size: 24px;
    margin-bottom: 20px;
    color: red;
}

.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
}

.flash-error {
    background-color: rgb(244, 180, 140);
    color: #ff0000;
}

.flash-success {
    background-color: rgb(140, 244, 144);
    color: #095a00;
}

.flash-message.show {
    opacity: 1;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espacio entre imágenes */
}
.grid-item {
    flex: 1 1 200px;
    max-width: 200px;
}
.grid-item img {
    width: 100%;
    height: auto;
    border: 1px solid grey;
}