.div {
  padding: 3% 0 0;
  margin: auto;
  text-align: center;
}
form, .form {
  border-radius: 1rem;
  background: #fff;
  max-width: 360px;
  margin: 0 auto 10px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2), 0 5px 5px 0 rgba(0, 0, 0, .24)
}
input, textarea {
  background: #f2f2f2;
  margin: 0 0 15px;
  box-sizing: border-box;
  -webkit-appearance: none;
}
hr {
  border: 1px solid #F2F2F2;
}
select, .cancel {
  text-align: center;
  margin: 10px 0;
  background: #fff !important;
  color: #4caf50 !important;
  border: 2px solid #4caf50 !important;
}
.btn {
  border-radius: 0.25rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  background: #4caf50;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #FFF;
  font-size: 14px;
  transition: all .3 ease;
  cursor: pointer
}
.text {
  border-radius: 0;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #000;
  font-size: 14px;
  transition: all .3 ease;
}
.hidden {
  display: none;
}
p {
  font-size: 20px;
}
h1 {
  font-size: 400%
}
h2 {
  font-size: 200%
}
.h4 {
  font-size: 50%
}
a {
  color: #fff;
  font-size: 13px;
}


.fixed-container {
  position: absolute;
  background-color: rgba(22, 43, 78, 0.5);
  width: 100%;
  padding: 10px 10px 0px 50px;
  top:0;
}

.left-block {
  float: left;
  font-size: 150%;
}

.right-block {
  float: right;
  width: 50%;
  text-align: right;
}
.right-block a {
  margin: 15px;
  text-decoration: none;
}
body {
  font-family: "Arial";
  font-weight: bold;
  background-color: #162B4E !important;
  color: #fff;
}

.div, :fullscreen, ::backdrop {
  background: url('/assets/img/bg.svg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  /*background:linear-gradient(90deg, #8dc26f 0, #76b852 50%);*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}
b, i {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: 14px;
  background-position: center center;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-bottom: 4px;
}
.top {
  width: 100px;
  position: absolute;
  top: 0;
  padding: 1px;
  opacity: 0.6;
}
.row, h1 {
  color: #000;
}

.div {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100vh;
}

.container {
  display: flex;
}

.row {
  z-index: 1;
  width: 360px;
  margin: 10px;
}
strong {
  font-weight: bold;
}
#manual {
margin: 2%;
}
#history-block {
  padding-top: 10px;
  width: 50%;
}
#history-top {
  float: right;
}
#history-last {
  margin-right: 15%;
}

#social-link {
  font-size: 1000%;
}
#social-link a span {
  font-size: 400%;
}
@media screen and (max-width: 700px) {
  .container {
    flex-direction: column;
    /* Показывать блоки друг под другом */
    align-items: center;
    /* Выравнивать по центру по горизонтали */
  }
  .block {
    margin: 5px;
    /* Меняем отступы, чтобы было лучше на маленьких экранах */
  }
  .right-block {
    display: none;
  }
  #history-block {
    width: auto;
  }
}

.rocking {
  animation: rocking 3s infinite ease-in-out;
}
@keyframes rocking {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.notify {
  animation: notification 15s infinite;
}
@keyframes notification {
  0% {
    transform: rotate(0deg);
  }
  4% {
    transform: rotate(1deg);
  }
  6% {
    transform: rotate(3deg);
  }
  8% {
    transform: rotate(-3deg);
  }
  10% {
    transform: rotate(3deg);
  }
  12% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Define the vibration animation using @keyframes */
@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translate(-2px, 2px);
  }
  50% {
    transform: translate(2px, -2px);
  }
  75% {
    transform: translate(-2px, -2px);
  }
  100% {
    transform: translate(2px, 2px);
  }
}

/* Apply the animation to the target element */
.vibration {
  animation: vibrate 0.1s linear 1;
}

#footer {
  margin: 5% 10%;
}

#footer h3, #footer h4 {
  font-weight: 300;
  font-size: 170%;
  margin: 10px;
}
#footer h4 {
  font-size: 110%;
}
#footer h3 {
  color: #5e72e4;
}

.copyright, .copyright a {
  font-weight: 400;
  line-height: 1.5;
  color: #8898aa;
  text-align: left;
  font-size: 100%;
}
.social {
  float: right;
  margin: 2%;
}
.social a {
  font-size: 300%;
  margin: 2%;
}

.buy {
  background-color: #fff;
  color: #000;
  display: block;
  width: 190px;
  text-align: center;
  float: right;
  margin-top: -14px !important;
}

*:disabled {
  opacity: 0.5;
}

#chart .ct-label {
  color: #fff;
}

#chart svg {
  margin-top: 10%;
  height:250px !important
}
#chart .ct-grid {
  stroke: rgba(255,255,255,.2);
  stroke-width: 1px;
  stroke-dasharray: 2px;
}
.ct-series-a .ct-bar, .ct-series-a .ct-line, .ct-series-a .ct-point, .ct-series-a .ct-slice-donut {
  stroke: #5e72e4;
}