body {
  font-family: "Dosis", sans-serif;
  line-height: 1.5;
  font-size: 1rem;
  color: #333;
  background-color: #f5f5f5;
}

#loading {
  display: none;
}

.container {
  max-width: 50rem;
  border: #333 solid 1px;
}

.input-group input:hover {
  border: 0.1rem #4d0099 solid;
}

.header {
  text-align: center;
  font-size: 1.2rem;
  border-bottom: 0.1rem #d9b3ff dashed;
}

th,
td {
  text-align: center;
}

/* button styles */
.btn {
  background-color: #4d0099;
  color: #ffffff;
}

.btn:hover {
  background-color: #330066;
  color: #ffffff;
}

.btnCalculate {
  background-color: #8000ff;
  border: none;
  padding: 0.5rem;
}

.btnCalculate:hover {
  background-color: #6600cc;
}

.btnDelete {
  border: none;
  background: transparent;
  color: #f2e6ff;
  background-color: #4d0099;
  border-radius: 0.5rem;
}
.btnDelete:hover {
  scale: 1.2;
}

/* alert if it doesnt find food */
.alert {
  opacity: 0.8;
}
.alert h1 {
  font-size: 1rem;
  text-align: center;
}
.alert p {
  font-size: 1rem;
  text-align: left;
}

.alert ul {
  font-size: 0.7rem;
  text-align: left;
}

.spinner-grow {
  color: #6600cc;
}

/* total calori */

.total {
  border: 0.1rem #6600cc solid;
  width: 4rem;
  text-align: center;
  opacity: 0;
}

#totalHeader {
  opacity: 0;
}

@media (max-width: 575.98px) {
  .container {
    max-width: 20rem;
  }

  td input {
    width: 3rem;
  }

  th {
    font-size: 0.6rem;
  }

  td {
    font-size: 0.5rem;
  }
  .btn {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  .d-flex {
    justify-content: center !important;
  }
  .d-flex h2 {
    font-size: 1rem;
  }
}

@media (min-width: 575.98px) and (max-width: 820px) {
  .container {
    max-width: 46rem;
  }
}
