body {
    font-family: Arial, sans-serif;
    background:
        linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
        url("/img/SectionSewn.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    margin: 0;
    padding: 20px;
}

/* Center wrapper for calculator */
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 120px);
}

/* Heading */
h1 {
    text-align: center;
    color: #333;
    margin: 10px 0 25px 0;
   font-size: clamp(24px, 8vw, 36px);
    text-shadow: 2px 2px 1px rgba(250, 250, 250, 0.5);
}

/* Calculator panel */
.calculator {
    background: rgba(255, 255, 255, 0.92);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 600px;
}

/* Labels and inputs */
label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

input, select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Result box */
#result {
    margin-top: 25px;
    padding: 15px;
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    font-size: 20px;
    font-weight: bold;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    body {
        padding: 40px;
    }

    h1 {
        font-size: 36px;
    }

    .center-wrapper {
        align-items: center;
    }

    .calculator {
        padding: 30px;
    }
}
.home-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: #fff0f0

}
.IQ-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff0f0;
}