.main-test__title,
.question__title,
.question__answers legend,
.answer span,
.question-result span,
.result__title,
.result,
#refresh-btn {
    font-family: 'Gilroy', sans-serif;
}

.main-test {
    max-width: 600px;
    margin-top: 20px;
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    word-break: break-word;
}
.main-test__title {
    margin: 40px 0;
    font-size: 24px;
    font-weight: bold;
}
.question-wrapper {
    background-color: #eee;
}
.question-wrapper:not(:last-child) {
    margin-bottom: 40px;
}
.question {
    padding: 30px 40px 20px 40px;
}
.question__title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}
.question__answers {
    border: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
.question__answers legend {
    padding: 25px 0;
    font-size: 18px;
}

.answer input[type="radio"] {
    display: none;
}
.answer {
    display: inline-block;
    cursor: pointer;
    margin-bottom: 10px;
}
input[type="radio"]:checked + span::before {
    background: url("../images/check.svg") 5px 10px no-repeat;
    content: url("../images/arrow-yellow.svg");
    width: 40px;
    height: 44px;
    position: relative;
}
.answer span::before {
    content: url("../images/arrow-yellow.svg");
    margin-right: 15px;
}

.answer span {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    width: 100%;
}
.question-result {
    width: 100%;
    padding: 20px 0;
    display: none;
}
.right-answer {
    background-color: #83B423;
}
.wrong-answer {
    background-color: #B30605;
}
.question-result span {
    margin-left: 40px;
    color: White;
    font-size: 20px;
    font-weight: bold;
}
.main-test__result {
    display: none;
    flex-direction: column;
    margin: 0 auto;
}
.result__title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.result {
    font-size: 38px;
    font-weight: bold;
    border-radius: 50px;
    background-color: #eee;
    padding: 25px 50px;
    text-align: center;
}
.main-test__refresh {
    margin: 30px auto;
    display: none;
}
.refresh-btn {
    background: none;
    border: none;
    text-decoration: underline;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.1s ease-out;
}
.refresh-btn::before {
    content: url("../images/refresh.svg");
    margin-right: 10px;
}
.refresh-btn:active {
    color: orange;
}
.refresh-btn {
    display: inline-flex;
    align-items: center; 
}