
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Slab', serif;
}
body{
    background: #eee;
    display:  flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
img{
    width: 300px;
}

.main{
    width: 450px;
    height: 600px;
background-color: white;
    box-shadow: 0px 0px 10px gray;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    border-radius: 10px;
}
.main h2{
    font-size: 25px;
}
.main h4{
    color: grey;
    font-size: 15px;
}
.main h4::after{
    content: '';
    width: 100%;
    height: 1px;
    color: black;
    display: block;
    border-bottom: 1px solid rgb(165, 163, 163);
    margin: 10px 0px;
}

.main input {

    padding: 10px;
    border-radius: 5px;
    margin: 5px 0px;
    outline: none;
    border: 1px solid grey;
}
.main input:focus{
    border: 1px solid blue;
}
.main select{
    width: 125px;
    padding: 5px;
    font-size: 16px;
    margin-right: 5px;
}
.main option{
    padding: 10px;
}
.main p {
    text-align: start;
    margin-top: 10px;
}
.input{
    display: flex;
    justify-content: space-between;
}
.gender-section{
    display: flex;
    justify-content: space-between;
    margin: 10px 0px;
    width: 100%;
}
.check{
    display: flex;
    width: 130px;
    border: 1px solid grey;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 5px ;
    font-size: 16px;
    border-radius: 5px;
}
.male-check{
    width: 120px;
}
.content {
    text-align: start;
    margin: 5px 0px;
    font-size: 12px;
}
.button{
display: flex;
flex-direction: column;
align-items: center;
}
.button button{
    width: 200px;
    background: rgb(35, 196, 35);
    color: white;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    border: none;
    margin: 10px 0px;

}
.button a{
    text-decoration: none;
    font-size: 20px;
    color: royalblue;
}







@media (max-width:400px) and (min-width:300px){
  .main{
width: 300px;
height: unset;
margin: 20px 0px;
}
.input input {
    width: 40%;
}
.main select{
    width: 79px;
    font-size: 13px;
}
.check{
    width: 80px;
    font-size: 13px;
    align-items: center;
    
}
}