.wrapper { width: 100%; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; } main { flex-grow: 1; } .content { display: flex; order: 2; } .container { max-width: 960px; margin: 0 auto; padding: 0 15px; } .content__wrapper { margin-top: 30px; } .content__text { padding: 0 40px; } .content__wrapper h1 { text-transform: uppercase; } .menu { background-color: rgb(226, 188, 21); display: flex; justify-content: space-between; align-items: center; padding: 15px 50px; } .menu__img { width: 190px; } .menu__list ul { display: flex; font-size: 15px; } .menu__list li { font-size: 20px; padding-left: 10px; } .box { display: flex; justify-content: center; text-align: center; } .content__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; width: 100%; align-items: stretch; } .content__item { width: calc(100% / 3); display: flex; margin-bottom: 15px; justify-content: center; } .item__box { border: 2px solid gray; border-radius: 30px; display: flex; flex-direction: column; align-items: center; padding: 15px 10px; transition: all 0.5s; } .item__box:hover { box-shadow: 0px 5px 10px 2px rgb(34 60 80 / 31%); border: 2px solid transparent; } .item__img img { height: 80px; width: 80px; border-radius: 50%; border: 10px solid rgb(167, 167, 128); } .item__text { flex-grow: 1; width: 250px; } .item__btn { background-color: rgb(87, 54, 116); color: white; padding: 5px 20px; border-radius: 30px; font-weight: bold; transition: all 0.7s; } .item__btn:hover { box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2); transform: scale(1.2); background-color: rgb(182, 158, 204); color: black; } .aside__first, .aside__second { width: 210px; height: auto; font-weight: bold; } .aside__first { background-color: rgb(235, 111, 208); order: 1; } .aside__second { background-color: rgb(111, 189, 235); order: 3; } .footer { background-color: cadetblue; padding: 15px 0; text-align: center; width: 100%; font-weight: bold; } .holder__wrapper { display: flex; justify-content: center; margin: 35px auto 50px; } .holder { flex-basis: 400px; height: 100px; border-radius: 20px 20px 0 0; overflow: hidden; border: 2px solid black; display: flex; flex-wrap: wrap; } .item { flex-basis: 100px; flex-grow: 1; display: flex; justify-content: center; align-items: center; } .item__one { background-color: coral; order: 1; flex-basis: 50%; } .item__two { background-color: rgb(164, 164, 236); order: 4; } .item__three { background-color: rgb(205, 80, 255); order: 3; } .item__four { background-color: rgb(11, 105, 11); order: 5; } .item__five { background-color: orange; order: 2; flex-basis: 50%; }