.completed-body{ width: 100%; height: calc(100vh - var(--height-header)); overflow: auto; display: flex; padding-bottom: 150px; background: #f0f0f0; } .main-body-container{ box-shadow: none; max-width: 100%; } .completed-body .body-cover{ display: inline-block; padding: 30px 15px 10px; text-align: center; margin: auto; } .completed-title{ font-family: opensanslight; font-size: 20px; margin: 0px auto ; max-width: 350px; } .completed-topic-name{ font-family: opensanssemibold; font-size: 20px; margin-bottom: 20px; } .completed-icon img{ height: 200px; } .completed-detail{ font-family: opensanslight; font-size: 15px; line-height: 21px; text-align: center; max-width: 265px; margin: auto; margin-top: 15px; } .completed-bottom{ position: fixed; width: 100%; height: 140px; left: 0px; bottom: 0px; right: 0px; background: #E7E7E7; padding: 0px 30px; } .completed-bottom-cover{ display: flex; width: 100%; height: 100%; max-width: 1140px; margin: auto; } .completed-bottom .completed-button{ display: inline-block; width: 150px; height: 50px; line-height: 48px; text-align: center; text-decoration: none; border: 1px solid; outline: 0px; border-radius: 30px; font-size: 13px; font-family: opensanssemibold; margin: auto; } .completed-button.button-relearn{ color: var(--color-main-white); border-color: var(--color-main-red); background: var(--color-main-red); margin-left: 0px; } .completed-button.button-test{ color: var(--color-main-white); background: var(--color-main-green); border-color: var(--color-main-green); margin-right: 0px; } @media (max-width: 500px){ .completed-bottom{ display: grid; padding: 15px; } .completed-button.button-relearn{ margin: auto; } .completed-button.button-test{ margin: auto; } }