html {
  font-size: 50%;
  background: none;
  margin: 0;
}

select:focus,
input:focus,
textarea:focus {
  outline: none !important;
}

* {
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  margin: 0;
}

h2,
p,
span,
div,
input,
select {
  font-family: inherit !important;
  margin: 0;
}

.p-background {
  position: fixed;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background .5s ease;
  animation-name: backgroundScale;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

.p-background::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(74, 74, 74, 0.5), rgba(74, 74, 74, 0.5));
}

.p-background-avatar {
  display: none;
}

.p-background--1 {
  background-image: url(1.webp);
}
.p-background--2 {
  background-image: url(2.webp);
}
.p-background--3 {
  background-image: url(3.webp);
}
.p-background--4 {
  background-image: url(4.webp);
}
.p-background--5 {
  background-image: url(5.webp);
}
.p-background--6 {
  background-image: url(6.webp);
}
.p-background--7 {
  background-image: url(7.webp);
}

@keyframes backgroundScale {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}


.p-backgrounds-wrapper {
  background-color: rgba(0, 0, 0, 0.5);
}

.p-steps {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.p-step {
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.2rem ;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center !important;
}

.p-step-header {
  font-size: 4.8rem;
  margin-bottom: 2.4rem;
  font-weight: 500;
  color: #fff;
  text-align: center !important;
}

.p-step-text {
  font-size: 2.4rem;
  line-height: 2.8rem;
  margin-bottom: 2.4rem;
  color: #fff;
  text-align: center !important;
}

.p-step-button-wrapper {
  display: flex;
  justify-content: center;
}

.p-step-button-wrapper-selection {
  display: flex;
  justify-content: center;
}

.active{
  background-image: linear-gradient(#ff8c78, #f7803b) !important;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li{
  height: 7.2rem;
  padding: 0 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  font-size: 2.4rem;
  letter-spacing: 0.2rem;
  font-weight: 300;
  text-decoration: none;
  color: #000;
  border: 1px solid black;
  border-radius: 5rem;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%);}

.p-step-button {
  height: 7.2rem;
  padding: 0 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: 2.4rem;
  letter-spacing: 0.2rem;
  font-weight: 300;
  text-decoration: none;
  color: #000;
  background-image: linear-gradient(#f7ff78, #edf73b);
  border-radius: 5rem;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
}

.p-step-button-selection{
  height: 7.2rem;
  padding: 0 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: 2.4rem;
  letter-spacing: 0.2rem;
  font-weight: 300;
  text-decoration: none;
  color: #000;
  background-image: linear-gradient(#f7ff78, #edf73b);
  border-radius: 5rem;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
}

.p-step-button--multiple {
  width: 13rem;
  padding: 0;
  margin: 0;
}

.p-step-button:not(:last-child) {
  margin-right: 4rem;
}

#step_2, #step_3, #step_4, #step_5, #step_6, #step_7 {
  display: none;
}

@media screen and (min-width: 440px) {
  html {
    font-size: 62.5%;
  }
}
@media screen and (min-width: 768px) {
  .p-step-header, .p-step-text {
    margin: 0 auto 2.4rem auto;
    max-width: 65%;
    text-align: center;
  }
}
@media screen and (min-width: 990px) {
  .p-left {
    position: fixed;
    height: 100%;
    width: 50%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .p-background {
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    height: 110%;
    width: 110%;
    animation-name: auto;
    filter: blur(5px);
    transition: background 2s ease;
  }

  .p-background-avatar {
    display: block;
    border-radius: 50%;
    width: 30rem;
    height: 30rem;
    background-color: #fff;
    z-index: 3;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background 2s ease;
    background-position: top;
  }

  .p-background-avatar--1 {
    background-image: url(1.webp);
  }
  .p-background-avatar--2 {
    background-image: url(2.webp);
  }
  .p-background-avatar--3 {
    background-image: url(3.webp);
  }
  .p-background-avatar--4 {
    background-image: url(4.webp);
  }
  .p-background-avatar--5 {
    background-image: url(5.webp);
  }
  .p-background-avatar--6 {
    background-image: url(6.webp);
  }
  .p-background-avatar--7 {
    background-image: url(7.webp);
  }

  .p-steps {
    height: 100%;
    width: 50%;
    right: 0;
    background-color: #fff;
    z-index: 2;
    display: flex;
    align-items: center;
  }

  .p-step {
    position: relative;
    padding: 0 5rem;
  }

  .p-step-button--multiple {
    width: 20rem;
  }

  .p-step-header, .p-step-text {
    margin: 0 0 2.4rem 0;
    text-align: initial;
    color: #333;
    max-width: initial;
  }

  .p-step-text {
    line-height: 3.2rem;
  }
}

@media screen and (min-width: 1280px) {
  .p-background-avatar {
    width: 50rem;
    height: 50rem;
  }
}
