/* ==========================================================================
   Root variables
   ========================================================================== */
/* Desktop variables */
:root {
  --font-raleway: "Raleway", var(--font-arial);
  --font-arial: Arial, sans-serif;
  --base-font-size: 16px;
  --base-line-height: 1.4;
  --color-system-alert: #EB3333;
  --color-system-warning: #EB6D00;
  --color-system-success: #09B37B;
  --color-gray-bg: #F7F7FC;
  --color-gray-light: #BEC2DA;
  --color-gray: #4E4B66;
  --color-gray-dark: #14142A;
  --color-social-vkontakte: #2787F5;
  --color-social-facebook: #1877f2;
  --color-social-odnoklassniki: #f4731c;
  --color-social-instagram: #e4405f;
  --color-social-youtube: #f00;
  --color-social-tiktok: #161823;
  --color-social-zen: #3b3e42;
  --color-social-twitter: #1DA1F2;
  --color-social-telegram: #26A5E4;
  --color-social-viber: #7360F2;
  --color-social-whatsapp: #25D366;
  --center-width: 800px;
  --gap-width: 1.5rem;
  --footer-height: 10rem;
  --wave-height: 2.5rem;
}
/* Tablet variables */
@media only screen and (min-width: 640px) and (max-width: 979px) {
  :root {
    --base-font-size: 15px;
    --center-width: 640px;
  }
}
/* Mobile variables */
@media only screen and (max-width: 639px) {
  :root {
    --base-font-size: 14px;
    --center-width: 100%;
  }
}
/* ==========================================================================
   Responsive settings
   ========================================================================== */
/* ==========================================================================
   Helpers
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none;
}
[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
* {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
}
img {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  user-drag: none;
}
img::selection {
  background: transparent;
  color: inherit;
}
img::-moz-selection {
  background: transparent;
  color: inherit;
}
button {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  text-indent: 0;
  border: none;
  background: none;
  font-size: inherit;
  font-weight: normal;
  line-height: normal;
  border-radius: 0;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: var(--color-gray-bg);
  color: var(--color-gray-dark);
  text-shadow: none;
}
::selection {
  background: var(--color-gray-bg);
  color: var(--color-gray-dark);
  text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  background: var(--color-gray-light);
  margin: 2rem 0;
  padding: 0;
  border-radius: 12px;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}
/* ==========================================================================
   Сбрасывающие стили
   ========================================================================== */
input,
textarea {
  border-radius: 0;
}
input[type="submit"] {
  cursor: pointer;
}
input,
textarea,
select {
  -webkit-appearance: none;
}
input::-webkit-textfield-decoration-container {
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-user-modify: read-only !important;
  content: none !important;
}
input:focus {
  outline: none;
}
/* ==========================================================================
   Основные стили
   ========================================================================== */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-raleway);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  font-weight: normal;
  width: 100%;
  height: 100%;
  min-width: 320px;
}
body.fixed {
  overflow: hidden;
}
/* ==========================================================================
   Темы
   ========================================================================== */
.theme-base {
  --theme-bg: #FFECEB;
  --theme-main: #FF645A;
  --theme-dark: #CC0C00;
}
.theme-moya-planeta {
  --theme-bg: #EBF8FF;
  --theme-main: #73CDFC;
  --theme-dark: #0585C7;
}
.theme-live-planet {
  --theme-bg: #F7FFEB;
  --theme-main: #87D801;
  --theme-dark: #5F9801;
}
.theme-nauka {
  --theme-bg: #FEECF2;
  --theme-main: #ED145F;
  --theme-dark: #A60D42;
}
.theme-doc {
  --theme-bg: #EEFBF9;
  --theme-main: #5CDDC7;
  --theme-dark: #176E5F;
}
.theme-fan {
  --theme-bg: #FDEDF8;
  --theme-main: #E747B3;
  --theme-dark: #C71A8E;
}
.theme-istoria {
  --theme-bg: #FFF9EB;
  --theme-main: #FFB800;
  --theme-dark: #B56A13;
}
.theme-nst {
  --theme-bg: #FFECEB;
  --theme-main: #AA0A00;
  --theme-dark: #7A0700;
}
.theme-mzk {
  --theme-bg: #F6EFFA;
  --theme-main: #AD70D5;
  --theme-dark: #7D33AD;
}
.theme-ct {
  --theme-bg: #FEECF4;
  --theme-main: #CE0F69;
  --theme-dark: #980B4E;
}
/* ==========================================================================
   Шаблон
   ========================================================================== */
