/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}

/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

html {
  max-width: 475px;
  margin: auto;
  min-height: 100%;
}

body {
  max-width: 475px;
  background: url("./bg-prayers.png");
  background-repeat: no-repeat;
  background-size: cover;
  font-family: Roboto;
  color: #fff;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-size: 14px;
}

.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

.wrapper {
  flex: 1;
}

.logo-container {
  width: 30%;
  margin: auto;
  margin-top: 15%;
}
.logo-container img {
  width: 90%;
  margin: auto;
}

.heading {
  margin-top: 30px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}

a {
  color: #fff;
}

.wrapper {
  position: relative;
  padding: 0 15px;
  z-index: 2;
}

.info {
  margin-top: 10%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.info span {
  font-size: 14px;
  font-weight: 400;
}
.wifi .info {
  margin-top: 20%;
}
.info.success {
  color: #5ac100;
}

.confirm-container {
  width: 100%;
  padding: 0 10px;
  margin-top: 30px;
}
.confirm-container .info {
  margin: 0;
}

.trigger-container.hidden {
  display: block !important;
  visibility: hidden;
}

.wifi .trigger-container.hidden {
  display: none !important;
}

.action-area {
  margin: 25px 0;
  margin-top: 10px;
}

.phone-form {
  margin-top: 20px;
}

label {
  text-align: center;
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.input-wrap {
  position: relative;
  margin: auto;
  background-image: url("./check-green.svg");
  background-position: 0 0;
  background-size: 0;
  background-repeat: no-repeat;
}
.input-wrap::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  width: 50px;
  background-image: url("./check-gray.svg");
  background-repeat: no-repeat;
  background-size: 36px;
  background-position: 50% 50%;
}
.input-wrap.valid::after {
  background-image: url("./check-green.svg");
}

.error {
  color: #ff532a;
  font-size: 15px;
  text-align: center;
}

input {
  background: #fff;
  text-align: left;
  display: block;
  margin: auto;
  margin-bottom: 10px;
  padding: 14px 0;
  padding-left: 12px;
  padding-right: 60px;
  width: 100%;
  border-radius: 25px;
  border: 0;
  font-size: 19px;
}

.btn {
  background: #feb600;
  border-radius: 40px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.btn.decline {
  border: 1px solid #feb600;
  background: transparent;
  font-weight: 500;
  margin-top: 12px;
}

.disclaimer {
  text-align: center;
}

.footer {
  text-align: center;
  font-size: 14px;
  padding: 5px 0;
}

div.spinner-wrap {
  width: 20%;
  padding-bottom: 20%;
  margin-top: 2px;
  margin-left: 50%;
  transform: translateX(-50%);
}

div.spinner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 38%;
  left: 47%;
}

div.spinner div {
  width: 5%;
  height: 20%;
  background: #000;
  position: absolute;
  border-radius: 50px;
  animation: fade 1s linear infinite;
}

@keyframes fade {
  from {
    background-color: #333;
  }
  to {
    background-color: #fff;
  }
}
div.spinner div.bar1 {
  transform: rotate(0deg) translate(0, -130%);
  animation-delay: 0s;
}

div.spinner div.bar2 {
  transform: rotate(30deg) translate(0, -130%);
  animation-delay: -0.9167s;
}

div.spinner div.bar3 {
  transform: rotate(60deg) translate(0, -130%);
  animation-delay: -0.833s;
}

div.spinner div.bar4 {
  transform: rotate(90deg) translate(0, -130%);
  animation-delay: -0.7497s;
}

div.spinner div.bar5 {
  transform: rotate(120deg) translate(0, -130%);
  animation-delay: -0.667s;
}

div.spinner div.bar6 {
  transform: rotate(150deg) translate(0, -130%);
  animation-delay: -0.5837s;
}

div.spinner div.bar7 {
  transform: rotate(180deg) translate(0, -130%);
  animation-delay: -0.5s;
}

div.spinner div.bar8 {
  transform: rotate(210deg) translate(0, -130%);
  animation-delay: -0.4167s;
}

div.spinner div.bar9 {
  transform: rotate(240deg) translate(0, -130%);
  animation-delay: -0.333s;
}

div.spinner div.bar10 {
  transform: rotate(270deg) translate(0, -130%);
  animation-delay: -0.2497s;
}

div.spinner div.bar11 {
  transform: rotate(300deg) translate(0, -130%);
  animation-delay: -0.167s;
}

div.spinner div.bar12 {
  transform: rotate(330deg) translate(0, -130%);
  animation-delay: -0.0833s;
}

.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #fff;
  color: #fff;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
  display: inline-block;
}

.dot-flashing::before,
.dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #fff;
  color: #fff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #fff;
  color: #fff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: #fff;
  }
  50%, 100% {
    background-color: rgba(255, 255, 255, 0.2);
  }
}
.prelander {
  flex: 1;
}
.prelander .header {
  position: relative;
  text-align: center;
  margin-top: 20px;
}
.prelander .header img {
  width: 25%;
  display: inline-block;
}
.prelander .header .h-info {
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 10px;
  line-height: 1.2;
  font-size: 18px;
}
.prelander .inner {
  padding: 15px;
}
.prelander .description {
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
}
.prelander .buttons {
  margin-top: 15px;
}