@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');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: EnglishFont;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #000;
    font-weight: 600;
    padding:0px;
}

a {
    text-decoration: none;
}

h1{
    font-size:45px;  
}

.menu{
    height:10%;
    width:100vw;
    background-color:#23272A;
    position:sticky;
    top:0px;
    z-index:8;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
    min-height: 100px;
    flex-direction: row;
}

.menu-box{
    background-color: #fff;
    height:17%;
    z-index: 5;
}
.text-container{
    color:white;
    font-size:16px;
    margin:0px;
    padding:30px;
    padding-top:0px;
    word-wrap:break-word;
    display:block;
}

.social-bar{
    height:7%;
    width:1000%;
    position:sticky;
    top:93%;
    z-index:21;
    margin: 0px;
    border: 0px;
    padding: 0px;
}

.bottom-wrapper{
    background-color: #2C2F33;
    height:auto;
    min-height: 100%;
    max-width:100%;
    width: 100vw;
    color:#ffffff;
    z-index: 6;
    padding: 0px;
    padding-bottom: 50px;
    position: relative;
}

.btn {
    border: 1.5px solid #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    color: #000;
    background: #fff;
}

.wrapper {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 300px;
}

.parallax__group {
    position: relative;
    height: 100vh;
    width: 100vw;
    transform-style: preserve-3d;
    padding:0px;
}

.parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.p1 {
    background: url('../img/bg.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-600px) scale(3);
    z-index: 1;
    height: 100vh;
    overflow-y: hidden;
}

.p2 {
    background: url('../img/02.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-525px) scale(2.75);
    z-index: 2;
}

.p3 {
    background: url('../img/02.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-400px) scale(2.33333333);
    z-index: 3;
}

.p4 {
    background: url('../img/02.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-250px) scale(1.833333333);
    z-index: 4;
    height: 100vh;
    overflow-y: hidden;
}

.p5 {
    background: url('../img/02.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-125px) scale(1.4167);
    z-index: 5;
}

.p6 {
    background: url('../img/02.png') no-repeat center;
    background-size: cover;
    transform: translateZ(0) scale(1);
    z-index: 6;
}

.hero-text {
    background: linear-gradient(
        rgba(105, 211, 252, 0.25) 0%,
        rgba(255, 116, 161, 0.25) 86%,
        rgba(1, 0, 0, 0.25) 100%
    );
    background-size: cover;
    transform: translateZ(0) scale(1);
    z-index: 7;
}

.hero-text h2 {
    font-size: 1.25rem;
    position: absolute;
    left: 2.5rem;
    top: 2.5rem;
}

.hero-text ul {
    font-size: 0.75rem;
    position: absolute;
    right: 2.5rem;
    top: 2.5rem;
}

.hero-text ul li {
    margin-left: 2.5rem;
    list-style-type: none;
    float: left;
    visibility: hidden;
}

.hero-text ul li:nth-of-type(3) {
    visibility: visible;
}

.year-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 17rem;
    height: 25rem;
}

.id{
    color:#fff;
    padding-left: 20px;
    padding-right: 20px;
    font-family: EnglishFont;
    font-weight: 400;
    position: absolute;
    font-size: 55px; 
}

.chinese-name {
    position: absolute;
    height:auto;
    width:100%;
    bottom: 60px;
    padding-left: 10px;
    padding-bottom: 30px;
    font-family: ChineseFont;
    font-weight: 400;
    color:#fff;
    text-align: left;
    font-size: 150px;
}

.english-name {
    height:auto;
    width:100%;
    bottom:0px;
    padding-left: 30px;
    padding-bottom: 10px;
    font-family: EnglishFont;
    font-weight: 400;
    position: absolute;
    color:#fff;
    text-align: left;
    font-size: 80px;
}

.class{
    width:100%;
    padding-left: 30px;
    padding-right: 30px;
    font-family: EnglishFont;
    font-weight: 400;
    position: absolute;
    text-align: center;
    font-size: 30px;  
}

.quote{
    width:100%;
    padding-left: 30px;
    padding-right: 30px;
    font-family: ChineseFont;
    font-weight: 400;
    position: absolute;
}

.q1{
    font-family: ChineseFont;
    font-size: 50px;
    color:#fff;
}
.quote q1:nth-of-type(1){
    font-family: ChineseFont;
    position:absolute;
    font-size: 80px;
    color:#fff;
    top:360px;
    left:80px;
}

.quote q1:nth-of-type(2){
    font-family: ChineseFont;
    position:absolute;
    font-size: 80px;
    color:#fff;
    top:460px;
    left:240px;
}

.social-container {
    position: absolute;
    left: 2.5rem;
    bottom: 2.5rem;
}

.social-container i {
    font-size: 1.25rem;
    margin-right: 0.25rem;
}

.info-container {
    background: #666666;
    transform: translateZ(0) scale(1);
    z-index: 8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.info-container img {
    width: 75%;
    margin-bottom: 2.5rem;
    filter: saturate(0.65);
}

.info-container h2,
.info-container p {
    margin-bottom: 1rem;
}

@media (min-width: 760px) {
    .hero-text ul li {
        visibility: visible;
    }

    .info-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 3rem;
        align-items: center;
        text-align: left;
    }

    .info-container img {
        justify-self: end;
        width: 75%;
    }

    @media (min-width: 1126px) {
        .p1
        .p2,
        .p3,
        .p4,
        .p5,
        .p6,
        .hero-text {
            background-size: contain;
        }
    }

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

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


    ::-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: 16px;
        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: 16px;
        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>");
    }