body, input, label, legend, button {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #cccccc;
    text-align: center;
    color: white;

}

.box {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #002966;
    padding: 100px;
    border-radius: 10px;}

img {
    margin-bottom: 20px;
}



form {
    max-width: 300px;
    margin: 0 auto;
    background-color: #3974b6; 
}

fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    text-align: left;
    
}

legend {
    padding: 0 5px;
    font-weight: bold;
    background-color:  #002966; /* Match the fieldset background */
    position: absolute;
    top: -12px;
    left: 10px;
}

input[type="text"], input[type="password"] {
    width: calc(100% - 20px); /* Adjusted to account for padding */
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.inputsubmit {
    background-color: #000a66;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.inputsubmit:hover {
    background-color: #000308;
}
.conteudo{
    background-color:   #3974b6; /*#000016; */
}