/* 在你的样式表顶部添加一个简单的 CSS Reset，以确保不同浏览器之间的一致性 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}





body{
    height: 100vh; /* 保证整个屏幕高度 */
    margin: 0; /* 可选：去除默认的 body 外边距 */
    background-image: url('picture/windows11wallpaper.webp'); /* 背景图片 */
    /*background-color: black;*/
    background-size: cover; /* 使背景图片覆盖整个屏幕 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
    font-family: Arial, sans-serif; /* 渲染文本时首选使用 Arial 字体，如果 Arial 不可用，则使用默认的 sans-serif 字体background-color: black; */
    display: flex;
    justify-content: center; /* 在flex容器中水平居中元素。这适用于元素的子元素 */
    align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
    flex-direction: column; /* 将子元素纵向排列 */
    /*flex-direction: row; !* 设置子元素左右排列 *!*/
}





#search_container{
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    height: auto;
    width: auto;
    display: flex;
    justify-content: center; /* 在flex容器中水平居中元素。这适用于元素的子元素 */
    align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
    flex-direction: column; /* 将子元素纵向排列 */
}
#search_box_container{
    /*border: 2px solid blue; !* 设置边框为2像素宽,蓝色 *!*/
    height: 55px;
    width: 600px;
    background-color: rgba(255, 255, 255, 0.6);  /* 设置白色 透明度为50% */
    border-radius: 30px; /* 可选：添加圆角 */
    display: flex;
    /*justify-content: center; !* 在flex容器中水平居中元素。这适用于元素的子元素 *!*/
    align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
}
#icon_and_xiala{
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    height: 55px;
    width: auto;
    margin-left: 30px;
    display: flex;
    /*justify-content: center; !* 在flex容器中水平居中元素。这适用于元素的子元素 *!*/
    align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
    cursor: pointer; /* 鼠标悬停的时候变成手掌 */
}
#current_search_engine_icon{
    /*border: 2px solid blue; !* 设置边框为2像素宽,蓝色 *!*/
    width: auto;
    height: 40%;
    cursor: pointer; /* 鼠标悬停的时候变成手掌 */
}
.rotate-180 {
    transform: rotate(180deg);
}
#xiala_select_button{
    /*border: 2px solid blue; !* 设置边框为2像素宽,蓝色 *!*/
    width: auto;
    height: 10%;
    margin-left: 10px;
    cursor: pointer; /* 鼠标悬停的时候变成手掌 */
}
#search_input{
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    height: 50%;
    width: 80%;
    margin-left: 10px;
    border: 0; /* 无边框 */
    background-color: rgba(255, 255, 255, 0);  /* 设置白色 透明 */
    outline: none; /* 可选：移除输入框的外边框 有外边框时，点击会有扩大的效果 */
    font-size: 16px; /* 设置字体大小为18像素，根据需要调整值 */
}
#search_button{
    width: auto;
    height: 40%;
    margin-left: 10px;
    margin-right: 30px;
    cursor: pointer; /* 鼠标悬停的时候变成手掌 */
}
#all_search_engine_container{
    /*border: 2px solid red; !* 设置边框为2像素宽 *!*/
    height: 85px;
    width: 600px;
    margin-top: 155px;
    /*margin-top: -9999px; !* 初始状态隐藏 *!*/
    background-color: rgba(255, 255, 255, 0.8);  /* 设置白色 透明度为50% */
    border-radius: 25px; /* 可选：添加圆角 */
    display: flex;
    /*justify-content: center; !* 水平居中 *!*/
    align-items: center; /* 垂直居中 */
    flex-direction: row; /* (默认)设置子元素横向排列 */
    position: absolute; /* 使用绝对定位 */
    visibility: hidden; /* 默认隐藏 */
    /*display: none; !* 默认隐藏 *!*/
}
.search_engine_container{
    /*border: 2px solid red; !* 设置边框为2像素宽,红色 *!*/
    height: 85px;
    /*width: 36px;*/
    margin-left: 21px;
    margin-right: 9px;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    flex-direction: column; /* 设置子元素纵向排列 */
    /*position: absolute; !* 使用绝对定位 *!*/
    /*display: none; !* 默认隐藏 *!*/
    cursor: pointer; /* 鼠标悬停的时候变成手掌 */
}
.search_engine_icon_container{
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    border-radius: 10px; /* 可选：添加圆角 */
    background-color: white;
    /*position: absolute; !* 使用绝对定位 *!*/
}
.search_engine_icon {
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    width: 65%;
    height: 65%;
}
#douyin_search_engine_icon{
    width: 100%;
    height: 100%;
}
#taobao_search_engine_icon{
    width: 100%;
    height: 100%;
}
#pinduoduo_search_engine_icon{
    width: 100%;
    height: 100%;
}
#zhihu_search_engine_icon{
    width: 100%;
    height: 100%;
}
#baidufanyi_search_engine_icon{
    width: 100%;
    height: 100%;
}
#bilibili_search_engine_icon{
    width: 100%;
    height: 100%;
}
.search_engine_description{
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    margin-top: 3px; /* 设置顶部外边距，即两个元素之间的上下距离 */
    /*margin-bottom: 0; !* 设置底部外边距，即两个元素之间的上下距离 *!*/
    color: black; /* 设置字体颜色 */
    font-size: 10px; /* 设置字体大小，根据需要调整值 */
}






