

div.inner{
    margin: 0;
    padding: 0;
    width: 1000px;
    
}

div#header{
    height: 96px;
    background-color: rgb(27, 27, 129);
}

.daoh {
    display: inline-block;
    width: 284px;
    height: 67px;
    position: absolute;
    left: 4px;
    top: 10px;
}
.head {
    width: 100%;
    height: 96px;
    position: relative;
    background: url(../images/logo.png) no-repeat 2px 10px;
}

.head .head_1 {
    width: 371px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 0px;
}

ol, ul {
    list-style: none;
}

.bt_1  {
    float: right;
    position: relative;
    font-size: 50px;
    color: #fff;
    font-family: "隶书";
    padding: 5px 5px;
}




/* 导航栏 */
.menu{
    float: left;
    width:100%;
    height:60px;
    text-align: center;
    background-color:#014b95;
}
.menu .nav{
    list-style: none;
    padding-left:18%;  
} 

.menu .nav1{
    position: relative;
    float:left;
    width:15%;
}
.menu li a{
    display: block;
    background-color: #014b95;
    color: #fff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:20px;
    font-weight:bold;
    line-height: 40px;
    padding: 0 20px;
    text-decoration: none;
}
.menu li:hover a {
    background-color: #1f8adc;
}
/* 子菜单 */
.sub {
    position: absolute;
    z-index: 999;
    width : 100%;
    height: 0;
    opacity: 0;
    overflow: hidden;
    text-align: center;
   
}

/* 鼠标移入显示 */
li:hover ul.sub {
    opacity: 1;
    height : auto;
    
}
.sub li {
    float: none;
    z-index:999;
}
.sub a {
    color: rgb(255, 255, 255) ;
    /*因为前面定义过a的样式，加!important表示优先执行*/
    font-weight: normal !important;
    line-height: 1.5 !important;
    padding: 10px !important;
    background-color: #014b95;
}
.sub li:hover a {
    background-color: rgb(0, 114, 202);

}

.container{
    float: left;
    top:140px;
    background: url(../images/bg-3.png) fixed center 0;
    height: auto;
    width: 100%;
    padding: 0px;
}

  /* - 侧边栏 */
  .sidebar{
    color: #fff;
    width: 250px;
    position: sticky;
    left: 0;
    float: left;
    background: #00a1df;
    top: 0;
    /* bottom: inherit; */
    height: 740px;
  }
  /* - 个人头像 */
  .sidebar .avatar{
      width:160px;
      height:200px;
      margin:2em auto;
      background: #fff;
      border-radius: 100%;
      border: #fff 5px solid;
      transition: transform 0.5s;
  }
  .sidebar .avatar img{
      border-radius: 100%;/*图像贴合边框*/
      width:160px;
      height:200px;
  }
  /* - 侧边栏导航 */
  .sidebar .nav{
    margin: 0;
    display: flex;
    list-style: none;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: center;
  }
  .sidebar .nav a{
      color: #fff;
      padding: 1em;
      display: block;
      text-align: center;
      /* transition: background .3s, box-shadow .3s; */
      text-decoration: none;
  }
  main{
      margin-left: 250px;
  }
  /* 2 - 正文 */
  
  .container  #info{ 
      background: url(/期末/images/bg-1.png) repeat;
      padding-top:30px;
      padding-bottom:280px;
      position: relative;
  }
  .container #hobby{ 
      background: #c5e0fb;
      padding-top:30px;
      padding-bottom:280px;
      position: relative; 
  }
  .container  #honor{ 
      background: url(/期末/images/bg-2.png) fixed;
      padding-top:30px;
      padding-bottom:310px;
      position: relative; 
  }
  .container #story{ 
      background: url(/期末/images/bg-3.png) fixed;
      padding-top:50px;
      padding-bottom:100px;
      position: relative; 
  }
  
  .title{
      margin-bottom: 1em;
      margin-left:40px;
      position: relative;
  }
  /*在title前插入框*/
  #info .title:before{
      content:"\2764";
      position: absolute;
      left:-28px;
  }
  #hobby .title:before{
      content:"\2764";
      position: absolute;
      left:-28px;
  }
  #honor .title:before{
      content:"\2764";
      position: absolute;
      left:-28px;
  }
  #story .title:before{
      content:"\2764";
      position: absolute;
      left:-28px;
  }
  
  /* - 基本资料 */
  .intru1,.intru2,.intru3{
      margin-left:15px;
      float:left;
      width:25%;
      height:250px;
  }
  p{
      font-size: 20px;
      font-family: 'Courier New', Courier, monospace;
  }
  /* - 跑马灯 */
  .wyx{
      width:300px;
      height: 30px;
      position: absolute;
      left:500px;
      top:40px;
      font-family: 'Courier New', Courier, monospace;
      font-size: 20px;
      font-weight: bold;
      color: cadetblue;
  }
  /* - 个人爱好*/
  .div{
      margin-top:60px;
  }
  .hobby1,.hobby2,.hobby3{
      float:left;
      width: 33%;
      height: 230px;
  }
  .hobby-icon{
      width: 100px;
      height: 100px;
      margin: 0 auto;
      background: #fff;
      border-radius: 100%;
      box-shadow: 0 5px rgba(0,0,0,0.3);
  }
  .hobby-icon i{
      font-size: 60px;
      line-height: 100px;
  }
  .hobby-title{
      margin-top: 1.5em;
      text-align: center;
  }
  /* - 荣誉奖励 */
  .honor1,.honor2{
      float:left;
      width: 50%;
      height: 270px;
      position:relative;
  }
  .honor-item img{
      position:absolute;
      transition: transform 0.3s;
      width:380px;
      top:0;
      left:0;
      right:0;
      bottom:0;
      margin:auto;
  }
  .honor-item img:hover{
      transform: scale(1.05, 1.05);
  }
  .honor-item #p1{
      font-size: 18px;
      font-weight: bold;
      font-family: "黑体";
      padding:15em 0;
      text-align:center;
  }
  
  /* - 求学经历 */
  .timeline{
      list-style: none;
      margin-left: 2em;
      padding-left: 1.5em;
      border-left: 2px grey solid;
  }
  .timeline li{
      line-height: 1.5em;
      position: relative;
      margin-bottom: 1.5em;
  }
  .timeline li:hover:before{
      transform: scale(1.2, 1.2);
  }
  .timeline li:before{
      content: "";
      left: -2.3em;
      width: 1.5em;
      height: 1.5em;
      display: block;
      position: absolute;
      background: rgba(67, 142, 219);
      border-radius: 100%;
      transition: transform .3s;
  }
  /* - 右下角小太阳 */
  /*#sundiv{
      position:absolute;
      margin-top:-210px;
      width:150px;
      height:150px;
      left:450px;
      border:1px solid #000;
  }*/
  #sundiv img{
      width:150px;
      height:150px;
  }  

.footer{
    display: table;
    height: 100px;
    width: 100%;
    background: #242424;
    /* border-bottom: 1px solid #000; */
}

.footer p{
    vertical-align: middle;
    text-align:center;
    font-family:'微软雅黑';
    font-size:14px;
    color: #fff;
}