*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    background: linear-gradient(135deg, #3c3cd6, #6a6af5) no-repeat fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

header{
    color: white;
    text-align: center;
    padding: 4rem 2rem 1rem;
}

h1{
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

section{
    background: white;
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    margin-top: 3rem;
    box-shadow: 0 15px 40px #00000019;
}

.form-group{
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.form-group label,
.form-group span{
    margin: .8rem 0;
    font-weight: 500;
}

input[type="number"]{
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1.4rem;
    outline: none;
    transition: .3s;
}

input[type="number"]:focus{
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .2);
}

.radio-group{
    display: flex;
    gap: 1.5rem;
    font-size: 1.4rem;
}

button{
    width: 100%;
    padding: 1.2rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: .3s;
}

button:hover{
    background: #4338ca;
    transform: translateY(-2px);
}

#res{
    margin-top: 2.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
}

/* #foto{
    margin-top: 2rem;
    width: 180px;
    border-radius: 12px;
} */

footer{
    margin-top: auto;
    padding: 2rem;
    color: white;
    text-align: center;
    font-style: italic;
    font-size: 1.4rem;
}