@import url(https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap);

* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  height: 100%;
}
body {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  font-family: "Lato", sans-serif;
  color: #000000;
  background: #ffffff;
  height: 100%;
}

/* TITELS / TEXT*/

.step-titel {
  color: #ffffff;
  font-weight: 700;
}
.titel-large {
  font-size: 35px;
  line-height: 42px;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.titel-medium {
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.step-subtitel {
  font-size: 20px;
  line-height: 26px;
  color: #ffffff;
  margin-bottom: 25px;
}
.step-subtitel-marg {
  margin-bottom: 0;
}

/* BUTTONS */
.step-button {
  font-family: "Lato", sans-serif;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 52px;
  width: 100%;
  padding: 5px 10px;
  background: linear-gradient(90deg, #f89e44 0%, #d42f86 100%);
  border-radius: 30px;
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
  color: #ffffff;
  transition: all 0.5s ease-out;
  border: none;
  cursor: pointer;
}
.step-button--primary {
  background: linear-gradient(90deg, #d42f86 0%, #5061d0 100%);
}
.step-buttons--wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
}
.step-subtitel.step-subtitel-marg .color {
  margin: 0 5px;
  text-transform: capitalize;
  font-weight: 600;
  display: inline-block;
}

/* Aside */
.logo-block {
  margin-bottom: 40px;
  padding-left: 26px;
}
.header-mob {
  display: none;
}
.content-main {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.content-union {
  border-right: 1px solid #dbdbdb;
  padding: 26px 0;
  width: 20%;
  position: relative;
  z-index: 10;
}
.content-item {
  display: flex;
  align-items: center;
  padding: 17px 26px;
  transition: all 0.3s ease-out;
}
.content-item span {
  margin-left: 17px;
}

/* VIDEO */
.video-block {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
.video-block .video {
  width: 100%;
  object-fit: cover;
  object-position: top;
  height: 100%;
  border-radius: 5px;
}

/* Pagination */
.pagination-list {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination-item {
  width: 30px;
  height: 5px;
  background: #ffffff;
  opacity: 0.4;
  border-radius: 5px;
  margin: 0 2px;
  transition: all 0.5s ease-out;
}
.pagination-item.active {
  opacity: 1;
}

.pagination-item.off {
  width: 0;
  height: 0;
  position: absolute;
  margin: 0;
}

/* STEPS */
.main-block {
  max-width: 600px;
  width: 100%;
  height: 100%;
  margin: 0 auto 0;
  padding: 33px 0 75px;
}
.steps-list {
  width: 100%;
  height: 100%;
  padding: 20px 30px 70px;
  display: flex;
  align-items: flex-end;
  position: relative;
  border-radius: 5px;
}
.steps-list::after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 38.89%,
    rgba(0, 0, 0, 0.8) 86.31%
  );
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 5px;
}

.hidden {
  display: none;
}

.step {
  opacity: 0;
  position: relative;
  z-index: 9;
  width: 100%;
  animation: fade-in-bottom 0.4s linear 0.5s forwards;
}
.form-control {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  line-height: 1;
  color: #606060;
  text-decoration: none;
  box-sizing: border-box;
  border: 2px solid #bebebe;
  outline: 0;
  background-color: #ffffff;
  transition: border-color 0.3s ease;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}
label {
  color: #fff;
}
.form-control[type="date"]::-webkit-calendar-picker-indicator {
  background: url('../assets/calendar-icon.svg') no-repeat;
  color: transparent;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  right: 10px;
}
label.error {
  font-size: 13px;
  color: #ff526b;
}
.form-control.error {
  border-color: #ff526b;
}
.step__footer {
  margin-top: 30px;
}
.step-button {
  margin: 0 auto;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.input-group__item {
  flex: 1;
  margin-right: 10px;
}

@keyframes fade-in-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.step.active {
  display: block;
}
.steps-list--union {
  width: 100%;
}
.sidebar-list {
  position: absolute;
  z-index: 9;
  bottom: 0;
  right: -65px;
}
.sidebar-item {
  font-size: 12px;
  line-height: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  margin-bottom: 15px;
  transition: all 0.4s ease-out;
  cursor: pointer;
}
.sidebar-item:last-child {
  margin-bottom: 0;
}
.sidebar-item > span {
  white-space: nowrap;
  margin-top: 6px;
}
.sidebar-item img {
  border-radius: 5px;
  border: 2px solid #ffffff;
  transition: all 0.4s ease-out;
}
.sidebar-item svg path {
  transition: all 0.4s ease-out;
}

@media screen and (min-width: 992px) {
  .step-button:hover {
    box-shadow: 0px 0px 15px #d42f86;
  }
  .step-button--primary:hover {
    box-shadow: 0px 0px 15px #5061d0;
  }
  .content-item:hover {
    background: #d42f86;
    color: #ffffff;
  }
  .content-item:hover svg path {
    stroke: #ffffff;
  }
  .content-item:hover svg.heart path {
    stroke: none;
    fill: #ffffff;
  }
  .sidebar-item:hover {
    color: #d42f86;
  }
  .sidebar-item:hover svg path {
    stroke: #d42f86;
  }
  .sidebar-item:hover svg circle {
    fill: #d42f86;
  }
  .sidebar-item:hover svg.heart path {
    stroke: none;
    fill: #d42f86;
  }
  .sidebar-item:hover img {
    border-color: #d42f86;
  }
}

@media screen and (max-width: 992px) {
  .logo-block {
    display: none;
  }
  .header-mob {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
  }
  .content-main {
    flex-direction: column-reverse;
    justify-content: space-between;
  }
  .main-block {
    padding: 0;
  }
  .content-union {
    width: 100%;
    background: #000000;
    padding: 6px 15px;
    border: none;
  }
  .content-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .content-item {
    padding: 5px;
  }
  .content-item span {
    display: none;
  }
  .content-item svg path {
    stroke: #ffffff;
  }
  .content-item svg.heart path {
    stroke: none;
    fill: #ffffff;
  }
  .content-item--dev {
    display: none;
  }
  .steps-list {
    border-radius: 0;
  }
  .steps-list::after {
    border-radius: 0;
  }
}

@media screen and (max-width: 768px) {
  .main-block {
    max-width: 100%;
    margin: 0;
  }
  .sidebar-list {
    position: relative;
    right: -10px;
    margin-left: 0;
  }
  .sidebar-item {
    color: #ffffff;
    padding: 5px;
    margin-bottom: 10px;
  }
  .sidebar-item svg path {
    stroke: #ffffff;
  }
  .sidebar-item svg circle {
    fill: #ffffff;
  }
  .sidebar-item svg.heart path {
    stroke: none;
    fill: #ffffff;
  }
  .steps-list {
    padding: 15px 15px 24px;
  }
  .sidebar-item img {
    border: 2px solid #ffffff;
    border-radius: 7px;
  }
  .sidebar-item.points {
    transform: rotate(90deg);
  }
  .pagination-list {
    top: 16px;
    bottom: auto;
  }
  .pagination-item {
    width: 54px;
  }
  .step-buttons--wrap {
    grid-gap: 15px;
  }
  .titel-large {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 18px;
  }
  .step-subtitel {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 18px;
  }
  .step-subtitel-marg {
    margin-bottom: 0;
  }
  .step-button {
    height: 41px;
    font-size: 16px;
    line-height: 19px;
  }
}
