@charset "UTF-8";

html {
    font-family: 'Ubuntu', 'Calibri', sans-serif;
    text-align: center;
    color: #ffffff;
    background: #16131b;
    background-image: url('bg.svg');
    background-attachment: fixed;
    background-position: center;
    scrollbar-color: #49495f #272331;
}

h1 {
    background: #49495f;
    padding: 20px 10px 20px 10px;
    border: none;
    border-radius: 10px;
}

.texttext {
    margin: 1% auto;
    padding: 2%;
    max-width: 70%;
}

audio {
    margin-bottom: 20px auto;
}


h2 {
    padding: 20px 10px 20px 10px;
    border: none;
    border-radius: 10px;
    padding: 2%;
    margin: 1% auto;
    max-width: 70%;
}

.texttext .whitespacething {
    white-space: pre-line;
}

/* new shit */
.sidebar {
    margin: 0;
    padding: 0;
    width: 250px;
    background: #16131b;
    background-attachment: fixed;
    position: fixed;
    height: 97%;
    overflow: auto;
    top: auto;
    border: #49495f;
    border-style: solid;
    border-radius: 10px;
}

.sidebar h3 {
    background: #49495f;
    padding: 4%;
    margin: 2%;
    margin-bottom: 12px;
    border: none;
    border-radius: 10px;
}

.sidebar a {
    display: block;
    color: #a3a3a3;
    padding: 8px;
    text-decoration: none;
    border-radius: 10px;
    margin: 2%;
}

.sidebar a.workinprogress {
    margin: 2%;
    color: #444444;
    text-decoration: line-through;
}

.sidebar a.workinprogress:hover:not(.active) {
    background: #ff000000;
    color: #ffffff;
}

.sidebar a.active {
    margin: 2%;
    background: #49495f;
    color: #ffffff;
    border-radius: 10px;
}

.sidebar a.active:hover {
    background-color: #5c5ca3
}

.sidebar a:hover:not(.active) {
    margin: 2%;
    background-color: #49495f8d;
    color: white;
    border-radius: 10px;
}

div.content {
    margin-left: 250px;
    padding: 1px 16px;
    height: 1000px;
}

@media screen and (max-width: 700px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        font-size: small;
        margin-bottom: 10px;
    }

    .sidebar a {
        float: left;
    }

    div.content {
        margin-left: 0;
    }
}

@media screen and (max-width: 400px) {
    .sidebar a {
        text-align: center;
        float: none;
    }
}


/* ZE NAVI!!!!!!!!!!!!!!!!!! */
.buttonnavi {
    font-family: 'Ubuntu', 'Calibri', sans-serif;
    background-color: #49495f;
    padding: 5px 17px 5px 17px;
    color: #ffffff;
    margin-left: 10% auto;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: large;
}

.buttonnavi:hover {
    background-color: #4c7cff;
}

.navilinks {
    color: #4c7cff;
}

.navilinks:hover {
    color: #a6beff;
}

/* ZE NAVI!!!!!!!!!!!!!!!!!! */

.pageButtons {
    position: fixed;
    top: 0;
    margin: 1%;
    right: 0;
}

/* DROPDOWN THING */
.sybau {
    position: fixed;
    top: 0;
    margin: 1%;
}

.dropbtn {
    background-color: #49495f;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
    background-color: #4c7cff;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #49495f;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: rgb(255, 255, 255);
    padding: 12px 10px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #737394;
}

.show {
    display: block;
}

/* ps: thank you we3schools for free code youre my goat i love you no homo but id still kiss you sloppy style LMFAOO ASOFAS DHJAFSJVHGSCVAS */
/* DROPDOWN THING */

/* links */
a {
    color: #4c7cff;
}

a:hover {
    color: #a6beff;
}

/* links */



/* text styles and stuff */
.col {
    color: #ff81d5;
}

.small {
    color: #444444;
    font-size: small;
}

.link {
    color: #afafaf;
    font-size: small;
}

.link:hover {
    color: #7d71ff;
    cursor: pointer;
}

/* text styles and stuff */

/* i love you so much w3 schools */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* i love you so much w3 schools */



/* column view */
.stupidfuckingcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-left: 4%;
    margin-right: 4%;
}

.audiofile {
    display: flex;
    flex-direction: column;
    flex-basis: calc(50% - 10px);
    /* just so everyone here knows, i had to use some help for this. 
    i am not intelligent. do not mistake me as such */
}

.audiofile p {
    padding: 20px;
    border: 4px solid #49495f;
    background-color: #16131b;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .audiofile {
        flex-basis: 100%;
    }
}

/* column view */

/* category */
.category {
    display: flex;
    flex-direction: column;
    flex-basis: calc(50% - 10px);
    /* just so everyone here knows, i had to use some help for this. 
    i am not intelligent. do not mistake me as such */
}

.category a {
    padding: 20px;
    border: 4px solid #49495f;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100px;
    max-height: 100px;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;

    word-break: break-word;
    font-size: small;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

.category a:hover .small {
    color: #afafaf;
}

.category .bigguy {
    font-size: x-large;
    color: #886644;
}

.category a:hover {
    background-color: #49495f;
}

.category a:hover .bigguy {
    color: #de8226;
    font-weight: bold;
}

/* yea no i really tried to add the image background thing but im not experienced enough for it :/
that and im too lazy to figure it out right now */
@media (max-width: 768px) {
    .category {
        flex-basis: 100%;
    }
}

/* category */


/* audio */
/*
https://stackoverflow.com/questions/4126708/how-to-style-html5-audio-tag
*/
audio::-webkit-media-controls-enclosure {
    border-radius: 10px;
    width: 100%;
    /* background-color: #49495f; */
}
audio {
    width: 100%;
}
/* audio */