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

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: left;
    background-color: #fff8dc; /* Light yellow color */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 80%;
    max-width: 600px;
    flex: 1; /* Allow the container to grow */
    overflow-y: auto;
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, blue 1px, transparent 1px);
    background-size: 100% 32px; /* Adjust this value to change line spacing */
    z-index: -1;
}

.container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 40px; /* Adjust this value for the left margin */
    width: 2px;
    height: 100%;
    background-color: red;
    z-index: -1;
}

#wordInput {
    padding: 10px;
    margin-top: 10px;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#searchButton {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

#resultSection {
    margin-top: 20px;
    display: none;
}

#definition {
    font-size: 1.2em;
    color: #333;
    white-space: pre-wrap; /* Ensures text wraps properly */
    line-height: 32px; /* Match this value to the line spacing */
    padding-left: 50px; /* Indent to match the margin line */
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #0056b3; /* Darker Cloudflare blue */
    color: white; /* Ensure text is readable */
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
