*{
    margin:0;
    padding:0;
}

@font-face{
    /*add 'ttf' font to css sheet*/
    src:url(fonts/cyberfont.ttf);
    font-family: cyberfont;
}

html{
    scroll-behavior: smooth;  /*柔和滑动*/
}

#home{
    padding: 0;
    height:100vh;
    display:flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("../img/home-bg.jpg");
    background-size: cover;
}

.home-content{
    overflow: hidden;
    padding: .5rem;
}

.home-content-hi{
    font-size: 25px;
    color: #00BFFF;
}

.home-content-name{
    font-size: 70px;
    color: white;
}

.home-content-work{
    font-size: 70px;
    color: lightgray;
    /*text-align: center;  字体位置*/
}

.home-content-p{
    font-size: 50px;
    color: lightgray;
}

.home-content-span{
    font-weight: normal;
    color: orange;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.home-content-cursor{
    display: inline-block;
    width: 3px;
    background-color: #ccc;
    margin-left: 0.1rem;
    animation: blink 1s infinite;
}

@keyframes blink{
    0%{background-color: #ccc;}
    49%{background-color: #ccc;}
    50%{background-color: transparent;}
    99%{background-color: transparent;}
    100%{background-color: #ccc;}
}

.home-button a{
    position: relative;
    display: block;
    width:470px;
    margin: 30px 0px;
    font-size: 50px;
    color: transparent;
    -webkit-text-stroke: 1px white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none; /*去掉下面的线*/
}

.home-button a:hover{
    color: #fff;
    -webkit-text-stroke: 1px black;
    text-decoration: none;
}

.home-button a:before, .home-button a:after{
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    transition: .5s;
}

.home-button a:hover:before{
    color: #FF4500;
    z-index: 1;
    -webkit-text-stroke: 1px #000;
    transform: translate(5px,-5px);
}

.home-button a:hover:after{
    color: #00FFFF;
    z-index: 2;
    -webkit-text-stroke: 1px #000;
    transform: translate(10px,-10px);
}

.carousel-skill{
    padding-left: 15px;
    padding-top: 50px;
}





/*navbar*/
.navigation-wrapper {
    position: relative;
    z-index:100;
  }

.navigation-button {
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: fixed;
    z-index: 1;
    top: 40px;
    right: 60px;
    background: transparent;
    cursor: pointer;
}

.navigation-button .fa {
    font-size:35px;
    padding: 10px;
    color: white;
}
   
  
.navigation-menu ul li {
    list-style: none;
    font-family: impact;
    font-weight: 300;
    color: hsl(0,0%,70%);
}
  
.navigation-menu {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    background-color:#FFE4E1;
    height: 100%;
    transform: skewX(0deg) translate(100%,0);
    transform-origin: top right;
    transition: all .2s ease-in;
    z-index: -1;
    border-top-left-radius: 50px;

}

.navigation-menu ul {
    transform: skewX(-8deg);
    transform-origin: top left;
    position: fixed;
    right: 50px;
    top: 100px;
    width: 400px;
    text-align: center;
}

.navigation-menu ul li {
    position: relative;
    padding-top: 8px;
    z-index: 999;
    font-size: 40px;
    color: hsl(0,0%,10%);
    line-height: 64px;
}

.navigation-menu ul li  a {
    border: none;
    color: #2F4F4F;
    text-decoration: none;
}

.navigation-menu ul li  a:hover {
    border: none;
    color: 	#3CB371;
}

.navigation-menu.active {
    transform: skewX(8deg) translate(0,0);    
}
  
.navigation-menu li {
    opacity: 0;
    transform: translate(0, 10px);
    transition: all .0s ease-in .3s;   
}

.navigation-menu.active li {
    opacity: 1;
    transform: translate(0,0);
    transition: all .2s ease-in 0s;
}

.navigation-menu.active li:nth-child(1) {
    transition-delay: 0s;
}

.navigation-menu.active li:nth-child(2) {
    transition-delay: .2s;
}

.navigation-menu.active li:nth-child(3) {
    transition-delay: .4s;
}

.navigation-menu.active li:nth-child(4) {
    transition-delay: .5s;
}

.navigation-menu.active li:nth-child(5) {
    transition-delay: .6s;
}


.navigation-wechat{
    padding-top: 50px;
}

.navigation-wechat-h1{
    padding-top: 10px;
    font-size: 20px;
    color: green;
}


#footer{
    padding: 0;
    height:30vh;
    display:flex;
    align-items: top;
    justify-content: center;
    overflow: hidden;
    background-color:#1a1a1a;
    background-size: cover;
}