@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

body {
  background-image: url(https://img.freepik.com/free-vector/blurred-valentine-s-day-wallpaper_23-2148819570.jpg);
  background-repeat: no-repeat;
  height: 100vh;
  background-position: center;
  background-size: cover;
}
/* Mobile Screen (min-width: 480px) */
@media screen and (min-width: 480px) {
  body {
    height: 100vh;
  }
  .container {
    height: 250px;
    width: 250px;
  }
  .sub-container {
    height: 75px;
    width: 200px;
  }
}

.container {
  height: 500px;
  width: 500px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 10px 17px 224px 42px rgba(255, 255, 255, 0.75);
  -webkit-box-shadow: 10px 17px 224px 42px rgba(255, 255, 255, 0.75);
  -moz-box-shadow: 10px 17px 224px 42px rgba(255, 255, 255, 0.75);
  background-image: linear-gradient(
      78deg,
      rgba(96, 96, 96, 0.04) 0%,
      rgba(96, 96, 96, 0.04) 35%,
      rgba(220, 220, 220, 0.04) 35%,
      rgba(220, 220, 220, 0.04) 100%
    ),
    linear-gradient(
      150deg,
      rgba(83, 83, 83, 0.04) 0%,
      rgba(83, 83, 83, 0.04) 71%,
      rgba(6, 6, 6, 0.04) 71%,
      rgba(6, 6, 6, 0.04) 100%
    ),
    linear-gradient(
      311deg,
      rgba(203, 203, 203, 0.04) 0%,
      rgba(203, 203, 203, 0.04) 58%,
      rgba(3, 3, 3, 0.04) 58%,
      rgba(3, 3, 3, 0.04) 100%
    ),
    linear-gradient(
      137deg,
      rgba(110, 110, 110, 0.04) 0%,
      rgba(110, 110, 110, 0.04) 11%,
      rgba(226, 226, 226, 0.04) 11%,
      rgba(226, 226, 226, 0.04) 100%
    ),
    linear-gradient(90deg, rgb(215, 19, 84), rgb(234, 119, 123));
}

.title h1 {
  text-align: center;
  color: #ffff;
  font-weight: 600;
  font-family: 'Dancing Script', cursive;
  font-optical-sizing: auto;
}

.sub-container {
  height: 150px;
  width: 400px;
  display: grid;
  grid-template-rows: 1.5fr 3fr;
  position: relative;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 25px;
}

#input-2 {
  position: relative;
  margin-top: 10px;
}

.input-field1,
.input-field2 {
  display: grid;
  grid-template-columns: 2fr 2fr;
  position: relative;
}

label {
  color: #ffff;
  font-family: 'Dancing Script', cursive;
  font-optical-sizing: auto;
  font-size: 24px;
}

input {
  font-family: 'Dancing Script', cursive;
  font-optical-sizing: auto;
  font-size: 30px;
  color: #e84393;
  font-weight: bold;
  outline: none;
  border: none;
  border-radius: 5px;
  margin-bottom: 25px;
}

input:-webkit-autofill {
  color: #e84393;
}

input::selection {
  background-color: #dc648e;
  color: white;
}

.button {
  font-family: 'Dancing Script', cursive;
  font-optical-sizing: auto;
  background: #e84393;
  background: linear-gradient(
    90deg,
    rgba(232, 67, 147, 1) 0%,
    rgba(253, 29, 29, 1) 58%,
    rgba(214, 48, 49, 1) 100%
  );
  color: #ffff;
  border: 1px solid #fff;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.5;
  position: relative;
  margin-left: 190px;
  box-shadow: -11px 4px 46px -10px #fd79a8;
}

.button:hover {
  cursor: pointer;
  background: #e84393;
  background: linear-gradient(
    90deg,
    rgba(232, 67, 147, 1) 100%,
    rgba(253, 29, 29, 1) 76%,
    rgba(214, 48, 49, 1) 100%
  );
}

button:disabled {
  background-color: #ccc;
  opacity: 0.5;
}

.button:hover:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

p {
  color: #ffff;
  font-size: 30px;
  font-weight: 800;
  font-family: 'Dancing Script', cursive;
  font-optical-sizing: auto;
  text-align: center;
}
