@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

h1 {
    text-align: center;
}

body {
    font-family: "Space Grotesk", serif;
    background-color: #f4f7f9;
    margin: 0;
    padding: 0;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo{
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.logo i{
    margin-right: 10px;
    font-size: 28px;
}

nav ul{
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li{
    display: inline;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover{
    text-decoration: underline;
    color: #ffdd57
}

.calc{
    /* justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex; 
    align-items: center;  
    gap: 10px; 
    border: 1px solid #ccc;
    background-color: #f9f9f9; */

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.calc input {
    text-align:center;
    width: 100%;
    max-width: 200px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input::placeholder {
    text-align: right;
}
 

.results{
    border-style: solid;
}

input {
    width: 80px; /* Define um tamanho para os inputs */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.results {
    font-weight: bold;
}

footer{
    background: #0056b3;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    margin-top: 40px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px){
    footer{
        font-size: 14px;
        padding: 15px 10px;
    }
}

.salary-container{
    font-family: "Space Grotesk", serif;
    background-color: #f9f9f9;
    border: 2px solid #007bff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.salary-container > #salario{
    margin-top: 10px;
    text-align: center;
    position: relative;
}

.salary-container p  {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}


 
.results {
    display: block;
    font-size: 16px;
    margin-top: 10px;
    color: #555;
}

 

.block {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.block-hover {
    background-color: #0056b3;
}

#salario {
    border: solid;
}

 

.bouncing-dollar {
    font-size: 80px; /* Tamanho do cifrão */
    color: green; /* Cor do cifrão */
    position: fixed; /* Mantém ele no topo */
    top: 200px; /* Distância do topo */
    left: 80%; /* Centraliza horizontalmente */
    transform: translateX(-50%); /* Ajusta a posição */
    animation: bounce 1s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}




 