.alphabet {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    display: flex; /* Arrange list items in a row */
    justify-content: center; /* Optional: Center the list items */
    flex-wrap: wrap; /* Optional: Allow items to wrap onto new lines if needed */
}

.alphabet li {
    margin: 0 10px; /* Add space between list items */
}

.alphabet a {
    text-decoration: none; /* Remove underline from links */
    color: white; /* Change link color as needed */
    font-weight: bold; /* Optional: Make the text bold */
}

.alphabet a:hover {
    color: #007BFF; /* Optional: Change color on hover */
}

.essential {
    padding: 15px;
    background-color: #f8f9fa; /* Light background for readability */
    border-radius: 5px;
    margin-bottom: 15px; /* Space between items */
    font-family: 'Barlow';
}

.essential_subbox {
    padding: 15px;
    background-color: #f8f9fa; /* Light background for readability */
    border-radius: 5px;
    margin-right: 5px; /* Space between items */
    margin-bottom: 15px; /* Space between items */
    font-family: 'Barlow';
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 10px;
}

.header {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.detail {
    font-size: 16px;
    color: #6c757d;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.glosstext {
    color: white;
    background-color: #212f3d;
    opacity: 0.9;
}

.list {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    display: grid; /* Arrange list items in a row */
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: left; /* Optional: Center the list items */
    flex-wrap: wrap; /* Optional: Allow items to wrap onto new lines if needed */
}

.list li {
    margin: 0 10px; /* Add space between list items */
}

.list a {
    text-decoration: none; /* Remove underline from links */
    color: blue; /* Change link color as needed */
    font-weight: bold; /* Optional: Make the text bold */
}

.list a:hover {
    color: #007BFF; /* Optional: Change color on hover */
}

/* for the list of items */

.gloss-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.gloss-item {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.gloss-item:nth-child(odd) {
    background-color: #ffffff;
}

.gloss-item a {
    color: #007bff;
    text-decoration: none;
}

.gloss-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.gloss-item strong {
    display: inline;
    margin-bottom: 5px;
    font-weight: bold;
}

.gloss-item:hover {
    background-color: #e1e1e1;
}

/* for the form */

#form-container {
    max-width: 600px;
    margin-top: 20px;
    margin-right: 10px;
    margin-bottom: 20px;
    margin-left: 0px;
    padding: 20px;
    border-radius: 7px;
    background-color: #f8f9fa;
    font-family: 'Barlow';
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

form label {
    flex: 0 0 150px;
    margin-right: 10px;
    font-weight: bold;
}

form span {
    flex: 1;
}

form input {
    flex: 1;
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form textarea {
    flex: 1;
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

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


.advert {
    border: 1px solid #ccc;
    border-radius: 5px;
}
