body {
    font-family: Arial, sans-serif;
        /*Soft lavender */
    background: #E4DDF0;
        /* Deep blue-gray */
    color: #253F4B;
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
}
.container {
    display: block;
    justify-content: center;  /* horizontal centering */
    align-items: center;      /* vertical centering */
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.mbg-dd-select {
    width: 100%;
    text-align: left;
    background-color: #44C0F1;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.3); 
    outline: 1px solid #333e50; opacity: 1;
}
.mbg-dd-select:hover {
    background-color: #A08080;
}
.mbg-dd-select:active {
    background-color: #A08080;
    transform: scale(0.98);
}
drop-down-list {
        /* Deep blue-gray */
    color: #253F4B;
    background-color: red; 
    border: 1px solid #000000; 
}
h1 {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    width: 100%;
}
h2 {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 40px;
    font-size: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    width: 100%;
}
label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
        /* Deep blue-gray */
    color: #253F4B;
}
p {
    text-align: left;
    margin-left: 20px;
}

.rbuttondiv {
    width: 100%;
    display: flex;
    justify-content: center;  /* horizontal centering */
    align-items: center;      /* vertical centering */
    text-align: center;
}

.random-but {
    width: 80%;
    display: block;
    justify-content: center;  /* horizontal centering */
    align-items: center;      /* vertical centering */
    text-align: center;
        /* Sky blue */
    background-color: #44C0F1;
        /* Deep blue-gray */
    color: #253F4B;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 2px solid #253F4B; 
}

.random-but:hover {
    background-color: #808080;
        /* Deep blue-gray */
    color: #253F4B;

}

.random-but:active {
    background-color: #44C0F1;
    transform: scale(0.98);
}
#result {
    margin-top: 20px;
    padding: 20px;
        /* Deep blue-gray */
    background-color: #253F4B;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    display: none;
}
#result h2 {
    margin-top: 0;
    color: #44c0f1;
}
#result p {
    color: #44c0f1;
    line-height: 1.6;
}
.loading {
    color: #44c0f1;
    font-style: italic;
}
.version {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 3px;
    font-size: 15px;
    width: 100%;
    color: Black;
}
@media (max-width: 740px) {
    h1 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 40px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        width: 100%;
    }
    h2 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 40px;
        font-size: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        width: 100%;
    }
@media (max-width: 640px) {
    h1 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 30px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        width: 100%;
    }
    h2 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 40px;
        font-size: 15px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        width: 100%;
    }
@media (max-width: 490px) {
    h1 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 22px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        width: 100%;
    }
    h2 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 40px;
        font-size: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        width: 100%;
    }
    select {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 2px solid #000;
        border-radius: 2px;
        cursor: pointer;
        color: Black; 
        background-color: #44C0F1;
        box-shadow: 0 4px 3px rgba(0, 0, 0, 0.3); 
        outline: 2px solid #333e50; opacity: 1;
    }
}