*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}
.MainPage{
  background-color: #fff;
  width: 90%;
  padding: 25px;
  margin: 25px auto 0;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
  border-radius: 10px;
}
.MainPage {
  /* background-color: black; */
  /* color: white; */
  font-size: 24px;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  /* border: 1px dotted #333; */
}
h2{
  /* color: white; */
  /* background-color: black;  */
  /* width: 400px; */
text-align: center;
font-size: 24px;
}

h1{
  text-align: center;
  color: black;
  font-size: 24px;
}
p{
  text-align: center;
}
.input-group{
  margin-bottom: 8px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  padding: 5px 0;
}
.input-box{
  width: 100%;
  margin-right: 12px;
  position: relative;
  height: 70px;
}
.input-box:last-child{
  margin-right: 0;
}
.name{
  padding: 14px 10px 14px 50px;
  width: 100%;
  background-color: #fcfcfc;
  border: 1px solid #00000033;
  outline: none;
  letter-spacing: 1px;
  transition: 0.3s;
  border-radius: 3px;
  color: #333;
  height: 60px;
}
.name:focus, .dob:focus{
  -webkit-box-shadow:0 0 2px 1px #7ed32180;
  -moz-box-shadow:0 0 2px 1px #7ed32180;
  box-shadow: 0 0 2px 1px #7ed32180;
  border: 1px solid #7ed321;
}
.input-box .icon{
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  /* color: #333; */
  color: #fff;
  /* background-color: #f1f1f1; */
  border-radius: 2px 0 0 2px;
  transition: 0.3s;
  font-size: 20px;
  pointer-events: none;
  border: 1px solid #00000033;
  border-right: none;
}
.icon{
  height: 60px;
}
.name + .icon{
  /* background-color: black; */
  /* color: #fff; */
  border-right: 1px solid #7ed321;
  border: none;
  transition: 1s;
}

.details{
  width: 150px;
  border-radius: 15px;
}
.input-box label{
  width: 50%;
  padding: 13px;
  background-color: #fcfcfc;
  display: inline-block;
  float: left;
  text-align: center;
  border: 1px solid #c0bfbf;
}
.input-box label:first-of-type{
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-right: none;
}
.input-box label:last-of-type{
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.radio:checked + label{
  background-color: black;
  color: #fff;
  transition: 0.5s;
}
.input-box select{
  display: inline-block;
  width: 50%;
  padding: 12px;
  background-color: #fcfcfc;
  float: left;
  text-align: center;
  font-size: 16px;
  outline: none;
  border: 1px solid #c0bfbf;
  cursor: pointer;
  transition: all 0.2s ease;
}
.input-box select:focus{
  /* background-color: #7ed321; */
color: black;
  text-align: center;
}
button{
  width: 50%;
  background: transparent;
  border: none;
  background:black;
  color: #fff;
  padding: 15px;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.35s ease;
  cursor: pointer;
}

.Save{
  color: white;
  text-decoration: none;
  border: none;
  font-size: 15px;
  text-align: center;
  margin: 35px;
  height:50px ;
  border-radius: 15px;
  
}
.Save >a{
  color: white;
  text-decoration: none;
}
.Cancel{
  background-color: white;
  color: black;
  border: none; 
   text-decoration: none;
  border: 2px solid black;
  border-radius: 15px;
  width: 190px;
  text-align: center;
  margin-left: 300px;
  height: 50px;
  margin-top: 40px;
}
