@import '../colors'; .dotted-bg { position: fixed; left: 0; bottom: 0; z-index: 0; width: 100%; object-fit: cover; height: 10vh; background-repeat: no-repeat; background-position: top; } .back-button { position: fixed; top: 10px; right: 10px; width: 40px; height: 40px; background: rgba(white, 0.5); border: 0px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; ion-icon { color: white; font-size: 20px; } } .visual-timer { display: flex; width: 80%; margin: 40px auto; position: relative; background-color: transparent; border: 4px solid rgba($blue-grey, 0.3); border-radius: 30px; height: 45px; align-items: center; justify-content: center; z-index: 0; overflow: hidden; p { flex-grow: 1; margin: 0; text-align: center; color: white; font-size: 1rem; font-weight: 500; letter-spacing: 1px; position: relative; z-index: 1; } ion-icon { position: absolute; right: 10px; top: 10px; font-size: 1rem; color: white; z-index: 1; } .progress { position: absolute; left: 0; top: 0; border-radius: 30px; background: linear-gradient(90deg, lighten($brand-red, 5%) 5%, lighten($dark-blue, 20%) 80%); width: 100%; height: 100%; transition: width 1s linear; } } .container { width: 80%; margin: 40px auto; } .question-counter { border-bottom: 2px dotted rgba($blue-grey, 0.3); padding-bottom: 10px; h2 { color: $blue-grey; font-size: 1.3rem; letter-spacing: 1px; font-weight: 700; margin: 0; span { font-size: 1.1rem; font-weight: 300; } } } .questions { list-style: none; padding: 0; margin: 0; } .next-button { display: block; width: 150px; border-radius: 30px; height: 60px; background-color: darken($sea-blue, 15%); color: white; font-size: 1.2rem; font-weight: 500; position: fixed; z-index: 1; bottom: 10vh; left: calc(50% - 75px); overflow: hidden; &::before { content: ''; position: absolute; left: 30px; top: 0; width: 30px; height: 30px; background-color: darken($sea-blue, 10%); border-radius: 50%; display: block; transform: scale(1.5)translateY(-5px); } &::after { content: ''; position: absolute; right: 30px; bottom: 0; width: 30px; height: 30px; background-color: darken($sea-blue, 10%); border-radius: 50%; display: block; transform: scale(2.5)translateY(5px); } .text { position: relative; z-index: 1; } .dot { position: absolute; left: 30px; bottom: 0px; width: 30px; height: 30px; background-color: darken($sea-blue, 10%); border-radius: 50%; display: block; transform: scale(0.3); } } .report-card { background-color: white; padding: 20px; height: 250px; display: flex; align-items: center; justify-content: center; width: 80%; margin: 20vh auto; border-radius: 10px; text-align: center; background-color: lighten($blue-grey, 35%); box-shadow: 0px 3px 5px $dark-blue; h2 { color: $green; font-size: 1.5rem; margin: 10px 0; } p { margin: 10px 0; color: darken($blue-grey, 20%); font-size: 1.2rem; line-height: 1.5; } }