/*general-----------*/

.gen-main-btn {
    width: 160px;
    height: 160px;
    /* background-image: url("/static/front/img/gen_btn3.png"); */
    background-color: #fff;
    border-radius: 50%;
    /* background-position: center center; */
    /* background-repeat: no-repeat no-repeat; */
    /* background-size: 100% auto; */
    text-align: center;
    justify-content: center;
    align-content: center;

}

.gen-main-btn p {
    color: var(--dor-red);
    font-size: 50px;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 2px;
    /* margin-top: 35px; */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.botte::before {
    width: 13px;
    height: 15px;
    /*background-size: cover;*/
    /*background: url("/static/front/img/rsz_botte.png");*/
    content: url("/static/front/img/rsz_botte.png");
}

/*--------------*/

/*first page ---------------*/

.first-page-con {
    width: 100%;
    height: 100%;
}

.first-page {
    justify-content: center;
    height: 100%;

}

.text-top p {
    font-size: 18px;
    text-align: center;

}

.gen-input {
    margin-top: 30px;
    height: 40px;
}

.gen-input input {
    outline: none;
    width: 100%;
    height: 100%;
    padding: 5px;
    color: var(--dor-red);
    font-size: 15px;
    background-color: var(--white);
    border-radius: 7px;
    border: none;
}

.first-page .gen-main-btn {
    margin-top: 130px;
}

/*---------------------*/

/*second page ---------------*/

.question-page-con {
    width: 100%;
    height: 100%;
}

.question-page {
    height: 100%;
}

.question-wrapper {
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100% - 170px);
}

.question-text {
    margin-bottom: 57px;
}

.answer-section {

}

.answer-item {
    border-radius: 20px;
    background-color: var(--white);
    min-width: 42px;
    margin-bottom: 11px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
    align-content: center;
    padding: 12px;
}

.answer-item[type=image][state=active] {
    border: 3px solid var(--dor-red);
}

.answer-item[type=video][state=active] {
    border: 3px solid var(--dor-red);
}

.answer-item[type=image]:nth-child(2n) {
    --mr: 5px;
}

.answer-item[type=image]:nth-child(2n+1) {
    --ml: 5px;
}

.answer-item[type=video]:nth-child(2n) {
    --mr: 5px;
}

.answer-item[type=video]:nth-child(2n+1) {
    --ml: 5px;
}

.radio-con {
    width: 21px;
    height: 21px;
    padding: 2px;
    border-radius: 50%;
    border: 2px solid var(--dor-red);
    margin-left: 18px;
}

.radio-inner {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 50%;
}

.answer-item[state=active] .radio-inner {
    background-color: var(--dor-red);
}

.answer-text p {
    font-size: 16px;
    color: var(--dor-red);
}

.answer-item__media-holder {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.answer-item__media-con {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.answer-item__image {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: auto auto;
    display: block;
    border-radius: 20px;
}

.answer-item__video {
    width: 100%;
    height: 100%;
}

.question-page .gen-main-btn {
    width: 70px;
    height: 100px;
    position: absolute;
    bottom: 60px;
    right: calc(50% - 35px);
}

.question-page .gen-main-btn p {
    font-size: 20px;
    margin-top: 30px;
}

@media (min-height: 600px) {
    .question-page .gen-main-btn {
        bottom: 60px;

    }

}

/*----------------------------------*/

.score-page-con {
    width: 100%;
    height: 100%;
}

.score-page {
    height: 100%;
    justify-content: center;
}

.score-info {
    margin: 20px 0;
}

.info-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
}

.info-score {
    font-size: 27px;
    padding: 30px;
    text-align: center;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 85% auto;
    background-image: url("/static/front/img/score.png");
}

.aine-info {
    margin-bottom: 10px;
}

.aine-info p {
    font-size: 15px;
}

.score-page-con .gen-main-btn .aine_link {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--dor-dark-red);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}

.score-page-con .gen-main-btn {
    margin-bottom: 10px;
    width: 150px;
    height: 80px;
    background-image: url("/static/front/img/down.png");

}

.score-page-con .gen-main-btn p {
    margin-top: 0;
    font-size: 18px;
}

.score-list {
    max-height: calc(100% - 380px);
    background-color: var(--white);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 7px;
}

.score-item {
    height: 55px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    align-content: center;
}

.show-detail p {
    margin-top: 12px;
    font-size: 16px;
}

.score-item p {
    font-size: 15px;
    color: var(--dor-red);
}

.score-item-name {
    width: calc(100% - 30px);
    overflow: hidden;
}

.score-item[type=friends] .score-item__arrow {
    display: none;
}

.score-item-score {
    align-self: flex-end;
}