html{
  scroll-behavior: smooth;
}
a:hover{
  text-decoration: none;
}
.selfie{
  position: absolute;
  top: 10vw;
  left: 38%;
  width: 18vw;
  height: 18vw;
  border-radius: 50%;
  border: 1px solid blue;
  background: url(../image/image_2.jpg);
  background-size: cover;
  background-position: 50% 30%;
  background-repeat: no-repeat;
}
.chiffon{
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: #eeeff0;
  opacity: 0.2;
  background-size: 100% 100%;
     
  filter:brightness(0.8);  
}
.frame{
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: none;
  z-index: -1;
  background-size: 100% 100%;
     
   
}
.paper{
  position: absolute;
  top: 10%;
  left: 20%;
  width: 60%;
  height: 80%;
  background: url(../image/paper.jpeg);
  background-size: 100% 100%;
  opacity: 1 !important;       
  filter:brightness(1.1);                       

}
.contact-infor{
  position: relative;
  top: 10%;
  left: 15%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  border: 1px solid none;
  height: 40vh;
  width: 70%;
  padding: 40px;
}
.copy-right{
  
  position: relative;
  top: 25%;
  text-align: left;
  font-size: 15px;
  font-weight: 300;
  font-family: "New Times Roman";
  color: white;
  z-index: 10;
  width: auto;
  
  background: none;

}
.bi.bi-facebook.hlink{
  
  position: relative;
  
  font-size: 20px;
  font-weight: 300;
  font-family: "New Times Roman";
  color: rgba(255, 255, 255, 0.445);
  z-index: 10;
  height: 80px;
  width: 80px;
  background: none;
}
.bi.bi-facebook.hlink:hover{
  color: white;
}


.bi.bi-linkedin.hlink{
  
  position: relative;
  
  font-size: 20px;
  font-weight: 300;
  font-family: "New Times Roman";
  color: rgba(255, 255, 255, 0.445);
  z-index: 10;
  height: 80px;
  width: 80px;
  background: none;
  
  
}
.bi.bi-linkedin.hlink:hover{
  color: white;
}

.bi.bi-github.hlink{
  
  position: relative;
  
  font-size: 20px;
  font-weight: 300;
  font-family: "New Times Roman";
  color: rgba(255, 255, 255, 0.445);
  z-index: 10;
  height: 80px;
  
  background: none;
  border: 0px solid white;
}
.bi.bi-github.hlink:hover{
  color: white;
}
.footer{
  position: absolute;
  height: 50vh;
  width: 100%;
  top: 550vh;
  background: #272729;
  
}
.background{
    z-index: -10;
    position:fixed;
    top:0;
    left:0;
    
    
    background: url("../image/IMG_portrait.jpeg");
    background-size: cover; 
    background-position:80% 50%;
    background-repeat: no-repeat;
    opacity: 1;
    height: 100vh;
    width:100%;
}

.background2{
    z-index: -10;
    position:fixed;
    top:0;
    left:0;
    
    visibility: hidden;
    background: url("../image/Gessen-UToronto.jpeg");
    background-size: cover;
    background-position:30% 0%;
    background-repeat: no-repeat;
    opacity: 0.2;
    height: 100vh;
    width:100%;
}

