@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100;200;300;400;500;600;700;800;900&display=swap'); * { font-family: 'Alexandria', sans-serif; margin: 0; padding: 0; box-sizing: border-box; } .Menu { display: none; position: absolute; height: 74vh; width: 46vh; top: 15vh; left: 8vh; border-radius: 15px; background: linear-gradient(0deg, rgba(20, 20, 30, 0.9) ,rgba(21, 22, 20, 0.95) , rgba(2, 108, 32, 0.9)); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; cursor: move; animation: bounce; animation-duration: 1s; } .img1 { position: absolute; width: 100%; height: 15vh; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 15px 15px 0 0; object-fit: cover; } .img2 { position: absolute; width: 15vh; height: 15vh; top: 5vh; left: 2vh; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); } .img3 { position: absolute; width: 15vh; height: 15vh; top: 5vh; left: 2vh; opacity: 1; border-radius: 50%; } .mr51__4 { position: absolute; width: 100%; height: 50vh; top: 24vh; display: flex; flex-direction: column; align-items: center; gap: 1.5vh; -webkit-animation: scale-up-hor-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; animation: scale-up-hor-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; } .buttonmenu { display: flex; justify-content: center; align-items: center; width: 80%; height: 8vh; border-radius: 10px; border: 0.1px solid rgb(0, 0, 0); background: linear-gradient(45deg, rgba(40, 40, 50, 0.9), rgba(60, 60, 70, 0.9)); color: white; font-size: 2.5vh; overflow: hidden; font-weight: 500; box-shadow: inset 0px 0px 100px -30px rgba(60, 255, 0, 0.812); cursor:grab; } .buttonmenu:hover { transform: scale(1.05); border: 0.1px solid rgb(0, 0, 0); -webkit-animation: flip-horizontal-top 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) both; animation: flip-horizontal-top 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) both; background: linear-gradient(45deg, rgba(60, 60, 80, 0.9), rgba(80, 80, 100, 0.9)); } .buttonmenu.focused { transform: scale(1.05); border: 0.1px solid rgb(0, 0, 0); -webkit-animation: flip-horizontal-top 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) both; animation: flip-horizontal-top 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) both; background: linear-gradient(45deg, rgba(60, 60, 80, 0.9), rgba(80, 80, 100, 0.9)); } .name { position: relative; left: 40%; top: 65px; display: block; width: 150px; height: 50px; text-align: center; align-items: center; text-shadow: 1px 1px 2px black; background-color: rgb(65, 61, 61); border-radius: 5px; border: 1px solid rgba(2, 108, 32, 0.9); } .name span { position: relative; top: 20%; color: #FFF; font-size: 4vh; font-weight: 400; width: 100%; text-align: center; align-items: center; } .name span::after { content: "51 Code"; } @-webkit-keyframes scale-up-hor-center { 0% { -webkit-transform: scaleX(0.4); transform: scaleX(0.4); } 100% { -webkit-transform: scaleX(1); transform: scaleX(1); } } @keyframes scale-up-hor-center { 0% { -webkit-transform: scaleX(0.4); transform: scaleX(0.4); } 100% { -webkit-transform: scaleX(1); transform: scaleX(1); } } @-webkit-keyframes flip-horizontal-top { 0% { -webkit-transform: rotateX(0); transform: rotateX(0); } 100% { -webkit-transform: rotateX(360deg); transform: rotateX(360deg); } } @keyframes flip-horizontal-top { 0% { -webkit-transform: rotateX(0); transform: rotateX(0); } 100% { -webkit-transform: rotateX(360deg); transform: rotateX(360deg); } }