:root {
  --green: #00cd56;
  --black: #121212;
  --gray: #aaaaaa;
  --light-gray: #c9c9c9;
  --white: #fff;
}

body,
html {
  margin: 0 auto;
  padding: 0;
  border: none;
  font-family: "Roboto", sans-serif;
  color: var(--black);
}

.wrap {
  text-align: center;
}

.page {
  padding: 0 10px;
}

.subpage {
  padding: 40px 20px;
}

.subpage h1 {
  margin-bottom: 20px;
}

.subpage p {
  margin-bottom: 40px;
}

header {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 6px 0;
  position: relative;
  z-index: 2;
  padding: 0 10px;
  border-bottom: 1px solid var(--black);
  background-color: #fff;
  gap: 20px;
}

header .tariff {
  text-align: center;
  max-width: 150px;
}

header .tariff p {
  margin: 0 auto;
  font-size: 10px;
  line-height: 14px;
  color: var(--light-gray);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 10px;
}

.logo a {
  display: flex;
}

.logo img {
  height: 24px;
}

.right-part {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
}

.language-wrapper {
  margin-left: auto;
  margin-right: 10px;
}

.language-wrapper a {
  text-decoration: none;
  color: var(--green);
  font-weight: 400;
}

.language-wrapper img {
  width: 30px;
  display: flex;
}

h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px auto 0;
  color: var(--black);
}

h2 {
  font-size: 20px;
  margin: 10px auto;
  font-weight: 600;
}

h3 {
  font-size: 16px;
  margin: 10px auto;
  font-weight: 300;
}

h4 {
  font-size: 14px;
  margin: 20px auto 10px;
  font-weight: 300;
}

p {
  font-size: 14px;
  line-height: 16px;
  color: var(--black);
  font-weight: 400;
  margin: 0 auto;
}

.thx {
  margin-top: 25px;
  font-weight: 700;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 3;
}

.fire {
  font-size: 20px;
  filter: blur(0.02em);
  -webkit-filter: blur(0.02em);
  position: absolute;
  z-index: 0;
  width: 500px;
  height: 30px;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -10px;
  opacity: 0.9;
}

.content {
  max-width: 400px;
  width: 100%;
  padding-top: 20px;
  margin: 0 auto;
  display: block;
  position: relative;
}

.main {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.main img {
  width: 100%;
  max-width: 150px;
}

.arrow {
  position: absolute;
  top: 25%;
  left: 49%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transform: scale(0.6);
}

.arrow span {
  display: block;
  width: 25px;
  height: 25px;
  border-bottom: 6px solid #fff;
  border-right: 6px solid #fff;
  transform: rotate(45deg);
  margin: -10px;
  animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

select#carrier {
  width: 140px;
  border: none;
  border-radius: 3px;
  text-align: center;
  box-shadow: 0 1px 1px 2px #26262614;
  margin-top: 8px;
  font-size: 14px;
  padding: 8px;
  font-family: "Fira Sans", sans-serif;
}

.selector {
  margin-bottom: 8px;
}

form {
  position: relative;
}

.field-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin: 0 auto 10px;
  min-width: 240px;
  height: 30px;
  background: var(--green);
  border-radius: 4px;
  animation: shake 5s ease-in-out 5 both;
}

.field-alert p {
  color: var(--white);
  font-size: 14px;
  line-height: 14px;
  padding: 0px 5px;
}

.field-alert.pin {
  width: 150px;
  margin-left: -75px;
}

.field-alert:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--green);
}

/* #subConfirm:valid .field-alert {
    display: none;
  } */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 240px;
  padding: 0px;
  background: var(--green);
  border: none;
  color: #fff;
  letter-spacing: 0px;
  font-size: 20px;
  font-weight: 700;
  margin: 15px auto 10px;
  border-radius: 10px;
  text-transform: uppercase;
  max-width: 240px;
  text-decoration: none;
  text-shadow: 1px 1px 2px #00000059;
}

#confirm {
  background: var(--light-gray);
  color: var(--gray);
  cursor: not-allowed;
  pointer-events: none;
}

#subConfirm:valid #confirm {
  background: var(--green);
  cursor: pointer;
  color: #fff;
  pointer-events: auto;
  -webkit-animation: 3.5s infinite shake-animation;
  animation: 3.5s infinite shake-animation;
  transform-origin: 50% 50%;
}

