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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #2d78da;
}

.container {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #333333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 1em;
    color: #666666;
    text-align: left;
}

select,
input[type="text"] {
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    color: #333333;
}

input[type="text"]:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

button {
    padding: 10px;
    font-size: 1em;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.definition {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    font-size: 1em;
    color: #333333;
}

.definition h2 {
    font-size: 1.2em;
    color: #007bff;
    margin-bottom: 5px;
}

/* .fun_image { //this will be a fun image on the result of definition 

} */

.loading-container {
    margin: 20px auto;
    text-align: center;
}

.loading-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.loading-progress {
    width: 40%;
    height: 100%;
    background-color: #007bff;
    border-radius: 3px;
    animation: loading 1.2s infinite ease-in-out;
}

.loading-text {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    font-weight: bold;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(300%);
    }
}