* {
    font-family: 'Default', 'Microsoft YaHei', 'tahoma', 'arial';
    padding: 0;
    margin: 0;
}

/*html5*/
article,
aside,
dialog,
footer,
header,
section,
nav,
figure,
menu {
    display: block
}

/* 推荐加在全局样式文件 */
:root {
    box-sizing: border-box;
    /* 设置根元素的 box-sizing: border-box */
}

*,
*:before,
*:after {
    box-sizing: inherit;
    /* box-sizing 继承自父元素 */
}

@font-face {
    font-family: 'Default';
    src: url(fonts/Default.woff2);
}

@font-face {
    font-family: "三极素纤简体";
    src: url(fonts/三极素纤简体.ttf);
}

@font-face {
    font-family: 'Minecraft-Bold';
    src: url(fonts/Minecraft-Bold.otf)
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: center;
    padding: 10px;
    display: block;
    user-select: none;
}



h3 {
    color: rgb(204, 127, 140);
    border-bottom: solid 4px rgb(173, 171, 171);
}

dl {
    display: inline-block;
}

del {
    text-decoration-color: #000000;
    text-decoration-thickness: 8px;
}

br {
    user-select: none;
}

p {
    user-select: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
}

code {
    background-color: #BCB399;
}

button {
    display: block;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

/* 链接样式开始 */
a {
    text-decoration: none;
    transition: all 0.3s ease-in;
    padding: .6rem;
    display: inline-block;
    font-size: 18px;
    line-height: 27px;
}

a:link {
    color: skyblue;
}

a:visited {
    color: #BCB399;
}

a:hover {
    background: orange;
    border-radius: 0.6rem;
    color: white;
}

::selection {
    background: pink;
    color: #333;
}

::-moz-selection {
    background: pink;
    color: #333;
}

::-webkit-selection {
    background: pink;
    color: #333;
}

a::selection {
    color: white;
    background-color: skyblue;
}

span::selection {
    color: blue;
    background-color: red;

}
/* 链接样式结束 */
/*  备用背景
body {
   
            background-image: url("https://api.ghser.com/random/bg.php","https://www.dmoe.cc/random.php");
            background-size: cover;
            background-attachment: fixed;
            padding: 1em;         
}
 */