@font-face {
	font-family: 'Roboto';
	src: url('font/Roboto-Regular.ttf') format('truetype');
}

html,
body {
    height: 100%;
}

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    /* align-items: center; */
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    /*background-color: #f5f5f5;*/
}

select {
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-right: none;
}

.form-signin {
    width: 300%;
    /* max-width: 600px; */
    padding: 15px;
    /* margin-top: -10%;
    margin-bottom: -10%; */
}
.form-signin .checkbox {
    font-weight: 400;
}
.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* 基本按钮样式 */
.custom-button {
    display: inline-block;
    /* padding: 10px 15px; */
    padding: 8px;
    background-color: #ffffff;
    /* border: 1px solid #f8f9fa; */
    color: #3c4043;
    text-decoration: none; /* 移除链接下划线 */
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Robato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px; /* 增大字号 */
    /* font-weight: bold; */
    box-shadow: 0 0 7px #3c4043;
    margin: 7px;
}

/* 悬停时的按钮样式 */
.custom-button:hover {
    background-color: #3c4043;
    text-decoration: none; /* 移除链接下划线 */
    color: #ffffff;
}

/* 添加阴影效果 */
.custom-button::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s;
}

.custom-button:hover::before {
    transform: scaleY(1);
}

/* 添加图标元素 */
.custom-button .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    /* background-color: #3c4043; */
    margin-right: 10px; /* 调整图标与文本之间的间距 */
    position: relative;
    /* transition: background-color 0.3s; */
}

.category {
    margin-bottom: 10px;
}

.category-header {
    cursor: pointer;
    background-color: #f1f1f1;
    margin: 10px 10px 0 10px;
    padding: 10px;
    /* border: 1px solid #ddd; */
    font-size: 30px;
    font-family: 'Robato', Georgia, 'Times New Roman', Times, serif;
    transition: background-color 0.3s;
}

.category-header:hover {
    background-color: #e0e0e0;
}

.category-content {
    display: block;
    margin: 0 10px 10px 10px;
    padding: 10px;
    border: 1px solid #ddd;
}

body {
	font-family: 'Robato' !important;
}