#all_app_container{
    /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
    display: flex;
    justify-content: center; /* 在flex容器中水平居中元素。这适用于元素的子元素 */
    align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
    /*flex-direction: column; !* 将子元素纵向排列 *!*/
    /*flex-direction: row; !* 设置子元素左右排列 *!*/
    margin-top: 40px;
    flex-wrap: wrap; /* 如果你想显式设置换行，可以添加这行 */
    width: 1000px;
}
/*设置app_container类的属性*/
.app_container{
    background-color: transparent; /* 背景透明 */
    display: flex;
    flex-direction: column; /* 设置为列布局，使图标和文字上下排布 */
    align-items: center; /* 垂直居中对齐 */
    width: 64px;
    height: 86px;
    margin-top: 30px; /* 设置上边距为10像素 */
    margin-bottom: 30px;
    margin-left: 25px;
    margin-right: 25px;
    cursor: pointer; /* 鼠标悬停的时候变成手掌 */
}
/*设置鼠标悬停时候放大效果*/
.app_container:hover {
    transform: scale(1.2); /* 设置悬停时的缩放比例，可以根据需要调整 */
    transition: transform 0.3s ease-in-out; /* 添加过渡效果 */
}
/*设置app_icon_container类的属性*/
.app_icon_container{
    display: flex;
    align-items: center; /* 元素垂直居中 */
    justify-content: center; /* 元素水平居中 */
    width: 64px;
    height: 64px;
    border-radius: 18px; /* 可选：添加圆角 */
    background-color: transparent; /* 背景透明 */
}

/*分别设置各个app_icon_container的属性*/
#Laofoye_icon_container{
    background-color: transparent;
}
#ChatGPT_icon_container{
    background-color: white;
}
#Claude_icon_container{
    background-color: rgb(241, 239, 231);
}
/*#Gemini_icon_container{*/
/*    background-color: black;*/
/*    !*设置app_icon类的属性*!*/
/*}*/
#CCTV_icon_container{
    background-color: black;
}



.app_icon{
    width: 75%;
    height: 75%;
}
/*分别设置各个app_icon的属性*/
#bilibili_icon{
    width: 100%;
    height: 100%;
}
#douyin_icon{
    width: 100%;
    height: 100%;
}
#FREE_icon{
    width: 100%;
    height: 100%;
}
#baota_icon{
    width: 100%;
    height: 100%;
}
#Gemini_icon{
    width: 75%;
    height: auto;
}
#bianqian_icon{
    width: 100%;
    height: auto;
}
#Laofoye_icon{
    width: 102%;
    height: auto;
}
/*设置app_description类的属性*/
.app_description{
    margin-top: 5px; /* 设置顶部外边距，即两个元素之间的上下距离 */
    margin-bottom: 0; /* 设置底部外边距，即两个元素之间的上下距离 */
    color: white; /* 设置字体颜色为白色 */
    font-size: 12px; /* 设置字体大小，根据需要调整值 */
    white-space: nowrap; /* 设置文字不换行 */
}















