@import url('/css/common.css');

#body-desktop {
    width: calc(100% - 2 * 30px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;

    #top-div {
        width: 100%;
        margin-top: 30px;

        #top-slider-div {
            width: 100%;
            aspect-ratio: 1000/350;

            overflow: hidden;
            border-radius: 15px;

            position: relative;

            #top-slider-container {
                transition: 0.3s;
                height: 100%;

                display: flex;
                flex-direction: row;

                .top-slider-item {
                    width: 100%;
                    height: 100%;
                    flex-grow: 1;
                    flex-shrink: 0;

                    background-size: cover;
                    background-position: center;
                }
            }

            .circle-container {
                position: absolute;
                left: 20px;
                top: 20px;
            }
            

            #top-slider-arrow-left {
                position: absolute;
                top: calc((100% - 40px)*0.5);
                left: 30px;
            }

            #top-slider-arrow-right {
                position: absolute;
                top: calc((100% - 40px)*0.5);
                right: 30px;
            }

            .top-slider-arrow {
                width: 40px;
                height: 40px;
                cursor: pointer;
            }

            .top-slider-arrow:hover {
                opacity: 0.8;
            }


        }
    }

    #middle-div {
        width: 100%;
        margin-top: 30px;

        #middle-top-div {
            display: flex;
            flex-direction: row;

            position: relative;

            #middle-top-title {
                font-weight: 700;
                font-size: 30px;
            }

            #middle-top-arrow-container {
                position: absolute;
                right: 0;

                display: flex;
                flex-direction: row;
                gap: 10px;

                .middle-top-arrow {
                    width: 30px;
                    height: 30px;
                    img {
                        width: 100%;
                        height: 100%;
                        cursor: pointer;
                    }
                }

                .disabled {
                    img {
                        cursor:not-allowed;
                        opacity: 0.3;
                    }
                }
            }
        }

        #middle-slider-div {
            width: 100%;
            overflow: hidden;
            margin-top: 15px;

            #middle-slider-container {
                display: flex;
                flex-direction: row;

                transition: 0.3s;

                .middle-slider-box {
                    width: 100%;
                    flex-grow: 1;
                    flex-shrink: 0;

                    display: flex;
                    flex-direction: row;
                    gap: 15px;

                    .middle-slider-item {
                        width: 25%;

                        .middle-slider-item-image-div {
                            height: 180px;
                            border-radius: 15px;
                            overflow: hidden;
                            position: relative;

                            background-size: cover;
                            background-position: center;

                            .middle-slider-item-image-flair {
                                position: absolute;
                                bottom: 0;
                                left: 0;

                                color: white;
                                padding: 10px 20px;

                                font-size: 17px;

                                border-top-right-radius: 15px;
                                border-bottom-right-radius: 15px;
                            }
                        }

                        .middle-slider-item-title {
                            font-size: 15px;
                            margin-top: 15px;
                            cursor: pointer;
                        }

                        .middle-slider-item-title:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
    }

    #bottom-div {
        width: 100%;
        margin-top: 30px;
        padding-bottom: 50px;

        #bottom-title-div {
            font-size: 30px;
            font-weight: 700;


        }

        #bottom-top-div {
            width: 100%;
            margin-top: 15px;

            display: flex;
            flex-direction: row;
            gap: 15px;

            #bottom-top-left-div {
                width: 50%;

                border: 4px solid #00000027;
                border-radius: 15px;
                box-sizing: border-box;
                padding: 20px 20px;

                #bottom-top-left-top-div {
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    align-items: end;

                    gap: 10px;
                    position: relative;

                    .selected {
                        color: var(--eliteBlue) !important;
                        font-weight: 700 !important;
                    }

                    #bottom-top-left-top-info, #bottom-top-left-top-notice {
                        font-size: 21px;
                        font-weight: 500;
                        color: #00000097;
                        cursor: pointer;
                    }

                    #bottom-top-left-top-seeAll {
                        position: absolute;
                        right: 0;
                        cursor: pointer;
                        color: #00000097;
                    }


                }

                #bottom-top-left-bottom-div {
                    margin-top: 20px;
                    .bottom-notice-item {
                        height: 30px;
                        display: flex;
                        flex-direction: row;
                        gap: 10px;

                        .bottom-notice-point {
                            color: var(--eliteBlue);
                            font-weight: 700;
                            width: 10px;
                        }

                        .bottom-notice-title {
                            font-size: 16px;
                            cursor: pointer;
                            width: calc(100% - 10px - 100px);

                            white-space: nowrap;
                            text-overflow: ellipsis;
                            overflow: hidden;
                        }

                        .bottom-notice-title:hover {
                            text-decoration: underline;
                        }

                        .bottom-notice-date {
                            font-size: 14px;
                            color: #00000097;
                            width: 100px;
                            text-align: end;
                        }
                    }
                }
            }

            #bottom-top-right-div {
                width: 50%;
                aspect-ratio: 490/230;
                background-size: cover;
                background-position: center;

                border-radius: 15px;
                overflow: hidden;
            }
        }

        #bottom-bottom-div {
            width: 100%;
            margin-top: 15px;

            display: flex;
            flex-direction: row;
            gap: 15px;

            #bottom-bottom-left-div {
                width: 50%;
                border-radius: 15px;
                background-color: var(--bgColor);

                display: flex;
                flex-direction: row;
                align-items: center;

                box-sizing: border-box;
                padding: 20px 20px;

                .bottom-bottom-left-item {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;

                    img {
                        width: 50px;
                        opacity: 0.6;
                    }

                    .bottom-bottom-left-title {
                        font-size: 17px;
                        margin-top: 15px;
                    }
                }

                .bottom-bottom-left-item-middle {
                    border-left: 1px solid #00000027;
                    border-right: 1px solid #00000027;
                }


            }

            #bottom-bottom-right-slider-div {
                width: 50%;
                aspect-ratio: 490/150;

                overflow: hidden;
                border-radius: 15px;
    
                position: relative;
    
                #bottom-bottom-right-slider-container {
                    transition: 0.3s;
                    height: 100%;
    
                    display: flex;
                    flex-direction: row;
    
                    .bottom-bottom-right-slider-item {
                        width: 100%;
                        height: 100%;
                        flex-grow: 1;
                        flex-shrink: 0;
    
                        background-size: cover;
                        background-position: center;
                    }
                }

                .circle-container {
                    position: absolute;
                    right: 20px;
                    top: 20px;
                }
            }
        }
    }
}


.circle-container {
    display: flex;
    flex-direction: row;
    gap: 5px;

    .circle {
        width: 10px;
        height: 10px;
        background-color: #00000020;
        cursor: pointer;
        border-radius: 10px;
    }

    .circle-selected {
        background-color: #00000070;
    }
}


.flair-blue {
    background-color: var(--eliteBlue);
}

.flair-orange {
    background-color: var(--eliteOrange);
}