@font-face { font-family: main; src: url(../font/main.TTF); } @font-face { font-family: dys; src: url(../font/dys.otf); } body { height: 91%; margin: 0; padding: 0; } :root { --cool-color: #fe8a71; } html { height: 100%; margin: 0; padding: 0; } .title { width: 100%; text-align: center; font-size: 8vh; } #play_container { display: flex; height: 100%; } .buttonLevel { height: 100px; width: 300px; font-size: large; transition: .5s; margin-bottom: 2%; } .buttonLevel:hover { cursor: pointer; } #PersoSetupPage { display: none; height: 100%; } #levelSelectionPage { display: none; height: 100%; } #selectionContainer { height: 95%; display: flex; align-items: center; flex-direction: column; justify-content: center; } #generate_button_perso { display: flex; justify-content: center; align-items: center; height: 100px; width: 300px; font-size: x-large; transition: .5s; margin-top: 25px; padding: 0 25px 0 25px; } @keyframes loopiloop { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .fa-arrow-right { margin-left: 25px; } .listenerHover { display: flex; justify-content: center; align-items: center; height: 100px; width: 300px; font-size: x-large; transition: .5s; margin-top: 25px; padding: 0 25px 0 25px; } .listenerHover:hover { cursor: pointer; } .fa-spinner { animation: loopiloop 2s infinite; margin-left: 25px; } #generate_button_perso:hover { cursor: pointer; } .more_perso:hover { cursor: pointer; } #colonne_number_ask { display: none; } #perso-setupContainer { height: 95%; display: flex; align-items: center; flex-direction: column; justify-content: start } #menu-selection { position: absolute; left: 0; right: 0; margin: 25vh auto; text-align: center; } .fa-play-circle { font-size: 15vh; transition: font-size 0.5s, color 0.5s, transform 0.5s; } .fa-play-circle:hover { font-size: 18vh; color: var(--cool-color); transform: rotate(-15deg); } .message { font-size: 3vh; margin-bottom: 7vh; } #jeu-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; font-size: 3vh; background-color: transparent; border: none; color: #fe8a71; } #jeu-select:focus { outline: none; } #jeu-select option { background-color: lightgray; border: none; } .btn_play ul { text-align: center; list-style: none; } .fa-cog { font-size: 5vh; position: absolute; right: 0; bottom: 0; margin: 4vh; transition: .5s; } .fa-cog:hover { font-size: 6vh; } .fa-trophy { font-size: 5vh; position: absolute; left: 0; bottom: 0; margin: 4vh; transition: .5s; } .fa-trophy:hover { font-size: 6vh; } .fa-users { font-size: 5vh; position: absolute; left: 0; top: 0; margin: 4vh; transition: .5s; } .fa-users:hover { font-size: 6vh; } .fa-info { font-size: 5vh; position: absolute; right: 0; top: 0; margin: 4vh; transition: .5s; } .fa-info:hover { font-size: 6vh; } .fa-arrow-left { font-size: 5vh; left: 0; margin: 2vh; transition: .5s; } .fa-arrow-left:hover { font-size: 6vh; } i:hover { cursor: pointer; } .modal { display: none; position: fixed; z-index: 100; padding-top: 2%; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0.4); } .modal-content { position: relative; margin: auto; padding: 0; width: 80%; border-radius: 15px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -webkit-animation-name: animatetop; -webkit-animation-duration: 0.4s; animation-name: animatetop; animation-duration: 0.4s } .modal-body { height: 100%; border: 5px solid #D3D3CE; border-radius: 15px; } .score-content { height: 90%; } .scoreOne { position: absolute; width: 40%; bottom: 1.5%; top: 15%; left: 5%; border: 5px solid #D3D3CE; border-radius: 15px; } .scoreTwo { position: absolute; width: 40%; bottom: 1.5%; top: 15%; right: 5%; border: 5px solid #D3D3CE; border-radius: 15px; } @-webkit-keyframes animatetop { from { top: -200px; opacity: 0 } to { top: 0; opacity: 1 } } @keyframes animatetop { from { top: -200px; opacity: 0 } to { top: 0; opacity: 1 } } img { height: 50px; transition: .5s; } img:hover { opacity: 1; cursor: pointer; } hr { border: 3px solid #D3D3CE; } .img_france { margin-right: 50px; } .setting_play { height: 30vh; width: 90%; } .close { position: absolute; right: 33px; top: 10px; font-size: 50px; } #modeDeJeu { font-size: 25px; ; } .close:hover { color: red; cursor: pointer; } .margin-right { margin-right: 5%; } .margin-global { margin-left: 2f%; margin-right: 2%; } .veriteTable { border-collapse: collapse; border-radius: 15px; overflow: hidden; text-align: center; width: 30%; } .veriteTable th { height: 3em; } .veriteTable td { height: 2em; } #playPage { z-index: 79; display: none; flex-direction: column; height: 95%; margin: 0; padding: 0; } .border { border-radius: 15px; } .secret { cursor: pointer; color: #fe8a71; } #niveauGameOver { color: #fe8a71; } #scoreTotGameOver { color: #fe8a71; } #TempsTotGameOver { color: #fe8a71; } .timer_bar { height: 15px; max-width: 95%; margin: 2%; transition: 1.5s; } .fa-star { font-size: 10vh; cursor: default; } @media screen and (max-width:900px) { .fa { font-size: 1em; } #titleGame { font-size: 2em; margin-top: 35%; } .far { font-size: 5em; margin: 0; } #setting_int { font-size: 0.6em; } } .header_play { display: flex; align-items: center; padding: 0 50px 0 50px; justify-content: space-between; } .home { font-size: 6vh; transition: 0.5s; } .home:hover { transform: rotate(-15deg); } #header_selection { display: flex; justify-content: space-between; } .timer_show { font-size: 5vh; right: 10vh; top: 3vh; height: 10vh; width: 10vh; border-radius: 50%; margin: 0; text-align: center; transition: 0.5s; } .timer_show:hover { transform: rotate(15deg); } .timer_txt { transition: 0.2s; } .info_check { margin-right: 2%; } #cache_reinit { background-color: red; color: #D7CCC8; border: none; } #cache_reinit:hover { background-color: lightcoral; cursor: pointer; } .input-color-container { position: relative; overflow: hidden; width: 40px; height: 40px; border: solid 2px #ddd; border-radius: 40px; } input[type=color] { position: absolute; right: -8px; top: -8px; width: 56px; height: 56px; border: none; } .input_line { display: flex; justify-content: center; } .colomn_line_input { margin-right: 25px; margin-left: 25px; } #button_next_level { height: 50px; width: 150px; transition: 0.5s; } #button_next_level:hover { cursor: pointer; } #show_stage { margin: 0 20px 0 20px; } #TestNouveauGenerateur { display: none; } .veri_false { color: var(--cool-color); } .veri_true { color: green; } #error_perso { color: red; } .fa-trash:hover { color: red; } .fa-trash { margin-left: 20px; } #waitingPage { margin: auto; position: absolute; height: 90%; border: 2px solid red; width: 99%; display: none; z-index: 80; } @keyframes progressbar-countdown { 0% { width: 0%; } 100% { width: 95%; } } .progress_bar { height: 10px; margin: 20px; animation: progressbar-countdown; animation-duration: 40s; animation-iteration-count: 1; animation-fill-mode: forwards; animation-play-state: paused; animation-timing-function: linear; }