header {
    width: 100%;
    background: black;
    margin: 0px;
    margin-bottom: -16px;
}

body {
    margin: 0px;
    background: #ececec;
}

.title {
    font-size: 48px;
    padding-top: 10px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

ul {
    padding-inline-start: 0px;
}

.menu {
    text-align: center;
}

.menu li {
    display: inline-block;
    color: white;
    font-size: 20px;
    margin-right: 15px;
    margin-bottom: 15px;
    background: black;
}

a {
    text-decoration: none;
    color: white;
}

a:focus {
    text-decoration: none;
    color: white;
}

a:checked {
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: none;
    color: Orange;
}

#headinfo {
    color: white;
    font-size: 20px;
    margin-right: 50px;
    margin-left: 20px;
}

#lihead {
    display: inline-block;
    color: white;
    font-size: 20px;
    margin-right: 25px;
    margin-bottom: 15px;
    background: black;
}

.push {
    margin: auto;
    padding-right: 60px;
}

span {
    margin-left: 25px;
}

.headbackground {
    /* min-height: 30rem; */
    position: relative;
    display: table;
    width: 100%;
    height: auto;
    padding-top: 4rem;
    padding-bottom: 2rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, .1) 0, rgba(255, 255, 255, .1) 100%), url(../img/back2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 6px solid black;
}

.product img {
    max-width: 100%;
    height: 200px;
}

.content {
    margin-top: 50px;
}

.product {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #c0c0c0;
    height: 390px;
    width: 240px;
    overflow: hidden;
    padding: 25px 15px;
    position: relative;
    text-align: center;
    transition: all 0.5s ease 0s;
    margin-bottom: 20px;
    margin-right: 25px;
}


.product2 {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #c0c0c0;
    height: 590px;
    width: 240px;
    overflow: hidden;
    padding: 25px 15px;
    position: relative;
    text-align: center;
    transition: all 0.5s ease 0s;
    margin-bottom: 20px;
    margin-right: 25px;
}

.product:hover {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}

.product2:hover {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}

.product-title a {
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    word-wrap: break-word;
}

.product2-desc {
    max-height: 60px;
    overflow: hidden;
}

.product2-price {
    bottom: 15px;
    left: 0;
    position: absolute;
    width: 100%;
    color: #d51e08;
    font-size: 18px;
    font-weight: 500;
}

.product2-title a {
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    word-wrap: break-word;
}

.product2 img {
    max-width: 100%;
    height: 400px;
}


.product-desc {
    max-height: 60px;
    overflow: hidden;
}

.product-price {
    bottom: 15px;
    left: 0;
    position: absolute;
    width: 100%;
    color: #d51e08;
    font-size: 18px;
    font-weight: bold;
}

.notcolortext {
    font-size: 18px;
    color: black;
    margin-left: 0px;
}

.product-discountinfo {
    bottom: -10px;
    left: 0;
    position: absolute;
    width: 100%;
    font-size: 16px;
    color: #d51e08;
    font-weight: bold;
}

.product-net {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.headtext {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 1rem;
    border-bottom: 6px solid black;
}

.headforitems {
    text-align: left;
    font-weight: bold;
    font-size: 36px;
    padding-left: 10%;
}

.about {
    color: #1d809f;
}

.social .fab:hover {
    color: blue;
}

.fa-vk:hover {
    color: #4c75a3;
}

.btn-sort {
    text-align: center;
    padding-bottom: 15px;
}

@media (max-width: 800px) {
    header {
        padding-bottom: 10px;
    }

    .title {
        /* Меняем оси шапки, делая её вертикальной. */
        flex-direction: column;

        /* Выравнивание элементов шапки с начала (по левому краю). */
        align-items: center;
        margin-bottom: 15px;
    }

    #lihead {
        display: flex;
        color: white;
        font-size: 20px;
        margin-right: 0px;
        margin-bottom: 5px;
        background: black;
        align-items: center;
        justify-content: center;
    }

    #headinfo {
        margin: 0;
    }

    span {
        margin: 0;
    }

    .push {
        margin: auto;
        padding-right: 0px;
    }
}
