:root {
    --background: #060206;
    --headline: #fffffe;
    --paragraph: #E5E4E5;
    --button: #ff85fb;
    --button-text: #110B11;

    --stroke: #110B11;
    --main: #E5E4E5;
    --highlight: #fc65f9;
    --secondary: #abd1c6;
    --tertiary: #ff39de;
    --radius: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    padding: 0px;
    overflow-y: auto;
    overflow-x: hidden;
    line-height: 1;
    font-family: Poppins, sans-serif;
    color: var(--paragraph);
    user-select: none;
    background-color: var(--background);
    transition: .4s ease;
}
div#bg {
    position: fixed;
    opacity: 0.1;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: 1s ease;
    filter:blur(100px);
}

a:link {
    font-weight: 600;
    text-decoration: none;
    color: var(--secondary);
}

a:visited {
    font-weight: 600;
    text-decoration: none;
    color: var(--secondary);
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: var(--background);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--button);
    transition: ease-in 10s
}

.header {
    overflow: hidden;
    background-color: #0e0e0e;
    filter: drop-shadow(0px 4px 8px #000);
    position: fixed;
    width: 100%;
    z-index: 10;
}

.header a {
    font-weight: 100;
    float: left;
    display: block;
    color:var(--main);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    transition: 1s ease;
    animation: SlideInBottom 1s ease;
}

.header a:not(.logo) {
    float:right;
}

.header a.logo {
    font-weight: 1000;
    animation: SlideInLeft 1s .1s ease;
}

.header a:hover {
    color: var(--button);
}

.header a.active {
    color:var(--button);
}

.header .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .header a:not(:first-child) {
        transition: 1s ease;
        display: none;
    }

    .header a:not(.logo) {
        transition: 1s ease;
        float:left;
    }

    .header a.icon {
        transition: 1s ease;
        float: right;
        display: block;
    }

    .header.responsive {
        transition: 1s ease;
        position: fixed;
    }

    .header.responsive .icon {
        transition: 1s ease;
        position: absolute;
        right: 0;
        top: 0;
    }

    .header.responsive a {
        transition: 1s ease;
        float: none;
        display: block;
        text-align: left;
    }
}
.header .disappear {
    animation: HeaderDisappear .5s ease 1;
    display: none;
}

@keyframes HeaderDisappear {
    0% {
        transform: translateY(0);
    }

    99% {
        transform: translateY(-100%);
    }

    100% {
        display: none;
    }
}

.sidebar.left {
    position: fixed;
    width: 1000px;
    left: 0px;
    top: 100%;
    padding: 10px;
    transform: rotate(270deg) translateX(0%) translateY(0%);
    transform-origin: 0% 0%;
}

div.center {
    position: relative;
    display: block;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    height: auto;
}
div.middle {
    position: relative;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
}

img#bgLogo {
    position: absolute;
    margin-top: -40px;
    height: 400px;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0.4;
    z-index: -1;
    animation: LogoIn 3s ease-in-out;
}
@keyframes LogoIn {
    0% {
        transform: translateX(-50%) translateY(-65%);
        opacity: 0;
    } 100% {
        transform: translateX(-50%) translateY(-50%);
        opacity: 0.4;
    }
}

section {
    height: 100vh;
    text-align: center;
}
section#about div {
    word-wrap: normal;
    word-break: keep-all;
}
section#intro {
    height: auto;
    padding-bottom: 150px;
    padding-top: 400px;
}
section#join {
    height: auto;
    padding-top: 100px;
}

.rules_wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 90%;
    max-width: 2000px;
    margin: 0 auto 40px auto;
}

.rule_categories {
    flex: 0 0 30%;
    background-color: var(--stroke);
    border-radius:var(--radius);
    box-shadow: 0 4px 8px 0 #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /*flex-start */
    gap: 10px;
    height: 300px;
    animation: FadeIn 1s ease;
}

.rule_categories a span {
    position: relative;
    border-radius: var(--radius);
    color: #3AA9FF;
    cursor: pointer;
    line-height: 23px;
    display: block;
    font-size: 22px;
    text-align: left;
    padding: 6px 10px;
}

.rule_categories a span:hover {
    text-decoration: underline;
}

.rule_categories h2 {
    font-size: 30px;
    align-items: center;
    justify-content: top;
}

.rule_categories a {
    display: block;
    unicode-bidi: isolate;
    vertical-align: baseline;
    cursor: default;
    height: 46;
}

.rules_info {
    flex: 1;
    background-color: var(--stroke);
    border-radius: var(--radius);
    box-shadow: 0 4px 8px #000;
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    animation: FadeIn 1s ease;
}

.break {
    gap: 10px;
    width: 95%;
    margin: 0px auto;
    max-width: 2000px;
    height: 10px;
    background-color: #0f0f0f;
    border-radius:var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px 0 #000;
    animation: FadeIn 1s ease;
}

section#rules {
    padding-bottom: 300px;
    height: 100px;
}
section#chat {
    padding-bottom: 300px;
    height: 100px;
}
section#ingame {
    padding-bottom: 230px;
    height: 100px;
}
section#ffa {
    padding-bottom: 140px;
    height: 100px;
}
section#discord {
    padding-bottom: 200px;
    height: 100px;
}

footer.site-footer {
    position: relative;
    height: 80px;
    margin-top: -100px;
    clear: both;
    z-index: 5;
    padding: 30px 0;
    background: rgba(0,0,0,0.9);
    text-align: center;
    color: #fff;
    z-index: 5;
}

.typing-ip {
  font-family: monospace;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  margin: 0 12px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--button);
  transition: .3s ease;
}

button {
    background-color: var(--button-text);
    color: var(--button);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 30px;
    border: 0.2vw solid var(--button);
    transition: .3s ease;
}

button:hover {
    background-color: var(--button);
    color: var(--button-text);
    border-color: var(--button-text);
    transition: .3s ease;
}

h1 {
    color: var(--headline);
    font-size: xx-large;
}

hr {
    border-top: 5px solid var(--paragraph);
    display: inline-block;
    vertical-align: middle;
    border-radius: var(--radius);
}

div ._ip {
    display: inline-block;
    cursor: pointer;
}
div ._ip .clicked {
    background-color: var(--button);
}

.bg-first {
    background-image: url(./assets/images/prac.png);
}
.bg-two {
    background-image: url(./assets/images/survival.png);
}
.bg-three {
    background-image: url(./assets/images/event.png);
}
.bg-four {
    background-image: url(./assets/images/code.png);
}

@keyframes SlideInBottom {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes SlideInRight {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes SlideInLeft {
    0% {
        transform: translateX(-10%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes SlideInTop {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes FadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}