@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Universal styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background: rgb(233, 233, 233);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.bg-image{
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(64, 64, 64, 0.7)), url("vvgu.jpg");
  background-size:cover;
  background-position:center center;
  height: 100vh;
  position:fixed;
  left:0;
  right:0;
  z-index:-1;
}

form {
  display: flex;
  flex-direction: column;
  background: #fff;
  width:400px;
  border-radius: 5px;
  overflow: hidden;
-webkit-box-shadow: 0px 0px 40px 9px rgba(0,0,0,0.6); 
box-shadow: 0px 0px 40px 9px rgba(0,0,0,0.4);
}

.head {
  background: #17a3ea;
  margin-bottom: 10px;
  padding: 15px;
}

.head h3,
p {
  text-align: center;
  color: white;
}

.head p {
  font-size: 14px;
}

label {
  padding: 10px;
  margin-left: 10px;
}

select {
  padding: 10px;
  margin: 5px 20px 20px 20px;
  outline: none;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: #fff;
}

input:focus {
  border: 1px solid rgb(0, 132, 255);
}

button {
  outline: none;
  background: #17a3ea;
  border: none;
  padding: 10px;
  border-radius: 10px;
  margin: 10px;
  color: white;
  cursor: pointer;
  transition: all 0.5s;
  font-size: 14px;
  font-weight: bold;
}

button:hover {
  background: rgb(0, 105, 204);
}


@media screen and (max-width: 417px){
 form{
    width: 95%;
/*     height: 60%;              
    height: calc(60% / 2);*/
  }  .bg-image {
    display: none;
  }
  body {
    background-image: url("m_background.jpg");
  }
}