body {
    font-size: 18px;
    color: #6c767d;
    background-color: #ebf1f5;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    min-height: 800px;
}


/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/

::-webkit-scrollbar {
    width: 5px;
    /* height: 5px; */
    background-color: #F5F5F5;
}


/*定义滚动条轨道 内阴影+圆角*/

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}


/*定义滑块 内阴影+圆角*/

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

#main .aplayer {
    margin: 10px 0 !important;
}

h1 {
    font-size: 36px;
    margin-bottom: .5em;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
    margin-top: 1em;
}

h4 {
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    color: black;
}

.card {
    border: none;
    padding: 50px 30px 0px;
    border-radius: 0;
}

.container {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.my-card {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
}

strike {
    color: red;
}

.btn {
    border-radius: 0;
    margin: 0px 0;
    width: 100%;
    padding: 12px 40px;
    transition: ease;
}

.btn-primary {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
    padding: 12px 40px;
    transition: ease;
}

.btn-primary:hover {
    box-shadow: 5px -2px 15px 0px rgb(203, 221, 232);
}

.btn-secondary {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
    padding: 12px 40px;
    transition: ease;
}

.btn-secondary:hover {
    box-shadow: 5px -2px 15px 0px rgb(203, 221, 232);
}

.btn-success {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
    padding: 12px 40px;
    transition: ease;
}

.btn-success:hover {
    box-shadow: 5px -2px 15px 0px rgb(203, 221, 232);
}

.btn-info {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
    padding: 12px 40px;
    transition: ease;
}

.btn-info:hover {
    box-shadow: 5px -2px 15px 0px rgb(203, 221, 232);
}

.btn-warning {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
    padding: 12px 40px;
    transition: ease;
}

.btn-warning:hover {
    box-shadow: 5px -2px 15px 0px rgb(203, 221, 232);
}

.btn-danger {
    /* box-shadow: 0px 5px 15px 5px rgb(203, 221, 232); */
    padding: 12px 40px;
    transition: ease;
}

.btn-danger:hover {
    box-shadow: 5px -2px 15px 0px rgb(203, 221, 232);
}

.social {
    padding-left: 0;
}

.social p {
    margin-bottom: 0;
}

.social li {
    list-style: none;
    float: left;
    margin-right: 15px;
}

.card-text {
    margin-bottom: 20px;
}

.social .fa {
    font-size: 24px;
}

.photo-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

footer p {
    font-size: 12px;
}

#kaygb-blog-a,
#kaygb-mail-a {
    display: none;
}

@media (max-width: 1199px) {
    body {
        min-height: 600px;
    }

    h1 {
        font-size: 24px;
    }

    h2,
    .social .fa {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    h4,
    p {
        font-size: 14px;
    }

    .card {
        padding: 50px 50px 0px;
    }
}

@media (max-width: 1199px) {
    .photo-bg {
        min-height: calc(100vh - 500px);
    }
}

@media(max-width:991px) {
    .photo-bg {
        background-position: top;
        min-height: calc(90vh - 440px);
    }
}

@media(max-width: 767px) {
    .container {
        position: relative;
        top: 0;
        transform: translateY(0);
    }

    .photo-bg {
        height: 180px;
    }

    .card {
        padding: 20px;
    }

    #kaygb-blog-a,
    #kaygb-mail-a {
        display: block;
    }

    #kaygb-blog,
    #kaygb-mail {
        display: none;
    }
}

#frame {
    width: 50%;
    height: 50vh;
    margin: 0;
    background: #fff;
    position: fixed;
    z-index: 999;
    top: 5%;
    left: 5%;
}

#aplayer {
    z-index: 20000000;
}

/* 重置默认样式 */
body {
    margin: 0;
    /* 边距为0 */
    padding: 0;
    /* 内边距为0 */
    font-family: sans-serif;
    /* 字体为sans-serif */
    position: relative;
    /* 位置为相对位置 */
    height: 100vh;
    /* 高度为视口高度的100% */
}

/* 导航按钮样式 */
#nav {
    position: absolute;
    /* 位置为绝对位置 */
    bottom: 5px;
    /* 底部距离为0 */
    right: 20px;
    /* 右边距为25像素 */
    z-index: 1;
    /* 按钮的z轴层级为1，即在其他元素之上 */
    padding: 15px;
    /* 内边距为15像素 */
    background-color: rgba(136, 136, 136, .0);
    /* 背景颜色为灰色，alpha值为0，即透明 */
    color: #333;
    /* 字体颜色为深灰色 */
    cursor: pointer;
    /* 鼠标移动到按钮上时显示手形光标 */
    border: none;
    /* 没有边框 */
    border-radius: 0 0 0 0;
    /* 边框的四个角都为直角 */
    outline: none;
    /* 没有轮廓线 */
}

/* 导航按钮悬停样式 */
#nav:hover {
    background-color: rgba(136, 136, 136, .3);
    /* 背景颜色为灰色，alpha值为0.3，即半透明 */
    transform: translateY(-10px);
    /* 上移10像素 */
}

/* 导航菜单样式 */
#nav-menu {
    display: none;
    /* 最初不可见 */
    position: fixed;
    /* 位置为固定位置 */
    bottom: 50px;
    /* 底部距离为50像素 */
    right: 20px;
    /* 右边距为25像素 */
    z-index: 1;
    /* 菜单的z轴层级为1，即在其他元素之上 */
    padding: 15px;
    /* 内边距为15像素 */
    background-color: rgba(136, 136, 136, .5);
    /* 背景颜色为灰色，alpha值为0.5，即半透明 */
    color: #333;
    /* 字体颜色为深灰色 */
    cursor: pointer;
    /* 鼠标移动到菜单上时显示手形光标 */
    border-radius: 0 0 0 0;
    /* 边框的四个角都为直角 */
    text-align: right;
    /* 文字右对齐 */
    overflow: auto;
    /* 超出菜单高度时自动添加滚动条 */
    max-height: 85%;
    /* 菜单的最大高度为视口高度的85% */
}

/* 导航菜单链接样式 */
#nav-menu a {
    display: block;
    /* 将菜单项设置为块级元素 */
    text-align: center;
    /* 居中对齐文本 */
    padding: 5px;
    /* 设置菜单项的内边距 */
    color: red;
    /* 设置菜单项的文本颜色 */
    text-decoration: none;
    /* 去除菜单项的下划线 */
    font-weight: bold;
    /* 设置菜单项的文本加粗 */
    font-size: 18px;
    /* 设置菜单项的文本大小 */
}