* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(to bottom right, #f0f4f8, #cfe1f0);
    color: #333;
    line-height: 1.6;
}

.header {
    background-color: #0044cc;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 0.2em;
}

.subtitle {
    font-size: 1.2em;
    margin-top: 0.2em;
}

.main-content {
    padding: 40px 20px;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.calculator-title {
    text-align: center;
    color: #0044cc;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
}

.bmi-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

input {
    padding: 12px;
    border: 2px solid #0044cc;
    border-radius: 8px;
    font-size: 1em;
}

.btn {
    align-self: center;
    background-color: #0044cc;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.3em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: #003399;
    transform: translateY(-3px);
}

.result {
    margin-top: 30px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

.bmi-scale {
    margin-top: 40px;
}

.scale-container {
    position: relative;
    width: 100%;
    height: 30px;
    background: linear-gradient(to right, #ff6347, #ffd700, #90ee90);
    border-radius: 15px;
    margin-top: 25px;
}

.scale {
    width: 100%;
    height: 100%;
    position: relative;
}

.indicator {
    position: absolute;
    top: -10px;
    width: 25px;
    height: 50px;
    background-color: #0044cc;
    border-radius: 5px;
    transition: left 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1em;
}

.footer {
    background-color: #0044cc;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
}
