* {
  box-sizing: border-box;
  font-family: 'Shippori Mincho', serif;
}

#survey-form {
  margin: auto;
}

#survey-form .form-element {
  margin: auto;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background-image:
    url('img/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
}

.container {
  margin: auto;
  width: 70%;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

}

 .form-element {
  align-items:flex-start;
  padding: 5px;
  display: flex;
  flex-direction: column;
  margin-left: 5rem;
  font-size: 1.3rem;
}

.container .form-element input[type=text], input[type=email], input[type=number]{
  display: inline-block;
  width: 50%;
  margin-top: .8rem;
    border-radius: 4px;
     padding: 12px 20px;
}

.container .form-element input[type=radio]{
display:inline;
transform: scale(1.3);
text-align: center;
padding: 5px;
}
.container .form-element label.radio{
position: relative;
color: black;
display: flex;
margin-top: 10px;
align-items: center;
flex-direction: row;

}
#radio-buttons{
  display:block;
}

.form-element #dropdown select{

transform: scale(12.3);


}
label{
  display: flex;
}
input, button, select, textarea{
  margin: 0;
}

.submit-button {
  display: block;
  width: 60%;
  padding: 1.25rem;
  background: rgba(17, 201, 0, 0.7);
  color: inherit;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Shippori Mincho', serif;
   font-size: 1.5rem;
  margin: 12px auto;
}
/* Customize the label (the container) */
.father {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.father input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #6C757D;
}

.father:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.father input:checked ~ .checkmark {
  background-color: #2196F3;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.father input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.father .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* The container */
.radio-father {

  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio-father input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark-radio {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #6C757D;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-father:hover input ~ .checkmark-radio {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio-father input:checked ~ .checkmark-radio {
  background-color: #2196F3;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark-radio:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-father input:checked ~ .checkmark-radio:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-father .checkmark-radio:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

textarea#message{
  margin: 12px auto; 
}
