@font-face {
    font-family: trattatello;
    src: url('../Trattatello-Font/Trattatello/Trattatello.ttf');
}

@font-face {
    font-family: siyuan;
    src: url('../SiYuanHeiTi-Regular/SourceHanSansSC-Regular-2.otf');
}

@font-face {
    font-family: yuanrou;
    src: url('../yuanrouHeavy/yuanrou-Heavy.ttf');
}

@font-face {
    font-family: SpaceMono;
    src: url('../space-mono/SpaceMono-Bold.ttf');
}

html {
    overflow-x: hidden;
    height: 100%;
}

body {
    margin: 0 auto;
    font-family: 'yuanrou';
    height: 100%;
}

/* preload */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap');

#spinner {
    position: fixed;
    z-index: 9999999;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    font-family: 'SpaceMono';
    color: #eee;
    font-size: 72px;
    animation: hidetip 3s 1;
    animation-delay: 5.3s;
    animation-fill-mode: forwards;
}

@keyframes hidetip {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#spinner p {
    position: relative;
}

#spinner p:before, #spinner p:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#spinner p:before {
    background-color: #222;
    animation: typing 4s steps(15) 500ms forwards;
}

#spinner p:after {
    width: 2px;
    background-color: #eee;
    animation: typing 4s steps(15) 500ms forwards,
    blink 500ms steps(15) infinite;
}

@keyframes typing {
    to {
        left: 100%;
    }
}

@keyframes blink {
    from, to {
        background: transparent;
    }
    50% {
        background: #fff;
    }
}
/* preload */

