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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #000000;
    line-height: 1.8;
    padding: 20px;
    min-width: 320px;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.header {
    border: 4px solid #000;
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #000 0%, #666 50%, #000 100%);
}

.header h1 {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.header h1 a {
    color: #000;
    text-decoration: none;
}

.subtitle {
    font-size: 20px;
    letter-spacing: 3px;
    color: #333;
    margin-top: 10px;
}

.section {
    border: 3px solid #000;
    margin-bottom: 40px;
    padding: 40px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 35px;
    border-bottom: 4px solid #000;
    padding-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 120px;
    height: 4px;
    background: #666;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 25px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 25px 0;
}

code {
    background: #f5f5f5;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

ul, ol {
    margin-bottom: 20px;
    line-height: 1.8;
}

.box {
    border: 3px solid #000;
    padding: 30px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #000;
    display: block;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #000, #666);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.box:hover::before {
    transform: scaleX(1);
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.box-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.code-block {
    background: #000;
    color: #00ff00;
    padding: 30px;
    margin: 25px 0;
    border: 3px solid #000;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    border-radius: 2px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    overflow-x: auto;
}

.code-line {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
}

.code-line::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #00ff00;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.navbar {
    background: #fff;
    border: 3px solid #000;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.navbar-link {
    padding: 8px 15px;
    border: 2px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.navbar-lang {
    padding: 8px 15px;
    border: 2px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-lang:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar-links {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-link, .navbar-lang {
        width: 100%;
        text-align: center;
    }
}

