*, :after, :before {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  font-family: 'M Plus Rounded 1c', Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  font-style: normal;
  color: #fff;
}

img {
  display: block;
}

b {
  font-weight: 700;
}

#banner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#container {
  width: 600px;
  height: 500px;
  -ms-transform-origin: top left;
  -webkit-transform-origin: top left;
  transform-origin: top left;
  position: absolute;
  visibility: hidden;
}

.main {
  width: 600px;
  height: 500px;
  padding: 30px;
  margin: 0 auto;
  background-color: #ffc10e;
  background-image: url(../images/background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.audio {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: none;
}

.block {
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.title {
  width: 100%;
  margin: 0 0 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.row {
  width: 100%;
  position: relative;
}

.text {
  font-size: 44px;
  line-height: 50px;
  color: #d31f36;
  text-transform: uppercase;
  white-space: nowrap;
}

.row:nth-child(2) .text:nth-child(1) {
  font-size: 42px;
  line-height: 48px;
}

.row:nth-child(2) .text:nth-child(2) {
  margin: 5px 0 0 0;
  font-size: 28px;
  line-height: 38px;
}

.text .white {
  color: #fff;
}

.buttons {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.button {
  min-width: 250px;
  height: 50px;
  background: #d31f35;
  -webkit-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
}

.button:active {
  background: #fff;
}

.button.button-link {
  margin: 0 0 0 30px;
  display: none;
}

.button-icon {
  width: 50px;
  height: 100%;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px;
  -webkit-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  transition: background-color 0.2s;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.button:active .button-icon {
  background-color: #d31f35;
}

.button-icon.volume-on {
  background-image: url(../images/volume-on.svg);
}

.button:active .button-icon.volume-on {
  background-image: url(../images/volume-on-white.svg);
}

.button-icon.volume-off {
  background-image: url(../images/volume-off.svg);
}

.button:active .button-icon.volume-off {
  background-image: url(../images/volume-off-white.svg);
}

.button-icon.arrow {
  background-image: url(../images/arrow.svg);
}

.button:active .button-icon.arrow {
  background-image: url(../images/arrow-white.svg);
}

.button-text {
  font-size: 24px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.button:active .button-text {
  color: #d31f35;
}

.button.button-link .button-text {
  padding: 0 28px;
  font-size: 22px;
}

.main.first .row:nth-child(2),
.main.first .row:nth-child(3),
.main.second .row:nth-child(1),
.main.second .row:nth-child(3),
.main.third .row:nth-child(1),
.main.third .row:nth-child(2),
.main.third .button-audio .button-text,
.main.second.interval .button-audio .button-text {
  display: none;
}

.main.third .button-audio,
.main.second.interval .button-audio {
  min-width: 50px;
}

.main.third .button.button-link,
.main.second.interval .button.button-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.hidden {
  display: none !important;
}
