
body {
    font-family: "Comic Sans MS", cursive, sans-serif;
    text-align: center;
    margin: 0;
    background-color: #fce4ec;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    width: 550px;
    text-align: left;
    border: 5px solid #ff4081;
}
label {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-top: 15px;
}
input, select, button {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid #ff80ab;
    display: block;
}
button {
    background-color: #ff4081;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}
.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}x
button:hover {
    background-color: #f50057;
    transform: scale(1.05);
}
#input-result {
    display: flex;
    font-size: 20px;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    justify-content: center;
}
#result {
    display: flex;
    font-size: 20px;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    justify-content: center;
}
.progress-bar-container {
    width: 100%;
    background-color: #ddd;
    border-radius: 10px;
    margin-top: 20px;
    height: 20px;
    position: relative;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #ff4081;
    border-radius: 10px;
    transition: width 0.5s;
}
#funFacts {
    font-size: 18px;
    margin-top: 20px;
    color: #333;
}
#funFacts ul {
    padding-left: 20px;
    text-align: left;
}


/* 📱 Mobile-Friendly Adjustments */
@media screen and (max-width: 600px) {
    .box {
        max-width: 90%; /* Adjust for small screens */
        padding: 20px;
    }

    input, select, button {
        font-size: 16px;
        padding: 10px;
    }

    button {
        padding: 12px;
    }

    .progress-bar-container {
        height: 15px;
    }
}