@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;500&display=swap'); :root{ --main1: rgb(255, 215, 0); --main2: rgba(23, 23, 23, 0.9); } *{ box-sizing: border-box; padding: 0; margin: 0; font-family: 'Kanit', sans-serif; } .window{ position: absolute; top: 0; background-color:rgb(15, 15, 15); width: 100%; height: 100%; z-index: 2; animation: welcomeIn 2s forwards; } .video-background { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden; } .video-background img { width: 100vw; height: 100vh; object-fit: cover; } .container{ cursor: default; display: flex; align-items: center; justify-content: center; width: 100%; height: 100vh; background: radial-gradient(circle,transparent,rgb(0, 0, 0)120%); } .patch_note{ position: absolute; left: 20px; top: 55%; opacity: 0; padding: 10px 5px; border-radius: 0.4em; animation: leftIn 2s 1s forwards; } .patch_hd{ display: flex; align-items: center; margin-left: 10px; font-size: 28px; color: white; } .patch_hd i{ padding: 3px 10px; margin-right: 10px; font-size: 25px; border-radius: 0.3em; background-color: var(--main1); } .patch i{ padding: 5px; margin-right: 10px; font-size: 18px; border-radius: 0.3em; background-color: rgb(39, 39, 39); } .patch_area{ display: flex; flex-direction: column; color: white; font-weight: 300; padding: 10px 15px; width: 430px; overflow-y: scroll; max-height: 240px; border-radius: 0.5em; } .patch{ display: flex; align-items: center; float: left; padding: 0px 10px; border-radius: 0.5em; margin-bottom: 5px; } .logo{ filter: drop-shadow(0 0 20px rgb(0, 0, 0)); margin-top: -100px; z-index: 2; position: absolute; width: 300px; opacity: 0; animation: float1 7s 4s linear infinite,In 3s 1s forwards; } @keyframes float1{ 0%{ transform: translateY(0px); }25%{ transform: translateY(10px); }50%{ transform: translateY(-10px); }75%{ transform: translateY(10px); }100%{ transform: translateY(0px); } } .centerArea{ margin-top: 240px; color: #fff; text-shadow: 0 1px 4px rgb(255, 255, 255); font-size: 30px; } .startArea{ flex-direction: column; display: flex; align-items: center; justify-content: center; position: absolute; bottom: 100px; opacity: 0; z-index: 2; animation: In 1.5s 2.5s forwards; } .startArea .start_btn{ display: flex; align-items: center; justify-content: center; background: rgb(199, 199, 199); outline: none; width: 180px; height: 35px; color: #fff; font-size: 22px; animation: pulse 1400ms; z-index: 1; border: none; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset; } .start_btn.active{ animation: pulse 1400ms infinite; background: var(--main1); z-index: 1000; } .startArea .start_btn:hover{ transition: .2s; /* animation: none; */ box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -5px 0px inset; } .startArea p{ background: var(--main2); padding: 0 15px; color: rgb(222, 222, 222); font-size: 13px; margin-top: 15px; border-radius: 30px; box-shadow: rgba(44, 32, 6, 0.4) 0px 0px 0px 2px, rgba(44, 32, 6, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset; } @keyframes pulse{ 0%{ box-shadow: #ffd000 0 0 0 0; }75%{ box-shadow: #ffffff00 0 0 0 15px; } } .news_pos{ animation: leftIn 2.0s 1.5s forwards; opacity: 0; /* transform: skewY(2deg); */ position: absolute; left: 35px; top: 15%; } .newsArea{ font-weight: 300; color: white; padding: 15px 20px; width: 400px; border-radius: 0.4em; max-height: 250px; overflow-y: scroll; } .posters_pos{ position: absolute; right: 5%; height: 600px; width: 400px; background: #000; top: 20%; overflow-y: scroll; opacity: 0; animation: In 1.5s 1.5s forwards; } .devider_poster{ width: 100%; height: 10px; background: var(--main1); box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset; } .hd_news{ color: white; padding: 5px 10px; font-size: 40px; } .hd_news i{ padding: 5px; margin-right: 10px; font-size: 27px; border-radius: 0.3em; background-color: var(--main1); } .news{ display: flex; padding: 5px 5px; align-items: center; } .news i{ padding: 5px; margin-right: 10px; font-size: 18px; border-radius: 0.3em; background-color: rgb(39, 39, 39); } ::-webkit-scrollbar{ display: none; } .posters{ margin: 5px; } .posters img{ border-radius: 0.4em; width: 100%; height: 180px; } .header{ color: #fff; } .controlBtn{ display: flex; align-items: center; position: absolute; bottom: 10px; padding: 5px; } .controlBtn button{ margin: 2px; color: #fff; background: none; display: flex; align-items: center; justify-content: center; padding: 0 10px; width: 150px; height: 40px; font-size: 22px; border: none; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset; transition: .3s ease; } .controlBtn button:hover{ z-index: 99999; transition: .3s; transform: scale(1.2) translateY(-5px) ; background: var(--main1); box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -2px 0px inset; } .controlBtn p{ color: rgb(199, 199, 199); font-size: 14px; } .loadbar{ position: absolute; bottom: 0; width: 100%; height: 5px; background: black; } .load{ transition: 0.5s; width: 0%; height: 100%; background: var(--main1); } .key-window{ opacity: 0; position: absolute; top: 50%; left: 50%; padding: 10px; width: 800px; height: 500px; border-radius: 0.5em; background-color: #161616e3; transform: translate(-50%,-50%); z-index: 100000; } .key-header{ display: flex; align-items: center; font-weight: 300; font-size: 26px; color: white; } .key-header i{ padding: 0 5px; margin-right: 10px; border-radius: 0.2em; background-color: var(--main1); } .key-detail{ display: flex; flex-direction: column; overflow: hidden; margin-top: 10px; width: 100%; height: 425px; padding: 10px 5px; color: white; font-weight: 300; } .key-detail>div{ font-weight: 300; margin-bottom: 5px; float: left; color: white; } i { text-shadow: 0 1px 1px #000; } .about-window{ position: absolute; top: 50%; left: 50%; padding: 10px; width: 800px; font-size: 20px; color: rgb(255, 255, 255); opacity: 0; transform: translate(-50%,-50%); background-color: #161616e3; padding: 10px; border-radius: 0.5em; z-index: 10000; } .headerAbout{ display: flex; align-items: center; } .headerAbout i{ padding: 5px 10px; margin-right: 10px; background-color: var(--main1); border-radius: 0.3em; } .all-about{ overflow-y: scroll; width: 100%; min-height: 28%; padding:10px 5px; } .detail{ display: flex; float: left; width: 250px; height: 100px; margin-left: 5px; border-radius: 0.3em; background-color: #161616e3; margin-bottom: 10px; box-shadow: 0 1px 1px #000; } .left{ display: flex; align-items: center; justify-content: center; width: 50%; height: 100%; } .left img{ width: 70px; height: 70px; padding: 5px; border-radius: 50%; background-color: #353535e3; } .right{ width: 50%; padding: 0 10px; display: flex; font-weight: 300; font-size: 16px; flex-direction: column; align-items: flex-start; justify-content: center; } @keyframes topIn{ 0%{ opacity: 0; top: -500px; display: none; } 100%{ opacity: 1; top:50%; display: block; } } @keyframes topOut{ 0%{ opacity: 1; top:50%; display: block; } 100%{ opacity: 0; top: -500px; display: none; } } @keyframes leftIn{ 0%{ opacity: 0; left: -600px; } 100%{ opacity: 1; left: 20px; } } @keyframes leftOut{ 0%{ opacity: 1; left: 20px; } 100%{ opacity: 0; left: -600px; } } @keyframes welcomeIn{ 0%{ opacity: 1; top: 0; } 100%{ opacity: 1; top: -100%; } } @keyframes welcomeOut{ 0%{ opacity: 1; top: -100%; } 100%{ opacity: 1; top: 0; } } @keyframes In{ 0%{ opacity: 0; } 100%{ opacity: 1; } } @keyframes Out{ 0%{ opacity: 1; } 100%{ opacity: 0; } } .image-container img{ width: 400px; height: 700px; } .slider-container{ scale: 0.85; position: absolute; overflow: hidden; right: 0.5%; width: 400px; height: 700px; overflow: hidden; border-radius: 10px; z-index: 1; } .image-container{ width: 400px; height: 700px; display: flex; transition: transform .4s ease-in-out; } .btn{ display: flex; position: absolute; top: 50%; color: #fff; transform: translateY(-50%); font-size: 30px; background: transparent; opacity: .4; cursor: pointer; padding: 10px 0; background: black; } .btn.prev{ border-radius: 0 8px 8px 0; left: 0px; z-index: 100; } .btn.next{ border-radius: 8px 0 0 8px; right: 0px; z-index: 100; } .btn:hover{ transition: 0.3s; background: var(--main1); opacity: 1; }