/* Палитра
https://colorscheme.ru/#3j31Tjt9Zw0w0 
акцент-аналогия
*/

body {
  color: #fff;
}

h1 {
  font-size: 2.5rem;
}

h1, a:hover {
  color: #539498;
}

h2 {
  font-size: 1.5rem;
  color: #A7896F;
}

a {
  text-decoration: none;
  color: #f0ad4e;
  font-size: 14px;
}

a:hover {
  text-decoration: none;
}

input {
  width: 40px;
  padding-left: 5px;
  border-radius: 5px;
}

.consumption {
  width: 60px;
}

.power {
  width: 80px;
}

.result {
  width: 150px;
}

p {
  color: #fff;
  margin-bottom: 1px;
}

button {
  margin-bottom: 10px;
}

.btn-primary {
  background-color: #569F5B;
  border-color: #569F5B;
}

.btn-primary:hover {
  background-color: #193F1B;
}

.col-form-label {
  padding-right: calc(.375rem + 1px);
  font-size: 1rem;
}

.form-group {
  margin-left: 2rem;
}

.spoiler {
  height: 20%;
}

.btn-spoiler, .btn-spoiler:hover {
  background-color: #341D0A;
  color: #fff;
  margin-bottom: 10px;
}

.spoiler .card-body {
  background-color: transparent;
}

blockquote {
  font-size: 0.9rem;
  font-style: italic;
}

footer {
  color: #bebebe;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 14px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  text-align: center;
}

@media (min-width: 320px) and (max-width: 425px) {
  h1 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  .col-form-label, .btn {
    font-size: 0.75rem;
  }
  .col-form-label {
    padding-right: 0;
  }
  footer, footer a {
    font-size: 0.75rem;
  }
}

/*Фон с радиальным градиентом и шумом http://blog.harrix.org/article/2056*/

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

/* html, body {min-height:100%;height:100%;margin:0;} */

body {
  background: url(../img/bk.svg);
  background-attachment: fixed;
  background-repeat: repeat;
  background-position: 50% 50%;
  -o-background-size: 100% 100%;
  -webkit-background-size: 100% 100%;
  -khtml-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
}

#noise {
  /* position: absolute; */
  width: 100%;
  background-image: url("../img/noise.png");
  background-attachment: fixed;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #noise {
    background-image: url("../img/noise@2x.png");
  }
}

/* /Фон с радиальным градиентом и шумом*/

/* анимация пламени */

.flex-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.flame__container {
  z-index: 1;
  margin: 0;
  width: 60px;
  height: 60px;
  position: relative;
  transform-origin: center bottom;
  animation-name: flicker;
  animation-duration: 4ms;
  animation-delay: 200ms;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.flame {
  bottom: 0;
  position: absolute;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
  transform: rotate(-45deg) scale(1.5, 1.5);
}

.yellow {
  left: 15px;
  width: 30px;
  height: 30px;
  background: gold;
  box-shadow: 0px 0px 9px 4px gold;
}

.orange {
  left: 10px;
  width: 40px;
  height: 40px;
  background: orange;
  box-shadow: 0px 0px 9px 4px orange;
}

.red {
  left: 5px;
  width: 50px;
  height: 50px;
  background: OrangeRed;
  box-shadow: 0px 0px 5px 4px OrangeRed;
}

.white {
  left: 15px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  background: white;
  box-shadow: 0px 0px 9px 4px white;
}

.circle {
  border-radius: 50%;
  position: absolute;
}

.blue {
  width: 10px;
  height: 10px;
  left: 25px;
  bottom: -25px;
  background: SlateBlue;
  box-shadow: 0px 0px 15px 10px SlateBlue;
}

@keyframes flicker {
  0% {
    transform: rotate(-1deg);
  }
  20% {
    transform: rotate(1deg);
  }
  40% {
    transform: rotate(-1deg);
  }
  60% {
    transform: rotate(1deg) scaleY(1.04);
  }
  80% {
    transform: rotate(-2deg) scaleY(0.92);
  }
  100% {
    transform: rotate(1deg);
  }
}

/* /анимация пламени */

@media screen and (max-width: 425px) {
  .burner {
    transform: scale(0.6);
  }
  table {
    font-size: 0.6rem;
  }
}