* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
}

body {
  min-height: 600px;
}

.no-click {
  pointer-events: none;
}

.containerbody {
  width: 100%;
  height: 100%;
  min-height: 600px;
  margin: auto;
  background-repeat: repeat;
  background-position: center center;
  background-size: contain;
  position: relative;
}

main .logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  min-height: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
}

main .logo .img {
  height: 100%;
  min-height: 600px;
  width: 260px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .7) 70%, rgba(255, 255, 255, 0) 95%);
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

main .logo .img img {
  width: 240px;
  height: auto;
  align-self: start;
}

.hidden {
  display: none !important;
}

.content {
  background-color: #e9e9e9;
  width: 100%;
  max-width: 500px;
  position: absolute;
  left: 50%;
  top: 170px;
  transform: translateX(-50%);
  padding: 25px 35px 35px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .8);
  border-radius: 10px;
}

.backandbar {
  display: grid;
  grid-template-columns: 100%;
  height: 35px;
  align-items: center;
  margin-bottom: 15px;
}

.backandbar2columns {
  grid-template-columns: 9% 91%;
}

.barprogress {
  justify-self: flex-end;
  width: 100%;
  position: relative;
}

.bar-container {
  background: rgba(255, 79, 137, .1);
  height: 10px;
  border-radius: 10px;
  width: 100%;
}

.bar {
  position: absolute;
  top: 0;
  background-color: #ff4f89;
  height: 10px;
  width: 0%;
  margin-bottom: 25px;
  border-radius: 10px;
  transition: width 400ms;
}

#regForm {
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

.dialog {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(1, 20%) auto;
  grid-template-rows: repeat(2, auto);
  grid-template-areas:  "photo textone"
                        "photo texttwo";
  align-items: start;
  margin-bottom: 40px;
  padding: 0 5px;
}

.dialog .photo {
  grid-area: photo;
  animation: fadeInBottom 1s;
}

.dialog .photo img {
  border-radius: 50%;
  width: 90%;
  height: auto;
  margin: 0 auto;
}

.dialog .textone,
.dialog .textonegetadate {
  grid-area: textone;
  font-size: 15px;
  line-height: 22px;
  background-color: #dadada;
  padding: 15px 10px;
  position: relative;
  border-radius: 0 5px 5px 5px;
  animation: fadeInBottom 1s;
}

.dialog .textone:before,
.dialog .textonegetadate:before  {
  content:'';
  position: absolute;
  display: block;
  border-left: 5px solid #e9e9e9;
  border-right: 5px solid #dadada;
  border-top: 5px solid #dadada;
  border-bottom:  5px solid #e9e9e9;
  left: -10px;
  top: 0;
}

 .dialog .textonegetadate {
  display: none;
}

.dialog .texttwo{
  grid-area: texttwo;
  font-size: 15px;
  line-height: 22px;
  background-color: #dadada;
  padding: 15px 10px;
  border-radius: 5px;
  animation: fadeInBottomtwo 1.5s;
}

.dialogsteps {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(1, 20%) auto;
  grid-template-rows: auto;
  grid-template-areas:  "photo textone";
  align-items: start;
  margin-bottom: 25px;
  padding: 0 4px;
}

.dialogsteps .photosteps {
  grid-area: photo;
  animation: fadeInBottom 1s;
}

.dialogsteps .photosteps img {
  border-radius: 50%;
  width: 90%;
  height: auto;
  margin: 0 auto;
}

.dialogsteps .textonesteps {
  grid-area: textone;
  font-size: 15px;
  line-height: 22px;
  padding: 15px 10px;
  position: relative;
  border-radius: 0 5px 5px 5px;
  animation: fadeInBottom 1s;
}

.dialogsteps .textonesteps:before {
  content:'';
  position: absolute;
  display: block;
  left: -10px;
  top: 0;
}

input,
select {
  background: #ffffff;
  padding: 10px;
  height: 50px;
  width: 100%;
  margin: 0 auto 25px;
  font-size: 15px !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #000 !important;
  border-radius: 8px;
  outline: none;
  border: 1px solid #ddd;
  animation: fadeInBottomtwo 1.5s;
}

select,
input[type="text"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.country {
  width: calc(30% - 10px);
}

.region {
  width: 70%;
}

.full {
  width: 100%;
}

.autocomplete-items {
  top: calc(100% - 20px);
}

.email-loader-container {
  top: calc(50% - 20px);
}

.select-container, .select-containertwo {
  position:relative;
  display: inline;
}

.select-container:after, .select-containertwo:after {
  content:"";
  width:0;
  height:0;
  position:absolute;
  pointer-events: none;
}

.select-container:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: .3em;
  right: .75em;
  border-top: 8px solid black;
  opacity: 1;
  animation: fadeInBottomtwo 1.5s;
}

