.mainunit-container { border-radius: 10px; height: 75vh; background-color: white; } .steps-nav { margin-right: 10px; padding: 5px 10px; display: flex; } .mainunit-lesson { display: flex; align-items: center; justify-content: center; margin-left: 50px; width: 150px; height: 50px; border-radius: 20px; border: 1px solid purple; margin-top: 2%; } .mainunit-lesson:hover { cursor: pointer; opacity: 0.7; } .selected { background-color: #8e58ff; /* 선택된 경우의 배경색 */ border: 1px solid white; /* 선택된 경우의 테두리 색상 */ font-weight: bold; color: white; }