@import url(https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap);

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
b-footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
p {
    margin: 0;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #00276D;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    transition: background-color 5000s ease-in-out 0s;
}

input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
}
textarea {
    resize: none;
}
a,
button {
    cursor: pointer;
    background: none;
    outline: none;
    border: none;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input[type="submit"] {
    cursor: pointer;
}
img {
    display: block;
    border: none;
    max-width: 100%;
    height: auto;
}
strong {
    font-weight: bold;
}
* {
    box-sizing: border-box;
}

html {
  height: 100%;
}
body {
  background: #212121;
  color: #ECECEC;
  height: 100%;
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}
.title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}
.wording {
  margin-bottom: 32px;
}
.container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
.container-second {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.button {
  position: relative;
  font-family: "Noto Sans", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 23px;
  text-decoration: none;
  text-align: center;
  color: #212121;
  margin: 0;
  border: 2px solid #FBA484;
  background: #FBA484;
  border-radius: 100px;
  box-sizing: border-box;
  width: 100%;
  height: 53px;
  padding: 10px;
  outline: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .5s;
}
.button:hover {
  background: transparent;
  color: #FBA484;
}
/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #2F2F2F;
  padding: 15px 18px;
}
.header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-block--left {
  display: flex;
  align-items: center;
}
.header-block--left img {
  width: 48px;
  min-width: 48px;
  height: 48px;
}
.header-block--union {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 16px;
}
.header-block--union .topic {
  font-weight: 700;
  color: #ECECEC;
  margin-bottom: 2px;
}
.header-block--union .location {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 17px;
  color: #B4B4B4;
  text-transform: capitalize;
}
.header-block--union .location::before {
  content: '';
  background-image: url(../images/location.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 10px;
  height: 14px;
  position: relative;
  top: 2px;
  margin-right: 5px;
}
.header-link {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #464646;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Main */
.template {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.template-union {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main {
  padding: 104px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
/* Form */
.form-block {
  position: relative;
  display: flex;
  align-items: center;
}
.form-input {
  width: 100%;
  font-family: "Noto Sans", sans-serif;
  color: #ffffff;
  height: 54px;
  padding: 10px 88px 10px 28px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  outline: none;
  background: #2F2F2F;
  border: 1px solid #2F2F2F;
  border-radius: 100px;
  pointer-events: none;
}
.form-input::placeholder {
  color: #B4B4B4;
}
.form-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  display: flex;
  align-items: center;
}
.form-ico + .form-ico {
  margin-left: 15px;
}
/*  */
.step-buttons {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
}
.step-buttons--link {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .3s;
}
.step-buttons--link:nth-child(1) {
  animation-delay: .6s;
}
.step-buttons--link:nth-child(2) {
  animation-delay: 1s;
}
.step-buttons--link:nth-child(3) {
  animation-delay: 1.4s;
}
.step-buttons--link:hover {
  box-shadow: 1px 1px 10px #fba484b4;
}
.step-buttons--link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.step-text .city {
  text-transform: capitalize;
  display: inline-block;
  margin: 0 4px;
}
.step-text .age-block {
  display: inline-block;
  margin: 0 4px;
}
.step-text .search-block {
  display: inline-block;
  margin: 0 4px;
}
.step-text .type-block {
  display: inline-block;
  margin: 0 4px;
}
.step-buttons--text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FBA484;
  padding: 13px 18px;
  font-size: 21px;
  line-height: 25px;
  font-weight: 700;
  color: #212121;
  text-align: center;
}
.step-point {
  display: none;
}
.step-point.step-active {
  display: block;
}
.step-point--union {
  display: flex;
  align-items: center;
  margin-bottom: 27px;
}
.step-point--union.start {
  align-items: flex-start;
}
.step-point--union .step-ico {
  width: 50px;
  min-width: 50px;
  height: 50px;
  margin-right: 15px;
}
.step-point--images {
  overflow: hidden;
  border-radius: 22px;
  margin-top: 20px;
}
.step-point--images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-panel {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
}
.step-panel .button:nth-child(1) {
  animation-delay: .6s;
}
.step-panel .button:nth-child(2) {
  animation-delay: 1s;
}
.step-panel .button:nth-child(3) {
  animation-delay: 1.4s;
}
.step-panel .button:nth-child(4) {
  animation-delay: 1.8s;
}
.step-point--final .button {
  animation: pulsate-fwd 0.6s linear both;
  animation-delay: .6s;
}
.step-final--image {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 32px;
  animation: pulsate-fwd 0.6s linear both;
}
@keyframes pulsate-fwd {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.step-final--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Animate */
.animate {
  animation: slide-in-top 0.7s ease-out both;
}
@keyframes slide-in-top {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.step-point--union-2 {
  animation-delay: .3s;
}
/* footer */
.footer {
  background: #212121;
  padding: 18px;
}
@media (max-height: 840px) {
  .container-second {
    max-width: 420px;
  }
}
@media (max-width: 920px) {
  body {
    font-size: 16px;
    line-height: 22px;
  }
  .button {
    font-size: 19px;
    line-height: 21px;
    height: 49px;
  }
  .header-link {
    width: 20px;
    height: 32px;
    min-width: 20px;
    border-radius: 0;
    background: transparent;
  }
  .title {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 11px;
  }
  .wording {
    margin-bottom: 25px;
  }
  .step-point--union .step-ico {
    width: 34px;
    min-width: 34px;
    height: 34px;
    margin-right: 11px;
  }
  .step-point--union {
    margin-bottom: 20px;
  }
  .step-buttons--link {
    height: 140px;
  }
  .step-buttons--text {
    font-size: 18px;
    line-height: 22px;
    padding: 10px;
  }
  .step-point--images {
    min-height: 120px;
  }
  .step-final--image {
    margin-bottom: 25px;
  }
}
