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



*
{
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: "Anta", sans-serif;
}

body
{
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

section
{
    height: 600px;
    width: 30%;
    background-color: whitesmoke;
    box-shadow: black 0px 0px 40px 0px;
    border-radius: 20px;
}

header
{
    height: 20%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

img
{
    height: 40px;

}

form
{
    height: 70%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

input
{
    height: 25px;
    border: black solid 2px;
    border-radius: 5px;
}



label
{
    margin: 5px;
    padding: 5px;
}

.dob
{
    /* width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; */
}

.gender-inner
{
    display: flex;
}

.gender-inner div
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.name
{
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.gender
{
    display: flex;
    /* flex-direction: column; */
    justify-content: space-evenly;
    align-items: center;
}


/* ---------footer--------- */

footer
{
    height: 10%;
}

button
{
    height: 30px;
    width: 100px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 2px;
    transition: 1s;
}

button:hover
{
    transform: translateY(-7px);
    background-color: white;
    color: black;
    border-radius: 10px;
}



@media all and (max-width:1000px)
{
    section
    {
        width: 65%;
    }
}