* {
  box-sizing: border-box;
}

/* BODY */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;

  background: url("https://i.pinimg.com/736x/ce/b4/1d/ceb41df7737b5918904522051f1f56f5.jpg") no-repeat center/cover;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* DARK OVERLAY */
.overlay {
  width: 100%;
  height: 100vh;

  background: rgba(0, 0, 0, 0.589);

  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTAINER */
.container {
  width: 350px;
  padding: 25px;

  border-radius: 16px;
  background: rgba(21, 20, 20, 0.717);
  backdrop-filter: blur(10px);

  text-align: center;
}

/* TITLE */
h2 {
  color: white;
  margin-bottom: 20px;
}

/* TRANSPARENT INPUT */
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;

  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);

  background: transparent;
  color: white;
  font-size: 14px;

  outline: none;
  transition: 0.3s;
}

/* focus effect */
input:focus {
  border-bottom: 2px solid rgb(66, 222, 84);
}

/* GENDER BOX */
.gender-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

/* GENDER */
.gender {
  width: 48%;
  padding: 12px;
  text-align: center;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.1);
  color: white;

  cursor: pointer;
  transition: 0.3s;
}

/* HOVER EFFECT */
.male:hover {
  background: #4da3ff;
}

.female:hover {
  background: #ff6fa5;
}

/* SELECTED */
#male:checked+.male {
  background: #4da3ff;
}

#female:checked+.female {
  background: #ff6fa5;
}



/* BUTTON */
button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;

  border: none;
  border-radius: 10px;

  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  color: white;
  font-size: 15px;

  cursor: pointer;
  transition: 0.3s;


}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px #ff7a00, 0 0 20px #25100a;
}

/* RESULT */
#result {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
}