
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.head_h2 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.calculator-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    max-width: 500px;
    width: 100%;
    margin-bottom: 20px;
}

.calculator-form-pair {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calculator-form-group {
    width: 48%;
}

.calculator-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.calculator-form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.calculator-form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.calculator-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    width: 48%;
    cursor: pointer;
    background-color: #0264b3;
    color: #ffffff;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.calculator-button:hover {
    background-color: #0056b3;
}

.calculator-volatility-report {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: #0264b3;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    width: 80%;
    text-align: center;
}

.calculator-volatility-heading {
    font-size: 20px;
    color: #fff;
    margin: 10px 0;
}

.main_cal_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Media Query for Mobile Devices */
@media (max-width: 600px) {
    .calculator-form-pair {
        flex-direction: column;
    }

    .head_h2 {
        font-size: 20px;
    }

    .calculator-form-group {
        width: 100%;
        margin-bottom: 10px;
    }

    .calculator-form-buttons {
        flex-direction: column;
    }

    .calculator-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .calculator-section {
        max-width: 95%;
        padding: 10px;
    }
}

@media screen and (max-width: 425px) {
    .calculator-section {
        max-width: 95%;
        padding: 10px;
    }

    .calculator-volatility-report {
        width: 90%;
        padding: 10px;
        flex-direction: column;
    }
}

