* {
  /*margin: 0;
  padding: 0;*/
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: linear-gradient(135deg, #a5d4f3, #0f60f7);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.overlay {
 position: absolute;
 top: 100px;
}

.formulário h2 {
 display: flex;
 justify-content: center;
 align-items: center;
 background: white;
 color: #36393d;
 border-radius: 5px;
 font-size: 25px;
 padding: 10px;


}


.container {
  position: relative;
  margin-bottom: 100px;
  max-width: 900px;
  width: 100%;
  background: #fff;
  padding: 25px 30px;
  border-radius: 5px;
}

.container .title {
  font-size: 25px;
  font-weight: 500; 
  position: relative;
}

.container .title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  background: #0f60f7;
}

.container form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

form .user-details .input-box {
  margin-bottom: 15px;
  margin: 20px 0 12px 0;
  width: calc(100% / 2 - 20px);
}

.user-details .input-box .details {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 14px;
}

.user-details .input-box input[type=date],
.user-details .input-box input[type=text] {
  height: 35px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding-left: 35px;
  font-size: 10px;
  border-bottom-width: 2px;
}

.user-details .input-box input[type=radio] {
  margin: 0 5px 0 0;
}

.user-details .input-box .radio-options {
  /* display: inline-block; */
  display: flex;
  font-size: 12px;
}

.user-details .input-box .radio-option {
  margin-right: 30px;
}

.user-details .input-box input:focus {
  border-color: #0f60f7;
}

 /*BOTão RETORNAR A PAGINA PRINCIPAR*/

  .overlay .previous {
    position: fixed;
    padding: 15px 10px;
    background-color: #0444b9;
    color: white;
    right: 10px;
    bottom: 5px;
    font-size: 1,5rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
  }

form .button {
  padding: 0;
  margin: 50px 200px 0 200px;
  outline: none;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
}

form .button input {
  background: linear-gradient(135deg, #71b7e6, #9b9b9b);
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 5px;
}


form .button input:hover {
  background: linear-gradient(135deg, #9b9b9b, #71b7e6);

}

legend {
  padding: 0;
}

fieldset {
  border: none;
  margin: 0;
  padding: 10px 0;
}

@media (masx-width: 584px) {
  .container {
    max-width: 100%;
  }

  form .user-details .input-box {
    margin-bottom: 15px;
    width: calc(100%);
  }

  form .gender-details .category {
    width: 100%;
  }
   
  .container form .user-details {
    max-height: 300px;
    overflow-y: scroll;
  }

  .user-details::-webkit-scrollbar {
    width: 0;
  }
}