#form:valid #confirm {
  background: var(--green);
  cursor: pointer;
  color: #fff;
  pointer-events: auto;
  -webkit-animation: 3.5s infinite shake-animation;
  animation: 3.5s infinite shake-animation;
  transform-origin: 50% 50%;
}

.cancel {
  background: none;
  color: var(--light-gray);
  text-decoration: underline;
  text-transform: capitalize;
  height: auto;
  border-radius: 5px;
  min-width: auto;
  width: fit-content;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 300;
  margin: 20px auto;
  text-shadow: none;
}

.btn-box {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 10px;
}

.btn-box .subscribe {
  border-radius: 5px 0px 0px 5px;
  min-width: 180px;
  padding: 0px;
  margin: 0;
  text-shadow: 1px 1px 2px #00000059;
}

.small {
  font-size: 11px;
}

.btn.arab {
  font-size: 22px;
  padding: 10px 50px;
}

.exit {
  background-color: var(--light-gray);
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  padding: 8px 20px;
  display: block;
  margin: 20px auto;
  border: 0;
}

#warningMessage {
  position: absolute;
  z-index: 99999;
  width: 280px;
  left: calc(50% - 140px);
  height: 60px;
  box-sizing: border-box;
  background: #ffe6e6;
  top: 20px;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #d11212;
  color: #d11212;
  font-size: 13px;
}

.container_footer {
  text-align: center;
  color: white;
  padding: 20px 15px 0;
  background: var(--green);
  position: relative;
  margin-top: 25px;
}

.features {
  list-style-type: none;
  font-size: 16px;
  text-align: left;
  max-width: fit-content;
  margin: 20px auto;
  padding: 0;
}

.features li {
  margin-bottom: 20px;
}

.features li:before {
  content: "✔";
  margin-right: 10px;
  color: white;
}

footer {
  width: 100%;
  padding: 10px 0;
}

a,
footer p {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  font-size: 10px;
  line-height: 12px;
  color: var(--light-gray);
  text-align: center;
}

footer p.arab {
  text-align: center;
}

footer a.arab,
footer p.arab {
  font-size: 10px;
}

footer .footer_logo {
  position: absolute;
  bottom: 20px;
  z-index: 1000;
}

footer .tariff {
  margin-bottom: 20px;
}

footer .tariff p {
  margin-bottom: 5px;
}

footer #disclaimer h5 {
  font-size: 10px;
  line-height: 12px;
  color: var(--gray);
  margin: 5px 0;
  text-transform: uppercase;
  text-align: left !important;
}

footer #disclaimer p {
  text-align: center;
}

footer ul {
  padding-left: 10px;
  margin-top: 5px;
}

footer ul li {
  font-size: 10px;
  line-height: 14px;
  color: var(--light-gray);
  text-align: left;
}

.phone-image {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.phone-image img {
  width: 100%;
  max-width: fit-content;
  margin: 0 auto;
  display: block;
}

.footer_logo img {
  width: 60px;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%);
}

.error,
.error.black,
.error.white,
.error.yellow {
  margin: 0 auto;
  max-width: 280px;
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
  color: #d11212;
  border: 1px solid #d11212;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 5px;
}

.error.white {
  color: #fff;
  border: 1px solid #fff;
}

.error.yellow {
  color: #efec00;
  border: 1px solid #efec00;
}

.error.black {
  color: #000;
  border: 1px solid #000;
}

.error:empty {
  border: none;
  display: none;
}

.hidden {
  display: none;
}

.navigation,
.navigation .social-bar {
  top: 0;
  justify-content: center;
  display: flex;
}

.language {
  margin-right: 15px;
}

.toggle {
  width: 24px;
  height: 24px;
  background: url(../../../images/dz/AL_funsengood_GA/toggle.png);
  z-index: 20;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
}