.select-containertwo:after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 1.3em;
  right: .75em;
  border-top: 8px solid black;
  opacity: 1;
  animation: fadeInBottomtwo 1.5s;
}

select::-ms-expand {
    display: none;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.buttonnext {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}

button {
  box-shadow: 0 2px 4px 0 rgba(155, 155, 155, 0.2);
  background-position: center;
  background-size: cover;
  background-color: transparent;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  outline: none;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.red0 {
  animation: fadeInUpzero 1.6s;
}

.terms {
  display: none;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding-top: 15px;
  font-size: 12px;
  line-height: 22px;
  width: 99%;
  margin: 5px auto 0;
  animation: fadeInUpzero 1.6s;
}

.terms a {
  color: #e5457b;
  font-size: 12px;
  text-decoration: underline;
}

.agreement-checkbox-firstlabel {
  display: block;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  user-select: none;
}

.agreement-checkbox-firstlabel input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  animation: none;
}

.agreement-checkbox-firstlabel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border: 2px solid #c0c4cc;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 1px 1px 0px rgb(183, 183, 183);
  transition: all 0.2s;
  pointer-events: none;
}

.agreement-checkbox-firstlabel:hover::before {
  border-color: #e5457b;
}

.agreement-checkbox-firstlabel::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
}

.agreement-checkbox-firstlabel:has(input[type="checkbox"]:checked)::before {
  background-image: linear-gradient(45deg, #e5457b 0%, #ff6b8a 100%);
  box-shadow: 3px 3px 0px rgb(183, 183, 183);
  border: none;
}

.agreement-checkbox-firstlabel:has(input[type="checkbox"]:checked)::after {
  opacity: 1;
}

.agreement-checkbox-secondlabel {
  line-height: 1.5;
  cursor: pointer;
}

.agreement-checkbox-secondlabel a {
  color: #e5457b;
  text-decoration: underline;
}

.agreement-checkbox-secondlabel a:hover {
  text-decoration: underline;
}

.btn-google-oauth,
.btn-microsoft-oauth {
  animation: fadeInBottom .75s;
}

.finish {
  text-align: center;
  margin-bottom: 20px;
  display: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: bold;
  color: #720e9e;
}

#errors {
  display: none;
  text-align: center;
  color: #d20000;
  font-weight: 400;
  font-size: 16px;
  padding: 0;
  margin-top: -13px;
  margin-bottom: 10px;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInBottomtwo {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  33% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpzero {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  66% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-height: 550px) {
  main .logo .img {
    padding-top: 10px;
  }
  .content {
    top: 130px;
  }
  .dialog {
    margin-bottom: 25px;
  }
}

@media only screen and (max-width: 1200px) {
  header .img {
    padding: 0;
    justify-content: center;
  }
}

@media only screen and (max-width: 500px) {
  body {
    min-height: 500px;
    position: relative;
  }

  header {
    position: absolute;
    background-color: transparent;
    height: 70px;
    top:0;
    z-index: 1000;
  }

  header .img {
    height: 70px;
  }

  header .img img {
    height: 45px;
  }

  .backandbar2columns {
    grid-template-columns: 12% 88%;
  }

  .containerbody {
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
  }

  main .logo {
    height: auto;
    min-height: 500px;
    top: 20px;
  }

  main .logo .img {
    width: 100%;
    min-height: 500px;
    background-image: none;
    padding-top: 10px;
    filter: brightness(0) invert(1) drop-shadow(0px 0px 2px #aaa);
  }

  .content {
    background-color: #e9e9e9;
    width: 90%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 15px 30px;
  }

  .dialog {
    margin-bottom: 20px;
    grid-template-columns: repeat(1, 25%) auto;
  }

  .dialog .photo img {
    width: 100%;
  }

  .dialogsteps {
    grid-template-columns: repeat(1, 25%) auto;
  }

  .dialogsteps .photosteps img {
    width: 100%;
  }

  #errors {
    font-size: 14px;
  }

}

@media only screen and (max-width: 410px) {
  input,
  select {
    font-size: 16px;
  }

}

@media only screen and (max-width: 360px) {
  main h2 {
    font-size: 15px;
  }
}
