* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



.showMenu {
  animation-name: menuIn;
}

.hideMenu {
  animation-name: menuOut;
}




@keyframes menuIn {
  from {
      left: -500px;
  }

  to {
      left: 0;
  }
}


@keyframes menuOut {
  from {
      left: 0;
  }

  to {
      left: -500px;
  }
}



.bx {
  margin-right: 15px;
  font-size: 20px;
}

form {
  max-width: 470px;
  margin: 0 auto;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.4;
  font-size: 16px;
  overflow-x: hidden;
  text-decoration: none;
  width: 100%;
}

a {
  color: inherit;
}

/* Container */
.container {
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  overflow: hidden;
  position: relative;
}

.background-image {
  display: none;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding: 1.4rem;
  top: 0;
  font-weight: 600;
  color: rgb(245, 245, 245);
  background: #000;
  z-index: 999;
  border-bottom: 1px solid #ccc;
}

/* Left menu icon */
.left-menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 15px;
}

.left-menu-icon img {
  width: 100px;
}


.left-menu-icon svg {
  cursor: pointer;
  margin-right: auto;
}


/* Right menu icon */
.right-menu svg {
  cursor: pointer;
}


.menu-container {
  position: fixed;
  top: 0;
  left: -500px;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background-color: #fff;
  color: #000;
  z-index: 99;
  animation-duration: .4s;
  animation-fill-mode: forwards;
  overflow: hidden;
}

main {
  display: flex;
  width: 100%;
  align-items: center;
  margin-block: auto;
  padding: 10px;
  justify-content: center;
  align-items: center;
}

.dark-mode-lang-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  padding: 20px;
  color: #000;
  z-index: 99;
  overflow-y: auto;
}

.menu-container ul {
  list-style: none;
  margin-top: 20px;
  color: #000;
  height: 100vh;
}

.menu-container li {
  margin-bottom: 15px;
  font-weight: 500;
}

.menu-container > div {
  width: 100%;
  height: calc(100vh - 60px);
  display: flex;
  list-style: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 15px;
  gap: 25px;
}


.exit-btn {
  border: none;
  outline: none;
  cursor: pointer;
  height: 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-inline: 16px;
  background: none;
}





.menu-container > div a {
  width: 100%;
  color: black;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  font-family: 'Inter', sans-serif;
}


.menu-container > div a > span:first-child {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(233, 233, 233);
  display: flex;
  justify-content: center;
  align-items: center;
}


span.last {
  margin-left: auto;
}




/*2nd DARK MODE*/
.dark-mode .container,
.dark-mode *::after,
.dark-mode *::before {
  background-color: #000;
  color: #fff;
  box-shadow: none;
  border-color: #fff;
}

.dark-mode button,
.dark-mode main,
.dark-mode input {
  background-color: transparent;
  color: #fff;
}

.dark-mode .language-container select {
  color: #fff;
}

.dark-mode select {
  background-color: #333;
}

.dark-mode .menu-container {
  background-color: #333;
}

.dark-mode .menu-container ul {
  background-color: #333;
}

.dark-mode .menu-container li {
  background-color: #333 !important;
}

.dark-mode .dark-mode-lang-container {
  background-color: #333;
  color: #fff;
}

.dark-mode svg {

  fill: #fff;
}

.dark-mode body {
  background-color: #000;
  color: #fff;
}

.dark-mode .sign-up {
  background-color: #000;
}

.dark-mode .sign-up-options button {
  background-color: #000;
  color: #fff !important;
  border-bottom: #fff;
}

.dark-mode .strength-bar {
  background-color: #fff;
}

.dark-mode .terms-condition {
  background-color: #000;
  color: #fff;
}

.dark-mode .terms-condition input {
  background-color: #000;
  color: #fff;
}

.dark-mode .terms-condition a {
  background-color: #000;
  color: #fff;
}

.dark-mode .certify-condition {
  background-color: #000;
  color: #fff;
}

.dark-mode .certify-condition input {
  background-color: #000;
  color: #fff;
}

.dark-mode .create-btn {
  background-color: #333;
  color: #fff;
}

.dark-mode .already {
  color: #fff;
}

.dark-mode .already a {
  color: #fff;
}

.dark-mode .medias {
  background-color: #000;
}

.dark-mode .medias i {
  color: #fff;
}

