html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}
a {
  background-color: transparent;
  color: #337ab7;
  text-decoration: none;
}
a:active,
a:hover {
  outline: 0;
}
sub {
  line-height: 0;
  position: relative;
  bottom: -0.25em;
}
button,
input {
  color: inherit;
  font: inherit;
  margin: 0;
}
button,
html input[type="button"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
  text-indent: 7px;
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
}
button,
input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
a:focus,
a:hover {
  color: #23527c;
  text-decoration: underline;
}
a:focus {
  outline: -webkit-focus-ring-color auto 5px;
  outline-offset: -2px;
}
a,
body,
del,
div,
form,
header,
html,
i,
img,
li,
p,
s,
span,
sub,
time,
ul {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
header {
  display: block;
}
body {
  line-height: 1;
  width: 100%;
  min-width: 320px;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  border-top: 49px solid #191c24;
  padding: 20px 0 26px;
  height: 100%;
}
ul {
  list-style: none;
}
* {
  outline: 0;
}
.body {
  width: 1368px;
  margin: 0 auto;
  height: 100%;
  transform: translateY(120%);
  transition: transform 1s linear;
}
img {
  display: block;
}
.about {
  width: 276px;
  display: inline-block;
  vertical-align: top;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  position: relative;
  padding: 40px 0 0;
  height: 100%;
}
.about__avatar img {
  margin: 0 auto;
  border-radius: 5px;
  max-width: 180px;
}
.about__name {
  margin: 20px 0 0;
  text-align: center;
}
.about__name p {
  font: 24px/28px Arial-Bold, sans-serif;
  color: #fff;
}
.about__info {
  margin: 20px 30px 0 0;
}
.about__info > ul > li {
  height: 72px;
  position: relative;
  font: 16px/21px Arial-Bold, sans-serif;
  color: #fff;
}
.about__info > ul > li > p {
  padding: 15px 0 0 24px;
}
.about__info > ul > li > ul {
  margin: 25px 0 0 32px;
}
.about__info > ul > li > ul > li {
  font: 16px/21px Arial, sans-serif;
  color: #fff;
  padding: 0 0 0 32px;
  margin-bottom: 20px;
}
.about__info > ul > li > ul > li:last-child {
  margin-bottom: 0;
}
.about__info > ul > li:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
}
.about__info > ul > li:first-child:after {
  border-radius: 36px 36px 0 0;
  background: #5f73cd;
}
.about__info > ul > li:nth-child(2):after {
  background: #ee8208;
}
.about__info > ul > li:nth-child(3):after {
  background: #c76d4b;
}
.about__info > ul > li:nth-child(4):after {
  border-radius: 0 0 36px 36px;
  background: #ef5362;
}
.content {
  width: 1018px;
  display: inline-block;
  vertical-align: top;
  margin-left: 30px;
  border-radius: 10px 0 0 10px;
  height: 100%;
  overflow-y: scroll;
  background: url(../images/background.webp) center/cover no-repeat;
}
.content::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  transition: 0.5s;
}
.content::-webkit-scrollbar:hover {
  width: 10px !important;
}
.content::-webkit-scrollbar-button {
  background-color: rgba(0, 0, 0, 0.8);
}
.content::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.8);
}
.content::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0.8);
}
.content::-webkit-scrollbar-thumb {
  height: 50px;
  background-color: #3498db;
  border-radius: 15px;
  cursor: pointer;
}
.content::-webkit-scrollbar-thumb:hover {
  background-color: #54a22c;
}
.content::-webkit-scrollbar-corner {
  background-color: none;
}
.content::-webkit-resizer {
  background-color: none;
}
.header {
  background: rgba(0, 0, 0, 0.8);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  background-size: 55px;
  border-bottom: 1px solid #222;
}
.header__name {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  gap: 8px;
  margin: 20px 0 20px 40px;
}
.header__avatar {
  display: inline-block;
  vertical-align: top;
  width: 46px;
}
.header__avatar img {
  max-width: 100%;
}
.header__desc {
  display: inline-block;
  vertical-align: top;
}
.header__desc p {
  font: 14px/18px Arial, sans-serif;
  color: #fff;
}
.header__desc p span {
  font: 18px/21px Arial-Bold, sans-serif;
  color: #fff;
}
.header__online {
  display: inline-block;
  vertical-align: top;
  float: right;
  margin: 35px 40px 15px 0;
}
.header__online p {
  font: 14px/18px Arial, sans-serif;
  color: #fff;
  position: relative;
}
.header__online p:before {
  content: "";
  position: absolute;
  top: 3px;
  left: -16px;
  width: 11px;
  height: 11px;
  border-radius: 6px;
  background: #54a22c;
}
.chat {
  padding: 20px 0 60px;
}
.chat__time {
  width: 97px;
  margin: 15px auto 0;
  background: #54a22c;
  border-radius: 20px;
  padding: 7px 0;
  text-align: center;
}
.chat__time p {
  font: 14px/18px Arial, sans-serif;
  color: #fff;
}
@media (max-width: 1390px) {
  .body {
    width: 1180px;
  }
  .about__info > ul > li > ul > li:last-child {
    display: none;
  }
  .content {
    width: 800px;
  }
}
@media (max-height: 1000px) {
  .about__info > ul > li > ul > li:last-child {
    display: none;
  }
}
@media (max-height: 840px) {
  .about__info > ul > li > ul > li:nth-child(2) {
    display: none;
  }
  .about {
    padding: 30px 0 0;
  }
}
@media (max-height: 795px) {
  .about__info > ul > li > ul {
    display: none;
  }
}
@media (max-height: 760px) {
  .about__info > ul > li:nth-child(4) {
    display: none;
  }
}
@media (max-height: 680px) {
  .about__info > ul > li:nth-child(3) {
    display: none;
  }
}
@media (max-height: 615px) {
  .about__info > ul > li:nth-child(2) {
    display: none;
  }
}
@media (max-height: 540px) {
  .about__info > ul {
    display: none;
  }
}
@media (max-width: 1001px) {
  .body {
    width: 750px;
  }
  .about {
    display: none;
  }
  .content {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 801px) {
  .body {
    width: 580px;
  }
  .about {
    display: none;
  }
  .content {
    width: 580px;
    display: block;
    margin: 0;
  }
}
@media (max-width: 601px) {
  .dec {
    display: none !important;
  }
  html {
    height: 100%;
  }
  body {
    background: 0 0;
    border-top: 0;
    padding: 0;
    height: 100%;
  }
  .body {
    width: 100%;
    position: relative;
    height: 100%;
    padding: 0;
  }
  .header__name {
    margin: 0;
  }
  .chat {
    background: 0 0;
    margin: 6px 0 0;
  }
  .chat::-webkit-scrollbar {
    width: 5px;
  }
}
.main-desc__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background-size: cover;
}
.main-desc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  background: #9f9e9e86;
}
.main-desc__body {
  width: 300px;
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
  padding: 0;
  top: 50%;
}
.b-show {
  display: block;
}
@keyframes showBlock {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body,
html {
  overflow: hidden;
}
body {
  background: url(../images/image.webp?v=2) center/cover no-repeat;
  border-top: none;
}
body.add-scroll,
html.add-scroll {
  overflow-y: auto;
}
.content {
  position: relative;
}
.chat-content-desc-item img {
  width: 400px;
  max-width: 100%;
}
@media (max-width: 768px) {
  .chat-content-desc-item img {
    width: auto;
    max-width: 100%;
  }
}
@media (max-width: 991px) {
  body {
    border-top: none !important;
  }
  .header__online {
    margin: 35px 40px 0 0;
  }
  .header__name {
    margin: 20px 0 0 40px;
  }
  body,
  html {
    overflow-x: hidden;
  }
}
@media (max-width: 601px) {
  .header__name {
    margin: 0;
  }
  .header__online {
    margin: 15px 0 0;
  }
}
.chat-content-list {
  margin: 20px 40px 0;
  font: 16px/24px Arial, sans-serif;
  color: #fff;
}
.chat-content-desc-item {
  max-width: 629px;
  display: table;
  background: #3498db;
  border-radius: 5px 20px 20px;
  padding: 20px;
  margin-bottom: 10px;
}
.chat-content-buttons-gender {
  background: #3498db;
  border-radius: 20px 5px 20px 20px;
  display: flex;
  gap: 12px;
  padding: 20px 20px 17px;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 20px;
  width: max-content;
  max-width: 700px;
}
.chat-content-buttons-gender.vertical {
  flex-direction: column;
}
.chat-content-buttons-gender-block {
  width: auto;
  display: inline-block;
  vertical-align: top;
  background: #dc2a09;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: #fff;
  padding: 12px 15px;
}
.chat-content-buttons-gender-block span {
  display: block;
  padding: 12px 15px;
}
.chat-content-buttons-gender-block:last-child {
  margin-right: 0;
}
.chat-content-desc-item.user {
  display: flex;
  flex-direction: row-reverse;
  background: #dc2a09;
  border-radius: 20px 5px 20px 20px;
  padding: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  width: fit-content;
}
.message-time {
  width: 40px;
  display: inline-block;
  vertical-align: top;
  margin: 4px 0 0;
  font: 14px/18px Arial, sans-serif;
  color: rgba(255, 255, 255, 0.5);
}
.text {
  max-width: 539px;
  display: inline-block;
  vertical-align: top;
  margin: 0 0 0 10px;
}
.chat-content-desc-item.user .text {
  margin: 0 10px 0 0;
}
.iframe-form {
  display: none;
  padding: 0 12px;
}
@media (max-width: 1200px) {
  .content {
    margin: auto;
    display: block;
  }
  .about {
    display: none;
  }
}
@media (max-width: 991px) {
  .header {
    background-size: 50px;
  }
  .header__online {
    margin: 25px 40px 0 0;
  }
  .header__name {
    margin: 10px 0 10px 40px;
  }
  .chat__time {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .content {
    width: 100%;
    z-index: 2;
    height: 100%;
    position: relative;
    border-radius: 0;
  }
  .header {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0;
  }
  .chat-content-list {
    margin: 10px 20px 0;
    color: #fff;
  }
  .header__body {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
  }
  .header__name {
    margin: 10px 0;
  }
  .header__online {
    margin: 0;
  }
  .message-time {
    width: 40px;
  }
  .chat-content-desc-item {
    padding: 20px 15px;
    margin-bottom: 10px;
  }
  .chat-content-desc-item.user {
    max-width: 90%;
    padding: 20px 15px;
    margin-bottom: 10px;
  }
  .text {
    max-width: 280px;
    margin: 0 0 0 7px;
  }
  .chat-content-buttons-gender {
    border-radius: 20px 5px 20px 20px;
    justify-content: flex-end;
    padding: 12px;
    margin-bottom: 10px;
    max-width: 80%;
  }
}
@media (max-width: 400px) {
  .text {
    max-width: 250px;
    margin: 0 0 0 7px;
  }
  .chat-content-list {
    margin: 10px 15px 0;
  }
}
@media (max-width: 360px) {
  .text {
    max-width: 240px;
    margin: 0 0 0 7px;
  }
}
@media (max-width: 320px) {
  .text {
    max-width: 210px;
    margin: 0 0 0 7px;
  }
}
button {
  overflow: visible;
  text-transform: none;
  border: 0 solid #000;
  background-color: inherit;
}
@-webkit-keyframes shine {
  0% {
    left: -140px;
  }
  100% {
    left: 760px;
  }
}
@keyframes shine {
  0% {
    left: -140px;
  }
  100% {
    left: 760px;
  }
}
.frame-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
}
.row-form {
  text-align: center;
  font-family: Helvetica, sans-serif;
}
#order {
  max-width: 480px;
  margin: 25px auto;
  background: #fff;
  padding: 0;
  box-shadow: 0 0 10px 1px #ebebeb;
  border-radius: 15px;
}
#order button {
  border-radius: 21px;
  -moz-border-radius: 21px;
  -ms-border-radius: 21px;
  -o-border-radius: 21px;
  text-align: center;
  text-transform: none;
  background-color: #54a22c;
  color: #fff;
  transition: opacity 0.2s ease-out;
  border: none;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 16px;
  width: 100%;
  outline: 0;
  cursor: pointer;
}
.date {
  width: 50%;
  float: left;
  text-align: center;
  padding: 5px 0;
  background: #ebebeb;
  border-radius: 12px 0 0 12px;
  line-height: 26px;
  font-size: 18px;
  color: #434343;
}
.name,
.phone {
  position: relative;
  border: none;
  background: no-repeat;
  padding: 0;
}
button img {
  margin-bottom: -3px;
  display: inline-block;
}
@media (max-width: 767px) {
  .date {
    width: 100%;
    float: none;
    border-radius: 12px 12px 0 0;
  }
  #order button {
    font-size: 21px;
  }
  button img {
    margin-bottom: -5px;
    display: inline-block;
  }
}
.submit-roulette:hover {
  background: #b00;
  transition: background 0.3s;
}
#order_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
#order_form input {
  display: flex;
}
.submit-roulette:active {
  transform: translateY(2px);
  box-shadow: none;
}
.submit-roulette,
input[value="Получить бесплатно"] {
  text-transform: uppercase;
  padding: 12px 16px;
  margin: 5px 0 15px;
  outline: 0;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 3px #242120;
  background: red;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}
input[value="Получить бесплатно"]:hover {
  background: #b00 !important;
  transition: background 0.3s;
}
input[value="Получить бесплатно"]:active {
  transform: translateY(2px);
  box-shadow: none !important;
}
.input-roulette {
  padding: 12px;
  height: 42px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ccc;
}
@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }
  30% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
