* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a140b;
    color: #f5f5f5;
    font-family: Arial, sans-serif;
}

header {
    background-color: #070603;
    color: #ffd000;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
}

.conversor-container{
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.conversor-container h2{
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ffd666;
}

.conversor-card {
    background-color: #382f21;
    color: #f1f1f1; 
    width: 100%;  
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.205);
    margin-bottom: 20px;
    padding: 20px;
    font-weight: bold;
}

.grupo-moedas{
    display:flex;
    align-items:flex-end;
    gap:15px;
    margin-bottom:20px;
}

.campo{
    flex:1;
}

.btn-inverter{
    width:50px !important;
    height:45px;
    padding:0 !important;
    border-radius:50%;
    background:#1a140b;
    color:#ffbb00;
    border:2px solid #ffbb00;
    font-size:22px;
    transition:.3s;
}

.btn-inverter:hover{
    background:#ffbb00;
    color:#1a140b;
}

.conversor-card input, .conversor-card select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #1a140b;
    color: #f1f1f1;
    border: 1px solid #c09215;
    border-radius: 5px;
    box-sizing: border-box; 
    font-size: 16px;
    height: 45px;
    transition:.25s;
}

.conversor-card input:focus,
.conversor-card select:focus{
    outline:none;
    border-color:#ffd000;
    box-shadow:0 0 0 3px rgba(255,208,0,.15);
}

.conversor-card label{
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

.conversor-card button {
    width: 100%;
    padding: 10px;
    background-color: #382f21;
    color: #ffbb00;
    border: 2px solid #ffbb00;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease;;
}

.conversor-card button:hover {
    background-color: #ffbb00;
    color: #3b3b4f;
}

.resultado{
    margin-top:25px;
    padding:18px;
    border-radius:8px;
    background:#1a140b;
    border:1px solid rgba(255,187,0,.2);
}

.sobre {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #382f21;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sobre h3 {
    margin-bottom: 15px;
}

.sobre p {
    line-height: 1.6;
}

footer {
    background-color: #070603;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
  .conversor-container {
    padding: 0 20px;
  }

  .conversor-card {
    width: 100%;
    padding: 15px;
  }

  .conversor-card h1 {
    font-size: 28px;
  }

  .conversor-card input, .conversor-card select, .conversor-card button {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 18px;
  }

  .conversor-container h1 {
    font-size: 26px;
    text-align: center;
  }

  .conversor-card {
    padding: 10px;
  }

  .resultado {
    font-size: 18px;
  }

  .sobre {
    padding: 15px;
    margin: 20px 10px;
  }
}