body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    background-color: #121212;
    margin: 0;
    padding-bottom: 20px; 
    min-height: 100vh; 
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #061b30;
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    text-align: center;
    z-index: 1000; 
}

.header:hover {
    background-color: #222427;
}

.header-left {
    position: relative;
    margin-right: 20px;
}

.header-logo {
    height: 80px;
    width: 80px;
}

.header-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.container {
    background: #1E1E1E;
    margin-top: 150px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #00ADB5;
    display: inline-block;
    width: 90%;
    max-width: 500px;
    margin-bottom: 20px;
}

.container h2 {
    color: #E0E0E0;
}

input {
    padding: 10px;
    font-size: 16px;
    width: 90%;
    margin: 10px 0;
}

button {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    color: #B0B0B0;
    border: none;
    border-radius: 5px;
    width: 45%;
    margin: 5px;
}


button.convert {
    background-color: #00C853;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


button.reset {
    background-color: #D32F2F;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


button.convert:hover {
    background-color: rgb(58, 100, 3);
    transform: scale(1.05);
}

button.reset:hover {
    background-color: darkred;
    transform: scale(1.05);
}


button.convert:active,
button.reset:active {
    transform: scale(0.95);
}

#result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: gold;
    text-align: left;
    line-height: 1.6;
    word-wrap: break-word; 
}

.footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #1E1E1E;
    color: #E0E0E0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 20px; 
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-right {
    margin-right: 30px;
}

.footer-img,
.footer-img1 {
    width: 60px;
    height: 60px;
    border-radius: 10%;
    object-fit: cover;
    border: 2px solid white;
}

.footer p {
    margin: 0;
    font-size: 14px;
    text-align: left;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px;
    }

    .header-logo {
        height: 60px;
        width: 60px;
    }

    .header-title {
        font-size: 20px;
    }

    .container {
        width: 95%;
        margin-top: 150px;
    }

    button {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .footer-left,
    .footer-right {
        flex-direction: column;
        gap: 10px;
    }

    .footer-right {
        margin-right: 0;
    }

    .footer p {
        text-align: center;
    }
}