.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color);
    font-size: 20px;
    width: 100%;
    height: 400px;
    background-color: #dedede;
    background-image: url(../images/banner_1.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.254);
}

.banner .text {
    position: relative;
    text-align: center;
}

.banner .slogan {
    font-size: 40px;
    margin-bottom: 20px;
}

#news-block {
    padding-top: 80px;
}

#news-block .items li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    margin: 20px auto;
    border: 1px solid var(--bg);
}

#news-block .items li > div:first-child {
    flex-grow: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px 20px;
    position: relative;
}

#news-block .items li > div:last-child {
    width: 80px;
    height: 100%;
}

#news-block .items .to-btn {
    background: var(--bg);
    color: var(--color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 30px;
    font-weight: 800;
    font-family: monospace;
    transition: 0.3s;
}

#news-block .items .to-btn:hover {
    background: var(--color-hover);
}

#news-block .items .news-date {
    margin-bottom: 5px;
}

#news-block .items .text {
    line-height: 20px;
}

#product-block {
    padding-top: 80px;
}

#product-block .product-item {
    border: 1px solid #dedede;
    transition: 0.3s;
}

#product-block .product-item .picture {
    height: 200px;
    background-color: #dedede;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#product-block .product-item .text {
    padding: 10px;
    line-height: 30px;
    text-align: justify;
}

#product-block .product-item .text > h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--bg);
    transition: 0.3s;
}

#product-block .product-item:hover {
    border: 1px solid var(--color-hover);
}

#product-block .product-item:hover .text > h3 {
    color: var(--color-hover);
}

#contact-block {
    padding-top: 80px;
}

#contact-form {
    margin: 40px auto;
}
