body {
    background-color: #e6f7ff;  /* Light sky blue */
    color: rgb(0, 0, 0);
}

.title {
    text-align: center;
}


.container {
        width: 400px;
        margin: 32px auto;
        padding: 8px 12px;
        border-radius: 14px;
        background-color: #ffffff;  /* White container */
        color: #005792;             /* Deep blue text */
    }
    
.container:hover{
        box-shadow: 1px 1px 5px 2px #cceeff;
        animation: glow-border 1s linear infinite;
    }
    
.div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
.btn {
        padding: 12px 32px;
        margin: 8px auto;
        display: block;
        background-color: #3399ff;   /* Sky blue button */
        border: none;
        border-radius: 8px;
        color: white;
        font-style: oblique;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
.btn:hover {
        background-color: #1a8cff;   /* Darker sky blue */
        color: #ffffff;
    }
    
.input-main-percent {
        width: 50%;
        padding: 12px 18px;
        border: none;
        margin: 8px auto;
        background-color: #f0fbff;  /* Soft light blue */
        color: #005792;             /* Deep blue text */
        border-radius: 8px;
        display: block;
    }
    
.input {
        width: 50%;
        padding: 12px 18px;
        border: none;
        margin: 8px;
        background-color: #f0fbff;  /* Same soft blue */
        color: #005792;
        border-radius: 8px;
    }
    
input::placeholder {
        color: #6ca0dc;              /* Light bluish placeholder */
    }
    
.input:focus {
        background-color: #e0f3ff;   /* Slightly deeper focus */
        color: #000;
    }
    
.result {
        border: 1px solid #b3d9ff;   /* Light border */
        padding: 12px 12px;
        border-radius: 14px;
        background-color: #f5fbff;   /* Lightest blue background */
    }
    
.result-text {
        padding: 8px;
        text-align: center;
    }
    
/* Optional: Add subtle glow animation */
@keyframes glow-border {
        0% {
            box-shadow: 0 0 5px #aee2ff;
        }
        50% {
            box-shadow: 0 0 10px #82cfff;
        }
        100% {
            box-shadow: 0 0 5px #aee2ff;
        }
    }    


    @media (max-width: 480px) {
        .container {
            width: 90%;
            margin: 16px auto;
            padding: 12px;
        }
    
        .input-main-percent,
        .input {
            width: 80%;
            margin: 8px 0;
            font-size: 16px;
        }
    
        .div {
            flex-direction: column;
            align-items: stretch;
        }
    
        .btn {
            width: 100%;
            font-size: 16px;
            padding: 14px 0;
        }
    
        .title {
            font-size: 24px;
        }
    
        .result-text {
            font-size: 14px;
        }
    }
    