*{
    margin: 0;
    padding: 0;
        box-sizing: border-box;

}


header{
    width: 100%;
    height: 70px;
    display: flex;
    position: fixed;
    background-color: #fff;
}
nav{
    width: 50%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.logo{
    width: 50%;
    height: 70px;
}
    a {
      text-decoration: none;
      color: #383838;
      
    }
    a:hover{
        color: #3e8622;
    }
.container {
    width: 80%;
    margin: auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.news-card {
    width: 45%;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.news-card p {
    margin-top: 1rem;
    font-size: 1rem;
}

footer {
    width: 100%;
    padding: 1rem;
    text-align: center;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}
.full-news-item {
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.full-news-item img {
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.full-news-item h2 {
    margin-top: 0;
    color: #3e8622;
}

.full-news-item .date {
    color: #666;
    font-size: 0.9rem;
}
  /* Адаптация для мобильных */
@media (max-width: 768px) {
     .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    nav.mobile-visible {
        display: flex;
    }
    
    nav a {
        padding: 15px;
        width: 100%;
        text-align: center;
    }
    .container {
        width: 95%;
        padding: 15px;
        padding-top: 15vh;
        
    }
    footer {
        height: auto;
        flex-direction: column;
        gap: 15px;
        padding: 30px 20px;
    }
}

/* Оптимизация для очень маленьких экранов */
@media (max-width: 480px) {
    .txt {
        font-size: 24px;
    }
    
    .txt2 {
        font-size: 16px;
    }
    
    .txt3 {
        font-size: 16px;
    }
    
    .cnop1, .cnop2 {
        width: 180px;
        height: 45px;
    }
}