@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{
  --blue:#2980b9;
  --black:#333;
  --white:#fff;
  --light-color:#777;
  --light-bg:#eee;
  --box-shadow:0 5px 10px rgba(0,0,0,.1);
}

*{
  font-family: 'Poppins', sans-serif;
  margin:0; padding:0;
  box-sizing: border-box;
  outline: none; border:none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}

html::-webkit-scrollbar{
  width:10px;
}

html::-webkit-scrollbar-track{
  background: var(--blue);
}

html::-webkit-scrollbar-thumb{
  background: var(--white);
  border-radius: 50px;
}

.title{
  font-size: 25px;
  color:var(--blue);
  margin-bottom: 15px;
}
/* 按钮设置 */
.btn{
  margin-top: 10px;
  display: inline-block;
  padding:7px 20px;
  border-radius: 5px;
  background: #9BACD8;
  color:var(--white);
  font-size: 17px;
  box-shadow: var(--box-shadow);
}

.btn:hover{
  background: var(--black);
}

/* 背景渐变 */
.container{
  padding:100px 9%;
  background-image: linear-gradient(-225deg, #dfbacd 0%, #c6e3ff 48%, #58abf3 100%);
  display: flex;
}

.container .profile{
  flex:1 1 400px;          /* 人像框高度 */
  background: var(--white);/* 背景颜色 */
  padding:20px 30px;
  text-align: center;
  position: sticky;       /* 跟着滚轮一起 */
  top:20px; left:0;
  border-right:2px solid var(--black);/*右边框颜色*/
  align-self: flex-start;
}

.container .profile img{
  height: 150px;
  width: 150px;
  border-radius: 50%;      /* 圆角图片，小边框 */
  border:2px solid var(--black);
  object-fit: cover;
  margin-bottom: 10px;
}

.container .profile h3{
  color:var(--black);
  font-size: 20px;
}

.container .profile p{
  color:var(--blue);
  padding:5px 0;
  margin-bottom: 10px;
  font-size: 15px;
}

.container .profile .share{
  margin:10px 0;
}

.container .profile .share a{
  height: 50px;
  width: 50px;
  line-height: 50px;
  font-size: 20px;
  border-radius: 50%;     /*圆角*/
  color:var(--black);
  background: var(--light-bg);
}

/* 鼠标悬停时 */
.container .profile .share a:hover{
  background: #C7A4C4;
  color:var(--white);
  box-shadow: var(--box-shadow);
}

.container .information{
  flex:1 1 1000px;
  background: var(--white);
  padding:20px 30px;
}

.container .information .about p{
  font-size: 17px;
  line-height: 2;
  padding-bottom: 10px;
  color:var(--light-color);
}

.container .information .about .box-container{
  display: flex;
  flex-wrap: wrap;
  gap:15px;
}

.container .information .about .box-container .box{
  flex:1 1 250px;
}
/* 需要改变链接样式及鼠标悬停时的样式 */

a.style1:link{
  color: var(--blue);
  text-transform: lowercase;
}

a.style1:visited{
  color: var(--blue);
}

a.style1:hover{
  color: #9BACD8;
}


.container .information .about .box-container .box h3{
  font-size: 15px;
  padding:10px 0;
  color:var(--black);
  /*text-transform: lowercase;     英文首字母小写*/
}

.container .information .about .box-container .box h3 span{
  color:var(--light-color);
}


/* 校园经历 */

.container .information .experience{
  padding:20px 0;
}

.container .information .experience .box-container{
  display: flex;
  flex-wrap: wrap;   /* 在必要时灵活拆行，可以将页面缩小可得 */
  gap:15px;          /* 间距 */
}

.container .information .experience .box-container .box{
  flex:1 1 350px;     /*  350为一行整行长度   */
  /*text-align: center;   文字居中*/
  border-radius: 5px;
  padding:20px;
  background: var(--light-bg);
}

.container .information .experience .box-container .box img{
  height: 10px;
  margin-bottom: 10px;
}

.container .information .experience .box-container .box h3{
  font-size: 14px;
  color:var(--light-color);
}

/* 技能栏 */

.container .information .skills .box-container{
  display: flex;
  flex-wrap: wrap;
  gap:15px;
}

.container .information .skills .box-container .box{
  flex:1 1 300px;
}
/* 加个技能描述 *//* 待定 */
.container .information .skills .box-container h4{
  font-size: 15px;
  color:var(--light-color);
}

.container .information .skills .box-container .box .progress h3{
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  color:var(--black);
  font-size: 15px;
}

.container .information .skills .box-container .box .progress h3 span{
  color:var(--light-color);
}

.container .information .skills .box-container .box .progress .bar{
  overflow: hidden;
  border-radius: 50px;
  height: 10px;
  background: var(--light-bg);
}

.container .information .skills .box-container .box .progress .bar span{
  background: var(--blue);
  height: 100%;
  display: block;
  border-radius: 50px;
}

.container .information .skills .box-container .box:first-child .progress:nth-child(1) .bar span{
  width: 85%;
}

.container .information .skills .box-container .box:first-child .progress:nth-child(2) .bar span{
  width: 75%;
}

.container .information .skills .box-container .box:first-child .progress:nth-child(3) .bar span{
  width: 45%;
}

.container .information .skills .box-container .box:first-child .progress:nth-child(4) .bar span{
  width: 60%;
}

.container .information .skills .box-container .box:last-child .progress:nth-child(1) .bar span{
  width: 90%;
}

.container .information .skills .box-container .box:last-child .progress:nth-child(2) .bar span{
  width: 75%;
}

.container .information .skills .box-container .box:last-child .progress:nth-child(3) .bar span{
  width: 55%;
}

.container .information .skills .box-container .box:last-child .progress:nth-child(4) .bar span{
  width: 80%;
}

.container .information .education{
  margin:20px 0;
}

.container .information .education .box-container{
  display: flex;
  flex-wrap: wrap;
  gap:15px;
}

.container .information .education .box-container .box{
  padding: 18px;     /* 整个内容的内边框 */
  border-radius: 5px;
  flex:1 1 350px;
  background: var(--light-bg);
}

/* 弄个校徽 */
.container .information .education .box-container .box img{
  float: right;          /* 浮于文字右侧 */   
  height: 60px;
  margin-bottom: 10px;
}

.container .information .education .box-container .box span{
  color:var(--blue);
  font-size: 17px;
}

.container .information .education .box-container .box h3{
  color:var(--black);
  font-size: 18px;
  padding:5px 0;              /* 上下间距 */
}

.container .information .education .box-container .box ul{
  padding: 10px;          /* 调整列表·的缩进距离 */
  color:var(--light-color);
  line-height: 2;
  font-size: 14px;
}

.container .information .contact .box-container{
  display: flex;
  flex-wrap: wrap;
  gap:15px;
}

.container .information .contact .box-container .box{
  flex: 1 1 200px;
  display: flex;
  align-self: flex-start;
  gap:10px;
}

.container .information .contact .box-container .box i{
  height: 40px;
  width: 40px;
  line-height: 40px;
  font-size: 15px;
  border-radius: 50%;
  background: var(--blue);
  color:var(--white);
  text-align: center;
}

.container .information .contact .box-container .box h3{
  font-size: 17px;
  color:var(--black);
  padding-bottom: 5px;
}

.container .information .contact .box-container .box p{
  font-size: 14px;
  color:var(--light-color);
  line-height: 2;
}

@media (max-width:1200px) {
  
  .container{
    flex-flow: column;
    padding:20px;
    justify-content: center;
  }

  .container .profile{
    position: static;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    padding:20px;
    border-right: none;
    margin:0 auto;
    margin-bottom: 15px;
  }

  .container .information{
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    padding:20px;
  }

}

@media (max-width:450px){

  .container .profile{
    width: 100%;
  }

  .container .profile .btn{
    width: 100%;
  }

  .container .information .about p{
    font-size: 12px;
  }

  .container .information .education .box-container .box p{
    font-size: 12px;
  }

}