.bg-intro{
  z-index: 0;

  position:absolute;
  left: 0;
  top: 100%;
  background: url("../image/dark.jpeg");
  
  width: 100%;
  height: 100vh;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  
}
.skill-title{
  position: absolute;
  top: 0;
  left: 35%;
  width: 30%;
  height: 100px;
  background: none;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  
}
.skill-item{
  position: relative;
  top: 10px;
  left: 20px;
  height: 4vh;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border:1px solid none;
  color: black;
}
.skill-name{
  border: 1px solid none;
  font-size: 1.5vh;
  font-weight:bold;
}
.column-1{
  position:absolute;
  top: 18%;
  left: 10%;
  width: 40%;
  height: 70%;
  background: none;
  border-right: 2px dotted black;
}
.column-2{
  position:absolute;
  top: 18%;
  left: 50%;
  width: 40%;
  height: 70%;
  background: none;
}
.bg-skills{
  z-index: 0;
  position:absolute;
  top: 200vh;
  left: 0;
  background: rgb(18, 18, 31);
  opacity:1;
  width: 100%;
  height: 100vh;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  
}
.skill-background{
  position:absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url(../image/wooden_background.jpeg);
  background-size: 100% 100%;
  filter: brightness(0.6);
  background-attachment: fixed;
}
.right-tree{
  position: absolute;
  left: 49.75%;
  background: none;
  top: 250px;
  width: 10px;
  height: 200vh;
  z-index: 0;
  border-right: 10px solid none;
  
  
}
.left-tree{
  position: relative;
  left: 49.75%;
  top: 160px;
  width: 10px;
  height: 156vh;
  z-index: 1;
  border-right: 10px solid none;
  opacity: 1;
  background: none;
}
.main-branch{
  position: absolute;
  left: 49.75%;
  top: 250px;
  width: 10px;
  height: 156vh;
  z-index: 0;
  transition: 200ms ease;
  opacity: 1;
  background: white;
}
#upper.cover{
  left: 100px;
  width: 50%;
  position: absolute;
  right: -10px;
  left: 25px;
  top: 0;
  height: 100px;
  border-right:25px solid rgb(32, 34, 71);
  background: none;
  transition: 0ms ease;
  transform-origin: 100% 100%;
  z-index:1;
  
  
}
#lower.cover{
  transition: 0ms ease;
  background: none;
  position: absolute;
  background: none;
  left: 25px;
  right: -10px;
  top: 290vh;
  width: 50%;
  height: 100vh;
  border-right:25px solid rgb(32, 34, 71);
  transform-origin: 0% 0%;
  z-index: 88;
}

.bg-experience{
  position: absolute;
  top: 300vh;
  height: 250vh;
  width: 100%;
  background:rgba(32, 34, 71, 0.123);
  border: 10px solid none;
}
.experience-title{
  position: absolute;
  height: 200px;
  width:30%;
  top: 80px;
  
  left: 35%;
  color: white;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: difference;
  font-size: 50px;
}
#e1.experience{
  z-index: 2;
  position: relative;
  left: 0%;
  top: 0px;
  border: 1px solid black;
  background: white;
  width: 100%;
  height: 42vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#e3.experience{
  z-index: 2;
  position: relative;
  left: 0;
  top: 0px;
  border: 0px solid black;
  background: white;
  height: 45vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#e2.experience{
  z-index: 2;
  position: relative;
  left: 0;
  top: 0px;
  border: 0px solid black;
  background: white;
  height: 42vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#n1.tree-branch{
  position: absolute;
  width: 32vw;
  height: 5px;
  left: -34vw;
  top: 20px;
  
  border-right: 10px solid none;
  background: radial-gradient(circle at 90% 80%, #f6a681, #efdd76 10%, #948a05 80%, #450640 100%);
  transform-origin: 100% 0;
  transition: 500ms ease;
  transform: scaleX(1);
  opacity: 0;
}
#n2.tree-branch{
  position: absolute;
  width: 32vw;
  height: 0;
  left: 84px;
  top: 20px;
  background: red;
  border-bottom: 10px solid none;
  transform-origin: 0 0;
  transition: 300ms ease;
  transform: scaleX(1);
  opacity: 0;
  
}
#n3.tree-branch{
  position: absolute;
  width: 32vw;
  height: 0;
  left: 84px;
  top: 20px;
  background: red;
  border-bottom: 10px solid red;
  transform-origin: 0 0;
  transition: 300ms ease;
  transform: scaleX(1);
  opacity: 0;
}
#node3.tree-node{
  position: absolute;
  top: 980px;
  left: -290%;
  height: 65px;
  width: 65px;
  border:2px solid none;
  border-radius: 50%;
  background: radial-gradient(circle at 10% 80%, #f6ba81, #db8d4c 10%, #e74fc6 80%, #e90e57 100%);
  z-index: 103;
  opacity: 0;
  transition: 300ms ease;
  display: flex;
  text-align: center;
  
  padding: 8px 0 0 0;
  
}
#node3.tree-node:before{
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0px, #ffffff, rgba(255, 255, 255, 0) 58%);
  filter: blur(5px);
  transform-origin: 50% 50%;
  z-index: 102;
  
  opacity: 1;
}
#node3.tree-node:hover::before{
  transform: rotate(90deg);
}
#node3.tree-node.appear{
  opacity: 1;
}

