* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    display: flex;
    padding: 3rem;
    justify-content: space-evenly;
}

.hidden {
    display: none;
}

#data, #data-preenchimento, #data_edicao, #municipio {
    margin-right: 10px;
    border-radius: 7px;
    padding: 5px;
}

#municipio {
    border: 1.9px solid black;
}

.button {
    font-size: 20px;
    background-color: rgba(0, 46, 99, 0.829);
    border-radius: 10px;
    padding: 5px 10px;
    cursor: pointer;
    border: none;
    color: white;
    font-weight: 600;
}

.Fundo{
    background-color: #ffffff;
    border: 2px solid #ffa600;
    border-radius: 20px;   
    width: 100%; 
    opacity: 0.8;
}

.VITORIA {
    width: 370px;
    color: rgba(0, 46, 99, 0.829);
    background-color: #fa920a;
    padding: 10px;
    border-radius: 10px;
    font-size: 25px;
    margin:2px auto;
    font-weight: bold;
    border: none;
    text-align: center;
}
 
 .form-group {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

.form-label {
    font-weight: bold;
    color: rgba(0, 46, 99, 0.829);
    font-size: 24px; 
    display: flex;
    align-items: center; 
    gap: 10px;
    border: 2.5px solid rgba(252, 174, 7, 0.8); 
    border-radius: 10px; 
    width: 100%;
    padding: 5px 10px;  
    justify-content: space-between;
}

#Consulta-previa, #Inscricao-municipal, #Sanitaria, #Dispensa-sanitaria, #Ambiental, #Alvara {
    border: none;
}

.form-input { 
    border: none;
    border-radius: 10px;
    width: 150px; 
    outline: none;
    text-align: center;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    width: 100%;
    text-align: end;
  }
  
  select::-ms-expand {
    display: none;
  }

  #Sanitaria, #Ambiental, #Alvara {
    align-self: end;
}

@media((min-width:300px) and (max-width: 500px)) {

    .content {
        margin-top: 0 !important;
    }

    body {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    body,
    .Fundo {
        padding: 1rem !important;
    }

    body > div.d-flex.flex-column.gap-4.align-items-center > div:nth-child(2) > h1 {
        padding: 10px !important;
    }

    h1, label, button, input, select {
        font-size: 12px !important;
    }

    body > div.d-flex.flex-column.gap-4.align-items-center {
        gap: 10px !important;
    }

    .form-group, .form-label {
        gap: 5px !important;
    }

    select {
        padding: 5px 0 5px 0px!important;
    }

    .form-label {
        padding: 5px !important;
    }

    .form-input {
        width: 60px !important;
    }

    .VITORIA {
        width: 200px !important;
    }
} 

@media((min-width:501px) and (max-width: 799px)) {

    .content {
        margin-top: 0 !important;
    }

    body {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    body,
    .Fundo {
        padding: 1rem !important;
    }

    h1, label, button, input, select {
        font-size: 14px !important;
    }

    body > div.d-flex.flex-column.gap-4.align-items-center {
        gap: 10px !important;
    }

    .form-label {
        padding: 5px !important;
    }

    .form-input {
        width: 65px !important;
    }

    .VITORIA {
        width: 200px !important;
    }
} 

@media((min-width:800px) and (max-width: 900px)) {

    body {
        gap: 2rem !important;
    }

    body,
    .Fundo {
        padding: 1rem !important;
    }

    h1, label, button, input, select {
        font-size: 16px !important;
    }

    .content {
        margin-top: 0 !important;
    }
}

@media((min-width:901px) and (max-width: 1100px)) {
    body {
        gap: 2rem !important;
    }

    h1, label, button, input, select {
        font-size: 18px !important;
    }

    .content {
        margin-top: 0 !important;
    }
}

@media((min-width:1001px) and (max-width: 1600px)) {
    h1, label, button, input, select {
        font-size: 20px !important;
    }

    .content {
        margin-top: 0 !important;
    }
}
