* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #265073, #59D5E0);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border: 1px solid black;
    box-shadow: 0 0 10px 5px #333A73,
        0 0 20px 10px #333A73;
    border-radius: 20px;
    background: #9AD0C2;
}

input[type="number"] {
    /* width: calc(100%-35px); */
    height: 35px;
    font-size: 15px;
    border-radius: 10px;
    padding: 5px;
    width: calc(100% - 15px)
}

h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

button {
    width: 100%;
    height: 40px;
    outline: none;
    border-radius: 20px;
    background: #6420AA;
    color: white;
    transition: all 0.3s ease;
    font-size: large;
    cursor: pointer;
    margin-bottom: 10px;
}

button:hover {
    background: #265073;
}

.result {
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
}

/* Responsive Design */

@media (max-width: 768px) {
    .container {
        padding: 15px;
        
    }

    h1 {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    input[type="number"] {
        height: 30px;
        font-size: 13px;
    }

    button {
        height: 35px;
        font-size: medium;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        width: auto;
    }

    h1 {
        margin-top: 10px;
        margin-bottom: 15px;
    }

    input[type="number"] {
        height: 25px;
        font-size: 11px;
    }

    button {
        height: 30px;
        font-size: small;
    }
}