@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    font-family: "DIY font";
    transition: all 0.2s;
}

p{
    font-weight: 600;
}
body{
    background-color: #094295;
    /* 禁止鼠标选择文字 */
    user-select: none; 
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;    /* Chrome, Safari 3 */
    -khtml-user-select: none;     /* Konqueror HTML */
    -moz-user-select: none;       /* Firefox */
    -ms-user-select: none;        /* Internet Explorer/Edge */
    user-select: none;            /* Non-prefixed version, currently supported by Chrome, Opera, and Firefox */

}
#tbgg{
    width: 200px;
    height: 200px;
}

#tbgg{
    display: block;
    width: 100%;
    height: 520px;
}
/* 定义主盒子 */
#main-box{
    /* 让盒子居中 */
    margin: 0 auto;
}

/* 定义顶部头像及名称、介绍部分 */
#head{
    background-color: #81a7e6;
    padding: 10px 0 ;
    border-radius: 35px;
    box-shadow: inset 5px 5px 10px #bebebe,
                inset -5px -5px 10px #ffffff;
}


/* 下载按钮样式修改 */
.anniu{
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;

}

.xzanniu{
    text-decoration: none;
    color: white;
    background-color: #0b59c0;
    border-radius: 16px;
    padding: 10px;
    font-weight: 600;
}

/* 定义示例图一样式 */
#sltu1{
    /* 定义头像的高和宽 */
    height: 260px;
    width: 250px;
    /* 让头像变成圆的 */
    border-radius: 0%;
    /* 将图片转换为块元素并居中 */
    display: block;
    margin: 0 auto;
    /* 定义图片默认旋转速度 */
    transition: all 0.5s;
    -ms-transition: all 0.5s;
    -moz-transition: all 1s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    /* 头像呼吸灯 */
    animation: light 4s ease-in-out infinite;
    border-radius: 35px;
}

/* 定义示例图二样式 */
#sltu2{
    /* 定义头像的高和宽 */
    height: 300px;
    width: 260px;
    /* 让头像变成圆的 */
    border-radius: 0%;
    /* 将图片转换为块元素并居中 */
    display: block;
    margin: 0 auto;
    /* 定义图片默认旋转速度 */
    transition: all 0.5s;
    -ms-transition: all 0.5s;
    -moz-transition: all 1s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    /* 头像呼吸灯 */
    animation: light 4s ease-in-out infinite;
    border-radius: 35px;
}

/* 定义示例图三样式 */
#sltu3{
    /* 定义头像的高和宽 */
    height: 400px;
    width: 260px;
    /* 让头像变成圆的 */
    border-radius: 0%;
    /* 将图片转换为块元素并居中 */
    display: block;
    margin: 0 auto;
    /* 定义图片默认旋转速度 */
    transition: all 0.5s;
    -ms-transition: all 0.5s;
    -moz-transition: all 1s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    /* 头像呼吸灯 */
    animation: light 4s ease-in-out infinite;
    border-radius: 35px;
}


/* 呼吸灯颜色变化 */
@keyframes light {
   0% {
        box-shadow: 0 0 4px #f00;
    }

    25% {
        box-shadow: 0 0 16px #0f0;
    }

    50% {
        box-shadow: 0 0 4px #00f;
    }
    
    75% {
        box-shadow: 0 0 16px #0f0;
    }

    100% {
        box-shadow: 0 0 4px #f00;
    }
}
/* 当鼠标放到图片上时进行旋转 */
/*#touxiang:hover{
    transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transform: scale(0.9) rotate(720deg);
}*/

/* 定义昵称样式 */
#nick{
    margin-bottom: 8px;
    text-align: center;
    font-size: 18px;
}

/* Main-1 开源作品 */
#main-1{
    margin-top: 20px;
    height: 320px;
    width: 226px;
    border-radius: 35px;
    background: #81a7e6;
    box-shadow: inset 5px 5px 10px #bebebe,
                inset -5px -5px 10px #ffffff;
    float: left;
    margin-right: 30px;
    padding-bottom: 10px;
}

/* Main-2 个人信息 */
#main-2{
    margin-top: 20px;
    height: 480px;
    width: 226px;
    border-radius: 35px;
    background: #81a7e6;
    box-shadow: inset 5px 5px 10px #bebebe,
                inset -5px -5px 10px #ffffff;
    float: left;
    margin-right: 30px;
    padding-bottom: 10px;
}

#main-2 div{
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.fzanniu{
    border: none;
    width: 150px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #0b59c0;
    color: white;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 900;
}

/* Main-3 个人网站 */
#main-3{
    margin-top: 20px;
    height: 480px;
    width: 226px;
    border-radius: 35px;
    background: #81a7e6;
    box-shadow: inset 5px 5px 10px #bebebe,
                inset -5px -5px 10px #ffffff;
    float: left;
    margin-right: 30px;
    padding-bottom: 10px;
}
#main-4{
    margin-top: 20px;
    height: 230px;
    width: 226px;
    border-radius: 35px;
    background: #81a7e6;
    box-shadow: inset 5px 5px 10px #bebebe,
                inset -5px -5px 10px #ffffff;
    float: left;
    margin-right: 30px;
}

/* 页脚样式 */
#footer{
    height: 30px;
    width: 100%;
    background-color: red;
    float: left;
    border-radius: 35px;
    background: #e0e0e0;
    box-shadow: inset 5px 5px 10px #bebebe,
                inset -5px -5px 10px #ffffff;
    padding-top: 8px;
    margin-top: 10px;
    text-align: center;
}

a{
    text-decoration: none;
    color: #03A9F4;
    transition: all 0.5s;
}
a:hover{
    color: orange;
    transition: all 0.5s;
}

/* 定义Main-1 和 Main-3 的标题样式 */
.title{
    text-align: center;
    margin:0 auto;
    margin-top: 11px;
    font-size: 18px;
    margin-bottom: 10px;
}

/* 定义卡片框架 */
.kapian{
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow:  5px 5px 10px #bebebe,
                -5px -5px 10px #ffffff;
    height: 70px;
    width: 180px;
    line-height: 70px;
    transition: all 0.5s;
}
/* 更改卡片内容标题样式 */
.kapian-title{
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding: 0px 10px;
    font-size: 17px;
}
.kapian:hover{
    box-shadow: #616161 0 3px 10px;
    transform:translate(calc(0px), calc(0px - 5px)); /* 上浮效果 */
    transition: all 0.5s;
}

/* 适配手机端 */
@media only screen and (max-width: 639px) {
    /* 定义主盒子 */
    #main-box{
        height: 1100px;
        width: 320px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    /* 定义一段文字样式 */
    #info{
        padding-left: 10px;
        padding-right: 10px;
    }
    /* Main-1 开源作品 */
    #main-1{
        width: 320px;
        border-radius: 35px;
        margin-right: auto;
        margin-left: auto;
    }
    /* Main-2 个人信息 */
    #main-2{
        width: 320px;
        margin-right: auto;
        margin-left: auto;
    }
    /* Main-3 个人网站 */
    #main-3{
        width: 320px;
        margin-right: auto;
        margin-left: auto;
    }
    #main-4{
        width: 320px;
        margin-right: auto;
        margin-left: auto;
    }
}
.yanse{
    color: red;
    font-size: 30px;
}
.tis{
    color: #FFFF00;
}
.zhus{
    margin-top: 10px;
    color: rgb(202, 45, 45);
    font-size: 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}