@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap'); body { margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow: hidden; } .menus { height: 100%; width: 100%; padding: 10px; font-family: 'Dancing', cursive; } .menu, .menus { position: absolute; } .menu { font-family: 'Dancing', cursive; font-weight: 500; min-width: 450px; color: #fff; position: absolute; background: #163369f8; background-image: url(https://r2.fivemanage.com/4PVVAaSJCaEWhQoDwm6nn/images/revinebear.png); background-repeat: no-repeat; background-position: 160px center; background-size: 100px 100px; border-radius: 4px; border: 1px solid #2987dff8; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3); overflow: hidden; top: 30%; right: 40px; transform: translateY(-50%); animation: slideInFromRight 0.5s ease-out forwards; } @keyframes slideInFromRight { 0% { transform: translateX(100%); } 100% { transform: translateX(0); } } .hidden { display: none; } .menu .head { font-family: 'Dancing', cursive; font-weight: 400; position: relative; font-size: 24px; line-height: 1.4; text-align: center; padding: 5px; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); height: 80%; letter-spacing: 1px; animation: sloppyTextEffect 2s ease-in-out infinite alternate; color: #f0f0f0; } @keyframes sloppyTextEffect { 0% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } 100% { transform: rotate(-2deg); } } .menu .head-line { display: none; } .menu-status { height: 100%; max-width: 8px; min-width: 8px; border-radius: 2px; background: rgba(20, 20, 20, 0.363); float: left; margin: 0px; overflow: hidden; } .menu-status-inner { width: 100%; background: #dddddd; position: relative; height: 0; } .menu .menu-items { max-height: 350px; } .menu .menu-items .menu-item { display: flex; align-items: center; background: transparent; color: #fff; padding: 8px; height: 35px; font-size: 18px; border-radius: 5px; transition: background-color 0.3s ease; } .menu .menu-items .menu-item:hover { background-color: rgba(255, 255, 255, 0.1); } .menu-label { float: left; margin-left: 10px; white-space: nowrap; } br { content: ""; margin: 0em; display: block; font-size: 20%; } .menu .menu-items .menu-item.selected.up .menu-status .menu-status-inner { height: 100%; -webkit-animation: new-up .2s linear; animation: new-up .2s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .menu-item.old.up .menu-status .menu-status-inner { height: 100%; top: 0; -webkit-animation: old-up .2s linear; animation: old-up .2s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .menu .menu-items .menu-item.selected.down .menu-status .menu-status-inner { height: 100%; -webkit-animation: new-down .2s linear; animation: new-down .2s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .menu-item.old.down .menu-status .menu-status-inner { height: 100%; top: 0; -webkit-animation: old-down .2s linear; animation: old-down .2s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @-webkit-keyframes old-up { 0% { height: 100%; } to { height: 0%; } } @keyframes old-up { 0% { height: 100%; } to { height: 0%; } } @-webkit-keyframes new-up { 0% { height: 0%; top: 100%; } to { height: 100%; top: 0; } } @keyframes new-up { 0% { height: 0%; top: 100%; } to { height: 100%; top: 0; } } @-webkit-keyframes new-down { 0% { height: 0%; } to { height: 100%; } } @keyframes new-down { 0% { height: 0%; } to { height: 100%; } } @-webkit-keyframes old-down { 0% { height: 100%; top: 0; } to { height: 0%; top: 100%; } } @keyframes old-down { 0% { height: 100%; top: 0; } to { height: 0%; top: 100%; } } @keyframes flyga { 50% { transform: translateX(-300px); opacity: 1; } 70% { transform: translatey(-150px); opacity: 1; } } @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-moz-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-o-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-ms-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-o-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-ms-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }