/*首页顶部导航*/
.header{
    z-index: 199;
    position: fixed;
    top:0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
    width: 100%;
    /*border-bottom: 1px solid #f2f2f2;*/
    background-color: rgb(255, 255, 255);
}
.header-tran{
    z-index: 199;
    position: fixed;
    top:0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
    width: 100%;
    border-bottom: 1px solid #f2f2f2;
    background-color:rgba(255,255,255,0);
}
.header ul {
    position: relative;
    /*display: inline-block;*/
    float: left;
    width: 100%;
    height: 80px;
    text-align: right;
    list-style-type: none;
    /*vertical-align: center;*/
    margin: 0;
    padding: 0 10px;
    /*padding-top: 6px;*/
    /*padding-bottom: 6px;*/
}

.header ul.right {
    position: absolute;
    right: 0;
    width: 40%;
    display: inline-block;
    text-align: center;
    list-style-type: none;
    padding: 0;
    /*padding-top: 6px;*/
    /*padding-bottom: 6px;*/
    float: left;
}

.header ul li {
    font-size: 2rem;
    position: static;
    /*border-color: #fff4dd;*/
    /*border-width: 1px;*/
    /*border-style: solid;*/
    width: 12rem;
    height: 80px;
    line-height: 80px;
    /*margin: 0 20px 0 20px;*/
    display: inline-block;
}

/*ul::before{*/
/*    content:'';*/
/*    width:0;*/
/*    height:80px;*/
/*    display:inline-block;*/
/*    position:relative;*/
/*    vertical-align:middle;*/
/*    background:#f00;*/
/*}*/

.header ul a:link, a:visited {
    /*color: #000000;*/
    color: white;
    padding: 6px 0;
    text-decoration: none;
}

.s21:link, s21:visited {
    /*color: #000000;*/
    color: black !important;
    padding: 6px 0;
    text-decoration: none;
}
.s21 {
    /*color: #000000;*/
    color: black !important;
    padding: 6px 0;
    text-decoration: none;
}

.header ul a:hover {
    font-weight: bold;
}
.header ul a {
    /*font-weight: bold;*/
}

a:hover, a:active {
    /*color: #000000;*/
    /*color: #3786ec;*/
}

#skill{
    margin:  0 0 0 0;
    position: static;
    /*width: 140px;*/
    /*margin: 0 20px 0 20px;*/
}
#works {
    position: static;
}

.mincho {
    font-family: mincho;
    font-size: 1.6rem;
}

.mega {
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    border-top: #f7f7f7;
    border-top-width: 0.5px;
    border-top-style: solid;
    background-color: #ffffff;
    box-shadow: 0 8px 8px rgba(10, 10, 10, .1);
    position: absolute;
    z-index: 99;
    top: 100%;
    left: 0px;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0);
    transform-origin: top;
    /*border: .3125rem solid #0085ba;*/
    /*border-radius: .25rem;*/
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    padding-top: 35px;
    padding-bottom: 35px;
    visibility: hidden;
}

#skill:hover .mega {
    /*transform: scale(1);*/
    /*opacity: 1;*/
    /*visibility: visible;*/
    /*animation: fade-in .8s ease-in 0s 1;*/
}

/*#skill:hover ~ .header-holder,#works:hover ~ .header-holder {*/
/*    transform: scale(1);*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    animation: fade-in .8s ease-in 0s 1;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    height: 80px;*/
/*    width: 100%;*/
/*    background-color: rgba(255, 255, 255, 1);*/
/*    z-index: -2*/
/*}*/

#works:hover .fit {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    animation: fade-in .8s ease-in 0s 1;
}

.header-holder {
    position: absolute;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    /*background-color: rgba(255, 255, 255, 0);*/
    z-index: -2;
    transition: all 0.5s 0s ease-in;
}