.toggle.active {
  height: 24px;
  width: 24px;
  position: relative;
  background: url(../../../images/dz/AL_funsengood_GA/toggle-active.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.navigation {
  box-sizing: border-box;
  position: fixed;
  left: 100%;
  width: 100%;
  padding: 0 20px;
  background-color: var(--black);
  z-index: 15;
}

.modal,
.navigation.active {
  left: 0;
}

.navigation ul {
  list-style-type: none;
  padding-left: 0;
  padding-top: 80px;
  padding-bottom: 40px;
  margin: 0;
}

.thx h1,
select#carrier {
  margin: 10px auto;
}

.thx h1 {
  font-size: 20px;
  line-height: 24px;
  margin: 0px auto 20px;
}

.thx p {
  font-size: 18px;
  line-height: 22px;
}

.thx a {
  font-size: 18px;
  line-height: 22px;
  color: var(--green);
}

.thx .btn {
  margin: 0px auto 20px;
}

.navigation ul li {
  padding-bottom: 0.8rem;
}

.navigation ul li a {
  font-size: 20px;
  font: 400;
  line-height: 30px;
  text-decoration: none;
  color: var(--light-gray);
}

.back-link:hover,
.navigation ul li div:hover {
  color: var(--green);
}

.navigation .social-bar {
  position: absolute;
  left: 0;
  width: 60px;
  height: 100%;
  align-items: center;
}

.navigation .social-bar a {
  display: inline-block;
  transform: scale(0.5);
}

.navigation .email-icon {
  position: absolute;
  bottom: 20px;
}

.input {
  display: block;
  border: 2px solid #00c210;
  border-radius: 8px;
  color: #121212;
  font-size: 20px;
  line-height: 20px;
  max-width: 240px;
  padding: 10px;
  margin: 10px auto 0px;
  background: url(../../../images/dz/AL_funsengood_GA/bg-input.png) 10px 10px/28px no-repeat #fff;
  box-sizing: border-box;
  text-align: left;
  letter-spacing: 1.2px;
  padding-left: 70px;
}

input:focus {
  outline: 0;
  outline: none;
  border: 2px solid #00c210;
}

.input-group {
  position: relative;
}

.prefix {
  position: absolute;
  left: calc(50% - 112px);
  padding-left: 45px;
  top: 11px;
  font-weight: 400;
  font-size: 22px;
  color: var(--black);
}

::-webkit-input-placeholder {
  color: var(--gray);
  font-size: 20px;
}

:-moz-placeholder {
  color: var(--gray);
  font-size: 20px;
}

::-moz-placeholder {
  color: var(--gray);
  font-size: 20px;
}

#msisdn {
  background: url(../../../images/dz/AL_funsengood_GA/bg-input.png) 10px 6px/30px no-repeat #fff;
}

input#pin {
  width: 150px;
  padding-left: 45px;
  text-align: left;
}

#pin {
  background: url(../../../images/dz/AL_funsengood_GA/bg-input.png) 10px 9px/26px no-repeat #fff;
}

a.redirect {
  text-decoration: none;
}

.terms-links {
  border: 0;
  background-color: none;
  background: none;
  text-align: center;
  color: var(--light-gray);
  margin: 0 auto;
  font-size: 10px;
  line-height: 18px;
  text-decoration: underline;
  margin-top: 10px;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  align-items: center;
  justify-content: center;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  height: 60%;
  max-width: 500px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  overflow-y: scroll;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.close {
  color: var(--black);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.shake {
  position: relative;
  -webkit-animation: 3.5s infinite shake-animation;
  animation: 3.5s infinite shake-animation;
  transform-origin: 50% 50%;
}

@-webkit-keyframes shake-animation {
  0%,
  10.71429%,
  100%,
  3.57143%,
  7.14286% {
    transform: translate(0, 0);
  }

  1.78571%,
  5.35714%,
  8.92857% {
    transform: translate(5px, 0);
  }
}

@keyframes shake-animation {
  0%,
  10.71429%,
  100%,
  3.57143%,
  7.14286% {
    transform: translate(0, 0);
  }

  1.78571%,
  5.35714%,
  8.92857% {
    transform: translate(5px, 0);
  }
}

@media (max-width: 320px) {
  .main img {
    width: 130px;
  }

  .arrow {
    transform: scale(0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 30%;
    left: 48%;
  }
}

/* From Uiverse.io by Fernando-sv */
.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: transparent;
  border-radius: 50%;
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: transparent;
  width: 36px;
  height: 36px;
  margin: 0 auto;
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: transparent;
  width: 36px;
  height: 36px;
  animation: spin89345 1s linear infinite;
}

@keyframes spin89345 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