#node2.tree-node:before {
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0px, #ffffff, rgba(255, 255, 255, 0) 58%);
  filter: blur(5px);
  transform-origin: 50% 50%;
  z-index: 102;
  pointer-events: none;
}
#node2.tree-node{
  position: absolute;
  top: 100px;
  left: -290%;
  height: 65px;
  width: 65px;
  border:2px solid none;
  border-radius: 50%;
  background: radial-gradient(circle at 10% 80%, #f6ba81, #db8d4c 10%, #e74fc6 80%, #e90e57 100%);
  z-index: 103;
  
  transition: 300ms ease;
  display: flex;
  text-align: center;
  padding: 8px 0 0 0;
  
  opacity: 0;
}
.time-label{
  font-weight: 800;
  font-size: 17px;

}
#node2.tree-node.appear{
  opacity: 1;
}
#node1.tree-node{
  position: absolute;
  top: 600px;
  left: -280%;
  height: 65px;
  width: 65px;
  border:2px solid none;
  border-radius: 50%;
  background: radial-gradient(circle at 10% 80%, #f6ba81, #db8d4c 10%, #e74fc6 80%, #e90e57 100%);
  z-index: 103;
  opacity: 0;
  transition: 300ms ease;
  display: flex;
  text-align: center;
  padding: 8px 0 0 0;
  
  
}
#node1.tree-node:before {
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0px, #ffffff, rgba(255, 255, 255, 0) 58%);
  filter: blur(5px);
  transform-origin: 50% 50%;
  z-index: 102;
  pointer-events: none;
}
#node1.tree-node.appear{
  opacity: 1;
}
#node1.tree-node:hover::before{
  transform: rotate(90deg);
}
#ai3.article-image{
  position: absolute;
  left: 0%;
  
  width: 100%;
  height: 22vw;
  background: url("../image/McAfee.jpeg");
  background-size: 100% 100%;
  background-position: center center;
  top: 0px;
  

}
#ai2.article-image{
  position: absolute;
  left: 0%;
  
  width: 100%;
  height: 22vw;
  background: url("../image/bca.png");
  background-size: 100% 100%;
  background-position: center center;
  top: 0px;
}
#ai1.article-image{
  position: absolute;
  left: 0%;
  
  width: 100%;
  height: 22vw;
  background: url("../image/uot.jpeg");
  background-size: 100% 100%;
  background-position: center center;
  top: 0px;
  

}
#at2.article-title{
  position:relative;
  top: 10vw;
  left: 10%;
  width: 63%;
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content:center;
  
  padding:0;

  border-bottom: 1px solid black;
  font-weight: 800;
  font-size: 1.5vw;
}
#at3.article-title{
  position:relative;
  top: 10.5vw;
  left: 10%;
  width: 67%;
  display: flex;
  text-align: center;
  justify-content:center;
 
  padding:0;
  border-bottom: 1px solid black;
  font-weight: 800;
  font-size: 1.5vw;
}
#at1.article-title{
  position:relative;
  top: 10vw;
  left: 10%;
  width: 50%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content:center;
  
  
  
  
  border-bottom: 1px solid black;
  font-weight: 800;
  font-size: 1.5vw;
  
}

