* { padding: 0; margin: 0%; color: rgb(229, 229, 243); } .links { text-decoration: none; color: rgb(229, 229, 243); } .links:hover { color: rgb(229, 229, 243); } .header { position: fixed; width: 100%; top:0%; color: rgb(229, 229, 243); background-color: rgb(58, 58, 65); display: flex; justify-content: space-between; padding-top: 10px; height: 50px; z-index: 2; } .header .standartMenu { width: 50%; list-style-type: none; display: flex; justify-content: space-around; } .mobileMenu { position: absolute; background-color: rgb(58, 58, 65); height: 9em; border-radius: 0 0% 10% 10%; align-items: center; list-style-type: none; font-size: 10px; justify-content: space-around; top: 50px; left: 0px; padding: 0%; right: 0%; z-index: 2; display: flex; flex-direction: row; } .tabletMenu { display: none; } .rightSide { width: 30%; display: flex; justify-content: space-around; } .rightSide div svg { margin-right: 2px; } .MainImg { background-image: url(./images/main.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; width: 100%; min-height: 45em; margin-top: 50px; padding-bottom: 100px; display: flex; flex-direction: column; } .catalogInput { display: flex; } .catalogHead { padding: 5px; } .search input{ width: 50%; margin: 0 15px 0 0px; color: rgb(58, 58, 65); } .search button { width: 100px; background-color: rgb(58, 58, 65); border-radius: 15%; } aside { width: 20%; } content { width: 80%; } .goodsNotFound { /* height: 30em; */ padding-top: 20%; } .goodsNotFound h5 { font-size: 30px; } .goodsWrapper { display: flex; align-items: center; flex-direction: column; } .goods { display: flex; flex-wrap: wrap; justify-content: space-around; width: 90%; border-radius: 10%; padding: 20px; } .catalog { list-style: none; padding: 3%; } .oneGood { position: relative; background-color: rgb(10, 10, 10); display: flex; width: 170px; flex-direction: column; font-size: 15px; align-items: center; margin: 5px; padding: 25px; border: 2px solid; border-color:rgb(229, 229, 243); border-radius: 20%; justify-content: space-between; } .oneGood h5 { font-size: 16px; height: 75px; } .About { } .footer { position: fixed; width: 100%; bottom:0%; color: rgb(229, 229, 243); background-color: rgb(58, 58, 65); display: flex; justify-content: space-between; padding-bottom: 10px; align-items: center; height: 50px; } .guarantee { padding: 0% 5px; } .contacts { width: 50%; display: flex; justify-content: space-around; } @media screen and (max-width: 900px) { .header { padding: 0%; } .header .standartMenu { display: none; } .tabletMenu { display: inline-block; } .rightSide { width: 60%; align-items: center; } .catalog { } .catalog a { font-size: 10px; } .MainImg { padding-top: 100px; /* height: 15em; */ background-position: top; } .MainImg aside { width: 40%; } .MainImg content { width: 60%; } .goods { padding: 0%; background: none; } .oneGood { background-color: rgb(10, 10, 10); width: 100%; } .oneGood h5 { font-size: 10px; height: 25px; } .oneGood img { width: 80px; } .goodsNotFound h5 { font-size: 15px; line-height: 25px; } .footer { font-size: 8px; } }