body { background-color: #000 } .line:nth-child(2), .line:nth-child(3) { margin-top: -55px !important; } .line:nth-child(2) { margin-left: 97px !important; } .line span { display: inline-block; width: 500px; } .line img { width: calc(20% - 20px); margin: 10px; background-image: url(assets/img/perks/base.png); background-position: center; background-size: cover; } /* Extra extra small devices (phones, 400px and down) */ @media only screen and (max-width: 350px) { .line span { width: 300px !important; } .line:nth-child(2), .line:nth-child(3) { margin-top: -40px !important; } .line:nth-child(2) { margin-left: 30px !important; } } @media only screen and (min-width: 350px) { .line span { width: 300px !important; } .line:nth-child(2), .line:nth-child(3) { margin-top: -40px !important; } .line:nth-child(2) { margin-left: 60px !important; } } /* Extra small devices (phones, 600px and down)*/ @media only screen and (min-width: 600px) { .line span { width: 350px !important; } .line:nth-child(2), .line:nth-child(3) { margin-top: -40px !important; } .line:nth-child(2) { margin-left: 60px !important; } .line img { width: calc(20% - 20px); margin: 5px; background-image: url(assets/img/perks/base.png); background-position: center; background-size: cover; } } /* Medium devices (tablets, 768px and up)*/ @media (min-width: 768px) { .line span { width: 600px !important; } .line:nth-child(2), .line:nth-child(3) { margin-top: -55px !important; } .line:nth-child(2) { margin-left: 110px !important; } } /* Large devices (desktops, 992px and up)*/ @media (min-width: 992px) { .line span { width: 660px !important; } .line:nth-child(2), .line:nth-child(3) { margin-top: -55px !important; } .line:nth-child(2) { margin-left: 131px !important; } } img.owned { filter: drop-shadow(0px 0px 12px gold); } img.selected { filter: drop-shadow(0px 0px 12px gold); background-image: url(assets/img/perks/selected.png); } [type='radio'] { display: none; } datalist { background-color: white; border: 1px solid blue; border-radius: 0 0 5px 5px; border-top: none; font-family: sans-serif; padding: 5px; max-height: 20rem; overflow-y: auto } option { background-color: white; padding: 4px; color: blue; margin-bottom: 1px; cursor: context-menu; } option:hover, .active { background-color: lightblue; } #divSearch { position: relative; display: inline-block; z-index: 99; } .datalist-wrapper { z-index: 2; position: absolute; left: 0; width: 100%; } .datalist-wrapper select { width: 100%; } .choices, #choices-perks { width: 20rem; } .choices[data-type*=select-one]>.choices__list>.choices__list>.choices__item--selectable { padding-right: 0px; } .choices[data-type*=select-one]>.choices__list>.choices__list>.choices__item--selectable::after { display: none; } a { text-decoration: none; } img.empty { filter: grayscale(100%); } #settingsButton{ height: 44px; margin-top: 16px; margin-left: 4px; font-size: 20px; }