.dark-mode input {
  background-color: #333;
  color: #fff;
}

.dark-mode .arrow-icon {
  background-color: none;
  color: #fff;
  fill: none;
}

.dark-mode .arrow-icons {
  background-color: none !important;
  color: #fff;
  fill: none !important;
}

.dark-mode a {
  color: #fff;
}

.dark-mode input[type="checkbox"]:checked::before {
  background-color: #333;
}

.dark-mode input[type="checkbox"] {
  border: 2px solid #ccc;
  background-color: #fff;
}

.dark-mode #country {
  color: #fff;
}

.dark-mode #email-button:focus,
#email-button:active {
  border-bottom: 2px solid #fff;
  border-bottom-right-radius: -5px;
}

.dark-mode #phone-button:focus,
#phone-button:active {
  border-bottom: 2px solid #fff;
  border-bottom-right-radius: -5px;
}

#email-button,
#phone-button {
  padding-bottom: 16px;
  color: #000;
}

.dark-mode #phone-button:focus,
#phone-button:active {
  border-bottom: 2px solid #fff;
  border-bottom-right-radius: -5px;
}

/* Form Layout */
.sign-up h1 {
  font-weight: 800;
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 20px;
  padding-left: 5px;
  justify-content: flex-start;
  align-items: flex-start;
}

.sign-up-options {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  font-size: 10px;
  color: #000;
  padding-bottom: 5px;
  border: none;
  margin-bottom: 25px;
  border-bottom: 1px solid #ccc;
}

.sign-up-options li {
  list-style: none;
}

.sign-up-options li button {
  margin-inline: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: -5px;
  border: none;
  background: #fff;
  border-radius: 5px;
}




#email-button:focus,
#email-button.active,
#phone-button:focus,
#phone-button:active {
  border-bottom: 3px solid #000;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-bottom-width: 3px;
  padding-bottom: 13px;
}

input[type='email'],
input[type='password'],
input[type='tel'] {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 23px;
  border: 1px solid #d8d6d6;
  border-radius: 10px;
  align-items: center;
  box-shadow: none;
  font-size: 17px;
}

/* Display error */
.error-handling {
  background-color: rgb(240, 218, 205);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

form input:hover {
  background-color: whitesmoke;
}

input[type='email'],
input[type='password'],
input[type='tel'],
.country-selector input,
.strength-container,
.referral-input,
.create-btn,
.sign-up-options {
  max-width: 500px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

input {
  border: 1px solid #ccc;
}

input:focus {
  border: 1px solid #000;
}

/* Password strength bar */
.strength-container {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.sign-up {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.email-password {
  margin-bottom: 7px !important;
}

.strength-bar {
  flex: 1;
  height: 4px;
  margin-top: 1px;
  background-color: #e2dfdf;
  border-radius: 2px;
}

.ptext {
  font-size: 14px;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.9;
  margin-bottom: 23px;
}

#email-form ::placeholder {
  font-size: 16px;
}

.country {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
  border: 1px solid #d8d6d6;
  border-radius: 10px;
  margin-bottom: 23px;
  height: 50px;
  padding-inline: 23px;
}


#country-flag {
  width: 30px;
  margin-right: 3px;
  height: auto;
}


/* Referral */
.Referer-container {
  margin-bottom: 30px;
}

.referral-header {
  display: flex;
  align-items: center;
  color: rgb(79, 76, 76);
  font-size: 15px;
  gap: 6px;
  margin-bottom: 25px !important;
}

.referral-input {
  width: 100%;
  margin-top: 10px;
  padding: 18px;
  font-size: 16px;
  border: 1px solid #d8d6d6;
  border-radius: 10px;
  opacity: 0.7;
}

/* Terms checkboxes */
.terms-condition {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px !important;
  font-size: 14px;
}


.terms-condition input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgb(194, 191, 191);
  background-color: white;
  cursor: pointer;
  position: relative;
  margin-top: 3px;
  padding: 2px;
}

.terms-condition input[type="checkbox"]:checked {
  background-color: black;
  border: 2px solid black;
}

.terms-condition input[type="checkbox"]:checked::after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
}




input {
  font-size: 16px;
}

