/* Welcome to the stylesheet for exerinity.com. It's fairly modular with all kinds of colours and a sideways navigation bar - feel free to take whatever you want. Or, rip the entire thing, idc*/

/* Give the home title a rainbow flashy "rave" effect */
@keyframes rave {

    0%,
    100% {
        color: rgba(255, 0, 0, 1);
    }

    14% {
        color: rgba(255, 165, 0, 1);
    }

    28% {
        color: rgba(255, 255, 0, 1);
    }

    42% {
        color: rgb(0, 206, 0);
    }

    57% {
        color: rgb(255, 255, 255);
    }

    71% {
        color: rgb(149, 0, 255);
    }

    85% {
        color: rgb(183, 214, 7);
    }
}

/* Twitter's proprietary font Chirp, I really like it, if you don't, piss off */
@font-face {
    font-family: 'Chirp';
    src: url('/files/fonts/twitter/chirp/chirp-regular-web.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Chirp';
    src: url('/files/fonts/twitter/chirp/chirp-medium-web.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Chirp';
    src: url('/files/fonts/twitter/chirp/chirp-bold-web.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Chirp';
    src: url('/files/fonts/twitter/chirp/chirp-heavy-web.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}


/* make the animation take 6 seconds */
.home_title {
    animation: rave 6s infinite alternate;
    font-family: Arial, Helvetica, sans-serif
}

/* This was for a "Latest YouTube Video" section I had but removed it since I'm mostly inactive on YouTube now */
/* It remains for in case I plan to readd it back in the future */
.tube:hover {
    color: red
}

/* this is pretty simple, im not gonna comment it because you could understand it by simply reading it */
body {
    background: linear-gradient(30deg, black, #001046);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgb(255, 255, 255);
    background-color: black;
    font-family: 'Chirp', sans-serif;
    margin: 0;
    padding: 0;
    animation: cool 60s infinite alternate;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* For Chirp. If you're throwing out Chirp, throw this out too */
    color: #FFFFFF;
    font-weight: 900;

}

strong {
    /* For Chirp. If you're throwing out Chirp, throw this out too */
    font-weight: 700;
}

.medium-text {
    /* For Chirp. If you're throwing out Chirp, throw this out too */
    font-weight: 500;
}

a {
    color: #ffffff;
    text-decoration: none;
    /*idk why i did this */
}

a:hover {
    color: #8d8d8d;
}

.navbar {
    /* the cool navigation bar */
    background-color: transparent;
    color: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-right: 1px solid #2f3336;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 170px;
    z-index: 999;
}

.button { /* why would you want to select the text on a button? */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.navbar ul,
h4 {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin-bottom: 5px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
}

.navbar a:hover {
    color: #a0a0a0;
}

.button {
    /* discord-like buttons */
    background-color: #0b0047;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    margin: 0 5px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
}

.button:hover {
    background-color: #171e6d;
    color: white;
}

.container {
    padding: 20px;
    margin-left: 220px;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
}

.updating {
    position: absolute;
    top: 1px;
    left: 1599px;
    color: #ffffff;
    padding: 10px;
    z-index: 999;
    white-space: nowrap;
}

@keyframes cool {
    0% {
        background-position: 20% 50%;
    }

    10% {
        background-position: 30% 48%;
    }

    20% {
        background-position: 40% 52%;
    }

    30% {
        background-position: 50% 49%;
    }

    40% {
        background-position: 60% 51%;
    }

    50% {
        background-position: 70% 50%;
    }

    60% {
        background-position: 80% 48%;
    }

    70% {
        background-position: 90% 52%;
    }

    80% {
        background-position: 85% 50%;
    }

    90% {
        background-position: 50% 49%;
    }

    100% {
        background-position: 20% 50%;
    }
}

.blog_intro {
    font-size: 10px;
    text-decoration: italic;
}