/* VARIABLES */

:root {
    --primary-color: #2798eb;
    --primary-color-half: rgba(0, 78, 137, 0.5);
    --home-color: #457eff;
    --secondary-color: #3259c2;
    --nav-bg-color: rgb(30, 30, 30);
    --nav-half-bg-color: rgba(30, 30, 30, 0.6);
    --font-color: #ddd;
    --bg-color: #151515;
    --switch-bg-color: rgba(255, 255, 255, 0.05);
    --loader-bg-color: #151515;
    --overlay-color: rgba(0, 0, 0, 0.52);
    --scroll-bg-color: #0f0f0f;
    --scroll-fg-color: #272727;
    --moon: none;
    --sun: block;
    --invert: invert(0%);
    --box-bg-color: rgb(27, 27, 27);
    --home-img: url(lib/logo-foot-white.svg);
}

[data-theme="light"] {
    --primary-color: #457eff;
    --primary-color-half: rgba(69, 126, 255, 0.5);
    --home-color: #23457b;
    --secondary-color: #3259c2;
    --nav-bg-color: #eee;
    --nav-half-bg-color: rgba(238, 238, 238, 0.6);
    --font-color: #000;
    --bg-color: #fff;
    --switch-bg-color: rgba(0, 0, 0, 0.05);
    --loader-bg-color: #ffffff;
    --overlay-color: rgba(255, 255, 255, 0.3);
    --scroll-bg-color: #ddd;
    --scroll-fg-color: #aaa;
    --moon: block;
    --sun: none;
    --invert: invert(100%);
    --box-bg-color: #eee;
    --home-img: url(lib/logo-foot.svg);
}

/* PREREQUISITES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    outline: none !important;
}

html {
    margin: 0;
}

::-webkit-scrollbar {
    width: 10px;
    z-index: 999;
}

::-webkit-scrollbar-track {
    background-color: var(--scroll-bg-color);
    transition: 0.4s;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-fg-color);
    transition: 0.4s;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--font-color);
    transition: 0.4s;
    scrollbar-width: 10px;
    scrollbar-color: var(--scroll-fg-color) var(--scroll-bg-color);
}

hr {
    border-color: var(--scroll-fg-color);
    transition: 0.4s;
}

a {
    color: var(--secondary-color);
    transition: 0.4s;
    cursor: pointer;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* LOADER */

.load {
    height: 100%;
    width: 100%;
    background-color: var(--loader-bg-color);
}

.loader {
    position: absolute;
    left: 47%;
    top: 43%;
    width: 50px;
    height: 90px;
}

.loader div {
    background-color: var(--primary-color);
    height: 100%;
    width: 6px;
    display: inline-block;
    animation: loading 1.2s infinite ease-in-out;
}

.loader .rect2 {
    animation-delay: -1.1s;
}

.loader .rect3 {
    animation-delay: -1.0s;
}

.loader .rect4 {
    animation-delay: -0.9s;
}

.loader .rect5 {
    animation-delay: -0.8s;
}

.mainBod {
    display: none;
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

/* DARK MODE SWITCH */

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    float: right;
    margin: 10px 15px 10px 15px;
    position: fixed;
    bottom: 20;
    right: 20;
    z-index: 999;
}

.theme-switch-wrapper a {
    margin: 10px 15px;
}

.theme-switch {
    display: inline-block;
    height: 50px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30;
    text-align: center;
    padding-top: 10;
    background-color: var(--switch-bg-color);
}

.sun {
    display: var(--sun);
}

.moon {
    display: var(--moon);
}

.slider img {
    height: 30px;
}

.slider.round {
    border-radius: 50%;
}

.theme-switch-wrapper:hover .dark-mode-text::after {
    width: 0 !important;
}

.dark-mode-text:hover {
    color: var(--primary-color);
}

/* NAVBAR */

.navbar a:hover {
    opacity: 1;
    background-color: var(--nav-bg-color);
}

.navbar:hover {
    background-color: var(--nav-half-bg-color);
}

.navbar {
    background-color: transparent;
    overflow: hidden;
    position: fixed;
    width: 100%;
    border-radius: 0;
    z-index: 500;
    padding-left: 5%;
    padding-right: 5%;
    transition: all 0.25s;
    color: var(--primary-color);
}

.navbar a {
    float: right;
    display: block;
    color: var(--font-color);
    text-align: center;
    text-decoration: none;
    transition: all 0.25s;
    padding: 17px;
    opacity: 0.6;
    position: relative;
    z-index: 1;
    font-size: 17;
    font-family: 'Raleway', sans-serif;
}

.navbar a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: var(--font-color);
    height: 2px;
    z-index: -1;
    transition: all 0.25s;
}

