/* topics */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #3e4347;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* text-align: center; */
    color: #2c3e50;
}

/* header {
    background-color: #2980b9;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
}

header a.nav-button {
    background-color: #27ae60;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

header a.nav-button:hover {
    background-color: #2ecc71;
} */

main {
    margin: 30px auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

h2 {
    color: #2c3e50;
    font-size: 1.1em;
    margin-bottom: 10px;
    text-align: center;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 8px;
}

pre {
    background-color: #F3F4F6;
    padding: 15px;
    border-left: 5px solid #2563EB;
    overflow-x: auto;
    border-radius: 5px;
    white-space: pre-wrap;
    /* wrap long lines */
    word-break: break-word;
}

/* ----------table */



table {
    width: fit-content;
    max-width: 100%;
    border-collapse: collapse;
    margin: auto;
}

th,
td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #2563EB;
    color: white;
}

tr:nth-child(even) {
    background-color: #ecf0f1;
}

/* ---------------grid container */

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.grid-item {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

/* ------------------footer */

/* footer {
    max-width: 1200px;
    margin: 20px auto 50px auto;
    display: flex;
    justify-content: flex-end;
} */

/* footer a.nav-button {
    background-color: #2980b9;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

footer a.nav-button:hover {
    background-color: #3498db;
} */