
/* whole page */
* {
    box-sizing: inherit;
}
body, html {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    width: 100%;
    height: 100%;
    background-color: #000000;
}
#page {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow-x: hidden;
    /* background-color: rgba(128, 128, 128, 0.2); */
}

.title {
    font-family: sans-serif;
    color: "black";
    text-decoration: none;
    text-align: center;
}
a::after {
    content: "→";
}
.basic-link {
    font-family: sans-serif;
    color: black;
    text-decoration: underline;
}
/* header */
header {
    text-align: center;
    border-bottom: 2px solid black;
    background-color: black;
}

/* all content pages */
.content-title {
    text-align: center;
    font-family: sans-serif;
}

/* project */
.project {
    border-bottom: 1px dashed #f6f2f7;
    padding-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    flex: 1 1 auto;
}
#project-list {
    flex: 1 1 auto;
    display: flex;
    overflow-y: scroll;
    overflow-x: hidden;
    flex-direction: column;
    width: 100%;
}
#project-list::-webkit-scrollbar {
    display: none;
}
details:focus {
    -webkit-appearance: none;
    outline: none !important;
}
.project-body > details {
    font-size: 100%;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
#page-title details {
    padding-left: 10px;
    padding-right: 10px;
}
#project-list > .project:last-child {
    padding-bottom: 10px;
    border-bottom: none;
}
.project textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 2cm;
    background-color: #000000;
}
.project br {
    padding: 10px;
}
/*.project-body > ul {
    padding-left: 10px;
    padding-right: 10px;

}*/
#settings-area  {
    flex: none;
    bottom: 0;
    max-height: 80%;
    overflow: hidden;
    margin: 0;

}
#settings-area[open] {
    max-height: 80%;
}
#settings-area .scrollable {
    overflow: scroll;
    padding: 5px 10px 10px 5px;
}

.button {
    text-align: center;
    width: auto;
    height: auto;
    font-size: 100%;
    border-style: 1px solid #f6f2f7;
    font-weight: bold;
    color: #f6f2f7;
    background-color: #000000;
}
#content {
    border: 1px solid #f6f2f7;
    color: #f6f2f7;
    background-color: #000000;
    width: 100%;
}
.field {
    text-align: left;
    width: 100%;
    max-width: 400px;
    border: 1px solid #f6f2f7;
    font-weight: bold;
    color: #f6f2f7;
    background-color: #000000;
}
.colorfield {
    width: 150px;
    height: 0.4cm;
    border: 1px solid #f6f2f7;
    background-color: #000000;
}

#side {
    display: flex;
    flex-direction: column;
    right: 0;
    vertical-align: center;
    z-index:1000;
    width: 120px;
    float: right;
}

/* bullet list for dark mode */
.dark-bullet ul {
    list-style: none;
}

.dark-bullet ul li::before {
    content: "\2022";
    color: #f6f2f7;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.dark-bullet li:last-child {
    flex-grow: 10;
}

/* stream */
.stream {
    width: fit-content;
    max-width: 720px;
    height: auto;
}
#project-list > .project {
    margin-bottom: 10px;
}

.box {

}
ul.box {
    padding-left: 15px;
    padding-right: 15px;
}

details > ul {
    padding-left: 15px;
    padding-right: 15px;
}
/* gallery */
.gallery  {
    padding: 0 !important;
}

.gallery ul {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 !important;
}

.gallery li {
    flex-grow: 1;
    flex-basis: 50%;
    object-fit: contain;
}

#gallery-small li {
    flex-grow: 1;
    flex-basis: 33%;
}

.gallery li img {
    max-height: 100%;
    max-width: 100%;
    min-width: 20%;
}

.gallery-wide li {
    flex-basis: 100%;
    max-height: 100%;
    max-width: 100%;
    min-width: 20%;
}

details.gallery[open] {
    width: 100%;
    height: 100%;
}

.border {
    color: #f6f2f7;
    border: 1px solid #f6f2f7;
    background-color: rgba(0.2, 0.2, 0.2, 0.6);
}

/* music & playlist pages */
.mix {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    overflow: hidden;
    font-family: sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed darkgray;
}

.mix-info {
    margin-left: 20px;
}

.mix-info h3, .mix-info p {
    display: inline;
    vertical-align: middle;
    line-height: 28px;
    text-decoration: none;
}

.mix-info a {
    text-decoration: none;
    color: black;
}

