*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 0;
}

*:focus:not(:is(input, textarea)) {
  outline: none;
}

*:focus-visible {
  outline: 1px solid blue;
}

html {
  height: 100%;
  font-size: calc(100% / 16 * 10);
  line-height: 1.5;
  font-synthesis: none;
  font-smooth: always;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  color: black;
}

body {
  height: 100%;
  overscroll-behavior: none;
  accent-color: black;
  background: #f8f9fa;
  font-family: 'Space Grotesk', 'sans-serif';
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  text-wrap: balance;
}

strong {
  overflow-wrap: break-word;
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
}

input,
textarea,
button,
button:disabled {
  font: inherit;
  color: inherit;
  border: none;
  border-radius: 0;
  background: none;
}

fieldset {
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.container {
  display: flex;
  min-height: 100vh;
}

.left-panel {
  flex: 1;
  background: url('../assets/images/webDev.jpg') center center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
  pointer-events: none;
}

.left-panel > * {
  position: relative;
  z-index: 2;
}

.logo-box {
  background: rgba(200, 200, 200, 0.373);
  padding: 32px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.logo {
  width: 20rem;
  height: 20rem;
}

.photo-credit {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 0;
}

.right-panel {
  flex: 2;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 32px;
}

.intro h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.intro p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5em;
}

.signup-form {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 24px 24px 16px 24px;
  margin-top: 16px;
}

fieldset {
  padding: 0;
  margin: 0 0 16px 0;
}

legend {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

input {
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

input[type='password']:invalid {
  border-color: #dc2626;
}

.create-account {
  width: 100%;
  background: #020500;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.2s;
}

.create-account:hover {
  background: #303130;
}

.login-link {
  text-align: center;
  margin-top: 16px;
  font-size: 1rem;
}

.login-link a {
  color: #408706;
  text-decoration: none;
  font-weight: 600;
}

.footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.95rem;
  color: #888;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
  .left-panel {
    min-height: 180px;
    height: 180px;
  }
  .right-panel {
    padding: 24px 8px;
  }
  .signup-form {
    padding: 16px 8px 8px 8px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
