@import url(https://fonts.googleapis.com/css?family=Roboto:300);

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
}

.img {
  background: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.form {
  max-width: 400px;
  width: 100%;
  margin: 20px auto;
  padding: 30px;
  z-index: 2;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
  color: #333;
  text-shadow: none;
}

.area, .location {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: rgba(242, 242, 242, 0.9);
  width: 100%;
  border: 0;
  margin: 0 auto 22px auto;
  padding: 12px;
  box-sizing: border-box;
  font-size: 15px;
  border-radius: 5px;
}

.switch-field {
  display: flex;
  width: 100%;
  margin: 0 auto 22px auto;
  overflow: hidden;
  border-radius: 4px;
}

.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label {
  flex: 1;
  background-color: #e4e4e4;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 10px 8px;
  margin-right: -1px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
  cursor: pointer;
}

.switch-field input:checked + label {
  background-color: #a5dc86;
  box-shadow: none;
}

.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

.submit, .result {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #a5dc86;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.submit:hover {
  background: #8bc34a;
}

.result {
  background: #dcd686;
  margin-top: 15px;
  color: #333;
  cursor: default;
}

