@import "/UI/Style.scss";

$document-primary: #c9a86f;
$document-secondary: #8e5338;
$document-tertiary: #674d39;

Credits {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: $font-main;
    transition: all 0.5s ease-out;

    >.left {
        width: 25%;
        height: 100%;
        background-color: $gray-darker;
        padding: 50px 30px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 34px;
        color: $white;
        justify-content: space-between;

        >.info {
            flex-direction: column;
            width: 100%;
            align-items: center;

            >.logo {
                background-size: contain;
                background-repeat: no-repeat;
                height: 150px;
                width: 350px;
            }

            >.discord {
                font-size: 28px;
                color: $white-dark;
                padding-top: 5px;
            }
        }

        >.devs {
            width: 100%;
            height: 65%;
            justify-content: center;
            flex-direction: column;
            align-items: center;

            >.members {
                padding-top: 30px;
                flex-direction: column;
                align-items: center;
                gap: 20px;

                >.member {
                    flex-direction: column;
                    align-items: center;
                    transition: transform 0.1s ease-out;

                    >.name {
                        font-size: 30px;
                    }

                    >.role {
                        color: $white-dark;
                        font-size: 24px;
                    }

                    &.selected {
                        >.name {
                            color: $gold;
                        }

                        >.role {
                            color: $score;
                        }
                    }

                    &:hover {
                        cursor: pointer;
                        transform: scale(1.05);
                        sound-in: 'hover';
                    }

                    &:active {
                        transform: scale(1.0);
                        sound-in: 'light_click';
                    }
                }
            }

            >.buttons {
                padding-top: 60px;
                align-items: center;
                gap: 20px;

                >div {
                    width: 75px;
                    justify-content: center;
                }

                >button {
                    height: 40px;
                    width: 70px;
                }
            }
        }
    }

    >.right {
        flex-grow: 1;
        height: 100%;
        background-color: #000000d7;
        justify-content: center;
        align-items: center;
        font-size: 48px;
        width: 100%;
        justify-content: center;

        >.document {
            flex-direction: column;
            width: 80%;

            >.tab {
                height: 100px;
                width: 400px;
                background-color: $document-primary;
                box-shadow: 20px 20px 0px $document-secondary;
                align-items: center;
                justify-content: center;
                align-self: flex-start;
                color: $document-secondary;
            }

            >.body {
                position: relative;
                height: 700px;
                color: $document-secondary;
                background-color: $document-primary;
                box-shadow: 20px 20px 0px $document-secondary;
                flex-direction: column;
                padding: 0px 100px;

                >.top {
                    height: 55%;
                    width: 100%;

                    >.profile {
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        margin-right: 40px;
                        font-size: 28px;

                        >.profile-image {
                            position: relative;
                            height: 250px;
                            aspect-ratio: 1;
                            border: 10px $document-secondary;
                            justify-content: center;
                            align-items: center;
                            margin-bottom: 10px;

                            .tape {
                                width: 30px;
                                background-color: rgba(255, 255, 255, 0.3);
                                position: absolute;
                                z-index: 20;
                            }

                            .top {
                                height: 100px;
                                left: 15px;
                                top: -15px;
                                transform: rotate(50deg);
                            }

                            .bottom {
                                height: 90px;
                                left: 175px;
                                top: 150px;
                                transform: rotate(30deg);
                            }

                            img {
                                border: 10px #ffedcb;
                                transform: rotate(1.2deg);
                                height: 215px;
                                aspect-ratio: 1;
                            }
                        }
                    }

                    >.profile-info {
                        margin-top: 40px;
                        gap: 25px;
                        flex-direction: column;

                        >.section {
                            flex-direction: column;
                            line-height: 28px;
                            text-transform: uppercase;

                            >.title {
                                font-size: 28px;
                            }

                            >.subtitle {
                                font-size: 40px;
                                color: $document-tertiary;
                            }

                            >.id {
                                font-size: 34px;
                                color: $document-secondary;
                            }
                        }
                    }

                    >.classified {
                        position: absolute;
                        font-size: 32px;
                        right: 90px;
                        top: 80px;
                        flex-direction: column;
                        align-items: center;
                        border: 8px $document-secondary;
                        line-height: 22px;
                        padding: 10px 55px;
                        transform: rotate(-10);
                    }
                }

                >.bottom {
                    justify-content: center;
                    align-items: center;

                    .left {
                        width: 50%;
                        height: 100%;
                        flex-direction: column;
                        justify-content: flex-start;
                        align-items: flex-start;

                        .contribution {
                            align-self: flex-start;
                            font-size: 32px;
                            color: $document-tertiary;
                        }
                    }

                    .right {
                        width: 50%;
                        height: 100%;
                        flex-direction: column;
                        justify-content: flex-start;
                        align-items: flex-start;

                        .quote {
                            border: 4px $document-secondary;
                            padding: 20px 20px;
                            font-size: 30px;
                        }
                    }

                    .title {
                        color: $document-primary;
                        background-color: $document-secondary;
                        padding: 3px 50px;
                        margin-bottom: 10px;
                        font-size: 32px;
                    }
                }
            }
        }

        >.close {
            position: absolute;
            top: 70px;
            right: 70px;
        }
    }
}