* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #020b37 0%, #2860c2 100%);
  min-height: 100vh;
  color: rgb(214, 228, 240);
  display: flex;
  justify-content: center;
  align-items: center;   /* center vertically */
  gap: 50px;             /* spacing between left and right */
  padding: 40px;
}
/* Main two-column layout */
.page{
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

/* Left side (intro) */
.title_div{
  display: flex;
  justify-content: center;
  text-align: center;
}

.title{
  margin: 0 0 12px 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 0.5px;
  text-shadow: 0 10px 20px rgba(0,0,0,0.45); /* subtle */
}

.intro_container{
  display: flex;
  justify-content: center;
}

.intro_paragraph{
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  text-align: left;
  text-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* Right card */
.container_b{
  margin: 0;               /* remove hard-coded spacing */
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name_sign_in h1{
  margin: 0 0 8px 0;
  font-size: 1.6rem;
  text-align: center;
}

.name_sign_in p{
  margin: 0 0 18px 0;
  opacity: 0.85;
  text-align: center;
}

/* Google button wrapper */
.google_sign_in_wrapper{
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 8px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px){
  .page{
    grid-template-columns: 1fr;
  }
  .container_b{
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
  .intro_paragraph{
    text-align: left;
  }
}