.nav-img {
    padding: 0 !important;
    margin: 0 !important;
    float: left !important;
    background-image: url(lib/logo-bg.png);
    background-size: cover;
    transition: 0.4s;
}

.nav-img img {
    width: 25vw;
    filter: var(--invert);
}

.nav-img::after {
    background: none !important;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a.log {
    float: right;
}

.navbar span {
    float: left;
    display: block;
    text-align: center;
    padding: 2vh;
    text-decoration: none;
    margin: 10px 15px;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-color);
}

.navbar a span {
    float: right !important;
    padding: 0;
    margin: 4vh;
    color: #fff;
}

.sidenav {
    height: 100%;
    width: 0%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(20, 20, 20, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 10%;
}

.sidenav a {
    display: block;
    color: var(--secondary-color);
    text-align: center;
    padding: 10px 4px;
    width: 80%;
    text-decoration: none;
    transition: all 0.5s;
    margin: 10px 15px;
    position: relative;
    font-size: 25;
    text-transform: uppercase;
    font-weight: 500 !important;
    font-family: 'garage-gothic', sans-serif;
    font-size: 30;
    text-transform: uppercase;
}

.sidenav a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: '.';
    color: transparent;
    background: var(--primary-color);
    height: 2px;
    transition: all 0.5s;
}

.sidenav a:hover::after {
    width: 50%;
}

.sidenav a:hover {
    color: var(--primary-color);
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 2%;
    font-size: 36px;
    margin-left: 4%;
    margin-top: 5%;
    width: 10%;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

@media screen and (max-width: 950px) {
    .nav-big {
        display: none !important;
    }

    .nav-small {
        display: block !important;
    }
}

.nav-big {
    display: block;
}

.nav-small {
    display: none;
}

.disappear {
    top: -200;
}

/* HOME */

#home {
    background: var(--overlay-color);
    height: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    z-index: -1;
    align-content: center;
    justify-content: center;
    transition: 0.4s;
}

.home-logo {
    margin: 45vh 20 20 20;
    filter: var(--invert);
}

.a-btn {
    color: var(--font-color);
    border: solid 1.5px;
    background: none;
    border-radius: 30px;
    padding: 10 30;
    justify-content: center;
    align-content: center;
    transition: 0.5s;
    text-align: center;
    border-color: var(--primary-color);
    font-size: 15 !important;
    text-transform: none;
}

.a-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
    text-decoration: none;
}

#home::before {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    /*background-image: url(lib/hackermanislyfe.jpg);*/
    background-image: url(lib/homebg.png);
    background-attachment: fixed;
    content: "";
    height: 100%;
    width: 100%;
    z-index: -1;
    transition: 0.4s;
}

/* SECTIONS */

.sections {
    z-index: 1;
    background-color: var(--bg-color);
    color: var(--font-color);
    transition: 0.4s;
    padding: 50 0;
}

.sections h1 {
    text-transform: uppercase;
}

.section-event {
    color: var(--font-color);
    padding: 50;
}

#about i {
    font-size: 17;
}

#about li {
    padding: 5px;
}

.small-list {
    margin-left: 50;
}

.time-left {
    padding: 20;
    padding-top: 3vh;
    z-index: 1;
    font-size: 30px;
    cursor: pointer;
    transition: 0.4s;
    background: linear-gradient(to right, var(--font-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(0.9);
}

.section-head h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--font-color);
    text-align: center;
    font-size: 40px;
}

.time-left:hover {
    transform: scale(1);
    -webkit-text-fill-color: transparent;
}

#days,
#mins,
#hours,
#secs {
    font-size: 25;
}

.section-hr {
    border: var(--primary-color) solid 1px;
    background-color: var(--primary-color);
    width: 40%;
}

.sections .col-md-8 {
    padding: 50;
}

.writen {
    font-size: 17;
}

.aboutImg img {
    float: center;
    width: 15vh;
    filter: var(--invert);
    opacity: 0.6;
    transition: 0.4s;
}

#about .nav-link:hover {
    background-color: transparent !important;
}

#about .nav-link:hover img {
    opacity: 0.9;
}

#about li.active .nav-link {
    background-color: transparent !important;
}

#about li.active .nav-link img {
    opacity: 1;
}

.indent {
    margin-left: 40;
}

.aboutTextCont {
    padding-top: 7%;
}

/* UPDATES */

iframe {
    border: none;
    -ms-overflow-style: none;
}

iframe::-webkit-scrollbar {
    display: none;
}

