.card { display: flex; box-sizing: border-box; max-width: calc(540rem / 16); padding: calc(24rem / 16); border-radius: calc(20rem / 16); background-color: white; } .poster { width: calc(150rem / 16); height: calc(150rem / 16); margin-right: calc(20rem / 16); } .details { position: relative; width: 100%; } .name { color: var(--purple-2); font-weight: bolder; font-size: calc(18rem / 16); line-height: calc(27 / 18); margin: 0; } .desc { color: var(--purple-2); margin-top: calc(12rem / 16); } .spacer { height: calc(35rem / 16); } .button { position: absolute; bottom: 0; left: 0; } .logo { width: calc(32rem / 16); position: absolute; bottom: 0; right: 0; } .setting { margin: 0; color: var(--blue-2); font-weight: bolder; font-size: calc(14rem / 16); } @media only screen and (max-width: calc(768rem / 16)) { .card { padding: 0; background-color: transparent; } .details { min-width: calc(150rem / 16); } .name, .setting { font-size: calc(14rem / 16); line-height: calc(21 / 14); } .poster { width: calc(95rem / 16); height: calc(95rem / 16); border: 1px solid var(--purple-2); box-sizing: border-box; margin-right: calc(14rem / 16); } .desc { font-size: calc(12rem / 16); line-height: calc(18 / 12); } .logo, .button { display: none; } }