* {
    margin: 0;
    padding: 0;
    --font-size: 18px;
    --text-color: #1f2937;
    --background-color-code: rgb(175, 171, 171);
    --background-color-tip: rgb(169, 209, 142);
    --border-radius-block: 16px;
    --link-color: #2563eb;
    --link-color-hover:#1d4ed8;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #111827;
    line-height: 1.5;
}

.container {
    max-width: 100%;
    padding: 0 20px;
}

.content {
    max-width: 800px;         
    margin: 0 auto;           
    width: 100%;
}

.menu {
    margin-bottom: 2em;
    padding-left: 16px;
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: var(--font-size);
}

.menu ul li {
    list-style: none;
}

.menu ul ul li {
    margin-left: 20px;
}

.menu a {
    font-size: var(--font-size);
    font-family: inherit;
    color: #2563eb;
    text-decoration: none;
    line-height: 1.6;
    display: inline-block;
}

.menu a:hover {
    color: var(--link-color-hover);
    text-decoration: underline;
}

.nav-container 
{
    max-width: 800px;
    max-height: 800px;
}

.main-text {
    font-size: 18px;          
    text-align: justify;      
    line-height: 1.6;
    margin-bottom: 0;
    color: #1f2937;
}

.main-text a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.main-text a:hover {
    color: var(--link-color-hover);
    text-decoration: none;
}

.custom-list {
    font-size: 18px;          
    text-align: justify;      
    line-height: 1.6;
    color: #1f2937;
    margin: 0.5em 0 0.5em 1.5em;
    padding-left: 0;
}

.custom-list li {
    margin-bottom: 0.25em;   
}

.custom-list li:last-child {
    margin-bottom: 0;
}

.navigation-links {
    display: flex;
    justify-content: space-between;  
    align-items: center;
    margin-top: 2em;                 
    width: 100%;
    gap: 20px;                      
}

.next-link {
    margin-left: auto;
    margin-top: 2em;          
    text-align: right;       
}

.next-link a {
    display: inline-block;    
    font-size: var(--font-size);         
    font-weight: 500;
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--link-color);
    transition: all 0.2s ease;
}

.next-link a:hover {
    color: var(--link-color-hover);
    border-bottom-color: var(--link-color-hover);
    transform: translateX(2px);
}

.link-left {
    text-align: left;
}

.link-left a {
    font-size: var(--font-size);
    font-weight: 500;
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--link-color);
    transition: all 0.2s ease;
    display: inline-block;
}

.link-left a:hover {
    color: var(--link-color-hover);
    border-bottom-color: var(--link-color-hover);
    transform: translateX(-2px);    
}

.link-right {
    text-align: right;
}

.link-right a {
    font-size: 18px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px dashed #2563eb;
    transition: all 0.2s ease;
    display: inline-block;
}

.link-right a:hover {
    color: var(--link-color-hover);
    border-bottom-color: var(--link-color-hover);
    transform: translateX(2px);      
}

@media (min-width: 1500px) {
    body {
        padding-top: 100px;   
    }
    
    .container {
        padding-top: 0;
    }
}