* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  height: 100vh;
  background-color: #f5f5f5;
}

.container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/*
   LEFT VIDEO SECTION
*/

.image-section {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* TEXT OVER VIDEO */
.overlay-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 64px;
  color: white;
  letter-spacing: 6px;
  font-weight: 300;
  z-index: 2;
}

/* =
   RIGHT FORM SECTION
 */

.form-section {
  flex: 1;
  background-color: #ffffff;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* LOGO */
.logo {
  width: 280px;
  max-width: 100%;
  margin-bottom: 30px;
}

/* TITLE */
h2 {
  margin-bottom: 25px;
  color: #222;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
}

input {
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: #4caf50;
}

/* BUTTON */
button {
  padding: 14px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #43a047;
}

/* SWITCH LINK */
.switch {
  margin-top: 20px;
  font-size: 14px;
}

.switch a {
  color: #4caf50;
  text-decoration: none;
  font-weight: bold;
}

.switch a:hover {
  text-decoration: underline;
}

/* 
   RESPONSIVE
*/

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .image-section {
    height: 40vh;
  }

  .overlay-text {
    font-size: 36px;
  }

  .form-section {
    padding: 40px 30px;
  }
}
