.chat-container {
    max-width: 600px;
    margin: auto;
}









.interactive-guide {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.interactive-guide.active {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    background-image: url('../img/interactive/room.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#start-button {
    font-size: 22px;
    font-weight: 700;
    line-height: 18px;
    padding: 14px 45px;
    border-radius: 10px;
    border: 3px solid #ffffff;
    position: absolute;
    left: 50%;
    bottom: 39px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    color: #FFFFFF;
}

.interactive-guide__cover {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.interactive-guide__cover-1 {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

#novella-choise {
    position: absolute;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 326px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    animation: .2s fade;
    -webkit-animation: .2s fade;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

#novella-choise h2 {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.58);
    width: 100%;
    text-align: center;
    line-height: 18px;
    padding: 23px 0;
    border-radius: 20px 20px 0 0;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    -ms-border-radius: 20px 20px 0 0;
    -o-border-radius: 20px 20px 0 0;
}

.btn-nov-list {
    width: 100%;
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.58);
    gap: 16px;
    border-radius: 0 0 20px 20px;
    transition: .2s;
    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    -ms-border-radius: 0 0 20px 20px;
    -o-border-radius: 0 0 20px 20px;
    padding: 25px;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}

.btn-nov-list button {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #FFFFFF;
}

.btn-nov-list button:hover {
    transition: .2s;
    color: rgba(63, 247, 72, 1);
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}

.not-active {
    opacity: 50%;
    cursor: not-allowed;
}
@keyframes fadeRole {
    0% {
        opacity: 0;
        bottom: -1000px;
    }

    100% {
        opacity: 100%;
        bottom: 35px;
    }
}
#role-selection {
    position: absolute;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 404px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    animation: .2s fadeRole;
    -webkit-animation: .2s fadeRole;
}

.parents-role {
    width: 100%;
    animation: .2s fadeRole;
    -webkit-animation: .2s fadeRole;
}

.parents-role h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #FFFFFF;
    padding: 23px 0;
    background-color: rgba(0, 0, 0, 0.58);
    border-radius: 20px 20px 0 0;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    -ms-border-radius: 20px 20px 0 0;
    -o-border-radius: 20px 20px 0 0;

}

.child-role {
    width: 100%;
    animation: .2s fadeRole;
    -webkit-animation: .2s fadeRole;
}

.child-role h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #FFFFFF;
    padding: 23px 0;
    background-color: rgba(0, 0, 0, 0.58);
    border-radius: 20px 20px 0 0;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    -ms-border-radius: 20px 20px 0 0;
    -o-border-radius: 20px 20px 0 0;
}

.role-list {
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.58);
    border-radius: 0 0 20px 20px;
    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    -ms-border-radius: 0 0 20px 20px;
    -o-border-radius: 0 0 20px 20px;
    padding: 25px;
}

.role-list li:nth-child(2) {
    padding-top: 16px;
    padding-bottom: 29px;
}

.role-list li {
    cursor: pointer;
}

