/*variables*/
:root {
    --basic-whiht: #ffffff; /*rgba(255, 255, 255, 1);*/
    --basic-black: #000000; /*rgba(0,0,0,1);*/
    --project-text: #231f20; /*rgba(35, 31, 32, 1)*/
    --project-text-light: rgba(35, 31, 32, 0.5);
    --project-white: #fbfbfb; /*rgba(251, 251, 251, 1);*/
    --project-bg: #e9e0db; /*rgba(233, 224, 219, 1)*/
    --project-dark: #115a96; /*rgba(17, 90, 150, 1)*/
    --project-acsent: #608451; /*rgba(96, 132, 81, 1)*/
    --project-light: #b2d9f7; /*rgba(178, 217, 247, 1)*/
}

/* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}*/

.test {
    font-family: 'TildaSans', Arial, sans-serif;
    color: #231f20;;
}

.test h1 {
    text-align: center;
    font-size: 32px;
    margin: 0 auto 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.test h2 {
    text-align: center;
    font-size: 26px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.test h3 {
    text-align: center;
    font-size: 24px;
    color: rgba(35, 31, 32, 0.5);
    margin: 0 auto 14px;
    line-height: 1;
}

.test__header {
    min-height: 240px;
    padding: 60px 30px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-image: url("https://static.tildacdn.com/tild6633-6330-4338-a232-616365613361/bg-img-constructor.jpeg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background-color: #115a96;
}

.test__header h2 {
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.test__header h3 {
    max-width: 500px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.test__container {
    padding: 30px;
}

.test__progress-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress {
    position: relative;
    margin: 0 20px;
    flex: 1;
}

.progress__counter {
    position: absolute;
    top: 100%;
    right: 0;
    text-align: right;
    color: rgba(35, 31, 32, 0.5);
}

.progress__bar {
    height: 10px;
    background: rgba(178, 217, 247, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.progress__fill {
    height: 100%;
    background: rgba(178, 217, 247, 1);
    border-radius: 5px;
    transition: width 0.35s ease;
    width: 0;
}

.button {
    padding: 10px 8px;
    color: inherit;
    font-weight: 600;
    font-family: inherit;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.35s ease;
    cursor: pointer;
}

.button:hover:not(:disabled),
.button:focus:not(:disabled),
.button:focus-visible:not(:disabled) {
    fill: none;
    stroke: #ffffff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    transform: scale(1.05);
}

.button:active:not(:disabled) {
    border-color: #115a96;
    background-color: #b2d9f7;
    transform: scale(0.95);
    stroke: #115a96;
}

.button:disabled {
    color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
    stroke: rgba(0, 0, 0, 0.1);
    fill: none;
}

.button--default {
    color: #115a96;
    border-color: #115a96;
}

.button--accent {
    color: #608451;
    border-color: #608451;
}

.button--light {
    color: #115a96;
    fill: #b2d9f7;
    stroke: #b2d9f7;
    border-color: #b2d9f7;
}

.button--round {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.button--prev,
.button--next {
    fill: none;
}

.button--prev:hover:not(:disabled),
.button--next:hover:not(:disabled),
.button--prev:focus:not(:disabled),
.button--next:focus:not(:disabled) {
    background-color: #b2d9f7;
    fill: none;
    stroke: #ffffff;
}

.button--prev:active:not(:disabled),
.button--next:active:not(:disabled) {
    fill: none;
    stroke: #115a96;
}

.button--next svg {
    transform: rotate(180deg);
}

.test__question-counter {
    margin-bottom: 30px;
}

.question__number {
    text-align: center;
    color: #115a96;
    font-size: 26px;
    margin-bottom: 20px;
}

.question__text {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 230px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #115a96;
    padding: 20px;
    background-color: rgba(178, 217, 247, 0.2);
    border-radius: 12px;
    border-left: 4px solid #b2d9f7;
    transition: all 0.35s ease;
}

.answers {
    display: flex;
    justify-content: space-around;
/ / gap: 20 px;
    margin-bottom: 20px;
}

.answer__button {
    width: 150px;
    font-size: 26px;
    text-align: center;
    font-weight: 500;
}

.answer__button.selected {
    border-color: #115a96;
    background: #115a96;
    color: #fff;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
}

.test__current-answer {
    text-align: center;
    color: rgba(35, 31, 32, 0.5);
    font-size: 18px;
    margin-bottom: 20px;
}

.test__current-result {
    text-align: center;
    color: #115a96;
    font-size: 26px;
    margin-bottom: 20px;
}

.test__results {
    color: #231f20;
    display: none;
    padding: 30px;
    background-color: rgba(233, 224, 219, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.test__results h2 {
    color: #231f20;
}

.test__results > h3 {
    color: rgba(35, 31, 32, 0.5);
}
.results {
    flex-direction: column;
}
.results__category {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #e9e0db;
}
.results__button {
    font-size: 18px;
}
.results__button--refresh {
    margin-left: auto;
}
.results__button--restart {
    margin: 0 auto;
}
.category__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category__name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.2em;
}

.category__percentage {
    font-weight: 800;
    color: #115a96;
    font-size: 1.3em;
}

.category__ball {
    font-size: 18px;
    color: rgba(35, 31, 32, 0.5);;
    margin-top: 5px;
}

.progress__bar--small {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress__fill--small {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.category__description {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    text-align: justify;
    padding: 20px;
    background-color: rgba(96, 132, 81, 0.2);
    border-radius: 12px;
    border-left: 4px solid #608451;
    transition: all 0.35s ease;
}

.category__description--combined h3 {
    width: 100%;
}

.category__description p {
    margin-bottom: 8px;
    font-size: inherit;
}

.category__description ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.category__description ol li {
    margin-bottom: 8px;
}

.category__description ul {
    margin: 20px auto;
    column-count: 2;
}

.category__description ul li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 8px;
    list-style: none;
}

.category__description ul li:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    background-color: #608451;
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.category__link {
    display: block;
    margin: 20px auto;
    width: 600px;
    max-width: 100%;
    height: 600px;
    transition: all 0.3s ease;
    text-align: center;
    background-color: #7f8c8d;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.35s;
}

.category__link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}
.category__link:hover {
    transform: scale(1.05);
}
