:root{
  --rose:#C83B62;
  --rose-hover:#B33456;
  --slate:#24303A;
  --tint:#EAF3FB;
  --border: rgba(36,48,58,.18);
  --input-radius: 14px;
}

/* ---------------------------------------
   Global / General
--------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

body .title {
  max-width: 100%;
}

/* ---------------------------------------
   Navigation
--------------------------------------- */

.nav-link {
  text-decoration: none;
  color: rgba(54,54,54,.5);
  font-size: 15px;
  font-weight: bold;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 1rem;
}

/* ---------------------------------------
   Headings / Text
--------------------------------------- */

.create-avatar {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #4f6272;
}

h1 {
  text-align: center;
  padding-top: 3rem;
  color: #000000;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

h2 {
  text-align: center;
  padding-top: 3rem;
  color: #24303A;
  font-family: "Fraunces", serif;
}

/* ---------------------------------------
   Buttons
--------------------------------------- */

.btn-primary:hover{
  color: #fff;
  background-color: #F71069;
  border-color: #fff;
}

.btn1{
  background: var(--rose) !important;
  border: 1px solid var(--rose) !important;
  color:#fff !important;
  width:100%;
  display:inline-block;
  padding:12px;
  border-radius:12px !important;
  height:48px;
  font-size:15px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  transition:all .2s ease;
}

.btn1:hover{
  background: var(--rose-hover) !important;
  border-color: var(--rose-hover) !important;
}

.btn2{
  background: var(--tint) !important;
  border:1px solid var(--border) !important;
  color: var(--slate) !important;
  width:100%;
  display:inline-block;
  padding:12px;
  border-radius:12px !important;
  height:48px;
  font-size:15px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  transition:all .2s ease;
}

.btn2:hover{
  background: rgba(234,243,251,.85) !important;
}

/* ---------------------------------------
   Avatar section (NON-CLICKABLE NOW)
--------------------------------------- */

div#Avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

div#Avatar .female,
div#Avatar .male {
  border-radius: 15%;
  width: 200px;
  max-height: 300px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: default !important;
  pointer-events: none; /* avatars are decorative only */
}

/* Remove browser focus / tap outlines */
div#Avatar input[type="image"],
div#Avatar input[type="image"]:focus,
div#Avatar input[type="image"]:active,
div#Avatar input[type="image"]:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* ---------------------------------------
   Form inputs
--------------------------------------- */

.form-control {
  width: 70% !important;
  margin: 0 auto !important;
  padding: 8px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  margin-bottom: 20px !important;
  color: #555 !important;
  background-color: #fff5f5 !important;
  transition: border-color 0.3s ease !important;
}

.form-control:focus {
  outline: none;
  border-color: #3200e9 !important;
  box-shadow: 0 0 5px rgba(50, 0, 131, 0.5) !important;
}

/* ---------------------------------------
   Avatar Pick UX improvements
--------------------------------------- */

.avatar-instruction {
  font-size: 15px;
  color: #6b7c8f;
  margin-bottom: 2rem;
}

.avatar-label {
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.avatar-label-female {
  color: var(--rose);
}

.avatar-label-male {
  color: #5977ff;
}

.name-label {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #4f6272;
  margin-bottom: 6px;
}

/* ---------------------------------------
   Responsive (DESKTOP)
--------------------------------------- */

@media (min-width: 769px){
  h2 {
    margin-top: 85px !important;
  }

  .avatar-instruction{
    margin-bottom: 12px;
  }

  div#Avatar{
    padding-top: 10px;
    padding-bottom: 3rem;
  }

  /* Keep footer hidden if you want the clean app-like view */
  #footer, footer {
    display: none !important;
  }
}

/* ---------------------------------------
   Responsive (MOBILE)
--------------------------------------- */

@media (max-width: 768px){
  /* keyboard + layout stability */
  html, body{
    height: auto !important;
    min-height: 100dvh;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 90px;
  }

  input, select, textarea{
    scroll-margin-top: 100px;
  }

  h2 {
    margin-top: 90px !important; /* keep below navbar */
    padding-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 1.5rem !important;
  }

  .avatar-instruction{
    margin-bottom: 10px;
  }

  div#Avatar {
    margin-top: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }

  div#Avatar .female,
  div#Avatar .male {
    width: 130px !important;
    height: auto !important;
  }
}