#a3.article{
  z-index: 2;
  position: relative;
  left: 10%;
  top: 11.6vw;
  border: 0px solid black;
  width: 80%;
  display: flex;
  justify-content: left;
  text-align: justify;

}
#a2.article{
  z-index: 2;
  position: relative;
  left: 10%;
  top: 11vw;
  border: 1px solid none;
  width: 80%;
  display: flex;
  justify-content: left;
  text-align: justify;
}
#a1.article{
  z-index: 2;
  position: relative;
  left: 10%;
  top: 11vw;
  border: 0px solid black;
  width: 80%;
  display: flex;
  justify-content: left;
  text-align: justify;
  font-size: 1vw;
}
#atl.article{
  color: white;
  z-index: 2;
  position: relative;
  left: 10%;
  top: 5vw;
  border-left: 1px solid black;
  border-right: 1px solid black;
  padding: 1vw;
  width: 26%;
  display: flex;
  justify-content: left;
  text-align: justify;
  
  
}
#atr.article{
  color: red;
  z-index: 2;
  position: absolute;
  left: 65%;
  top: 5vw;
  border-left: 1px solid black;
  border-right: 1px solid black;
  padding: 1vw;
  width: 25%;
  display: flex;
  justify-content: left;
  text-align: justify;
  font-size: 1vw;
}
#n1.tree-branch.expand{
  transform: translateY(-80px) scaleX(1);
  opacity: 1;

}
#n2.tree-branch.expand{
  transform: translateY(-80px) scaleX(1);
  opacity: 1;
}
#n3.tree-branch.expand{
  transform: translateY(-80px) scaleX(1);
  opacity: 1;
}
#tt.animated-text{
  z-index: 2;
  color: white !important;
  padding-left: 6px;
  
  transform: scaleY(1);
  opacity: 1;
  font-size: 1vw;
  line-height: 1.6;
  font-weight: 100px !important;
  transform-origin: left center;
  transition: 50ms ease-in-out;
  opacity: 1 !important;
}
#tt2.animated-text{
  z-index: 2;
  color: white !important;
  padding-left: 6px;
  
  transform: scaleY(1);
  opacity: 1;
  font-size: 1vw;
  line-height: 1.4;
  font-weight: 100px !important;
  transform-origin: left center;
  transition: 50ms ease-in-out;
  opacity: 1 !important;
}
.animated-text{
  z-index: 2;
  color: black;
  padding-left: 6px;
  
  transform: scaleY(1);
  opacity: 1;
  font-size: 1vw;
  font-weight: 100px !important;
  transform-origin: left center;
  transition: 50ms ease-in-out;
}






