@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  font: normal 1rem/1.4rem Roboto, Verdana, Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; 
  overflow-x: hidden;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: #050210;
  color: #ffb;
}

a {
  text-decoration: none;
  color: #4e1781;

}

header {
  margin: 2vh 2vw;
  height: 25vh;
  max-width: 100vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2vw;
  background-color: rgba(255, 255, 255, 0.1);
  background-image: url(../img/smoke.jpg);
  background-position: center;
  background-size: cover;
}

header h1 {
  font: 5rem bold Roboto, Verdana, Arial, sans-serif;
  color: #9f0;
}

main {
  margin: 2vh 2vw;
  max-width: 100vw;
  min-height: 64vh;
  background-color: #100420;
  border-radius: 2vw;
  padding: 2vh;
}

main h2 {
  font-size: 1.2rem;
  text-align: center;
}

section {
  width: 100%;
  margin-top: 2vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

aside#left {
  width: 60vw;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  margin: 2vh;
}

aside#right {
  width: 60vw;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  margin: 2vh;
  margin: 6vh;
}

label, p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

input {
  width: 50px;
  text-align: right;
}

div#error-output {
  color: #f80;
}

span#base-result,
span#flavour-result,
span#nicotin-result {
  color: #9f0;
}

button#calculate {
  width: 80px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.2vh;
  margin-top: 2vh;
  font-size: 0.9rem;
}

footer {
  width: 100vw;
  height: 7vh;
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font: normal 0.7rem/1rem Roboto, Verdana, Arial, sans-serif;
  padding: 0 2vh;
  font-size: 0.75rem;
}