#canvas { display: block; margin: auto; background-color: lightgray; } #gamemode{ text-align: center; } #gamemode p{ margin-top: 50px; font-size: 25px; } #game{ display: none; } h1{ text-align: center; font-weight: bold; margin-top: 20px; margin-bottom: 40px; } h3{ margin-top: 100px; text-align: center; } .center{ display: block; margin-left: auto; margin-right: auto; width: 600px; } .inside{ position: absolute; width: 450px; height: 150px; top: 490px; margin-left: 100px; } .dice img{ margin-left: 30px; margin-top: -45px; width: 120px; height: 120px; } .dice button{ margin-top: -45px; margin-left: 70px; } .inside2{ position: absolute; width: 450px; height: 150px; top: 250px; margin-left: 50px; } .inside2 img{ margin-left: 36px; height: 130px; } .circle { margin-top: -60px; height: 140px; width: 140px; background-color: orange; border-radius: 50%; border: 5px yellow solid; } .nextPlayer{ margin-left: 130px; margin-top: -120px; text-align: center; width: 300px; } .nextPlayer p{ text-align: center; } .gamemodes{ display: block; margin-left: auto; margin-right: auto; width: 50%; } .gamemodes:hover{ -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); -webkit-transform-origin: top right; -moz-transform-origin: top right; -o-transform-origin: top right; transform-origin: top right; cursor: pointer; } .gamemodes img{ scale: 140%; } .abilities{ width: 250px; margin-top: -10px; } .abilities img{ height: 50px; } .zoom:hover{ -webkit-transform: scale(1.05); -moz-transform: scale(1.05); -o-transform: scale(1.05); transform: scale(1.05); -webkit-transform-origin: top right; -moz-transform-origin: top right; -o-transform-origin: top right; transform-origin: top right; cursor: pointer; } .guide{ margin-top: 20px; margin-left: 20px; } .guide .row{ margin-top: 5px; } .smallCircle{ height: 50px; width: 50px; border-radius: 50%; display: inline-block; } .guideText{ margin-left: 10px; margin-top: 10px; display: inline-block; }