@import "assets/css/_lib";

.header_wrap {
    .header_group {
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        right: 0;
        height: 74px;
        padding: 0 20px;
        box-sizing: border-box;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 20;
    }
}

.logo {
    flex: 0 0 auto;
    margin-right: 16px;

    .link_logo {
        display: block;
        padding: 17px 0;
    }

    .ico_logo {
        overflow: hidden;
        width: 40px;
        height: 40px;
        margin-right: 12px;
        border-radius: 8px;
        vertical-align: top;
    }

    .name {
        font-family: 'Retorica', 'Barun';
        font-size: 28px;
        line-height: 40px;
    }
}

.gnb {
    display: flex;
    flex: 1 1 auto;
}

.search_area {
    position: relative;
    flex: 1 1 auto;
    margin: 19px 10px 0 0;
  
    .input_search {
        display: block;
        width: 100%;
        height: 36px;
        padding: 8px 52px 8px 16px;
        border: 1px solid #eee;
        border-radius: 18px;
        background: #eee;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 18px;
        outline: none;

        &::placeholder {
            color: #888;
        }

        &:focus {
            background-color: #fff;
            border: 1px solid #16dccf;
            color: #000;
        }
    }

    .btn_search {
        position: absolute;
        top: 0;
        right: 0;
        padding: 10px 16px;
    }

    .ico_search {
        vertical-align: top;
    }
}

.ico_share {
    width: 24px;
    height: 24px;
    margin-top: 5px;
    vertical-align: top;
}

.menu_list {
    white-space: nowrap;
    margin-top: 19px;

    .menu_item {
        position: relative;
        display: inline-block;
        vertical-align: top;

        .menu {
            display: block;
            padding: 0 20px;
            color: #888;
            font-size: 14px;
            line-height: 36px;
        }

        .btn_community {
            padding: 0 0 0 20px;
            color: #888;
            font-size: 12px;
            line-height: 36px;
            vertical-align: top;
            font-family: 'Retorica', 'Barun';
        }

        .ico_arr {
            width: 24px;
            height: 24px;
            margin-top: 5px;
            vertical-align: top;
        }

        .ly_community {
            position: absolute;
            top: 40px;
            right: 0;
            width: 200px;
            padding-top: 10px;
            border-radius: 12px;
            background-color: #fff;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
            z-index: 10;

            .dimmed {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
            }

            .community_list {
                position: relative;
                z-index: 1;
            }

            .link_community {
                display: block;
                padding: 0 16px;
                line-height: 42px;
                letter-spacing: -0.42px;
            }

            .link_community_number {
                display: block;
                padding: 0 16px;
                line-height: 20px;
                letter-spacing: -0.42px;
            }

            .community_sns {
                margin-top: 8px;
                text-align: center;
            }

            .link_sns {
                display: inline-block;
                padding: 8px 10px 16px;
                vertical-align: top;
            }

            .link_sns_u {
                display: inline-block;
                padding: 4px 10px;
                vertical-align: top;
            }

            .ico_sns {
                width: 24px;
                height: 24px;
                vertical-align: top;
            }

            .ico_sns_facebook {
                width: 21px;
                height: 21px;
                vertical-align: top;
            }
        }
    }
}

.btn_area {
    .link_activity {
        display: inline-block;
        padding: 25px 8px;
        vertical-align: top;
    }

    .link {
        display: inline-block;
        height: 36px;
        padding: 0 19px;
        margin: 19px 0 0 8px;
        border-radius: 18px;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 36px;
        vertical-align: top;
    }

    .link_make {
        color: #fff;
        background: rgb(249, 72, 160);
        background: linear-gradient(90deg, rgba(249, 72, 160, 1) 0%, rgba(120, 156, 187, 1) 70%, rgba(22, 220, 207, 1) 100%);
        font-size: 12px;
        font-family: 'Retorica', 'Barun';
    }

    .link_login {
        min-width: 76px;
        border: 1px solid #ddd;
        line-height: 34px;
        box-sizing: border-box;
        font-size: 12px;
        font-family: 'Retorica', 'Barun';
    }

    .btn_profile {
        width: 40px;
        height: 40px;
        margin: 17px 0 0 8px;
        border-radius: 8px;
        vertical-align: top;

        .img_profile {
            border-radius: 8px;
        }
    }
}