.role-list li p {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #FFFFFF;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}
.role-list li p:hover {
    color: rgba(63, 247, 72, 1);
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}
.role-list li.active p {
    color: rgba(63, 247, 72, 1);
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}
.role-list button {
    padding: 16px 36px;
    border-radius: 10px;
    border: 3px solid #FFFFFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 18px;
    text-align: left;
    color: #FFFFFF;
}

@keyframes fade {
    0% {
        opacity: 0;
        bottom: -1000px;
    }

    100% {
        opacity: 100%;
        bottom: 0;
    }
}

@keyframes fadeBot {
    0% {
        opacity: 0;
        bottom: -1000px;
    }

    100% {
        opacity: 100%;
        bottom: 200px;
    }
}

@keyframes fadeLeft {
    0% {
        opacity: 0;
        left: -100px;
    }

    100% {
        opacity: 100%;
        left: 40px;
    }
}

@keyframes fadeRight {
    0% {
        opacity: 0;
        right: -100px;
    }

    100% {
        opacity: 100%;
        right: 40px;
    }
}

@keyframes fadeZero {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

.dialog-window {
    position: absolute;
    bottom: 40px;
    width: 100%;
    height: auto;
    /* animation: .2s fade;
    -webkit-animation: .2s fade; */
}

.message {
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    padding: 60px 50px 40px 50px;
    height: auto;
    min-height: 250px;
    color: #ffffff;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
    animation: .2s fade;
    -webkit-animation: .2s fade;
    /* background-image: url('frame-dialog.png'); */
    background-image: url('../img/interactive/dialog-frame.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.message.daughter {
    background-image: url('../img/interactive/dialog-frame-child.png');
}

.message.son {
    background-image: url('../img/interactive/dialog-frame-child.png');
}

.message.introductory {
    background-image: url('../img/interactive/choise-frame.png');
}

.name {
    max-width: 320px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    color: #ffffff;
    position: absolute;
    left: 325px;
    bottom: 200px;
    animation: .2s fadeBot;
    -webkit-animation: .2s fadeBot;
    z-index: 4;
}

.name.daughter {
    left: 470px;
}

.name.son {
    left: 470px;
}

#choices {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: 450px;
    min-height: 360px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    z-index: 50;
    animation: .2s fade;
    -webkit-animation: .2s fade;
    background-image: url('../img/interactive/choise-frame.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    overflow: hidden;
}

.choice-btn {
    opacity: 100%;
    padding: 0 65px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    transition: .2s;
    position: relative;
}

.choice-btn:after {
    content: '';
    position: absolute;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-top: 3px dotted #F5ECDD;
    box-sizing: border-box;

}
.choice-btn:last-child::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}
.choice-btn:hover {
    transition: .2s;
    color: #3FF748;
}

.all-theme {
    position: absolute;
    right: 9px;
    top: 10px;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
    font-weight: 700;
    padding: 4px 11px 5px 11px;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    animation: .2s fadeZero;
    -webkit-animation: .2s fadeZero;
    z-index: 100;
}

.result {
    max-width: 450px;
    margin: 0 auto;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 60px 40px 60px;
    height: auto;
    min-height: 360px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
    animation: .2s fade;
    -webkit-animation: .2s fade;
    /*background-image: url('frame-dialog.png');
    */
    background-image: url('../img/interactive/result-frame.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.reboot-novell {
    border-bottom: 2px solid #FFFFFF;
    cursor: pointer;
}

.result div p {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    width: 100%;
    color: #ffffff;
}

.image-parents {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 50;
    width: 100%;
}

.image-parents img {
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.image-parents.mother {
    left: 40px;
    top: 30px;
    animation: .2s fadeLeft;
    -webkit-animation: .2s fadeLeft;
}

.image-parents.father {
    left: 5%;
    bottom: 0;
    animation: .2s fadeLeft;
    -webkit-animation: .2s fadeLeft;
}

.image-parents.daughter {
    right: 40px;
    max-width: 170px;
    height: 80%;
    top: 20%;
    object-position: right;
    animation: .2s fadeRight;
    -webkit-animation: .2s fadeRight;
}

.image-parents.son {
    right: 40px;
    max-width: 170px;
    height: 80%;
    top: 20%;
    animation: .2s fadeRight;
    -webkit-animation: .2s fadeRight;
}

.interactive-guide {}

@keyframes fadeLeftMobile {
    0% {
        opacity: 0;
        left: -1000px;
    }

    100% {
        opacity: 1;
        left: -30px;
    }
}

@media (max-width: 1240px) {
    .interactive-guide {
        max-width: 555px;
    }

    .image-parents.father {
        left: -30px;
        animation: .2s fadeLeftMobile;
        -webkit-animation: .2s fadeLeftMobile;
    }

    .interactive-guide__cover {
        height: 480px;
        object-fit: cover;
        width: 100%;
    }

    .interactive-guide__cover-1 {
        height: 480px;
        object-fit: cover;
        width: 100%;
    }

    .image-parents.mother {
        left: -30px;
        animation: .2s fadeLeftMobile;
        -webkit-animation: .2s fadeLeftMobile;
    }

    @keyframes fadeRight {
        0% {
            opacity: 0;
            right: -100px;
        }

        100% {
            opacity: 100%;
            right: 70%;
        }
    }

    .image-parents.son {
        right: -20px;
    }

    .image-parents.daughter {
        right: -20px;
    }

    .name {
        left: 185px;
    }

    .name.daughter {
        left: 325px;
    }

    .name.son {
        left: 325px;
    }

    #choices {
        left: 60%;
    }

    #choices button {
        font-size: 12px;
    }

    .result {
        width: 450px;
    }

    .message {
        font-size: 12px;
    }
}

@media (max-width: 950px) {
    .interactive-guide {
        max-width: 100%;
    }

    .image-parents.father {
        left: 30px;
        animation: .2s fadeLeftMobile;
        -webkit-animation: .2s fadeLeftMobile;
    }

    .interactive-guide__cover {
        height: 480px;
        object-fit: cover;
    }

    .interactive-guide__cover-1 {
        height: 480px;
        object-fit: cover;
    }

    .image-parents.mother {
        left: 30px;
        animation: .2s fadeLeftMobile;
        -webkit-animation: .2s fadeLeftMobile;
    }

    @keyframes fadeRight {
        0% {
            opacity: 0;
            right: -1000px;
        }

        100% {
            opacity: 100%;
            right: 0;
        }
    }

    .image-parents.son {
        right: 0;
        width: 170px;
        transform: scaleX(1);
        -webkit-transform: scaleX(1);
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        animation: .2s fadeRight;
        -webkit-animation: .2s fadeRight;
    }

    .image-parents.daughter {
        right: 0;
        width: 170px;
        transform: scaleX(1);
        -webkit-transform: scaleX(1);
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        animation: .2s fadeRight;
        -webkit-animation: .2s fadeRight;
    }

    .name {
        left: 0;
        right: 0;
        padding-left: 65px;
    }

    .name.daughter {
        left: 290px;
    }

    .name.son {
        left: 290px;
    }

    #choices {
        left: 50%;
    }

    .result {
        width: 450px;
    }
}

@media (max-width: 810px) {
    .image-parents.father {
        left: -30px;
        animation: .2s fadeLeftMobile;
        -webkit-animation: .2s fadeLeftMobile;
    }


    .image-parents.mother {
        left: -30px;
        animation: .2s fadeLeftMobile;
        -webkit-animation: .2s fadeLeftMobile;
    }


}

@media (max-width:675px) {
    #choices {
        background-image: url('../img/interactive/message-frame-mob.png');
        width: 350px;
        min-height: 400px;
        left: 60%;
    }

    .interactive-guide__cover {
        display: none;
    }

    .interactive-guide__cover-1 {
        display: none;
    }

    .message {
        background-image: url('../img/interactive/dialog-frame-mob.png');
        width: 350px;
        min-height: 400px;
        margin: 0;
        margin-left: calc(100% - 350px);
    }

    .name {
        width: 320px;
        margin-left: calc(100% - 285px);
        top: 5px;
        padding: 0;
        font-size: 16px;
    }

    .message.introductory {
        background-image: url('../img/interactive/message-frame-mob.png');
        margin: 0 auto;
        min-height: 400px;
    }

    .message.daughter {
        background-image: url('../img/interactive/dialog-frame-mob.png');
    }

    .message.son {
        background-image: url('../img/interactive/dialog-frame-mob.png');
    }

    .name.daughter {
        margin-left: calc(100% - 350px);
        padding-left: 70px;
        left: 0;
    }

    .name.son {
        margin-left: calc(100% - 350px);
        padding-left: 70px;
        left: 0;
    }

    .result {
        background-image: url('../img/interactive/result-frame-mob.png');
        max-width: 350px;
        padding: 0 70px 10px 70px;
        font-size: 12px;
    }

    .result div p {
        font-size: 12px;
    }

    .image-parents.daughter {
        right: 70%;
        transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        -moz-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        animation: .2s fadeLeft;
        -webkit-animation: .2s fadeLeft;
    }

    .image-parents.son {
        right: 70%;
        transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        -moz-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        animation: .2s fadeLeft;
        -webkit-animation: .2s fadeLeft;
    }
}

