* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a2a41;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.main {
    background: linear-gradient(135deg, #1c3a57, #3e6f94);
    padding: 30px 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.main h2{
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.display {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    padding: 12px;
    background-color: #1c3a57;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: transform 0.3s ease
}

.display::-webkit-scrollbar{
    display: none;
}

.display:hover{
    transform: scale(0.95);
}

.input {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

label {
    display: inline-block;
    font-size: 1rem;
    color: #ffffff;
    width: 60%;
}

input[type="number"],
input[type="checkbox"] {
    width: 35%;
    padding: 8px;
    background-color: #2a3a51;
    border: 1px solid #4b6f94;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

input[type="number"]:focus,
input[type="checkbox"]:focus {
    outline: none;
    border-color: #00bcd4;
    background-color: #3e5b7f;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #1a2a41;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

button:hover {
    background-color: #263b55;
    transform: scale(1.05);
}

/* Responsive design */
@media screen and (max-width: 500px) {
    .main {
        width: 90%;
        padding: 30px 20px;
    }

    .display{
        font-size: 1rem;
    }

    label {
        width: 100%;
        font-size: 0.875rem;
    }

    button {
        font-size: 1rem;
    }
}
