@font-face {
    font-family: 'Courgette';
    font-style: normal;
    font-weight: 400;
    src: local('Courgette Regular'), local(Courgette-Regular), url(/font/courgette2.woff2) format('woff2');
}
html, body{
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 18px;
    display: flex;
    flex-direction: column;
}
blockquote{
    font-family: Arial,"Microsoft Yahei","PingFang SC";
    line-height: 1.3em;
}
/*-++-++++=-++---+-=-++++---=-++++--+=-++++-+-=--+-+++-=-++---++=-++-++++=-++-++-+*/
header{
    display: flex;
    background-image: linear-gradient(to top, #37ecba 0%, #72afd3 100%);
}
.obhome header{
    background-image: linear-gradient(-60deg, #16a085 0%, #f4d03f 100%);
}
.obfe header{
    background-image: linear-gradient(-60deg, #16a085 30%, #f4d03f 100%);
}
.obda header{
    background-image: linear-gradient(-60deg, #16a085 40%, #f4d03f 100%);
}
.oben header{
    background-image: linear-gradient(-60deg, #f4d03f 0%, #16a085 100%);
}
/*-++-++++=-++---+-=-++++---=-++++--+=-++++-+-=--+-+++-=-++---++=-++-++++=-++-++-+*/
header>.header-left{
    width: 200px;
}

.obnav{
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 200px;
}
.obnav>.obnav-item{
    white-space: nowrap;
    text-align: center;
    padding: 0.5em 1em;
    font-weight: bold;
    cursor: pointer;
}
.obnav>.obnav-item>ul{
    font-size: 16px;
    position: absolute;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
    margin-top: 0.6em;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
}
.obnav>.obnav-item>ul>li{
    list-style: none;
    border-bottom: 1px solid grey;
    padding: 0.2em 0.5em;
}
.obnav>.obnav-item:hover ul{
    display: block;
}
.obnav>.obtv{
    padding: 1em;
    position: fixed;
    right: 0;
}
@media(max-width: 500px){
    html, body{
        font-size: 14px;
    }
    .obnav>.obnav-item{
        padding: 0.5em 0.6em;
    }
    .obnav>.obnav-item>ul{
        font-size: 12px;
    }
}
main{
    flex: auto;
    /* max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1em; */
    display: flex;
    flex-direction: column;
    height: 100%;
}
.obTitle{
    font-size: 1em;
    font-weight: bold;
    padding: 0.5em 1em;
}
/*-++-++++=-++---+-=-++++---=-++++--+=-++++-+-=--+-+++-=-++---++=-++-++++=-++-++-+*/
#cells{
    flex: auto;
	display: flex;
    /* flex-direction: column; */
    background: linear-gradient(#f69d3c,#3CB371,#3f87a6);
    flex-wrap: wrap;
    height: 100%;
}
#cells>div{
    flex-basis: 10%;
    flex-grow: 1;
    overflow: hidden;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    font-family: Courgette;
    font-size: 3vmin;
}
#cells .row{
	flex: 1;
	display: flex;
}
#cells .cell{
	/* flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-around;
	border: 1px solid black;
	overflow: hidden;
	font-size: 3vmin;
    font-family: Courgette; */
}
/* #cells .row:first-of-type .cell{
    border-top: none;
} */
#cells .cell:hover{
	overflow: visible;
	background-color: gold;
}
#cells a{
	text-decoration: none;
	color: black;
}
@media (max-width: 1400px){
	#cells .cell{
		font-size: 2vmin;
	}
}
@media (max-width: 800px){
	#cells .cell{
		font-size: 1vmin;
	}
}
/*-++-++++=-++---+-=-++++---=-++++--+=-++++-+-=--+-+++-=-++---++=-++-++++=-++-++-+*/
/* 404 page */
#poem p{
    line-height: 10px;
    font-size: 2vmin;
}
#poem{
    font-family: 'Courgette';
}
#poem .title{
    font-size: 2.5;
}
#poem .author{
    font-size: 1.5vmin;
    margin-bottom: 2%;
}
#poem p{
    line-height: 10px;
    font-size: 2vmin;
}

footer{
    width: 100%;
    position: fixed;
    bottom: -1px;
    text-align: center;
}
footer a{
    color: #000;
    text-decoration: none;
    font-size: 1px;
    background-color: #3F88A5;
}
/*-++-++++=-++---+-=-++++---=-++++--+=-++++-+-=--+-+++-=-++---++=-++-++++=-++-++-+*/
.p-box{
    padding-left: 100px;
}