html {
    box-sizing: border-box; /* Изменение алгоритма расчета ширины и высоты элемента */
}
*, *::before, *::after {
    box-sizing: inherit;
}

.order{
    width: 150px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    border-radius: 5px;
    display: block;
    background: green;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 2.5vh;
    line-height: 1.5;
    font-weight: normal;
    color: white;
    background: #ac753b;
    transition: .5s;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color:white
}

.wrapper {
    max-width: 65vw;
    margin: 0px auto;
    padding: 0 15px;
}

.wrapper-full {
    max-width: 80vw;
    margin: 0px auto;
    padding: 0 15px;
}


/* Header styles */

header {
    position: fixed; /* Фиксация меню сверху окна */
    top: 0;
    left: 0;
    width: 100%;
    transition: .25s ease-in;
    padding-bottom: 30px;
    z-index: 100;
    background: #be7c35;
}

.header__logo {
    padding-right: 40px;
}

.header__nav {
    display: flex;
    flex-wrap: wrap; /* Флексы выстраиваются в несколько строк */
    align-items: flex-end; /* Флексы выравниваются в конце поперечной оси контейнера */
    justify-content: space-between;
    padding-top: 30px;
}

.header__pic {
    max-height:70px;
}

.header__list {
    display: flex;
    flex-wrap: wrap;
}

.header__item {
    margin-left: 82px;
}

/* Intro styles */

.intro {
    max-height: 100vh;
    background: url(img/SVG/IMG_20211212_150904_257.png) 85% no-repeat, url(img/books.jpg) center 80% cover no-repeat;
    background-size: 80vh;
    padding-top: 25vh;
    padding-bottom: 352px;
    z-index: 1;
}

.intro__title {
    font-weight: 500;
    font-size: 12vh;
    color: black;
    max-width: 50vw;
    margin-bottom: 30px;
}

.intro__subtitle {
    font-weight: 500;
    font-size: 5vh;
    line-height: 40px;
    color: black;
    max-width: 50vw;
}

/* Shelters styles */

.shelter:first-child {
    margin-bottom: 80px;
    margin-top: 50px;
}

.shelter__title:first-child {
    margin-top: 100px;
}

.shelter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 108px;
    align-items: center;
}

.shelter__pic { 
    width: auto;
    overflow: hidden;
    object-fit: cover;
    height: 320px;
}

.shelter__title {
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 25px;
}

.order2 {
    order: 2;
}

/* Catalog styles */

.catalog {
    margin-bottom: 144px;
    padding-top: 100px;
}
.catalog__title {
    font-weight: 500;
    font-size: 2em;
    margin-bottom: 35px;
}

.catalog__cards {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 35px;
}
.catalog__cards2 {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 35px;
}
.sum{
    color: black;
    font-weight: 700;
    font-size: 22px;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    display: block;
}

.catalog__card {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    text-align: center;
    border: darkgray solid 1px;
    background-color: #9e672c;
}

.catalog__card-pic {
    padding-top: 15px;
    position: relative;
}

.catalog__card-desc {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 24px;
}
.catalog__card-price {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 24px;
}
.catalog__card-thumb {
    width: 80%;
    max-height: 300px;
    object-fit: cover;
    overflow: hidden;
}

.price {
    margin: auto 0 0 0;
}

.buy {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-weight: 500;
    line-height: 29px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    background: #c59d67;
    border: 0;
    margin: auto 0 0 0;
}

.buy:hover, .buy:focus, .buy:active {
    background: #b8915f;
}

footer {
    background-color:#be7c35;
}

.changing {
    color: white;
}

.changing:hover, .changing:focus, .changing:active {
    color: #e9d182f8;
}


.cart{
    width: 90%;
    height: 100vh;
    background:white;
    display: none;
    opacity: 100%;
    transition: 1.5s;
    position: fixed;
    right:0px;
    top:0px;
    z-index: 999;
    padding: 20px 10px 10px 20px 
}


/*.input_feedback{
    margin: 20px;
    width: 300px;
    height: 70px;
    padding: 5px;
    border: none;
}
*/

.orders{
    width: 100%;
    min-height: 800px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.order{
    width: 400px;
    height: 500px;
    border-radius: 10px;
    background-color: white;
    margin: 25px;
    padding: 25px;
}

.order_id{
    color: grey;
    font-weight: 400;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    text-align: center;
}
.order_desc{
    color: rgb(20,20,20);
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 17px;
}
.order_sum{
    color: green;
    font-weight: 700;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.order_approve{
    background-color: green;
    color: white;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
}
.order_approve{
    background-color: green;
    color: white;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    width: 150px;
    height: 70px;
    border-radius: 7px;
}
.order_approved{
    background-color: rgb(80, 80, 80);
    color: white;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    width: 150px;
    height: 70px;
    border-radius: 7px;
}