.mega .item {
    padding: 12px;
    font-weight: normal;
    line-height: 2rem;
    text-align: start;

    /*animation-fill-mode: backwards;*/
}
.mega .item .subitem {
    display: flex;
    flex-direction: column;
}
.mega .item .subitem a{
    padding: 0;
    display: block;
    line-height: 2rem;
}

.mega .item:nth-child(1) {
    width: 16.6%;
    /*background-color: red;*/
}

.mega .item:nth-child(2) {
    width: 16.6%;
    /*background-color: red;*/
}

.mega .item:nth-child(3) {
    width: 16.6%;
    /*background-color: aqua;*/
}

.mega .item:nth-child(4) {
    width: 16.6%;
    /*background-color: olivedrab;*/
}
.mega .item:nth-child(5) {
    width: 16.6%;
    /*background-color: olivedrab;*/
}
.mega .item:nth-child(6) {
    width: 16.6%;
    /*background-color: olivedrab;*/
}

/*.mega .item:nth-child(5) {*/
/*    flex-grow: 1;*/
/*    !*background-color: yellow;*!*/
/*}*/
.mega .item a {
    padding: 0;
    display: inline-block;
    line-height: 2rem;
}

.mega-item-title {
    color: #333333;
    font-size: 0.8rem;
    margin-top: 14px;
}

.mega-item-subtitle {
    color: #999999;
    font-size: 0.8rem;
}

/*fit*/
.fit {
    border-top: #f7f7f7;
    border-top-width: 0.5px;
    border-top-style: solid;
    background-color: rgba(255,255,255,.75);
    box-shadow: 0 8px 8px rgba(10, 10, 10, .1);
    position: absolute;
    z-index: 99;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 140px;
    opacity: 0;
    transform: scale(0);
    transform-origin: top;
    /*border: .3125rem solid #0085ba;*/
    /*border-radius: .25rem;*/
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 50px;
}

.fit-lbox{
    padding: 16px 120px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.fit-t-lbox{
    display: flex;
    align-items: center;
    justify-content: center;
}
.fit-lbox-title{

}
.fit-lbox-title-img{
    width: 24px;
    height: 24px;
    margin: 0 8px;
}
.fit-lbox-subtitle{
    font-family: SourceHanSansSC;
    font-weight: 400;
    font-size: 18px;
    color: rgba(70, 157, 225, 1);
    font-style: normal;
    letter-spacing: 0px;
    line-height: 27px;
    text-decoration: none;
}
.fit-di{
    width: 2px;
    height: 100px;
    background-color: #333;
}

.fit-item-img{
    width: 50px;
    height: 50px;
    margin: 16px;
}

.fit .item {
    padding: 6px 12px;
    font-weight: normal;
    line-height: 1rem;
    text-align: start;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
}
.fit .item:hover {
    background-color: #00e7ff;
    cursor: pointer;
}
.deprecated {
    color: #999999;
}
.deprecated:hover {
    color: #999999;
}

.fit .item a {
    padding: 0;
    display: inline-block;
    line-height: 14px;
}

.fit-item-title {
    display: block !important;
    color: #333;
    font-size: 14px;
    margin-top: 6px;
}
.fit-item-title-deprecated {
    /*color: #333333;*/
    padding: 6px;
    font-size: 0.8rem;
    margin-top: 14px;
}

.fit-item-subtitle {
    color: #999999;
    font-size: 0.8rem;
}

.h4title{
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

.logo {
    width: auto;
    height: 50px;
}

.logo-container {
    position: absolute;
    left: 30px;
    top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

.logo-text {
    color: #333;
    font-weight: bold;
    margin-left: 16px;
    font-size: 2rem;
}

.triangle-up {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid #469DE1;
}
.triangle-down {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 100px solid #469DE1;
}
.triangle-left {
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-right: 50px solid #469DE1;
    border-bottom: 25px solid transparent;
}
.triangle-right {
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-left: 50px solid #469DE1;
    border-bottom: 25px solid transparent;
}