
* {
    margin: 0;
    padding: 0;
    font-family: Montserrat;
    font-weight: 400;
}
a{
    text-decoration: none;
    color: #fff;
}

/* 白色主题 */
:root {
    --color-menu-bg: rgba(22, 93, 192, 0.8);
    --font-color-mi: #fff;
    --font-color-mi-hover: #fff;
    --color-bg-mi-hover: rgba(242, 0, 250, 0.6);
    --border-radius-mi: 2px;
    --transition-menu-time: 0.2s;
    --color-line-bg: rgba(255, 255, 255, 0.70);
}


.content {
    background-image: linear-gradient(to bottom right,
            rgba(23, 105, 218,1), rgba(46, 161, 255, 1), rgba(242, 0, 250, 0.7));
    min-height: 100vh;
    width: 100%;
}


.menu-box {
    vertical-align: top;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    width: fit-content;
    min-height: 100vh;
    padding: 6px 12px;
    box-sizing: border-box;
    background-color: var(--color-menu-bg);
    box-shadow: 0px 0px 6px 0px rgba(14, 14, 99, 0.575);
}

.menu-box input[type='checkbox'] {
    display: none;
}

.menu-box>label {
    position: absolute;
    top: 48%;
    right: 0;
    transform: translateX(50%);
    width: 20px;
    height: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px #000;
    background-color: var(--color-menu-bg);
    color: var(--font-color-mi);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.menu-box>label>i {
    font-weight: 900;
    text-indent: -3px;
    font-size: 20px;
    transition: transform var(--transition-menu-time);
    transform: rotate(0deg);
}

.menu-box>label:hover {
    box-shadow: 0px 0px 2px 0px #000;
    color: var(--font-color-mi-hover);
}

.menu-box>input#menu-btn:checked+label>i {
    transform: rotate(180deg);
}

.menu {
    font-size: 1.1vw;
    width: 18vw;
    min-height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: width var(--transition-menu-time);
    color: var(--font-color-mi);
    
}

.menu-box>input#menu-btn:checked~.menu {
    width: 0;
}

.menu-title {
    text-align: center;
    margin-bottom: 1.4vh;
}

.menu-item>label{
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: var(--border-radius-mi);
    display: flex;
    align-items: center;
}

.menu-item>label:hover {
    color: var(--font-color-mi-hover);
    
}

.menu-item>label>i:first-child {
    flex: none;
    margin-right: 6px;
    font-size: 24px;
}

.menu-item>label>span {
    flex: 1;
}

.menu-item>label>i:last-child {
    flex: none;
    font-size: 20px;
    font-weight: 900;
    transform: rotate(0deg);
    transition: transform var(--transition-menu-time);
}

.menu-item>input:checked+label>i:last-child {
    transform: rotate(180deg);
}

.menu-content {
    height: 0;
    overflow: hidden;
    transition: height var(--transition-menu-time);
    display: flex;
    flex-wrap: wrap;
    background-color: transparent;
}

/* 选项，若 n 项，就 n * 40px */
.menu-item>input#menu-item1:checked~.menu-content {
    height: calc(4 * 5.8vh);
}

.menu-item>input#menu-item2:checked~.menu-content {
    height: calc(3 * 5.8vh);
}


.menu-content span {
    display: inline-block;
    width: 100%;
    text-indent: 20px;
    line-height: 40px;
    border-radius: var(--border-radius-mi);
    font-weight: 300;
}

.menu-content a span{
    display: inline-block;
    width: 18vw;
    text-indent: 20px;
    line-height: 5.8vh;
    border-radius: var(--border-radius-mi);
    font-weight: 300;
} 
.menu-content span:hover {
    background-color: var(--color-bg-mi-hover);
    color: var(--font-color-mi-hover);
    font-weight: 700;
}

.set-line {
    margin: 20px 0 10px 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-line-bg);
}

.menu-itemhome a{
    text-decoration: none;
    color: var(--font-color-mi);
    font-size: 16px;
}

.menu-itemhome span:hover{
    color: var(--font-color-mi-hover);
    font-weight: 700;
}

.leftbox{
    animation: anim 0.8s;
    display: inline-block;
    margin: 4vh 1vw 0px 4vw;
    vertical-align:top;
}
    
.leftbox h2{
    color: #fff;
    font-size: 5.2vh;
    font-weight: 600;
}
.leftbox h6{
    color: #fff;
    font-size: 2vh;
    font-weight: 300;
    text-align: right;
    
    font-style: italic;
}
#h61{
    position: fixed;
    font-size: 2vh;
    bottom: 5vh;
    right:3vw;
}
#h62{
    position: fixed;
    font-size: 2vh;
    bottom: 2vh;
    right:3vw;
}

.leftbox h2 a{
    font-size: 5.2vh;
    font-weight: 600;
}
.leftbox h2 a:hover{
    text-decoration: underline;
}


@keyframes anim { 
	0% {opacity: 0;}
	100%{opacity:1;}
}

.main-pic{
    width:70vw;
    color: white;
    font-size: 2.8vh;
    text-align: lef;
    text-indent: 2em;
   
    margin-bottom: 2vh;
    margin-top: 0.7vh;
    background-color: transparent;
    padding: 1.5vh;
    border-radius: 20px;
    line-height: 4.6vh;
}

.main-pic p{
    margin-top: 0.8vh;
    font-weight: 300;
}
.main-pic p i{
    font-weight: 500;
    font-style: normal;
    color: rgb(253, 204, 99);
}

#l2-ls{
    text-decoration: underline;
    font-weight: 600;
    color: #ffc851;
}

#l2-ls:hover{
background-color: transparent;
}
