@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap'); * { font-family: "Josefin Sans", sans-serif; font-weight: 400; color: white; } body { position: absolute; overflow: hidden; padding: 0px; margin: 0px; width: 100%; height: 100%; background-color: #DDDDDD; } #scene { user-select: none; /*overflow: hidden;*/ background-color: #FFFFFF; box-shadow: 12px 12px 4px rgba(150,150,150,0.75); } #jeu { background-image: url(img/background-game.png); background-size: cover; } #regles { margin-left: 25%; display: none; z-index: 4; box-shadow: 12px 12px 4px rgba(0, 0, 0, 0.664); padding: 20px; color: white; display: flex; border: 4px solid black; border-radius: 15px; flex-direction: column; background-image: url(img/background-rules.jpg); background-size: cover; /*font-family: "Outfit", sans-serif;*/ font-weight: 400; } #partieFinie { position: absolute; z-index: 421151651; display: none; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.644); } #options { display: none; z-index: 4; box-shadow: 12px 12px 4px rgba(0, 0, 0, 0.664); padding: 20px; color: white; display: flex; justify-content: center; border: 4px solid black; border-radius: 15px; flex-direction: column; background-image: url(img/background-rules.jpg); background-size: cover; /*font-family: "Outfit", sans-serif;*/ font-weight: 400; } .choix { display: flex; } #recommencer { border-radius: 15px; padding: 50px; margin: 15px; transition: background-color; cursor: pointer; } #recommencer:hover { background-color: rgba(0, 0, 0, 0.377); transition: 0.2s; } #quitter { border-radius: 15px; padding: 50px; margin: 15px; transition: background-color; cursor: pointer; } #quitter:hover { background-color: rgba(0, 0, 0, 0.377); transition: 0.2s; } #Shop { width: 550px; display: block; z-index: 4; box-shadow: 12px 12px 4px rgba(0, 0, 0, 0.664); padding: 50px; color: beige; display: flex; justify-content: center; border: 4px solid black; border-radius: 15px; flex-direction: column; background-image: url(img/background-rules.jpg); background-size: cover; /*font-family: "Outfit", sans-serif;*/ font-weight: 400; } #starting { position: absolute; display: none; z-index: 4; box-shadow: 12px 12px 4px rgba(0, 0, 0, 0.664); padding: 20px; color: beige; display: flex; flex-direction: column; justify-content: center; border: 4px solid black; border-radius: 15px; flex-direction: column; background-image: url(img/background-rules.jpg); background-size: cover; /*font-family: "Outfit", sans-serif;*/ font-weight: 400; } #demarrer { margin: auto; width: min-content; height: min-content; background-color: white; border-radius: 10px; padding: 10px; border: #000000 2px solid; color: black; } .time { z-index: 4; position: absolute; right: 50px; top: 70px; background-color: red; } #demarrer:hover { cursor: pointer; color: white; background-color: green; transition-duration: 0.2s; } #son { display: none; cursor: pointer; position: absolute; top: 20px; left: 20px; } #son:hover { transform: scale(1.25); } #sonOui { display: none; cursor: pointer; display: none; position: absolute; top: 20px; left: 20px; } #sonOui:hover { transform: scale(1.25); } .accessoires { display: flex; flex-direction: row; justify-content: center; align-items: center; } .cout { text-align: center; } #pelle { border-radius: 15px; padding: 15px; margin-left: 50px; display: flex; flex-direction: column; justify-content: center; align-items: center; } #pelle { cursor: pointer; transition: background-color; } #pelle:hover { background-color: rgba(0, 0, 0, 0.377); transition: 0.2s; } #arrosoir { border-radius: 15px; padding: 15px; cursor: pointer; transition: background-color; margin-left: 50px; display: flex; flex-direction: column; justify-content: center; align-items: center; } #arrosoir:hover { background-color: rgba(0, 0, 0, 0.377); transition: 0.2s; } #oui { margin-top: 30px; } #MetS { display: flex; z-index: 5; position: absolute; right: 0; border-radius: 0 0 0 15px; box-shadow: 12px 12px 4px rgba(0, 0, 0, 0.664); width: 350px; height: 75px; background-image: url(img/background-rules.jpg); background-size: cover; } .score { color: white; position: absolute; right: 0; display: flex; align-items: center; width: 50%; height: 100%; flex-direction: row; } .score img { margin-left: 15px; } .score h1 { right: 0; margin-right: 35px; } .monnaie { color: white; position: absolute; left: 0; display: flex; align-items: center; width: 50%; height: 100%; flex-direction: row; } .monnaie img { margin-left: 15px; } .monnaie h1 { right: 0; margin-right: 35px; } #fruits { background-color: red; z-index: 4; } #plantes { background-color: green; z-index: 4; } #poisons { background-color: blue; z-index: 4; } #menu { display: none; cursor: pointer; transform: rotate(0deg); position: absolute; right: 20px; bottom: 20px; transition: transform; } #menu_ { display: none; cursor: pointer; transform: rotate(0deg); position: absolute; right: 20px; bottom: 115px; transition: transform; } #menu__ { display: none; cursor: pointer; transform: rotate(0deg); position: absolute; right: 20px; bottom: 215px; transition: transform; } #menu:hover { transform: rotate(-5deg); transition: 0.2s; } #menu_:hover { transform: rotate(5deg); transition: 0.2s; } #menu__:hover { transform: rotate(5deg); transition: 0.2s; } #fermer { transition: all; position: absolute; right: 20px; top: 20px; cursor: pointer; } #fermer:hover { width: 55px; height: 55px; transition-duration: 0.2s; } #fermer_ { transition: all; position: absolute; right: 20px; top: 20px; cursor: pointer; } #fermer_:hover { width: 55px; height: 55px; transition-duration: 0.2s; } #fermer__ { transition: all; position: absolute; right: 20px; top: 20px; cursor: pointer; } #fermer__:hover { width: 55px; height: 55px; transition-duration: 0.2s; } #regles ul { display: flex; flex-direction: column; justify-content: center; } #logo { margin: auto; padding-top: 10px; } #scene.fullscreen { box-shadow: none; } #fullscreen { position: absolute; right: 10px; bottom: 10px; width: 2em; height: 1.2em; display: flex; flex-direction: row; align-items: center; justify-content: center; font-size: 1em; background-color: #FFFFFF; border: 1px solid #000000; box-shadow: 4px 4px 2px rgba(0,0,0,0.2); border-radius: 0.6em; cursor: pointer; }