﻿.body-content {
    background-color: #F5F5F5;
}

h1, h2 {
    margin-top: 30px;
    font-weight: bolder;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 40px 0;
}

.flex-box2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 10px 0;
}

.item {
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}

    .item:hover {
        background: linear-gradient(to top, #0dba3c 10%, white 10%);
    }

.flex-item {
    width: 250px;
    height: 150px;
    margin: 11px;
}

.flex-item2 {
    width: 200px;
    height: 150px;
    margin: 11px;
}

.item-img {
    width: 45%;
    height: auto;
    align-self: center;
    margin: 10px;
    max-height: 84px;
}


.item-text {
    align-self: center;
    text-align: center;
    font-size: 12pt;
    font-weight: bold;
}

.bottom-line-decor:hover {
    background-color: green;
}

.line-break {
    width: 100%;
}

a {
    color: black;
}

.flex-item2 img {
    display: block;
    margin: 0 auto;
}
.flex-item2 div {
    text-align: center;
}


@media only screen and (max-width: 490px) {
    .flex-item2 {
        width: 100%;
        height: 150px;
        margin: 11px;
    }

        .flex-item2 img {
            float: left;
        }

        .flex-item2 div {
            margin: 10px;
            padding-left: 100px;
            text-align: left;
        }
}
