body {
    background: linear-gradient(to bottom, #0000FF, #000080);
    min-height: 100vh;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.main-converters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    max-width: 700px;
    align-items: center;
}

.fundo {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    text-align: center;
}

.fundo:first-child h1 {
    text-transform: uppercase;
}

.box1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

label.subtitulo {
    font-size: 1.1em;
    font-weight: 400;
}

input[type="number"] {
    background-color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    width: 200px;
    font-size: 1.1em;
    color: #333;
    box-sizing: border-box;
    text-align: center;
}

input[type="number"]::placeholder {
    color: #888;
    text-align: center;
}

input[type="number"]::-webkit-input-placeholder {
    color: #888;
    text-align: center;
}

input[type="number"]::-moz-placeholder {
    color: #888;
    text-align: center;
}

input[type="number"]:-ms-input-placeholder {
    color: #888;
    text-align: center;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

div#resultado,
div#resultado1 {
    font-size: 1.1em;
    margin-top: 5px;
}

div.subtitulo strong {
    font-size: 1.2em;
    font-weight: 700;
    color: #c2e9fb;
}

#resultado,
#resultado1 {
    background-color: rgba(255, 255, 255, 0.9);
    color: #007bff;
    font-size: 1.6em;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: fit-content;
    max-width: 90%;

    display: block;
    margin-left: auto;
    margin-right: auto;
}

#sr {
    margin-bottom: 30px;
    color: #ffd700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

#sr h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#sr h2 {
    font-size: 1.5em;
    font-weight: 400;
    color: #c2e9fb;
    margin-top: 0;
    margin-bottom: 0;
}

.fundo h3 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.fundo:first-child h3 {
    text-transform: uppercase;
}