body {
    background-color: whitesmoke;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10% auto;
    flex-direction: column;
}

.center form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bar {
    padding: 12px;
    font-size: 16px;
    width: 280px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 2px 4px grey;
    text-align: center;
}

#bar:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(0, 0, 235, 0.5);
}

#GS,
#lucky,
#SI {
    padding: 10px 20px;
    width: 160px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 2px 4px grey;
    margin: 5px 0;
}

#GS:hover,
#lucky:hover,
#SI:hover {
    background-color: #4285f4;
    color: white;
    border-color: #4285f4;
}

.top-links {
    position: absolute;
    top: 10px;
    right: 20px;
}

.top-links a {
    margin-left: 15px;
    text-decoration: none;
    color: #4285f4;
    font-weight: bold;
}

.top-links a:hover {
    color: #2a65c7;
}

.advanced {
    max-width: 600px;
    margin: 5% auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 6px grey;
}

.advanced h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.words {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.words label {
    font-weight: bold;
    margin-bottom: 5px;
}

.words input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.words input[type="text"]:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(0, 0, 235, 0.5);
}

#AS {
    background-color: #5f72be;
    padding: 10px 20px;
    width: 160px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 5px;
    box-shadow: 0 2px 4px grey;
    margin-left: 50%;
    transform: translateX(-50%);
}

#AS:hover {
    background-color: #2a65c7;
}
