body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    background-color: #F0F1FD;
}

header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 24px;
    background-color: #FFF;
}

.title-description {
    font-style: italic;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 9px;
    color: #212121;
    font-size: 14px;
}

.evaluating-img-container {
    width: 196px;
    height: 196px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(10, 175, 51, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    justify-content: center;
    justify-items: center;
    position: absolute;
    left: 8px;
    top: 0;
}

.title-container {
    width: 390px;
    height: 144px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
}

.title-container h2 {
    color: #62AF24;
    text-transform: uppercase;
    margin: 0;
    font-size: 21px;
    text-align: start;
    padding-left: 208px;
}

.logo-img {
    display: block;
    background-image: url('images/logo.svg');
    width: 118px;
    height: 32px;
}

#progress-bar-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #C6C6C6;
    height: 8px;
}

#current-progress {
    width: 0%;
    height: 100%;
    background-color: #0AAF87;
    transition: all .4s;
}

#content {
    position: relative;
    padding: 8px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#required-text {
    font-style: italic;
    font-size: 9px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 16px;
    font-weight: 400;
    color: #000;
}

.required-icon {
    color: #D51616;
}

.question-title {
    padding-left: 16px;
    position: relative;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.5px;
    text-align: justify;
    vertical-align: middle;
}

.question-number {
    position: absolute;
    left: 0;
}

.question-selection {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 18px;
}

.question-option {
    width: 37px;
    height: 37px;
    border-radius: 10px;
    margin: 8px 12px 16px;
    font-family: "Montserrat", sans-serif;
    background: none;
    border: 1px solid #C6C6C6;
    cursor: pointer;
    transition: .4s;
}

.low-rating {
    border-color: #D95555;
    color: #D95555;
}

.low-selected {
    border-color: transparent;
    color: #FFF;
    background-color: #D95555;
}

.medium-rating {
    border-color: #E0B02D;
    color: #E0B02D;
}

.medium-selected {
    border-color: transparent;
    color: #FFF;
    background-color: #E0B02D;
}

.good-rating {
    border-color: #26BC99;
    color: #26BC99;
}

.good-selected {
    border-color: transparent;
    color: #FFF;
    background-color: #26BC99;
}

.not-selected {
    color: #C6C6C6;
    border: 1px solid #C6C6C6;
}

.question-legend {
    font-weight: 600;
    font-style: Italic;
    font-size: 10px;
    line-height: 24px;
    letter-spacing: 0;
    vertical-align: middle;
    display: flex;
    justify-content: space-between;
    color: #484444;
    padding: 0 24px;
}

.action-button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.25px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    text-transform: uppercase;
    border-radius: 4px;
    border-width: 1px;
    padding: 0 24px;
    height: 36px;
    cursor: pointer;
    color: #FFF;
    border-color: transparent;
    margin-top: 16px;
    transition: top .4s;
}

.clear-btn {
    background: none;
    border: 1px solid #0AAF87;
    color: #0AAF87;
}

#next-question {
    background-color: #0AAF87;
}

#previous-question {
    background-color: #3C3E3D;
}

#next-question:disabled {
    background-color: #B4B4B4;
    cursor: not-allowed;
}

#feedback-area {
    position: relative;
    width: 100%;
    border: 1px solid #888888;
    height: 89px;
    border-radius: 10px;
}

#feedback-area textarea {
    border: 0;
    border-radius: 10px;
    width: calc(100% - 16px);
    margin-top: 8px;
    height: 61px;
    padding: 0 8px;
    background: none;
    font-size: 14px;
    resize: none;
}

#feedback-area textarea:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

#feedback-limit {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0 12px 3px;
    font-size: 12px;
    color: #888888;
}

.finished-text {
    display: none;
    width: 342px;
    padding-top: 24px;
    letter-spacing: 0;
}

.finished-text p {
    margin: 0;
}

#finished-container {
    font-size: 18px;
    text-align: center;
}

#questions-container {
    display: none;
    width: 342px;
    padding-top: 12px;
}

#already-finished-container {
    font-size: 14px;
    text-align: start;
}

.clear-icon {
    display: none;
}

.evaluating-img {
    width: 146px;
}

#toast-container {
    display: none;
    position: fixed;
    top: 0;
    background-color: #000;
    max-width: 312px;
    padding: 12px 24px;
    margin-top: 16px;
    border-radius: 4px;
    transition: all .4s;
    text-align: center;
}

#toast-message {
    margin: 0;
    color: #FFF;
    font-weight: 500;
    font-size: 14px;
}

#toast-progress {
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .5);
    transition: width 5s linear;
}

#loading-container {
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 4px solid #ddd;
    border-top-color: #0AAF87;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 993px) {
    html {
        display: flex;
        justify-content: center;
    }

    body {
        margin: 24px;
        width: 100%;
        max-width: 1004px;
        box-shadow: 0px 4px 23px 0px #0000001A;
    }

    #content {
        background-color: #FFF;
    }

    #questions-container {
        width: 100%;
        max-width: 851px;
    }

    .question-content {
        width: 100%;
        background-color: #F9F9F9;
        border-radius: 20px;
        display: flex;
        flex-direction: column-reverse;
        padding: 12px 0 24px;
        position: relative;
    }

    .question-selection {
        justify-content: space-around;
    }

    .question-legend {
        color: #666666;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
    }

    .legend-number {
        display: none;
    }

    #required-text {
        font-size: 12px;
    }

    .action-button {
        font-weight: 700;
        width: auto;
        text-transform: capitalize;
        float: right;
        height: 48px;
    }

    #next-question:disabled {
        background-color: #BBCECB;
    }

    .clear-btn {
        position: absolute;
        border: none;
        right: 0;
        bottom: 0;
        height: 24px;
        margin: 0;
        font-size: 12px;
        color: #000;
        font-weight: 600;
        padding: 0;
        margin: 0 40px 12px;
        letter-spacing: 0;
    }

    .finished-text,
    #finished-container,
    #already-finished-container {
        width: 100%;
        text-align: start;
        font-size: 22px;
        padding: 40px 0 48px;
        width: 100%;
        max-width: 851px;
    }

    .question-title {
        margin-bottom: 24px;
    }

    .clear-icon {
        display: inline;
    }


    .title-container {
        width: 100%;
        text-align: start;
        align-items: start;
        justify-content: end;
        padding-top: 64px;
    }

    .title-container h2 {
        z-index: 1;
        padding: 0;
        color: #2AAD25;
        font-size: 25px;
        margin-left: 64px;
    }

    .title-description {
        margin-top: 8px;
        z-index: 1;
        font-size: 18px;
        margin-left: 64px;
    }

    header {
        text-align: start;
        background: linear-gradient(90deg, #49F089 0%, #FAF9FF 69.23%);
        align-items: start;
        height: 276px;
        padding-bottom: 0;
    }

    .evaluating-img-container {
        background: none;
        right: 0;
        left: auto;
        width: 40%;
        justify-content: center;
        align-items: center;
        margin-top: 24px;
    }

    .evaluating-img {
        width: 276px;
        height: 276px;
    }

    .logo-container {
        position: absolute;
        left: 0;
        right: 50%;
        top: 0;
        bottom: 0;
        background-color: #FAF9FF;
        border-top-right-radius: 200px;
        border-bottom-right-radius: 200px;
        box-shadow: 0px 0px 16.6px 0px #0000001A;
    }

    .logo-img {
        display: block;
        background-image: url('images/logo-desktop.svg');
        width: 194px;
        height: 136px;
        margin-top: 32px;
        margin-left: 64px;
    }

    #progress-bar-container {
        display: none;
    }
}