.page {
  height: 100%;
  width: var(--center-width);
  padding: 0;
  margin: 0 auto;
  background: #fff;
}
@media only screen and (max-width: 639px) {
  .page {
    min-width: 320px;
  }
}
.container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--footer-height);
  position: relative;
}
/* Основные элементы шаблона */
.header,
.content,
.footer {
  display: flex;
  flex-direction: column;
  background: #fff;
  width: var(--center-width);
}
@media only screen and (max-width: 639px) {
  .header,
  .content,
  .footer {
    min-width: 320px;
  }
}
.header {
  margin: 0 auto;
  position: relative;
  padding: var(--gap-width);
}
@media only screen and (max-width: 639px) {
  .header {
    padding: 0;
  }
}
.content {
  padding: 28px var(--gap-width);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media only screen and (min-width: 980px) {
  .content {
    padding: 24px var(--gap-width);
  }
}
@media only screen and (min-width: 640px) and (max-width: 979px) {
  .content {
    padding: 20px var(--gap-width);
  }
}
@media only screen and (max-width: 639px) {
  .content {
    padding: 20px var(--gap-width) calc(var(--gap-width) * 2);
  }
}
.footer {
  padding: var(--gap-width);
  margin: calc(var(--footer-height) * -1) auto 0;
  height: var(--footer-height);
  position: relative;
  font-size: 0.75rem;
  color: var(--theme-main);
  font-weight: 500;
  opacity: 0.5;
}
.header-visual {
  display: flex;
  align-content: center;
  justify-content: center;
}
.header-img {
  width: 350px;
  height: 300px;
}
@media only screen and (min-width: 980px) {
  .header-img {
    width: 340px;
    height: 290px;
  }
}
@media only screen and (min-width: 640px) and (max-width: 979px) {
  .header-img {
    width: 300px;
    height: 255px;
  }
}
@media only screen and (max-width: 639px) {
  .header-img {
    width: 260px;
    height: 220px;
  }
}
.header-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-top: 2rem;
  color: var(--theme-dark);
}
/* Вопрос */
.question {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.question-text {
  text-align: center;
  max-width: 500px;
  color: var(--theme-dark);
  font-weight: 500;
  margin-bottom: 3rem;
}
@media only screen and (min-width: 640px) and (max-width: 979px) {
  .question-text {
    max-width: 400px;
  }
}
@media only screen and (max-width: 639px) {
  .question-text {
    max-width: 100%;
  }
}
.question-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 368px;
  width: 100%;
}
@media only screen and (max-width: 639px) {
  .question-form {
    max-width: 100%;
  }
}
.question-area {
  width: 100%;
  height: 144px;
  border-radius: 0.8rem;
  padding: 1rem 1rem;
  border: 2px solid var(--theme-main);
  margin-bottom: 1.5rem;
  color: var(--theme-dark);
  font-weight: 500;
}
.question-area::-webkit-input-placeholder {
  color: var(--theme-main);
}
.question-area:-moz-placeholder {
  color: var(--theme-main);
}
.question-area::-moz-placeholder {
  color: var(--theme-main);
}
.question-area:-ms-input-placeholder {
  color: var(--theme-main);
}
.question-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}
.question-action {
  width: 100%;
}
/* Ответ */
.answer-question {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.answer-question-info {
  font-size: 1rem;
  color: var(--theme-main);
}
.answer-question-text {
  color: var(--theme-dark);
  font-size: 1.25rem;
  margin: 0.25rem 0;
  font-weight: 600;
}
.answer-cloud {
  position: relative;
  max-width: 600px;
  margin: 3rem auto;
  padding: var(--wave-height);
  display: flex;
}
.answer-cloud-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
.answer-cloud-decor-line {
  position: absolute;
}
.answer-cloud-decor-line--top {
  height: var(--wave-height);
  left: var(--wave-height);
  right: var(--wave-height);
  top: 0;
}
.answer-cloud-decor-line--left {
  width: var(--wave-height);
  left: 0;
  top: var(--wave-height);
  bottom: var(--wave-height);
}
.answer-cloud-decor-line--right {
  width: var(--wave-height);
  right: 0;
  top: var(--wave-height);
  bottom: var(--wave-height);
}
.answer-cloud-decor-line--bottom {
  height: var(--wave-height);
  left: var(--wave-height);
  right: var(--wave-height);
  bottom: 0;
}
.answer-cloud-decor-img {
  width: 100%;
  height: 100%;
  fill: var(--theme-bg);
}
.answer-cloud-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 2;
  padding: var(--wave-height);
  background: var(--theme-bg);
}
.answer-cloud-text {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--theme-dark);
}
.answer-cloud-author {
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--theme-dark);
}
.answer-cloud-share {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--wave-height);
}
.answer-cloud-share .rambler-share [data-rambler-share] {
  margin-right: 4px !important;
  width: 32px !important;
}
.answer-cloud-share .rambler-share [data-rambler-share]::before {
  width: 32px !important;
}
.answer-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
a.button,
.button {
  display: block;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 0.8rem;
  text-align: center;
  margin: 0 auto 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  max-width: 368px;
  width: 100%;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 639px) {
  a.button,
  .button {
    max-width: 100%;
  }
}
.button:last-child {
  margin-bottom: 0;
}
.button--primary {
  border: 0.125rem solid var(--theme-main);
  background: var(--theme-main);
  color: #fff;
}
.button--primary:hover {
  border-color: var(--theme-dark);
  background: var(--theme-dark);
  color: #fff;
}
.button--secondary {
  border: 0.125rem solid var(--theme-main);
  color: var(--theme-main);
}
.button--secondary:hover {
  border-color: var(--theme-dark);
  color: var(--theme-dark);
}
/*# sourceMappingURL=main.css.map */