* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: sans-serif;
}

body {
    background-color: #f3f3f3;
}

header{
    background-color: white;
}

.head {
    display: flex;
    background-color: white;
    height: 80px;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: 10px;
    color: #3d0a49;
    font-size: 20px;
    font-weight: 500;
}

.logo img {
    width: 30px;
    margin-right: 7px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-right: 20px;
    color: #027fe9;
    font-size: 16px;
    
}

nav .link a{
    position: relative;
    padding-bottom: 0.2rem;
}

nav .link a::after{
    content: "";
    position: absolute;
    height: 1px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #027fe9;
    transition: all 0.3s ease;
}

nav a:hover::after{
    width: 100%;
}

.botao{
    padding: 10px 20px;
    border: 1px solid #027fe9;
    border-radius: 100px;
}

.botao:hover{
    background-color: #027fe9;
    color: white;
    scale: 1.07;
    transition: ease 0.3s;
}
/*header*/


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0; /* Adicionado para garantir que não haja margens padrão */
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Espaçamento para o formulário não colar nas bordas */
    min-height: calc(100vh - 120px); /* Ajusta a altura para descontar o header */
}

.form-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    margin: 0 auto;
}

.form-header {
    background-color: #027fe9;
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.form-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-body {
    padding: 30px 40px;
}

form h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label, .choice-group legend {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #027fe9;
    box-shadow: 0 0 0 3px rgba(2, 127, 233, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}

.choice-group {
    border: none;
    margin-bottom: 20px;
}

.radio-options, .checkbox-options {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.radio-options div, .checkbox-options div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.choice-group input[type="radio"], .choice-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.choice-group label {
    font-weight: 400;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #027fe9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #026acb;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 480px) {
    .form-body {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
        .head{
        flex-direction: column;
        height: 110px;
        padding: 15px 0;
    }

    .logo{
        margin-bottom: 10px;
    }

    nav{
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }
}