@media (max-width: 600px) {
    #search_box_container{
        /*border: 2px solid blue; !* 设置边框为2像素宽,蓝色 *!*/
        height: 55px;
        width: 360px;
        background-color: rgba(255, 255, 255, 0.5);  /* 设置白色 透明度为50% */
        border-radius: 30px; /* 可选：添加圆角 */
        display: flex;
        /*justify-content: center; !* 在flex容器中水平居中元素。这适用于元素的子元素 *!*/
        align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
    }
    #all_search_engine_container{
        /*border: 2px solid red; !* 设置边框为2像素宽 *!*/
        height: 85px;
        width: 360px;
        margin-top: 155px;
        /*margin-top: -9999px; !* 初始状态隐藏 *!*/
        background-color: rgba(255, 255, 255, 0.8);  /* 设置白色 透明度为50% */
        border-radius: 25px; /* 可选：添加圆角 */
        display: flex;
        /*justify-content: center; !* 水平居中 *!*/
        align-items: center; /* 垂直居中 */
        flex-direction: row; /* (默认)设置子元素横向排列 */
        position: absolute; /* 使用绝对定位 */
        visibility: hidden; /* 默认隐藏 */
        /*display: none; !* 默认隐藏 *!*/
    }


    #baidufanyi_engine_container{
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }
    #douyin_engine_container{
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }
    #bilibili_engine_container{
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }
    #zhihu_engine_container{
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }





    #all_app_container{
        /*border: 2px solid #ff0000; !* 设置边框为2像素宽，红色 *!*/
        display: flex;
        justify-content: center; /* 在flex容器中水平居中元素。这适用于元素的子元素 */
        align-items: center; /* 在flex容器中垂直居中元素。这也适用于元素的子元素 */
        /*flex-direction: column; !* 将子元素纵向排列 *!*/
        /*flex-direction: row; !* 设置子元素左右排列 *!*/
        flex-wrap: wrap; /* 如果你想显式设置换行，可以添加这行 */
        margin-top: 15px;
        width: 390px;
    }
    /*设置app_container类的属性*/
    .app_container{
        background-color: transparent; /* 背景透明 */
        display: flex;
        flex-direction: column; /* 设置为列布局，使图标和文字上下排布 */
        align-items: center; /* 垂直居中对齐 */
        width: 60px;
        height: 80px;
        margin-top: 20px; /* 设置上边距为20像素 */
        margin-bottom: 0px;
        margin-left: 16px;
        margin-right: 16px;
        cursor: pointer; /* 鼠标悬停的时候变成手掌 */
    }
    /*设置鼠标悬停时候放大效果*/
    .app_container:hover {
        transform: scale(1.2); /* 设置悬停时的缩放比例，可以根据需要调整 */
        transition: transform 0.3s ease-in-out; /* 添加过渡效果 */
    }
    /*设置app_icon_container类的属性*/
    .app_icon_container{
        display: flex;
        align-items: center; /* 元素垂直居中 */
        justify-content: center; /* 元素水平居中 */
        width: 60px;
        height: 60px;
        border-radius: 18px; /* 可选：添加圆角 */
        background-color: white;
    }
    /*设置place占位不可见*/
    #place1_container {
        visibility: hidden;
        pointer-events: none;
    }
    #place2_container {
        visibility: hidden;
        pointer-events: none;
    }
    #place3_container {
        visibility: hidden;
        pointer-events: none;
    }

}


@media (min-width: 600px) {
    /*设置place占位不可见*/
    #place1_container {
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }
    #place2_container {
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }
    #place3_container {
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: -9999px; /* 将元素移动到屏幕之外，保证不占据空间 */
    }
}






.note {
    position: absolute;
    min-width: 300px;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
    box-sizing: border-box;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.note-header {
    cursor: move;
    color: rgba(255, 255, 255, 0); /* 设置为白色50%透明 */
    font-weight: bold;
    user-select: none; /* Prevent text selection during drag */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.note textarea {
    flex-grow: 1;
    border: none;
    outline: none;
    resize: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    padding: 20px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0); /* 设置为白色50%透明 */
}

.close {
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: url("icon/lajitong.png") no-repeat center center;
    background-size: cover;
    border-radius: 50%;
    font-size: 14px;
    margin-top: 6px; /* Add top margin */
    margin-right: 6px; /* Add right margin */
}

.add {
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: url("icon/tianjia.png") no-repeat center center;
    background-size: cover;
    border-radius: 50%;
    font-size: 14px;
    margin-top: 6px; /* Add top margin */
    margin-right: 6px; /* Add right margin */
}

.pin {
    cursor: pointer;
    width: 20px;
    height: 40px;
    background: url("icon/gongziding.svg") no-repeat center center;
    background-size: cover;
    font-size: 14px;
    position: absolute;
    top: -9px;
    left: 5px;
}


.resize-handle {
    width: 10px;
    height: 10px;
    background-color: white;
    position: absolute;
    z-index: 999;
    display: none; /* Hide by default */
}

.resize-handle.tl { top: -10px; left: -10px; cursor: nwse-resize; }
.resize-handle.tr { top: -10px; right: -10px; cursor: nesw-resize; }
.resize-handle.bl { bottom: -10px; left: -10px; cursor: nesw-resize; }
.resize-handle.br { bottom: -10px; right: -10px; cursor: nwse-resize; }
.resize-handle.tm { top: -10px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.resize-handle.mr { top: 50%; right: -10px; transform: translateY(-50%); cursor: ew-resize; }
.resize-handle.bm { bottom: -10px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.resize-handle.ml { top: 50%; left: -10px; transform: translateY(-50%); cursor: ew-resize; }