.rating{
  z-index: 0;
  padding: 0px;
  position: relative;
  left: 0%;
  top: 18%;
  width: 88px;
  border: 1px solid none;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  list-style:none;
  background: none;
  margin-right: 0;
  
}
#t1.time{
  position: relative;
  background: none;
  
  width: 50%;
  padding: 0;
  z-index: 103;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
  z-index: 10;
  border:1px solid none;
  left:-6vw;
  top:0;
}
#T1.time-name{
  border: 1px solid none;
  
  color: #1c1ab1;
  font-size: 16px;
  display: flex;
  padding-left: 0vw;
  font-size: 1vw;
  justify-content:center;
  align-items: center;
  
}
#Nanjing-Time.glyphicon.glyphicon-time{
  left: 0;
  color: #1c1ab1;
  display: flex;
  border: 1px solid none;
  justify-items:center;
  align-items: center;
  background: none;
  font-size: 1vw;
}
#University-Time.glyphicon.glyphicon-time{
  left: 0;
  color: #1c1ab1;
  display: flex;
  border: 1px solid none;
  justify-items:center;
  align-items: center;
  background: none;
  font-size: 1vw;
}
.location-name{
  color: #1c1ab1;
  font-size: 1vw;
  display: flex;
  
  
  

  justify-content:center;
  align-items: center;
  border: 1px solid none;
}
#l1.location{
  border: 1px solid none;
  position: relative;
  background: none;
  
  width: 50%;
  left: 0vw;
  z-index: 103;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
  z-index: 10;
  
  left:0%;
  top:0;
  
}
#PEY.infor-tag{
  position: relative;
  left: 0;
  top: 11vw;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
  border: 1px solid none;
}
#high-school.infor-tag{
  position: relative;
  left: 0;
  top: 10.5vw;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
  border: 1px solid none;
}
#University.infor-tag{
  position: relative;
  left:0%;
  top:10.5vw;
  
  z-index: 0;
  border: 1px solid none;
  
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
}
#Nanjing.glyphicon.glyphicon-map-marker{
  position: relative;
  background: none;
  
  padding: 0;
  z-index: 103;
  font-size: 1vw;
  color: #1c1ab1;
  z-index: 10;
  
  left:0%;
  top:0px;
  border: 1px solid none;
}
#Toronto.glyphicon.glyphicon-map-marker{
  position: relative;
  background: none;
  
  padding: 0;
  z-index: 103;
  font-size: 1vw;
  color: #1c1ab1;
  z-index: 10;
  
  left:0%;
  top:0px;
  border: 1px solid none;
}
.glyphicon.glyphicon-star{
  
  margin-right: 0;
  color: #22A39F;
  z-index: 10;
  
  left:0;
  top:0;
}
.glyphicon.glyphicon-star-empty{
  
  margin-right: 0;
  color:#22A39F;
}
.skill-item:hover {
  
  background: rgba(0, 0, 0, 0.068);


  transition: 300ms ease;
  transform-origin: center right;
}
.skill-item:hover > .rating{
  
  width: 100px;


  transition: 300ms ease;
  transform-origin: center right;
}
.rating:hover{
  width: 100px;
  transition: 300ms ease;
  transform-origin: center right;
}
body{
  background: #1b1f22;
  z-index: -99;
}
.name{
  
  z-index: 10;
  position: absolute;
  left: 30%;
  top: 15%;
  width: 40%;
  color: white;
  background: none;
  transition: 300ms ease;
  border-bottom: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100px;
  transition: 200ms ease;
  animation-duration: 400ms;
  animation-fill-mode:forwards;
  
}
.name.shrink{
  mix-blend-mode: difference ;
  transform: scale(0.4);
  transform-origin: 50% -20px;
  position: fixed;
  top:10px;
  background: rgb(236, 173, 36);
  padding: 0;
  
}
@keyframes trans_shrink{
  0%{
    
    transform: scale(1);
  }
  
  50%{
    
    top: 20px;
    transform: scale(0.5);
  }
  100%{
    
    position: fixed;
    top: 16px;
    transform: scale(0.4);
  }
}
@keyframes recover{
  0%{
    
    transform: scale(0.4);
  }
  
  100%{
    
    position: absolute;
    top: 15%;
    transform: scale(1);
  }
}


h1{
    
    
    z-index:10;
    font-family: "Gill Sans", sans-serif;
    font-weight: 900;
    
    font-size: 4vw;
    font-style: inherit;
  
}
.navigation_bar{
    margin: 0 auto;
    border-radius: 10px;
    z-index: 100;
    position: absolute;
    left: 0%;
    top:60%;
    height: 90px;
    width: 100%;
    font-size: 40vw;
    border: 0px solid black;
    padding: 0;
    
    background-color: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

}
.navigation_bar.sticky{
  mix-blend-mode: difference ;
  height: 60px;
  position: fixed ;
  top: 67px ;
  
}
.nav_list{
   
    z-index: 1;
    background-color:none;
    position: absolute;
    top:-16px;
    width: 80%;
    height: 100%;
    display:flex;
    flex-direction: row;
   
    justify-content: space-between;
    
    border: 0px solid black;
    list-style-type: none;
    padding-left: 0;
}
.nav_item{

    background:rgba(136, 140, 145, 0.438);
    
    border-radius:0;
    font-weight: 800;
    font-size: 1.8vw;
    font-family: "Gill Sans", sans-serif;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 0px solid black;
   
    border-left: 5px solid white;

    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: border 300ms ease;
}
.nav_item:last-child{
     border-right: 5px solid white;
}


