/* Reset default styles */

:root {
    --main-color: #2c4a3c;
    --main-color-darker: #1a2c24;
    --main-color-ligter: #4d7a62;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--main-color);
    background-color: #f0f7f4;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--main-color);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.ml-1 {
    margin-left: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

header {
    background: var(--main-color);
    color: white;
    padding: 1rem;
}

.container {
    width: 100%;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
}

.sidebar {
    background: var(--main-color);
    padding-right: 1rem;
    padding-left: 1rem;
    color: #ffffff;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.sidebar nav ul li > a {
    display: block;
    padding: 0.5rem;
    color: #ffffff;
    text-decoration: none;
}

.sidebar nav ul li.active a {
    background: #000;
    color: #fff;
}


.sidebar nav ul li a:hover {
    background: #e0e0e0;
    color: #000000;
}

li.active, li.active > a  {
    background: #e0e0e0;
    color: #000000;
}

#content {
    padding: 1rem;
}

#content a{
    border: solid 1px var(--main-color-ligter);
    padding: 0.5rem;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    background-color: var(--main-color-darker);
    overflow: hidden;
    max-height: 7px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}