body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(to right, #1e1e1e, #262626);
  color: #fff;
}

.container-wrapper {
  background-color: transparent;
  padding: 20px;
  position: sticky;
  min-width: fit-content;
  border-radius: 15px;
  box-shadow: 0 0 20px hsla(0, 0%, 0%, 0.1);
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
  display: flex;
  justify-content: center;
}

@media (max-width: 600px) {
  .container-wrapper {
    width: 90%;
    margin: 10px auto;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-container1,
.input-container2,
.input-container3 {
  flex: 1;
  margin: 10px;
  margin-bottom: 0px;
  text-align: center;
  max-width: 300px;
}

.result-container {
  flex: 1;
  margin-bottom: 0px;
  text-align: center;
}

@media (min-width: 800px) {
  .result-container #innerLeafTLLabel,
  #outerLeafTLLabel,
  #insulatedCavityF0Label,
  #emptyCavityF0Label {
    margin: 20px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

label {
  display: block;
  margin-bottom: 0px;
  font-size: smaller;
}

input {
  max-width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 30px;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000036;
  background-color: #3d3d3d;
  color: #fff;
  transition: background-color 0.3s, color 0.3s;
}

input:hover,
input:focus {
  background-color: #4d4d4d;
  border-width: 2px;
}

#unit-system-button {
  position: relative;
  top: 0px;
  left: 50%;
  width: 100px;
  transform: translateX(-50px);
}

button {
  font-family: 'Montserrat', sans-serif;
  font-size: medium;
  padding: 12px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000036;
  background-color: #3d3d3d;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

button:hover {
  background-color: #ff6b6b;
}

p,
h1,
#innerLeafMassLabel,
#outerLeafMassLabel,
footer {
  margin: 15px;
}

h1 {
  font-weight: bold;
  margin-bottom: 0px;
  font-size: 34px;
  text-align: center;
  padding: 10px;
}

h3 {
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

p {
  font-size: larger;
  font-style: bold;
  text-align: center;
  padding: 0px;
}

canvas {
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

table {
  width: 80%;
  margin-left: 10%;
  border: 1px solid black;
  border-collapse: collapse;
}

th, td {
  border: 1px solid rgba(100, 150, 200, 180);
  text-align: left;
  width: 40%;
  padding: 5px;
}

footer {
  margin: 20px;
  text-align: center;
  font-size: medium;
  font-weight: lighter;
  font-style: italic;
}
