/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.btn {
    font-weight: bold;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .button-right {
    display: flex;
    gap: 5px;
  }

.btn-success {
    background-color: #28a745;
    color: white;
}
  
.btn-danger {
    background-color: #dc3545;
    color: white;
}
  
.btn-info {
   background-color: #17a2b8;
   color: white;
}

.container {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color:  rgb(255,255,255);
}

header, nav, main {
    margin-bottom: 20px;
}

header h1 {
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    background-color: rgb(240,242,245);
    margin-left: 20px;
    padding: 5px 20px 5px 20px;
    border-radius: 10px;
}

.item-active {
    background-color: rgb(231,252,227);
}

nav a {
    text-decoration: none;
    color: #333;
}

section {
    margin-bottom: 20px;
    display: none; /* Ocultar todas las secciones por defecto */
}

section.active {
    display: block; /* Mostrar solo la sección activa */
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
}

#totalValue, #maxPricePerKg {
    font-weight: bold;
    font-size: 40px;
}