.mix-info-timestamp {
    margin-left: 15px;
}

.mix-image {
    text-align: center;
    flex-shrink: 0;
}

.mix-image a {
    display: inline-flexbox;
}

.mix-image img {
    padding-top: 0px;
    max-width: 300px;
    max-height: 300px;
    min-width: 300px;
    min-height: auto;
}

.mix audio {
    display: flex;
    max-width: 100%;
}

/* playlist page */
.playlist-page-header {
    text-align: center;
    font-family: sans-serif;
}

.playlist-page-header h2 {
    color: black;
}

.playlist-page-header p {
    color: gray;
}

.playlist-title {
    text-decoration: none;
    font-size: 18pt;
}

/* section */
section {
    display: -webkit-flex;
    display: flex;
    flex-shrink: 0;
    flex-grow: 1;
    overflow: auto;
}

/* nav */
nav {
    float: left;
    width: 20%;
    background: #000000;
    padding: 0px;
    flex-shrink: 0;
    flex-grow: 1;
    overflow: auto;
}

nav ul {
    list-style-type: none;
    padding-top: 0;
    padding: 0;
    padding-bottom: 0;
}

nav ul li {
    display: block;
    border-bottom: 1px solid black;
}

nav ul li a {
    font-family: sans-serif;
    color: #f6f2f7;
    text-decoration: none;
    padding-left: 5px;
}

nav ul li a p {
    font-family: sans-serif;
    color: #f6f2f7;
    text-decoration: none;
    text-align: center;
}

.last-li {
    border-bottom: none;
}

.selected {
    background-color: darkgray;
}

/* article (main content) */
article {
    float: left;
    width: 80%;
    border-left: 2px solid #000;
    background-color: "black";
    padding: 10px;
    flex-shrink: 0;
    flex-grow: 1;
    overflow: auto;
}

section {
    overflow: auto;
}

@media print {
    #page {
        height: auto;
    }
}

/* make it reactive */
@media only screen and (max-width: 860px) {
    .gallery li {
        flex-basis: 100%;
    }
    .gallery li img {
        max-width: 100%;
    }
    .gallery li video {
        max-width: 100%;
    }
}

/* make it reactive */
@media only screen and (max-width: 620px) {
    #page {
        -webkit-flex-direction: column;
        flex-direction: column;
        flex-grow: 1;
    }
    .gallery {
        padding-left: 0px;
        padding-right: 0px;
    }
    nav, article {
        width: 100%;
    }
    article {
        border-left: none;
    }
    .mix {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mix-image {
        max-width: 500px;
        max-height: 500px;
    }
    .mix-image img {
        max-width: 500px;
        max-height: 500px;
        width: 80%;
        height: auto;
        margin-right: 0px;
    }
    nav ul li {
        text-align: center;
    }
    nav {
        border-left: 1px solid #f6f2f7;
        border-right: 1px solid #f6f2f7;
    }
}

@media (prefers-color-scheme: dark), (prefers-color-scheme: light) {
    body {
        background-color: #000000;
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        background-image: url('http://addict1.leda.usbx.me:10956/assets/azaz/IMG20210529200538.jpg');

    }
    .title { color: #f6f2f7 }
    .content-title { color: #f6f2f7 }
    header {
        border-bottom: 2px solid #f6f2f7;
        background-color: black;
    }
    .border {
        color: #f6f2f7
    }
    article {
        border-left: 2px solid #f6f2f7;
        border-right: 2px solid #f6f2f7;
        background-color: #222;
    }
    .mix-info {
        color: #f6f2f7;
    }
    .mix-info h3 {
        color: #f6f2f7;
    }
    .mix-info p {
        background-color: #111;
    }
    nav {
        background-color: #000000;
    }
    nav ul li {
        border-bottom: 1px solid #f6f2f7;
    }
    nav ul li a {
        color: #f6f2f7;
    }
    nav ul li svg {
        stroke: #f6f2f7;
    }
    p {
        color: #f6f2f7;
    }
    .project-body {
        color: #f6f2f7;
    }
    h3 {
        color: #f6f2f7;
    }
    h2 {
        color: #f6f2f7;
    }
    .playlist-page-header {
        color: #f6f2f7;
    }
    .playlist-title {
        color: #f6f2f7;
    }
    .basic-link {
        color: #f6f2f7;
    }
    .project-body > a {
        color: #f6f2f7;
    }
}