@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap'); body{ background-color: #001f37; font-family: "Fredorka", sans-serif; margin: 0; color: white; overflow: hidden; } .rouleau { width: 5vw; height: 3.8vw; position: absolute; top: 40%; } .cube { width: 5vw; height: 3.8vw; position: relative; transform-style: preserve-3d; } .cube__face { position: absolute; width: 5vw; height: 3.8vw; border: 2px solid #362730; line-height: 3.8vw; font-size: 1.5vw; background-color: #c21121; box-sizing: border-box; font-weight: bold; color: white; text-align: center; } .machine{ position: relative; height: 50vw; width: 50vw; } .game{ display: flex; } .info{ height: 50vw; width: 25vw; text-align: center; line-height: 10vw; font-size: 2vw; } #jackpot{ visibility: hidden; position: absolute; height: 100vh; display: block; margin: 0 auto; z-index: 205; } #rouleau_1{ left: 34.5%; } #rouleau_2{ left: 45%; } #rouleau_3{ left: 55.5%; } #tirette{ position: absolute; z-index: 10; left: 74%; top: 23%; width: 7.5%; transform-origin: 50% 97%; } #tirage{ position: relative; width: 100%; } #mise_input{ position: absolute; top: 65%; left: 37%; width: 26%; height: 4%; border-radius: 20px; border: none; box-shadow: 0px 0px 37px black; outline: none; text-align: center; } .container{ display: flex; justify-content: center; } .overlay{ background-color: rgb(0, 0, 0, 0.5); height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: 42; display: flex; align-items: center; justify-content: center; } .overlay > .overlay-rules{ height: min-content; padding: 2em; border-radius: 20px; opacity: 1; color: black; background-color: white; width: 40vw; } .button-rules{ margin: auto; display: block; } .button{ border: none; padding: 0.6em 0.8em; border-radius: 10px; } .button.is-white{ background-color: white; transition: 0.2s ease-in-out; } .button.is-white:hover{ background-color: rgb(241, 241, 241); transition: 0.2s ease-in-out; } .button.is-red{ background-color: rgb(228, 97, 97); transition: 0.2s ease-in-out; color: white; } .button.is-red:hover{ background-color: rgb(209, 88, 88); transition: 0.2s ease-in-out; } h1, p{ margin-top: 0; } .input{ padding: 0.6em 0.8em; border: 1px black solid; border-radius: 10px; } #form{ text-align: center; } .form-chunk{ margin-bottom: 0.2em; }