: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;
}
section#features {
    height: auto;
}
section#sponsors div div {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
}
section#sponsors div div {
    margin: 40px 0px;
    width: calc(100% - 80px);
}
section#sponsors div div img.doug {
    position: absolute;
    transform: translate(350px, -50%);
    z-index: -4;
    height: 200px;
}
.sponsor {
    cursor: pointer;
    transition: .5s ease;
}
.sponsor:hover {
    color: var(--headline);
    transition: .5s ease;
}
@media screen and (max-width: 900px) {
    section#sponsors div div img.doug {
        display: none;
    }
}
div.features {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 30px;
    width: calc(100% - 100px);
    margin: 0px auto;
    max-width: 2000px;
    justify-content: space-between;
}
/*( div.features .feature {
    flex: 0 1 calc(12.5% - 11.25px);
    box-sizing: border-box;
} */
 
div.feature {
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
    background-color: var(--stroke);
    border-radius:var(--radius);
    box-shadow: 0 4px 8px 0 #000;
    display: inline-block;
    overflow: hidden;
    position: relative;
    animation: FadeIn 1s ease;
}
div.feature img {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .2s ease;
    filter:brightness(0.35);
}
div.feature:hover img {
    transform: scale(1.3);
    filter:brightness(0.5);
    transition: .2s ease;
}
.feature:hover .features {
    animation-play-state: paused;
}
div.feature div.info {
    text-align: left;
    background: linear-gradient(110deg, rgba(254,65,224,0.5) 0%, rgba(224,56,221,0) 65%);
    background-position: -100px 0px;
    background-repeat: no-repeat;
    height: 100%;
    width: calc(100% - 40px);
    position: absolute;
    display: block;
    top: 0px;
    padding: 20px;
    transition: .5s ease;
}
div.feature div.info h1 {
    margin: 2px;
    transition: .5s ease;
    overflow: hidden;
    text-overflow: ellipsis;
}
div.feature div.info p {
    font-size: 1.1em;
    opacity: 0.5;
    transform: translateX(0);
    transition: .5s ease;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}
div.feature:hover div.info p {
    opacity: 1;
    transform: translateX(5px);
    transition: .5s ease;
} 
div.feature:hover div.info h1 {
    transform: translateX(2px);
    transition: .5s ease;
}

div.feature div.info:hover {
    background-position: 0px 0px;
    transition: .8s ease;
}

.scroll-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    position: relative;
    mask-image: linear-gradient(to left, transparent, blue 15%, blue 85%, transparent);
}

.features {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: max-content;
    animation: scroll-horizontal 30s linear infinite;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-191%);
  }
}

.feature {
    flex: 0 0 400px;
}

footer.site-footer {
    position: relative;
    height: 80px;
    margin-top: -50px;
    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;
}
.features:hover {
  animation-play-state: paused;
}

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;
    }
}