* { margin: 0; padding: 0; } html,body { height: 100%; overflow: hidden; } @font-face{ font-family:electronicFont; src:url(../font/DS-DIGIT.TTF)} .container { height: 100%; width: 100%; background-image: url("../img/bg.jpg"); background-size: 100% 100%; } .head { height: 10%; width: 100%; background-image: url("../img/head_bg.png"); background-size: 100% 100%; display: flex; justify-content: center; line-height: 2; } .head-title { color: #f1f1f1; font-size: 2.5rem; } .body { width: 100%; height: 90%; display: flex; } .area { width: 50%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-around; } .box { width: 90%; height: 45%; border: 1px solid rgba(25,186,139,.17); box-shadow: inset 0 0 15px rgba(25,186,139,.4); display: flex; flex-direction: column; align-items: center; } .box-title { width: 100%; height: 15%; color: #e7e7e7; display: flex; align-items: center; justify-content: center; font-size: 20px; } .box-body { width: 95%; height: 85%; } .box-body2{ width: 80%; height: 85%; } .box-body3{ width: 20%; height: 85%; } .swiper { width: 100%; height: 90%; } .percentage { text-align: center; line-height: 100px; margin-top: 30px; margin-left: 20px; height: 100px; width: 100px; background-color: #f1f1f1; border-radius: 50%; font-size: 40px; font-family: electronicFont; }