.mybooks { width: 100vw; max-width: 1250px; margin: 0px auto; padding: 0px 10px; direction: rtl; min-height: calc(100vh - 288px); padding-top: 100px; } .mobile-mybooks { width: 100vw; max-width: 600px; margin: 0px auto; padding: 0px; direction: rtl; overflow-x: hidden; padding-top: 70px; h1 { padding: 0px 10px; font-family: numeralBold; color: #6f7074; margin-bottom: 10px; } &__item { margin: 10px auto; height: calc(100vh - 200px); max-height: 470px; background-color: #fafafa; border-radius: 0.5rem; box-shadow: 0 3px 8px 0 rgb(0 0 0 / 16%); margin-bottom: 20px; h1 { font-family: numeralMedium; color: #6f7074; margin-bottom: 10px; } & img { height: 60%; width: 80%; min-height: 250px; max-height: 290px; border-radius: 10px; margin: 20px auto; // max-height: 320px; // margin: 20px 40px; } &--buttons { // padding: 5px 9px; width: 80%; margin: 0px auto; a { text-decoration: none; width: 100%; padding: 8px; font-family: numeralMedium; margin-bottom: 10px; border-radius: 10px; text-align: center; position: relative; display: flex; align-items: center; justify-content: space-between; margin: 10px 5px; img { position: absolute; top: calc(50% - 8px); left: 5px; width: 20px; height: 20px; } } } } }