@font-face {
  font-family: "Colfax";
  src: url("https://cdn.glitch.com/d25a49e4-f60d-4a9d-a93b-0a6f058d25c0%2FColfaxWebLight.otf?v=1624286854022");
}

@font-face {
  font-family: "Colfax";
  src: url("https://cdn.glitch.com/d25a49e4-f60d-4a9d-a93b-0a6f058d25c0%2FColfaxWebRegular.otf?v=1624286372934");
  font-weight: 600;
}

@font-face {
  font-family: "Colfax";
  src: url("https://cdn.glitch.com/d25a49e4-f60d-4a9d-a93b-0a6f058d25c0%2FColfaxWebMedium.woff2?v=1624289861581");
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Colfax";
  color: #565869;
}

#wrapper {
  width: 100vw;
  display: flex;
}

#submission {
  flex: 2;
  display: flex;
  flex-direction: column;
}

#dashboard {
  display: flex;
  flex-direction: row;
}

#output {
  width: 56vw;
  height: 54vh;
  margin-top: 1vh;
  margin-left: 4vw;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 6px;
  padding-left: 8px;
}

#factors {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 4vh;
  margin-left: 4vw;
  margin-right: 2vw;
}

#explanation {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 4vh;
  margin-left: 2vw;
  margin-right: 4vw;
}

.header {
  margin-bottom: 1vh;
  acolor: black;
}

button {
  width: 33%;
  margin-bottom: 2vh;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.6rem;
  border-radius: 3px;
  border-style: none;
  color: white;
  background: #5536da;
  transition: 0.5s;
}

button:hover {
  background: #482da8;
  cursor: pointer;
}

#btn-explanation {
  background: #0ea47f;
}

#btn-explanation:hover {
  background: #148f71;
}

input {
  border: 1px solid #ccc;
  border-radius: 3px;
}

textarea {
  width: 100%;
  height: 2rem;
  padding: 7px;
  color: black;
  margin-bottom: 2vh;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  resize: none;
  font-weight: 600;
}

textarea::-webkit-input-placeholder {
  color: #565869;
  font-weight: 400;
}

textarea::-moz-placeholder {
  color: #565869;
  font-weight: 400;
}

textarea:-ms-input-placeholder {
  color: #565869;
  font-weight: 400;
}

textarea::placeholder {
  color: #565869;
  font-weight: 400;
}

label {
  color: black;
}

span {
  color: black;
}

#number {
  color: black;
  margin-left: 0.5vw;
  text-align: center;
  padding: 2px;
  text-indent: 3px;
}

.params-container {
  flex: 1;
  width: 100%;
  height: 100vh;
  border-left-style: solid;
  border-left-width: 1px;
  border-color: #ccc;
  padding-top: 4vh;
  padding-left: 2vw;
  padding-right: 2vw;
  display: flex;
  flex-direction: column;
}

.param {
  margin-bottom: 2vh;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: #c5c6d2;
  outline: none;
  opacity: 1;
}

.slider::-webkit-slider-thumb:hover {
  border-color: #5536da;
}

#slider-freq::-webkit-slider-thumb:hover {
  border-color: #0ea47f;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border-style: solid;
  border-width: 2px;
  border-color: #c5c6d2;
  background: rgba(255, 255, 255);
  cursor: pointer;
  transition: 0.3s;
}

#hover1 {
  position: relative;
  display: inline-block;
}

#hover2 {
  position: relative;
  display: inline-block;
}

#hover3 {
  position: relative;
  display: inline-block;
}

#tooltip1 {
  visibility: hidden;
  width: 15rem;
  right: 33vw;
  bottom: -12vh;
  background-color: white;
  color: #565869;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.1);
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

#hover1:hover #tooltip1 {
  visibility: visible;
  opacity: 1;
  cursor: context-menu;
}

#tooltip2 {
  visibility: hidden;
  width: 15rem;
  right: 33vw;
  bottom: -7vh;
  background-color: white;
  color: #565869;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.1);
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

#hover2:hover #tooltip2 {
  visibility: visible;
  opacity: 1;
  cursor: context-menu;
}

#tooltip3 {
  visibility: hidden;
  width: 15rem;
  right: 33vw;
  bottom: -4vh;
  background-color: white;
  color: #565869;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.1);
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

#hover3:hover #tooltip3 {
  visibility: visible;
  opacity: 1;
  cursor: context-menu;
}

#tooltip4 {
  visibility: hidden;
  width: 15rem;
  right: 9vw;
  bottom: 2vh;
  background-color: white;
  color: #565869;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.1);
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

#click1:hover #tooltip4 {
  visibility: visible;
  opacity: 1;
  cursor: context-menu;
}

i {
  font-size: 1.4rem;
  margin-left: .5vw;
  margin-right: .5vw;
  margin-top: 1vh;
  border-radius: 1rem;
  cursor: pointer;
}
