@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@1,100;1,300&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #8ec5fc;
  background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
}

h1 {
  font-size: 2rem;
  color: rgb(32, 78, 121);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

h2 {
  font-size: 1.5rem;
  color: #4f769c;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

.text-bold {
  font-weight: 900;
  color: rgb(0, 132, 255);
  font-size: larger;
}

.container {
  background-color: whitesmoke;
  border-radius: 10px;
  box-shadow: 0 0 20px 2px #333333d8;
  padding: 20px;
  margin: 30px;
  min-width: 1064px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap; 
  align-items: center;
  max-height: fit-content;
  max-width: fit-content;
}


.title-container {
  width: 1024px;
  overflow: hidden;
  flex-shrink: 1;
  flex-grow: 0;
  max-height: fit-content;
  margin-bottom: 20px;
}

.main-container {
  width: auto;
  display: flex;
  flex-direction: row;
}

@media(max-width:1350px) {
  .main-container {
    flex-direction: column;
  }
}

.nav-container {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1024px;
  max-height: 280px;
}

@media (min-width: 1350px) {
  .nav-container {
    flex-direction: column;
    width: 200px;
    max-height: fit-content;
    margin-right: 20px;
  }
}

.nav-container > * {
  width: 200px;
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 0;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 10pxx c;
}

.form-div {
  display: flex;
  flex-direction: column;
  /*margin-right: 30px;*/
}

.result-div {
  min-width: 50%;
  flex-grow: 1;
  flex-shrink: 1;  
}

fieldset{
  border-width: 0px;
}

.content-container{
  display: flex;
  flex-direction: column;
}


.chart-container {
  background-color: whitesmoke;
}

canvas {
  color: bisque;
}

.result-table{
  text-align: left;
}

button{
  border-radius: 5px;
  border-width: 0px;
  background-color: rgba(52, 128, 202, 0.4);
  height: 2rem;
  margin-top: 0.5rem;
  font-size: 1rem;
}

button:hover{
  background-color: rgba(52, 128, 202, 1);
  color: white;
}

.calculate-btn{
  background-color: rgba(52, 128, 202, 1);
  color: white;
}

.calculate-btn:hover{
  background-color: rgba(52, 128, 202, 0.4);
  color: black;
}

button.clear{
  font-size: 2rem;
  color: rgba(52, 128, 202, 0.4);
  background-color: transparent;
  text-align: center;
  margin: 0px 10px;
}

button.clear:hover{
  color: rgba(52, 128, 202, 1);
}

