:root {
    --accent-color: #509853;
    --bg-color: #fff;
    --dark-color: #393939;
    --white-color: #fff;
    --black-color: #000;
    --border-color: #EFEFEF;
}

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

body {
    font-family: sans-serif;
}

a {
    text-decoration: none;
}

[class*='__container'] {
    max-width: 1200px;
    padding: 0 15px;
    margin: auto;
}

.header {

}

.header__nav {
    background-color: var(--accent-color);
    height: 50px;
}

.header__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header__nav-link {
    color: var(--white-color);
}

.header__burger {
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
}

.header__nav-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-left: 32px;
}

.header__nav-button {
    color: var(--white-color);
    font-size: 24px;
}

.header__sub {
    padding: 40px 0;
    background-color: var(--white-color);
    border-bottom: 5px solid var(--accent-color);
}

.header__sub-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.header__sub-top {
    display: flex;
    justify-content: space-between;
}

.header__info {
    display: flex;
    gap: 32px;
    font-size: 16px;
}

.header__info-item {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--dark-color);
}

.header__info-item i {
    font-size: 24px;
}

.header__sub-bottom {
    display: flex;
    gap: 32px;
    justify-content: space-between;
}

.header__link {
    color: var(--dark-color);
    font-size: 18px;
}

.slider {
    padding: 64px 0;
}

.swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide__image {
    width: 100%;
}

.slide__info {
    position: absolute;
    z-index: 2;
    padding: 16px;
    background-color: rgba(31, 31, 31, 0.8);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
    right: 0;
    min-width: 500px;
    max-width: 600px;
    align-items: flex-start;
}

.button {
    padding: 8px 16px;
    border: 1px solid var(--white-color);
    background-color: inherit;
    color: var(--white-color);
    font-size: 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.5s;
}

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

.slider-button {
    color: var(--white-color)!important;
}

.info-list {

}

.info-list__container {
    display: flex;
    gap: 16px;
}

.info-list__item {
    flex: 1;
    padding: 16px;
    background-color: var(--accent-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 20px;
}

.important {
    padding: 64px 0;
}

.title-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.title-block hr {
    flex: 1;
    border: 3px solid var(--border-color);
    margin-top: 8px;
}

.title {
    font-size: 28px;
    color: var(--dark-color);
}

.important__news {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.i-news__image {
    max-width: 350px;
}

.i-news {
    display: flex;
    gap: 16px;
}

.i-news__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.i-news__date {
    color: var(--accent-color);
    font-weight: 600;
}

.news {
    padding: 64px 0;
}

.news__list {
    display: flex;
    gap: 48px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news__item {
    max-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    box-shadow: 0px 0px 57px -7px rgba(0, 0, 0, 0.14);
    border-radius: 2px;
    border-bottom: 2px solid var(--accent-color);
}

.news__item-img {
    margin-bottom: 32px;
}

.news__item-button {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.news__item-info {
    padding: 0 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news__item-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.news__item-text {
    margin-bottom: 32px;
}

.news__item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news__item-date {
    color: var(--accent-color);
}

.news__item-button:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.gallery {
    padding: 64px 0;
}

.footer {
    padding: 64px 0;
    background-color: var(--dark-color);
    color: var(--white-color);
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer__nav-link {
    color: var(--white-color);
    font-size: 16px;
}

.footer__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer__social-item {
    font-size: 16px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__social-item i {
    font-size: 24px;
}

.footer__copyright {
    text-align: center;
}

.gallery .slide__image {
    height: 800px;
    object-fit: cover;
}

.slider .slide__image {
    height: 500px;
    object-fit: cover;
}