@import url("./base/terms.css");
@import url("./base/google-button.css");

/* Select the loader by changing the number from 1 to 4 */
@import url("./base/reg-loader-2.css");

:root {
  /* BODY ROOT */
  --font-family: Arial, Helvetica, sans-serif;
  --body-background: rgb(250, 250, 250);

  /* REG BOX ROOT */
  --reg-box-max-width: 50rem;
  --reg-box-background: #fff;
  --reg-box-border-radius: 1rem;
  --reg-box-border-around: 5px solid transparent;
  --reg-box-shadow: 0 2px 5px 2px rgb(0 0 0 / 40%);

  /* Whats Email and Your Email text */
  --title-color: #dd2d2d;
  --title-font-size: 2.2rem;

  /* Subtitle */
  --subtitle-color: #000;
  --subtitle-font-size: 1.8rem;

  /* List text and ICON  */
  --list-font-color: #000;
  --list-font-size: 1.6rem;
  --list-icon-color: rgb(3, 136, 32);

  /* BUTTTON */
  --button-max-width: 25rem;
  --button-background: green;
  --button-font-color: #fff;
  --button-font-size: 1.8rem;
  --button-font-weight: 700;
  --button-border-radius: 0rem;
  --button-border-around: 2px solid transparent;
  --button-box-shadow: 0 2px 5px 2px rgb(0 0 0 / 40%);

  /* Text before google button */
  --orRegister-text-color: #000;
  --orRegister-font-size: 1.3rem;

  /* TERMS */
  --terms-text-color: #000;
  --terms-big-font-size: 1.3rem;
  --terms-links-color: #0000ff;
  --terms-small-font-size: 1rem;

  /* Loader */
  --loader-text-color: #fff;

  /* Error msg */
  --error-msg-color: rgb(255, 1, 1);
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  letter-spacing: 0;
}

::-webkit-scrollbar {
  display: none;
}

html {
  font-size: 62.5%;
}

/* BODY ROOT */
body {
  font-family: var(--font-family);
  min-height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: var(--body-background);
}
/* ************************************* */

/* REG BOX ROOT */
.reg1Container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 1rem;

  max-width: var(--reg-box-max-width);
  background: var(--reg-box-background);
  border-radius: var(--reg-box-border-radius);
  border: var(--reg-box-border-around);
  box-shadow: var(--reg-box-shadow);
}
/* ************************************* */

/* Whats Email and Your Email text */
.reg1Title,
.inputLabel {
  color: var(--title-color);
  font-size: var(--title-font-size);
  font-weight: bold;
}

.reg1Title {
  text-transform: uppercase;
  padding: 10px 0;
}
/* ************************************* */

/* Subtitle */
.reg1Subtitle {
  color: var(--subtitle-color);
  font-size: var(--subtitle-font-size);
  padding: 8px 0;
}
/* ************************************* */

/* List text and ICON */
.listBox li {
  display: flex;
  color: var(--list-font-color);
  font-size: var(--list-font-size);
  list-style: none;
}

.listBox li::before {
  content: "\2713";
  margin-right: 5px;
  font-weight: bold;
  color: var(--list-icon-color);
}
/* ************************************* */

/* EMAIL BOX */
#reg_email {
  font-size: 1.6rem;
  display: block;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid transparent;
  width: 100%;
  max-width: 35rem;
  border: 1px solid #ccc;
}
/* ************************************* */

/* BUTTTON */
#btn_submit {
  margin: 0 auto;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  width: 100%;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s linear;

  max-width: var(--button-max-width);
  background: var(--button-background);
  color: var(--button-font-color);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  border-radius: var(--button-border-radius);
  border: var(--button-border-around);
  box-shadow: var(--button-box-shadow);
}

#btn_submit:hover {
  opacity: 0.9;
}
/* ************************************* */

/* Text before google button */
.orRegister {
  font-weight: 600;
  margin-bottom: 0.8rem;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--orRegister-text-color);
}

#usersOnline {
  line-height: 1.4;
  font-size: 18px;
  color: #0984e3;
}
/* ************************************* */

/* TERMS*/
#pleaseAcceptTerms > p:nth-child(1) {
  color: var(--terms-text-color);
  font-size: var(--terms-big-font-size);
}

#pleaseAcceptTerms > p:nth-child(2) {
  margin-top: 1rem;
  text-align: center;
  color: var(--terms-text-color);
  font-size: var(--terms-small-font-size);
}

#termsLink,
#privacyLink {
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
  color: var(--terms-links-color);
}
/* ************************************* */

/* Loader */
#msg_loader {
  color: var(--loader-text-color);
  text-align: center;
  font-size: 1.8rem;
}
/* ************************************* */

/* Error box */
#msg_register span {
  margin-bottom: 2rem;
  font-size: 1.4rem;
  color: var(--error-msg-color);
}
/* ************************************* */

/* ***************************************************** */
/* ************* BASE CSS  ***************************** */
/* ***************************************************** */

.reg1Title,
.reg1Subtitle,
.inputLabel,
.orRegister {
  text-align: center;
}

.listBox {
  display: grid;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.listBox li:not(:last-child) {
  margin-bottom: 0.8rem;
}

#reg_email:active,
#reg_email:focus {
  outline: none;
}

#msg_register {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#termsPrivacy {
  max-width: 40rem;
  width: 100%;
  display: flex;
  margin: 0 auto;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

#acceptPrivacyAndTerms {
  position: relative !important;
  margin-right: 4px;
}

/* *************************************************************************************************************** */
/* ************************************** CUSTOM CSS  ************************************************************ */
/* *************************************************************************************************************** */

/* *************************************************************************************************************** */
/* ************************************** MOBILE MEDIA QUERY  **************************************************** */
/* *************************************************************************************************************** */

@media only screen and (max-width: 1024px) and (orientation: landscape) {
  .reg1Container {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;

    margin: 1rem auto;
    width: 95%;
  }
}

@media (max-width: 768px) {
  .reg1Container {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;

    margin: 1rem auto;
    width: 95%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 420px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 55%;
  }
}
