:root {
    --bg-color: #ebcc99;
    --text-color: #4f332b;
    --primary-color: #5C2318;
    --secondary-color: #5C2318;
    --accent-color: #5C2318;
    --border-color: #4f332b;
    --link-color: #5C2318;
    --link-hover: #4f332b;
    --card-bg: #193837;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-color: #011616;
    --text-color: #e0d0b0;
    --primary-color: #e0d0b0;
    --secondary-color: #e0d0b0;
    --accent-color: #e0d0b0;
    --border-color: #e0d0b0;
    --link-color: #e0d0b0;
    --link-hover: #193837;
    --button-bg: #193837;
    --button-hover: #193837;
    --card-bg: #333;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    background-color: var(--bg-color);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    transition: all 0.3s ease;
}

h1 {
    color: var(--secondary-color);
    text-align: center;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

h2 {
    color: var(--accent-color);
    font-size: 1.8em;
    margin-top: 30px;
}

h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-top: 20px;
}

p {
    margin-bottom: 15px;
    font-size: 1.1em;
}
.links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--bg-color);
  padding: 15px 0;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.link {
  color: var(--link-color);
  text-decoration: none;
  margin: 0 15px;
  padding: 5px 10px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.link:hover, .link.active {
  color: var(--link-hover);
  text-decoration: underline;
}

ul,
ol {
    margin-left: 20px;
}

li {
    margin-bottom: 10px;
}

.highlight {
    background-color: var(--card-bg);
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
}

.container {
    background-color: var(--container-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--shadow-color);
    border: 2px solid var(--border-color);
    margin: 20px auto;
    max-width: 1200px;
}

.theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 0 10px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
    background-color: var(--button-hover);
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2em;
    }
}