/* CSS Styling */
body {
    background: url(./image.jpg);

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.converter-container {
    background: linear-gradient(90deg,#0e0a03,hwb(60 0% 98%));
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(210, 210, 33, 0.2);
    text-align: center;
    width: 300px;
    animation: fadeIn 1s ease-in-out;
}
.converter-container:hover{
    filter: drop-shadow(1px 2px 4px #0ca9ae);
    width: 310px;
    height: 420px;
}

h1{
    color: #19d4a5;
    animation: slideIn 1s ease-in-out;
}

.input-container {
    margin-bottom: 20px;
    position: relative;
    animation: fadeInUp 1s ease-in-out;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #104287;
    font-weight: 800;
    font-size: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

input {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.2);
}

button {
    background-color: #1E90FF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    animation: fadeInUp 1s ease-in-out;
   
}

button:hover {
    background-color: #1C86EE;
    transform: scale(1.25);
    
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-0px); }
    to { opacity: 1; transform: translateX(0); }
}