.interactive-guide__cover-main {
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.interactive-guide__cover-1-mobile {
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

@media (max-width: 500px) {
    #choices button {
        font-size: 12px;
    }

    .result div p {
        font-size: 12px;
    }

    .message {
        font-size: 12px;
        max-width: 300px;
        margin-left: calc(100% - 300px);
    }

    #choices {
        width: 300px;
        left: 65%;
    }

    .name {
        top: 15px;
        margin-left: calc(100% - 240px);
    }

    .name.daughter {
        margin-left: calc(100% - 240px);
        padding-left: 0;
        left: 0;
    }

    .name.son {
        margin-left: calc(100% - 240px);
        padding-left: 0;
        left: 0;
    }
}

@media (max-width: 442px) {
    .image-parents.father {
        left: -60px;
    }

    .image-parents.mother {
        left: -40px;
    }

    .image-parents.son {
        right: 65%;
    }

    .image-parents.daughter {
        right: 65%;
    }
    #novella-choise {
        width: 90%;
        margin: 0 auto;
    }
    #novell-start {
        font-size: 16px;
    }
    #role-selection {
        width: 90%;
        margin: 0 auto;
    }
    .parents-role h2 {
        font-size: 18px;
    }
    .role-list li p {
        font-size: 16px;
    }
    .role-list button {
        font-size: 16px;
    }
}

@media (max-width: 410px) {
    .image-parents.father {
        display: none;
    }

    .image-parents.mother {
        display: none;
    }

    .image-parents.son {
        display: none;
    }

    .image-parents.daughter {
        display: none;
    }

    .message {
        margin: 0 auto;
    }

    .name {
        margin: 0 auto;
        left: 0;
        right: 0;
        max-width: 300px;
        padding-left: 65px;
    }

    .name.daughter {
        margin: 0 auto;
        left: 0;
        right: 0;
        max-width: 300px;
        padding-left: 65px;
    }

    .name.son {
        margin: 0 auto;
        left: 0;
        right: 0;
        max-width: 300px;
        padding-left: 65px;
    }

    #choices {
        left: 50%;
    }
}