* {
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  text-decoration: none;
}
.container {
  width: 100%;

  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.bg-main {
  background-color: #4285f4;
}
.text-white {
  color: #fff;
}

.row {
  display: flex;
}

.header {
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}
@media (max-width: 576px) {
  .header {
    padding: 10px 0;
  }
}
.nav {
  background: #ff0000;
  justify-content: space-between;
  align-items: center;
}
.nav i {
  font-size: 20px;
  color: whitesmoke;
  padding: 0 5px;
}
.nav ul {
  list-style: none;
}
.nav ul li {
  padding: 5px;
}
.nav ul li a {
  color: #fff;
  font-weight: bold;
}
@media (min-width: 576px) {
  #toggle-nav {
    display: none;
  }
  .nav ul li {
    box-shadow: 1px 0px 0px 0px black;
  }
}
@media (max-width: 576px) {
  #toggle-nav {
    font-size: 30px;
  }
  .nav ul li a {
    font-size: small;
  }
  .nav ul li {
    padding: 5px;
  }
  .nav ul {
    flex: 2;
    flex-direction: column;
    display: none;
  }
  .nav {
    justify-content: end;
    align-items: start;
  }
  .nav ul li a i {
    display: none;
  }
}
.card-title {
  font-size: 20px;
  background: #ededed;
  text-align: center;
  padding: 5px;
  box-shadow: 0px 1px 1px 0px;
}
.form-group {
  justify-content: center;
  padding: 10px 0;
}
.form-group select,
.form-group label {
  margin: 0 2px;
  font-weight: bold;
  font-size: 20px;
}
@media (max-width: 576px) {
  .form-group select,
  .form-group label {
    font-size: 16px;
  }
}
.btn {
  padding: 5px 10px;
  margin: 0 5px;
  color: white;
  font-weight: bold;
  font-size: 18px;
}
@media (max-width: 576px) {
  .btn {
    font-size: 15px;
  }
}
.calculate-btn {
  background: green;
}
.reset-btn {
  background: red;
}
.card {
  padding: 10px;
  border: 1px solid gray;
}
.result-card {
  flex-direction: column;
   
  align-items: baseline;
  font-weight: bold;
   
}
.item {
  padding: 10px 0;
  border-bottom: 1px solid gray;
  background: #ffffe3;
  width: 100%;
  text-align: center;
}
.result-title {
  background: #067900;
  color: white;
}
.center {
  text-align: center;
}
.footer {
  background: #c8fbff;
  padding: 5px;
}
.item span {
  background: #ff0000;
  color: white;
  padding: 2px 5px;
  border-radius: 10px;
}

/* Base styling for the result section */
#result {
   
  background: #f5f5f5;
   border: 1px solid gray;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   
}

/* Title styling */
.card-title.result-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
   
}

/* Result card container styling */
.result-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Individual result item styling */
.disclaimer{
  border-top: none;
}
/* Styling for the span element */
.item span {   
  background: #5a09ff;
  color: white;
  font-size: 15px;
  border-radius: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}