.updates {
    height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.card {
    justify-content: center;
    align-content: center;
    transition: 0.5s;
    text-align: left;
    margin: 5px 10px;
    line-height: 26px;
}

.new {
    content: 'New';
    -webkit-animation: changebg 2s linear infinite;
    animation: changebg 2s linear infinite;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    padding: 5px 10px;
    border-radius: 15px;
    color: #fff;
}

.card:nth-child(-n+2) {
    list-style: none;
}

/* EVENT BOX */

.event-box,
.modal-body {
    background-color: var(--box-bg-color);
    font-style: normal;
}

.event-box-top,
.modal-header {
    background-color: var(--scroll-bg-color);
    border-bottom: 2px var(--primary-color) solid;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 50;
}

.modal-footer {
    background-color: var(--scroll-bg-color);
    border-top: 2px var(--primary-color) solid;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

.modal-content {
    background-color: transparent;
}

.close span {
    color: var(--font-color);
}

.modal-header .close {
	transition:0.25 !important;
}

.page-links {
        color: rgb(127, 127, 127);
        font-size: 25px;
        padding: 5;
        transition: 0.4s;
    }

.facebook:hover {
        color: #4267B2;
    }

.email:hover {
        color: #B23121;
    }

.instagram:hover {
        color: #E1306C;
    }


#events .nav-link {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin: 10 10 0 10;
}

.event-in {
    display: none;
}

.eventact {
    display: block !important;
}

.event-box-body {
    height: 70vh;
}

.eventbod {
    position: absolute;
    text-align: left;
    height: 70vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 50;
    margin: 0 50 0 0;
    -ms-overflow-style: none;
}

.modal-body {
    padding: 50;
}

.eventbod::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 950px) {
    #events .eventbod {
        padding: 10 !important;
        width: 80vw;
    }

    #events .nav-link {
        border-radius: 5px !important;
    }
}

.event-icon {
    font-size: 1rem;
    padding: 1vh 1vw;
    margin: -10;
}

#events .nav-link i {
    color: var(--font-color);
    font-size: 40;
}

#events .nav-link:hover {
    background-color: var(--switch-bg-color) !important;
}

#events li.active .nav-link {
    background-color: var(--primary-color) !important;
}

/*HEADS*/

.imgcontainer {
    position: relative;
    width: 30vh;
    height: 30vh;
    border-radius: 100vh;
    cursor: pointer;
}

.imgoverlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    height: 30vh;
    width: 30vh;
    transition: .5s ease;
    border-radius: 100%;
    transform: scale(0);
    -webkit-transform: scale(0);
}

.imgcontainer:hover .imgoverlay {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.imgtext {
    white-space: nowrap;
    margin-top: 20;
    color: #f7f7f7;
    font-size: 1em;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    font-family: 'Montserrat Alternates'
}

.fullimg {
    height: 90%;
    width: auto;
    border: 3px #fff solid;
    animation: 1s pic ease-out;
    -webkit-animation: 1s pic ease-out;
}


@media screen and (max-width: 950px) {
    .fullimg {
        height: auto !important;
        width: 90vw !important;
    }
}

.head-img {
    border-radius: 100vh;
    height: 30vh;
    width: 30vh;
}

.heads-hr {
    width: 60%;
    border-color: #aaa;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* FOOTER */

.footer {
    padding: 5% 10%;
    text-align: center;
    z-index: 1;
    background-color: var(--nav-bg-color);
}

.footer img {
    filter: var(--invert);
    transition: 0.4s;
    width: 100%;
}

/* ANIMATIONS */

@keyframes loading {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
    }
}

@-webkit-keyframes loading {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
    }
}

@-moz-keyframes loading {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
    }
}

@-o-keyframes loading {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
    }
}

@keyframes pic {
    from {
        opacity: 0;
        border-radius: 100%;
    }

    to {
        opacity: 1;
        border-radius: 0%
    }
}

@-webkit-keyframes pic {
    from {
        opacity: 0;
        border-radius: 100%;
    }

    to {
        opacity: 1;
        border-radius: 0%
    }
}

@keyframes ease-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        margin-top: -100
    }
}

@keyframes changebg {

    0%,
    100% {
        background-color: var(--secondary-color);
    }

    50% {
        background-color: var(--primary-color);
    }
}

@-webkit-keyframes changebg {

    0%,
    100% {
        background-color: var(--secondary-color);
    }

    50% {
        background-color: var(--primary-color);
    }
}

@-moz-keyframes changebg {

    0%,
    100% {
        background-color: var(--secondary-color);
    }

    50% {
        background-color: var(--primary-color);
    }
}

@-o-keyframes changebg {

    0%,
    100% {
        background-color: var(--secondary-color);
    }

    50% {
        background-color: var(--primary-color);
    }
}





/* ____     ____
   |   \    |   \     |     |   |    |
   | |\ \   | |\ \    |     |   |    |
   | |/ /   | |/ /    |     |   |    |
   |   /    |___/     |     |   |____|
   |   \    |   \     |     |   |    |
   | |\ \   |    \    |     |   |    |
   | |/ /   |     \   |     |   |    |
   |___/    |      \  \_____/   |    | */