.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 { background-color: #f2f2f2; width: calc(100vw / 2 - 15px); margin: 5px; border-top-left-radius: 30px; border-top-right-radius: 30px; margin-bottom: 20px; & img { width: 100%; height: calc(100vh / 3.5); border-radius: 30px; max-height: 200px; margin-bottom: 10px; } &--buttons { padding: 5px 9px; a { text-decoration: none; width: 100%; padding: 8px; font-family: numeralLight; margin-bottom: 10px; border-radius: 10px; text-align: center; position: relative; display: flex; align-items: center; justify-content: space-between; img { position: absolute; top: calc(50% - 8px); left: 5px; width: 20px; height: 20px; } } } } }