body { margin: 0; } .title { font-family: 'Times New Roman', Times, serif; } .url { text-decoration: none; margin: 200px auto; color: #c617c3 } .header { width: 100vw; height: 5vh; margin-bottom: auto; z-index: 1; background-color: #409EFF; } #tz { display: flex; width: 3vh; margin-left: auto; margin-right: 1vw; justify-content: flex-start; align-items: center; } #tz:hover { transition: all 0.5s; transform: scale(1.4, 1.4); } .aside { margin-right: auto; justify-content: center; align-items: center; height: 95vh; width: 15vw; background-color: #ecf5ff; } .content { width: 85vw; height: 95vh; flex: auto; justify-content: center; align-items: center; } .aside_con { display: flex; justify-content: center; } div { display: flex; } .pole { align-items: center; width: 25vw; height: 2vh; border-radius: 7px; background-color: #ecf5ff; } .ball { animation: myball 2s; animation-direction: alternate; animation-iteration-count: infinite; animation-timing-function: ease-in-out; width: 1.5vh; height: 1.5vh; margin: auto 0.3vh; border-radius: 100%; background-color: #F56C6C; } .circles { flex: 100%; flex-wrap: wrap; } .circle { width: 10vh; height: 10vh; margin: 30px; border-radius: 50%; background-color: #67C23A; } .buttons { margin-left: 2vw; flex-direction: column; } .but { width: 5vw; height: 4vh; margin: 10px; border-radius: 5px; border-width: 0px; background-color: #ecf5ff; color: #409EFF; } .but:hover { animation: buttons 0.6s; } .dis { flex-direction: column; } @keyframes myball { 0% { background-color: #F56C6C; margin-left: 0.3vh; } 50% { background-color: #E6A23C; } 100% { background-color: #67C23A; margin-left: 24vw; } } @keyframes buttons { 0% { background-color: #ecf5ff; color: #409EFF; } 100% { background-color: #409EFF; color: #ecf5ff; } }