/* Base styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-color: #333;
    --light-text: #fff;
    --bg-color: #f9f9f9;
    --sidebar-width: 250px;
    --header-height: 70px;
    --footer-height: 100px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-article{
  padding:20px;
  text-align: left;
}
table{
  border: 1;
  width: 100%;
  

  
}
table tr{
  width: 29%;
}
table tr,table td{
  padding: 12px;

  border-color: black;
}
table td{
  vertical-align: top; 
}
body {
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Language switcher */
.language-switcher {
    /*position: absolute;
    top: 10px;
    right: 20px;*/
    z-index: 1000;
 
}

.lang-btn {
    padding: 5px 10px;
    background: #eee;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 5px;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Header styles */
.header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Top menu styles */
.top-menu ul {
    display: flex;
    list-style: none;
}

.top-menu li {
  display: block;
    margin-left: 20px;
}

.top-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.top-menu a:hover {
    color: #f1c40f;
}

/* Container styles */
.container {
    display: flex;
    flex: 1;
}

/* Sidebar styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: #2c3e50;
    color: var(--light-text);
    padding: 20px 0;
    transition: transform var(--transition-speed);
}

.side-menu ul {
    list-style: none;
}

.side-menu li {
    margin-bottom: 10px;
}

.side-menu a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    transition: background-color var(--transition-speed);
}

.side-menu a:hover {
    background-color: var(--secondary-color);
}

/* Main content styles */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.main-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-block {
    margin-bottom: 20px;
}

/* Footer styles */
.footer {
    background-color: #2c3e50;
    color: var(--light-text);
    padding: 20px;
    height: var(--footer-height);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links a {
    color: var(--light-text);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        transform: translateX(-100%);
        position: fixed;
        top: var(--header-height);
        left: 0;
        bottom: 0;
        z-index: 100;
        overflow-y: auto;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding-top: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .top-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        transform: translateY(-100%);
        transition: transform var(--transition-speed);
        z-index: 99;
    }

    .top-menu.active {
        transform: translateY(0);
    }

    .top-menu ul {
        flex-direction: column;
    }

    .top-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .top-menu a {
        padding: 15px 20px;
        display: block;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        margin-top: 15px;
    }

    .social-links a {
        margin: 0 8px;
    }
}

/* Scaling for large screens */
@media (min-width: 1441px) {
    body {
        font-size: 1.1rem;
    }
    
    :root {
        --sidebar-width: 300px;
        --header-height: 80px;
    }
}

@media (min-width: 1920px) {
    body {
        font-size: 1.2rem;
    }
    
    :root {
        --sidebar-width: 350px;
        --header-height: 90px;
    }
}