#worldmap { width: 50%; } body { font-family: sans-serif; background-color: #191919; color: #f0c674; width:auto; } .main { padding: 0; margin-left: 10%; margin-right: 10%; width: 80%; font-size: 2rem; } #worldmap { width: 50%; } @media (orientation : portrait) { .main { padding: 0; margin: 0; width: 100%; font-size: 1.5rem; } #worldmap { width: 100%; } } .main { display: inline-block; text-align: center; } .box-item { margin-top: 1rem; margin-bottom: 1rem; } button,select,input[type=number] { font-size: inherit; background-color: #191919; color: #f0c674; border-radius: 0.5em; text-decoration: none; padding: 0.5rem; border: 0.05rem solid #373b41; box-shadow: 0 0.2em #373b41; } #number { width: 3rem; } img { width: 2rem; } button:active { background-color: #373b41; box-shadow: 0 0.1em #373b41; transform: translateY(0.1em); } .box { margin-top: 10%; padding: 1%; text-align: center; display: inline-block; box-sizing: border-box; margin-left:15%; width: 70%; height: 50%; background: transparent; border: 0; outline: 0; border-bottom: 0.25rem solid #0f7d7b; color: #e8922a; font-size: 100%; outline: none !important; } input:focus, textarea { outline: none !important; } button:focus, textarea { outline: none !important; } input[type=checkbox]{ position:absolute; opacity: 0; z-index: -9999; } input[type=checkbox] + .indicator { width: 1.5rem; height: 1.5rem; margin-left: 0.5rem; position: absolute; font-size: inherit; background-color: #191919; color: #191919; border-radius: 0.5em; text-decoration: none; padding: 0.5rem; border: 0.05rem solid #373b41; box-shadow: 0 0.2em #373b41; content: ""; } input[type=checkbox]:checked + .indicator { background-color: #373b41; box-shadow: 0 0.1em #373b41; transform: translateY(0.1em); } input[type=checkbox]+ .indicator::after { content: ""; } input[type=checkbox]:checked + .indicator::after { content: "X"; }