/* Buttons */
.create-btn {
  border: none;
  width: 100%;
  height: 55px;
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 10px;
  margin-top: 10px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

button:disabled {
  color: grey;
  background-color: #eee;
  cursor: not-allowed;
}

/* Login link */
.already {
  text-align: center;
  margin-top: 20px;
}

/* Social Media Icons */
.sign-with-media {
  margin: 25px 0 30px;
  font-size: 15px;
  width: 100%;
  height: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  opacity: 0.4;
  font-family: 'Inter', sans-serif;
}

.medias {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 25px;
  margin-bottom: 40px;
}

/* Dark Mode and Language (Mobile Format) */
.dark-mode li {
  background-color: #333;
}

.dark-mode-lang-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.language-container select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.language-icon,
.dark-mode-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.language-icon {
  margin-top: 25px;
}

.switch {
  display: absolute;
  position: fixed;
  width: 50px;
  height: 24px;
  right: 1%;
}

.language-container select {
  display: absolute;
  position: fixed;
  right: 1%;
  color: #000;
  border: none;
  width: 20%;
  top: 13%;
  font-size: 16px;
  cursor: pointer;
  border-radius: 15px;
  background-color: transparent;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #000;
}

input:checked+.slider:before {
  transform: translateX(26px);
}

/* Tablet styles: 768px and up */
@media (min-width: 768px) {
  .header {
    padding: 0 20px;
    height: 70px;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #fff;
  }

  .sign-up h1 {
    font-size: 28px;
  }

  .dark-mode-lang-container {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    height: 150px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .sign-up-options {
    gap: 15px;
  }

  main {
    width: 100%;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .background-image {
    display: none;
  }

  .sign-up-options button {
    padding: 5px;
  }

  form input {
    font-size: 16px;
  }

  .dark-mode-lang-container {
    display: flex;
    flex-direction: row;
    top: 70px;
    right: 20px;
    width: 300px;
    height: 150px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .menu-container {
    left: 20px;
    width: 40%;
    left: 0;
    top: 0;
    padding: 10px;
  }


  .menu-container ul {
    margin-top: 10px;
  }

  .create-btn {
    font-size: 16px;
  }

  .already {
    font-size: 15px;
  }

  .medias {
    gap: 20px;
    font-size: 24px;
  }

  .switch {
    width: 60px;
    height: 28px;
  }

  .slider:before {
    width: 22px;
    height: 22px;
  }

  input:checked+.slider:before {
    transform: translateX(30px);
  }
}

/* Desktop styles: 1024px and up */
@media (min-width: 1024px) {
  .container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    padding: 0 10px;
    top: 0;
    color: #fff;
    background: #000;
    z-index: 10;
    border-bottom: 1px solid #ccc;
  }

  .left-menu-icon,
  .right-menu {
    display: block;
  }

  .background-image {
    display: flex;
    width: 40%;
    min-height: 100vh !important;
    height: 100%;
    position: absolute;
    background-color: #000;
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/55/Question_Mark.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: flex-start;
  }

  main {
    width: 60%;
    min-height: 100vh;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 40px 20px;
    margin-left: 40%;
    overflow-y: auto;
  }

  .sign-up {
    max-width: 500px;
    width: 100%;
    overflow: visible;
    margin: auto;
    box-sizing: border-box;
  }

  .desktop-header-links {
    display: flex;
    gap: 20px;
    margin-left: auto;
  }

  .menu-container,
  .dark-mode-lang-container {
    position: absolute;
    top: 70px;
    left: auto;
    transform: none;
    width: 300px;
    right: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .menu-container {
    left: 20px;
    width: 40%;
    left: 0;
    top: 0;
    padding: 10px;
  }

  .create-btn {
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .create-btn:hover {
    background: #333;
  }

  .sign-with-media {
    display: flex;
    text-align: center;
    margin: 20px 0 10px;
    justify-content: center;
    align-items: center;
  }

  .medias {
    display: flex;
    gap: 15px;
    font-size: 22px;
    justify-content: center;
  }

  .language-icon,
  .dark-mode-icon {
    font-size: 15px;
    display: flex;
    align-items: cente r;
  }

  .switch {
    margin-right: 2px;
  }

  .language-container select {
    margin-top: 50px;
    margin-left: 8px;
    margin-right: 4px;
    width: 10%;
  }

  .dark-mode-lang-container {
    display: flex;
    flex-direction: row;
    top: 70px;
    right: 20px;
    width: 300px;
    height: 150px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .exit-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 30px;
  }
}