@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');

@font-face {
    font-family: ChineseFont;
    src: url('../fonts/Chinese.ttf');
}

@font-face {
    font-family: EnglishFont;
    src: url('../fonts/English.ttf');
}

body, html{
    height: 100%;
    margin:0px;
    font-size: 1.5vw;
    font-weight:400;
    color:#666;
    font-family: ChineseFont;
    background: #404040;
}

h2{
    font-size:4vw;
}

a{
    color:inherit;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    color:#00ffff;
}

a:active {
    text-decoration: none;
}

.img1, .img2, .img3, .img4{
    padding:0px;
    margin:0px;
    position:relative;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    background-attachment:fixed;
}

.img1{
    display:flex;
    padding:0px;
    margin:0px;
    background-image:url('../img/bg.jpg'); 
    min-height: 100%;
    justify-content: center;
    color: #fff;
}

.nohvr{
    pointer-events: none;
}

.img2{
    display:flex;
    background-image:url('../img/img2.jpg'); 
    min-height: 100%;
    justify-content: center;
    align-items: center;
}

.section{
    text-align:center;
    padding:0.026vw 80px;

}

.section-dark{
    background-color:#282e34;
    color:#ddd;   
}

.trans{
    background-color:rgba(17, 17, 17, 0.8);
    font-size:4vw;
    color:#fff;
    padding:20px;
    font-family: ChineseFont, sans-serif;
    text-align:center;
    letter-spacing:0.417vw;
    text-transform:uppercase;
    line-height: normal;
}

.name{
    box-sizing: border-box;
    width:20%;
    min-width:20%;
    height:100vh;
    min-height:100vh;
    float:left;
    color:inherit;
    font-size:2.35vw;
}

.links{
    display:inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.mid{
    padding:0px;
    margin:0px;
    box-sizing: border-box;
    width:60%;
}

.mid-text{
    display:block;
    box-sizing: border-box;
    height:15%;
    padding-top:50px;
    color:inherit;
    font-size:6vw;
    text-align: center;
    font-family: ChineseFont;
    line-height: 4vw;
}

.mid-pic{
    display:flex;
    box-sizing: border-box;
    width:100%;
    height:80%;
    padding:0px;
    margin:0px;
    justify-content: center;
    align-items: center;
}

.mid-footer{
    min-height:5%;
}

/*------------------------------------------------------------------------------*/

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #00ffff;
}

/* Slideshow container */
.slideshow-container {
    width: 80vw;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next,.text {font-size: 11px}
}


/* width */
::-webkit-scrollbar {
    width: 16px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #000; 
}


::-webkit-scrollbar-thumb {
    background-color: #5e5e5e;
    border: 3px solid transparent;
    background-clip: content-box;
}


/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #00ffff; 
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-button:single-button {
    background-color: rgb(64, 64, 64);

    display: block;
    background-size: 10px;
    background-repeat: no-repeat;
}

/* Up */
::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 12px;
    width: 12px;
    background-position: center 4px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,00 0,50 100,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(0, 255, 255)'><polygon points='50,00 0,50 100,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='50,00 0,50 100,50'/></svg>");
}

/* Down */
::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 12px;
    width: 12px;
    background-position: center 2px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 100,0 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:increment:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(0, 255, 255)'><polygon points='0,0 100,0 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:vertical:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 100,0 50,50'/></svg>");
}


/* Left */
::-webkit-scrollbar-button:single-button:horizontal:decrement {
    height: 12px;
    width: 12px;
    background-position: 3px 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,50 50,100 50,0'/></svg>");

}

::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(0, 255, 255)'><polygon points='0,50 50,100 50,0'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,50 50,100 50,0'/></svg>");
}

/* Right */
::-webkit-scrollbar-button:single-button:horizontal:increment {
    height: 12px;
    width: 12px;
    background-position: 3px 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,0 0,100 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(0, 255, 255)'><polygon points='0,0 0,100 50,50'/></svg>");
}

::-webkit-scrollbar-button:single-button:horizontal:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 0,100 50,50'/></svg>");
}