.nav_item:before,
.nav_item:after {
  content: '';
  position: absolute;
  
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  
  top: 0;
  height: 100%;
  width: 20px;
  
  
}


.nav_item:before{
  left:0;
  
  
  transform: scaleX(0);
  transition: 300ms ease;
  transform-origin: 0;
}
.nav_item:after{
  right:0;
  
  
  transform: scaleX(0);
  transition: 300ms ease;
  transform-origin: 100%;
}


.nav_item:hover::before{

  transform: scaleX(1);
}

.nav_item:hover::after{
  transform: scaleX(1);
}

.nav_item:hover{
    background:none;
    box-shadow: none;
    
    
}
.modal-introduction{
  position: fixed;
  top: 300px;
  left: 34%;
  box-shadow: 1px 1px 10px 10px rgba(51, 49, 49, 1);
  transform: scale(0);
  transition: 300ms ease-in-out;
  z-index: 100;
  background:rgba(0, 0, 0, 0.85);
  width: 500px;
  height: 400px;
  
  display: flex;
  text-align:center;
  align-items: center;
  justify-content: center;
  transform-origin: center top;
  color: white;
  pointer-events: none;
}

.modal-introduction.active{
  transform: scale(1);
  transition: 300ms ease-in-out;
  transform-origin: center top;
  pointer-events: auto;
}
.modal-introduction.active.translate{
  transform: scale(1);
  top:200px;
  transform-origin: center top;
  
  transition: 300ms ease-in-out;
}

.modal-head{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    
    display: grid;
    
    justify-content: space-between;
    
}
.modal-title{
    position: absolute;
    border-bottom: 1px solid white;
        left: 50%;
        top: 30px;
        transform: translate(-50%);
        font-weight: bold;
        font-size: 150%;
  
}
.modal-text{
  font-family: "Optima", sans-serif;
  font-size: 18px;
  position:absolute;
  padding: 20px 40px;
  box-sizing: border-box;
  text-align: justify;
}
.CloseModal{
  width: 40px;
  height: 40px;
  background: none;
  color: #fff;
  position: absolute;
  top:20px;
  right: 20px;
  font-size: 25px;
  font-weight: 199;
  cursor: pointer;
  border-radius: 50%;

}

#close-span{
  
  position: absolute;
  left:50%;
  top:50%;
  background: none;
  transform: translate(-50%, -45%);
  pointer-events: none;
}

.CloseModal:hover{
  border-bottom: 1px solid white;
  
  background: rgba(255, 255, 255, 0.1);
  
}

.loader-wrapper{

    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    z-index: 100;
    align-items: center;
    justify-content: center;
    background-color: rgba(25, 27, 34, 1.0);
    transition: 1s ease-in-out;
}
.loader {
    
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
  border: 4px solid #fff;
  border-radius: 20%;
  animation: loader 2s infinite ease;
}

.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  
  25% {
    transform: rotate(180deg);
  }
  
  50% {
    transform: rotate(180deg);
  }
  
  75% {
    transform: rotate(360deg);
  }
  
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loader-inner {
  0% {
    height: 0%;
  }
  
  25% {
    height: 0%;
  }
  
  50% {
    height: 100%;
  }
  
  75% {
    height: 100%;
  }
  
  100% {
    height: 0%;
  }
}