header {
    background-image: url(../img/postcard-header-red.jpg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    top: 0;
    color: #f5f5f5;
    padding-top: 40px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: start;
    position: relative;
    margin-bottom: 30px;
}

header a img {
    width: 386px;
    filter: brightness(0) invert(1);
    margin-left: 30px;
}

.mainmenubtn {
    width: 57px;
    filter: brightness(0) invert(1);
    margin-left: 818px;
}

.mainmenubtn:hover {
    cursor: pointer;
    filter: brightness(0) invert(1) drop-shadow(7px 7px 5px #f5f5f5);
}

nav {
    position: relative;
    display: inline-block;
    right: 70px;
    width: 900px;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: rgba(33, 34, 38, 0.7);
    border-radius: 50px;
    margin-top: 5px;
}

.dropdown li {
    position: relative;
    list-style-type: none;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dropdown li a {
    position: relative;
    font-family: 'siyuan';
    font-size: 1.1rem;
    text-decoration: none;
    line-height: 1em;
    letter-spacing: 2px;
    padding-right: 10px;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    display: block;
}

.dropdown li:nth-child(2), 
.dropdown li:nth-child(3), 
.dropdown li:nth-child(4), 
.dropdown li:nth-child(5), 
.dropdown li:nth-child(6) {
    margin-left: 30px;
}

.dropdown li:nth-child(6){
    margin-right: 25px;
}

.dropdown li a::before {
    content: attr(data-text);
    position: absolute;
    color: var(--clr);
    width: 0;
    overflow: hidden;
    transition: 1s;
    border-right: 5px solid var(--clr);
    -webkit-text-stroke: 1px var(--clr);
}

ul li a:hover::before {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 25px var(--clr));
}

h1 {
    width: 100%;
    font-size: 1rem;
    text-align: center;
    margin-left: 130px;
}

h1:nth-child(4),
h1:nth-child(7),
h1:nth-child(9),
h1:nth-child(11) {
    margin-top: 2rem;
}

.about {
    padding-top: 50px;
    background-color: #f5f5f5;
}

h2, 
h3 {
    font-family: 'trattatello';
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.5rem;
}

.about-flex {
    display: flex;
    margin-top: 50px;
    margin-left: 10%;
    margin-right: 5%;
}

.about-flex img {
    width: 323px;
    height: 243px;
    margin-top: 100px;
}

.about-text p {
    font-family: 'yuanrou';
    text-align: left;
    margin-left: 22%;
    line-height: 20px;
}

.about-text p:nth-child(3),
.about-text p:nth-child(5) {
    margin-top: 50px;
}

.stflibtn {
    background-color: #000;
    color: #f5f5f5;
    font-family: 'trattatello';
    text-align: center;
    cursor: pointer;
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 1.3rem;
    padding-top: 5px;
    letter-spacing: 0.3rem;
    width: 300px;
    height: 37px;
    margin-bottom: 70px;
    margin-left: 73%;
    transition: 0.2s;
}
  
.stflibtn:hover {
    color: #000;
    transform: translate(-0.25rem,-0.25rem);
    background: #ed0e0e;
    box-shadow: 0.25rem 0.25rem #000;
}
  
.stflibtn:active {
    transform: translate(0);
    box-shadow: none;
}

.staffli {
    display: none;
    position: absolute;
    left: 50%;
    top: 151.25%;
    transform: translate(-50%, -50%);
    background-image: url(../img/bg.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 102.58vh;
}

.bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f5f5f5;
    border-radius: 5px;
    width: 1000px;
    height: 600px;
    padding-top: 50px;
}

.closebtn {
    position: relative;
    width: fit-content;
    min-width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 2.5px solid #b6b6b6;
    box-shadow: 0px 0px 20px -20px;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: all 0.2s ease-in-out 0ms;
    user-select: none;
    font-family: 'Poppins', sans-serif;
    margin-left: 111%;
    top: -99%;
}
  
.closebtn:hover {
    background-color: #d7d7d7;
    box-shadow: 0px 0px 20px -18px;
}
  
.closebtn:active {
    transform: scale(0.95);
}

.bg ul {
    list-style-type: none;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.bg li {
    font-family: 'yuanrou';
    font-size: 1.2rem;
    width: 30%;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 30px;
}

.bg p {
    font-family: 'siyuan';
    font-size: 1.1rem;
    font-weight: bold;
}

.video {
    width: 100%;
    height: 100vh;
    background-color: #000;
    color: #f5f5f5;
    padding-top: 20px;
    text-align: center;
}

.vd-bg {
    background-image: url(../img/window.png);
    background-size: 420px 380px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    filter: brightness(0) invert(1);
    width: 100%;
    height: 100vh;
    margin-top: -30px;
    padding-top: 30px;
}

.vd-bg h2 {
    margin-top: 280px;
    font-size: 4rem;
}

.vd-bg button, .vd-bg button::after {
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    position: relative;
    margin-top: -50px;
}

.vd-bg button:hover {
    transform: scale(1.2);
    transition: .2s linear;
}

.video-end {
    width: 100%;
    height: 100vh;
    background-image: url(../img/video-end.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hei {
    background-color: #f5f5f5;
}

#heipost {
    width: 20%;
    padding-top: 50px;
    margin-left: 100px;
}

.h4 {
    font-size: 1.7rem;
    color: #758c53;
    letter-spacing: 0.2rem;
    margin-left: 37%;
    margin-top: -20%;
}

.heibutton {
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    background-color: #758c53;
    font-size: 16px;
    color: #f5f5f5;
    letter-spacing: 5px;
    font-weight: bolder;
    animation: none;
    transition: all .5s ease-in-out;
    font-family: 'Rajdhani', sans-serif;
    margin-left: 70%;
    margin-top: 70px;
    margin-bottom: 60px;
    cursor: pointer;
}
   
.heibutton:hover {
    border-radius: 30px 30px 0px 30px;
    box-shadow: inset 0px 30px 10px -25px black;
    transition: all .5s ease-in-out;
    animation: bounce42 1.6s infinite;
}
   
@keyframes bounce42 {
    0%, 20%, 50%, 80%, 100% {
     transform: translateY(0);
    }
   
    40% {
     transform: translateY(-5px);
    }
   
    60% {
     transform: translateY(-5px);
    }
} 

.heiimg {
    display: none;
    position: absolute;
    top: 405%;
    left: 0;
    background-color: #758c53;
    width: 100%;
    margin-top: -18px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.heibg {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-left: 100px;
    margin-right: 100px;
}

.heiimg img {
    width: 24%;
    height: 44vh;
}

.c-btn {
    position: absolute;
    width: fit-content;
    min-width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 2.5px solid #b6b6b6;
    box-shadow: 0px 0px 20px -20px;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: all 0.2s ease-in-out 0ms;
    user-select: none;
    font-family: 'Poppins', sans-serif;
    margin-left: 96%;
    top: 5%;
}
  
.c-btn:hover {
    background-color: #d7d7d7;
    box-shadow: 0px 0px 20px -18px;
}
  
.c-btn:active {
    transform: scale(0.95);
}

.events {
    display: flex;
    justify-content: space-between;
    padding-top: 95px;
    padding-bottom: 50px;
    background-color: #f5f5f5;
}

.events h2 {
    margin-left: 150px;
    font-size: 2rem;
    color: #c00b0b;
}

.events ul {
    display: flex;
    list-style-type: none;
    padding-top: 23px;
}

.events ul span {
    padding-right: 20px;
    padding-left: 20px;
    border-left: 5px solid #000;
    border-radius: 2px;
}

.events ul a {
    text-decoration: none;
    color: #000;
    font-family: 'yuanrou';
    font-size: 1rem;
    padding-right: 20px;
    margin-right: 150px;
    border-right: 5px solid #000;
    border-radius: 2px;
    cursor: pointer;
}

.fanarts a {
    text-decoration: none;
    color: #f5f5f5;
}

.fanarts {
    display: none;
    position: absolute;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    background-color: #cc2121;
    font-size: 16px;
    color: #f5f5f5;
    letter-spacing: 5px;
    font-weight: bolder;
    animation: none;
    transition: all .5s ease-in-out;
    font-family: 'Rajdhani', sans-serif;
    margin-left: 28%;
    margin-top: -170px;
    cursor: pointer;
    border-radius: 30px 30px 0px 30px;
    transition: all .5s ease-in-out;
    animation: bounce42 1.6s infinite;
}
   
.fanarts:hover {
    border-radius: 30px 30px 30px 30px;
    box-shadow: inset 0px 30px 10px -25px black;
    animation: none;
}
   
@keyframes bounce42 {
    0%, 20%, 50%, 80%, 100% {
     transform: translateY(0);
    }
   
    40% {
     transform: translateY(-5px);
    }
   
    60% {
     transform: translateY(-5px);
    }
} 

.backbtn {
    position: fixed;
    height: 50px;
    top: 78.4%;
    left: 96.5%;
}

.back {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 3px solid #c00b0bbd;
    border-radius: 80px;
    color: #c00b0bbd;
    background: none;
    position: absolute;
    padding-bottom: 1.2em;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    cursor: pointer;
}
 
.back > div,.back > svg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}
 
.back .clone > *,.back .btext > * {
    opacity: 1;
    font-size: 1.25rem;
    transition: 0.2s;
    margin-left: 0;
}
  
.back .clone > * {
    transform: translateY(60px);
}
  
.back:hover .clone > * {
    opacity: 1;
    transform: translateY(0px);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
  
.back:hover .btext > * {
    opacity: 1;
    transform: translateY(-60px);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
  
.back:hover .clone > :nth-child(1) {
    transition-delay: 0.15s;
}
  
.back:hover .clone > :nth-child(2) {
    transition-delay: 0.2s;
}
  
.back:hover .clone > :nth-child(3) {
    transition-delay: 0.25s;
}
  
.back:hover .clone > :nth-child(4) {
    transition-delay: 0.3s;
}

.back svg {
    width: 30px;
    right: 7px;
    top: 50%;
    margin-right: px;
    transform: translateY(-50%) rotate(-50deg);
    transition: 0.2s ease-out;
}
  
.back:hover svg {
    transform: translateY(-50%) rotate(-90deg);
}

footer {
    height: 100px;
    background-color: #212226;
}

.footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    bottom: 0;
    background-color: #212226;
}

.social-media {
    display: flex;
    margin-top: 40px;
}

.social-media img {
    margin-left: 50px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.footer p {
    color: #f5f5f5;
    margin-right: 1%;
    margin-top: 70px;
}
