@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap'); /*https://dafluffypotato.com/ */ *{ box-sizing: border-box; margin: 0; padding: 0; background-color: #f2f3fe; user-select: none; } header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 5%; background-color: #000539; } .navbar_items{ padding-right: 3%; display: flex; flex-direction: row; justify-content: space-around; background-color: #000539; } .ni{ text-decoration: none; cursor: pointer; position: relative; display: inline-block; font-weight: bold; font-size: 30px; color: #f2f3fe; background-color: #000539; transition: right 0.15s ease-in-out; right: 0px; } .outerNi{ margin: 10px; margin-left: 15px; } .ni:hover{ right: -2px; color: #7882f5; } /* navbar above */ .mid{ margin: auto; } .right{ margin-left: 80%; } .game{ margin-top: 2%; margin-bottom: 2%; } .circle{ height: 50px; width: 50px; background-color: #7882f5; border-radius: 50%; display: inline-block; } .title{ color: #7882f5; position: relative; font-weight: bold; font-size: 40px; padding-left: 2%; margin-bottom: 3%; width: 30%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: -1%; } .title_shadow{ box-shadow: 0px 3px 4px rgba(73, 73, 80, 0.212); } .color_options{ display: flex; flex-direction: row; justify-content: space-around; margin: 5%; position: relative; border-radius: 15px; transition: all 0.15s ease-in-out; right: 0px; } .color_options p{ cursor: pointer; color: #5661e0; position: relative; font-weight: bold; font-size: 40px; margin: 1%; padding: 0.5%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } .color_current{ position: relative; font-weight: bold; font-size: 45px; width: 16%; padding: 3%; background-color: #6673ff; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } .colors_score{ color: #5661e0; position: relative; font-weight: bold; font-size: 40px; width: 8%; padding: 0.5%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } .game_box{ margin-left: 5%; margin-right: 5%; border-radius: 20px; position: relative; font-weight: bold; background-color: #f2f3fe; transition: all 0.15s ease-in-out; right: 0px; } .cgame{ height: 300px; } #target_circle{ position: relative; right: -80%; background-color: #010a72; } #moving_circle{ position: relative; right: -50px; top: 125px; } .amplitude{ cursor: pointer; color: #5661e0; position: relative; font-weight: bold; font-size: 40px; margin: 1%; width: 30%; padding: 0.5%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } .amplitude_shower{ display: inline-block; position: relative; background-color: #7882f5; width: 50px; height: 10px; border-radius: 10px; } .secret{ display: flex; flex-direction: row; justify-content: space-around; margin: 5%; } .secret span{ cursor: pointer; color: #5661e0; position: relative; font-weight: bold; font-size: 40px; margin: 1%; width: 30%; padding: 0.5%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } .box_shadow_secret{ box-shadow: -2px 5px 15px rgb(255, 0, 128); } .sgame{ display: grid; grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%; grid-template-rows: auto; height: 850px; } .sgame p{ cursor: pointer; color: #5661e0; position: relative; margin: 1%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } .box_shadow{ box-shadow: 0px 3px 10px rgba(91, 91, 99, 0.4); } .element{ cursor: pointer; color: #5661e0; position: relative; font-weight: bold; font-size: 40px; margin: 1%; width: fit-content; padding: 0.5%; background-color: #f2f3fe; border-radius: 10px ; transition: all 0.15s ease-in-out; right: 0px; } /* hover here */ .color_options:hover, .color_current:hover, .colors_score:hover, .amplitude:hover, .element:hover{ right: -1.5%; box-shadow: 0px 3px 4px rgba(40, 39, 51, 0.4); } .color_options p:hover, .game_box:hover, .secret span:hover{ right: -0.3%; box-shadow: 0px 3px 6px rgba(40, 39, 51, 0.4); } .sgame p:hover{ right: -2%; box-shadow: 0px 3px 6px rgba(40, 39, 51, 0.4); } .title:hover{ right: -2.5%; box-shadow: 0px 3px 4px rgba(40, 39, 51, 0.4); } .ss:hover{ width: 50%; height: 50%; } /* footer below */ .footer{ color: #5661e0; margin: 0.5%; font-size: 20px; transition: all 5s ease 0s; } .footer:hover{ color: #f2f3fe; font-size: 8px; }