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

html {
  font-size: 1.06vw;
}

body {
  background-image: url(../images/bg.webp);
  background-position: center 75%;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Oswald", sans-serif;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-x: hidden;
	height: auto;
	min-height: 100vh;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  color: #fff;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
  background-color: #E8C8AF;
}
body.active {
  overflow: hidden;
}

img {
  display: block;
}

.button {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-decoration: none!important;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-border-radius: 48px;
          border-radius: 48px;
  padding: 0.8rem 1.8rem;
  -webkit-box-shadow: 0 5px 15px 0 rgba(255, 51, 102, 0.4);
          box-shadow: 0 5px 15px 0 rgba(255, 51, 102, 0.4);
  background: -o-linear-gradient(68deg, #f36 0%, #ff6b6b 100%);
  background: linear-gradient(22deg, #f36 0%, #ff6b6b 100%);
}
.button:disabled {
  -webkit-box-shadow: 0 5px 15px 0 rgba(255, 51, 102, 0.4);
          box-shadow: 0 5px 15px 0 rgba(255, 51, 102, 0.4);
  background: -o-linear-gradient(68deg, #f36 0%, #ff6b6b 100%);
  background: linear-gradient(22deg, #f36 0%, #ff6b6b 100%);
  opacity: 0.4;
}
.button img {
  width: 2rem;
  height: 2rem;
  margin-right: 0.625rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.page {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.head {
  padding: 2.5rem 3.75rem 1rem 3.75rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background: -o-linear-gradient(bottom, rgba(115, 115, 115, 0) 0%, rgba(27, 27, 27, 0.7) 100%);
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(115, 115, 115, 0)), to(rgba(27, 27, 27, 0.7)));
  background: linear-gradient(0deg, rgba(115, 115, 115, 0) 0%, rgba(27, 27, 27, 0.7) 100%);
}

.head__title h1{
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 72%;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
  display: block;
  text-shadow: -1px -1px 0 #000000,
      1px -1px 0 #000000,
      -1px 1px 0 #000000,
      1px 1px 0 #000000,
      -1px 0px 0 #000000,
      1px 0px 0 #000000,
      0px -1px 0 #000000,
      0px 1px 0 #000000;
}
.head__title p {
  font-weight: 400;
  font-size: 2.4rem;
  text-align: left;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin: 0.5rem 0 0 0;
}

.main {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 3.375rem 2rem 3.375rem;
}

.cake {
  position: relative;
  width: 33rem;
  height: 33rem;
  margin: 0 auto;
}
.cake.active {
  z-index: 11;
}
.cake__wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.cake__wrap img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}
.cake__wrap .m-t {
  margin-top: -2rem;
}
.cake__wrap img.show {
  opacity: 1;
}
.steps {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.2rem 1.5rem;
  -webkit-border-radius: 16px;
          border-radius: 16px;
  border: 1px solid #fff;
  margin-top: -3rem;
}

.steps-item {
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-border-radius: 12px;
          border-radius: 12px;
  padding: 0.625rem;
}
.steps-item--locked {
  opacity: 0.4;
  pointer-events: none;
}
.steps-item p {
  font-weight: 400;
  line-height: 1.1;
  font-size: 2rem;
  text-align: left;
  color: #fff;
  margin: 0 0 1rem 0;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.steps-item p strong {
  font-weight: 600;
}
.steps-values {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 0.75rem;
}

.steps-values__item {
  -webkit-border-radius: 12px;
          border-radius: 12px;
  width: 3.24rem;
  height: 3.24rem;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
          box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  position: relative;
}

.steps-values__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-border-radius: 12px;
          border-radius: 12px;
}

.steps-item_main .steps-values__item.active img {
  border: 2px solid #10ab20;
}

.steps-item_dop .steps-values__item::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: 1px;
  right: 1px;
  -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
          box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  background-color: #D9D9D9;
  border: 2px solid #10AB20;
  z-index: 1;
  -webkit-border-radius: 100%;
          border-radius: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.563rem 0.5rem;
}

.steps-item_dop .steps-values__item.active::before {
  background-image: url(../images/steps-check.svg);
}

.popup {
  height: 100vh;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  /* inset: 0; */
  background: rgba(255, 255, 255, 1);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  z-index: 10;
  overflow: hidden;
  word-break: break-word;
}

.popup--open {
  opacity: 1;
  pointer-events: auto;
}

.popup__content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 100%;
  padding: 3.125rem 2rem;
  overflow-y: auto;
}
.popup__inner {
  margin-bottom: 1rem;
}
.popup__title {
  font-weight: 700;
  font-size: 3rem;
  line-height: 105%;
  text-transform: uppercase;
  text-align: center;
  color: #ff004d;
  margin: 0;
}
.popup__subtitle {
  font-weight: 400;
  font-size: 2.5rem;
  text-align: center;
  color: #555;
  margin: 0;
}

.popup__desc {
  margin: -2rem 0 0 0;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  color: #555;
  line-height: 1.4;
}


.cake--popup {
  margin-top: 2rem;
}
