/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Light Mode Colors */
:root {
    --color-background: #FFF;
    --color-text: #000;
    --color-text-secondary: #555;
    --color-primary: #ff00cc;
    --color-secondary: #cc00ff;
    --color-border: #CCC;
    --image-background: #EEE;
}

/* Dark Mode Colors */
body.dark {
    --color-background: #111;
    --color-text: #FFF;
    --color-text-secondary: #AAA;
    --color-primary: #ff00cc;
    --color-secondary: #cc00ff;
    --color-border: #555;
    --image-background: #333;
}

html {
    font-family: system-ui, -apple-system, sans-serif;
}

h1 {
    font-weight: 300;
}
h2 {
    font-weight: 300;
}
h3 {
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    
    margin-bottom: 0.5em;
    color: var(--color-text);
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: var(--color-text);
}
    h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
        color: var(--color-primary);
    }
    h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active {
        color: var(--color-secondary);
}

p {
    line-height: 1.5em;
    color: var(--color-text);
}
label {
    color: var(--color-text);
}
a {
    text-decoration: none;
    color: var(--color-primary);
    cursor: pointer;
}
    a:active {
        color: var(--color-secondary);
    }

hr {
    border: 0;
    margin-top: 2em;
    margin-bottom: 2em;

    border-top: 1px solid var(--color-border);
    /* border-image-slice: 1;
    border-image-source: linear-gradient(to right, #cc00ff, #ff00cc); */
}

.button {
    display: inline-block;
    padding: .75em 1.25em;
    color: #FFF;
    border-radius: 0.5em;
    font-weight: 500;
    text-decoration: none;
    background-color: var(--color-primary);
    /* Gradient Background */
    background-image: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary ) 100%);   

    /* Prevent text selection: */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.noTextSelection {
    /* Prevent text selection: */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

body {
    background-color: var(--color-background);
}

#headerContainer {
    border-bottom: 1px solid var(--color-border);
}
    #header {
        max-width: 1152px;
        margin: 0 auto;
        padding: 0 1em;

        display: flex;
        justify-content: space-between;
    }
        #header a {
            color: var(--color-text);
        }
            #header a:hover {
                color: var(--color-primary);
            }
            #header a:active {
                color: var(--color-secondary);
            }
        #headerPrimary {
            padding-top: 1em;
            padding-bottom: 1em;
        }
            #headerLogo {
                /*
                background-image: url(/images/torus.png);
                background-repeat: no-repeat;
                background-position: left center;
                background-size: 1.5em;
                padding-left: 2em;
                */

                font-weight: 500;
                color: var(--color-text);
            }
        #headerSecondary {
            display: flex;
            align-items: center;
        }
            #headerSecondary > div {
                margin-left: 1em;
            }

#contentContainer {

}
    #content {
        max-width: 1152px;
        margin: 0 auto;
        padding: 1.5em 1em;
    }

.hero {
    padding-top: 0;
    padding-bottom: 3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
    .hero h1 {
        text-align: center;
    }
    .hero img {
        max-width: 360px;
        margin-bottom: 0.5em;
    }
    .hero video {
        max-width: 360px;
        margin-bottom: 0.5em;
    }
    .hero p {
        margin-top: 1em;
        margin-bottom: 1em;
        font-size: 1.2em;
        color: var(--color-text-secondary);
        max-width: 65%;
        text-align: center;
    }
    .hero .button {
        margin-top: 1em;
    }

.aboutPage p {
    margin-bottom: 1em;
}

.collections {
    margin: 1em 0 1em 0;
}
.collectionList {
    margin-top: 1em;
    margin-bottom: 2em;
}
    .collectionListItem {
        margin-bottom: .5em;
    }
        .collectionListItem a {
            color: var(--color-primary);
        }

.collection {

}
.collectionNavigation {
    margin-bottom: 1.5em;
}
    .collectionNavigation a {
        white-space: nowrap;
    }

.collectionItems {
    margin-top: 1em;
}

.collectionItem {
    display: flex;
    margin-bottom: 3em;
    padding-bottom: 3em;
    border-bottom: 1px solid var(--color-border);
}
    .collectionItem .title {
        margin-bottom: 0.5em;
        font-weight: 500;
    }
        .collectionItem .title a {
            color: var(--color-text);
        }
            .collectionItem .title a:hover {
                color: var(--color-primary);
            }
            .collectionItem .title a:active {
                color: var(--color-secondary);
            }
    .collectionItem .collectionItemData {
        width: 420px;
        margin-right: 1em;
    }
    .collectionItem .collectionItemImage img {
        background: var(--image-background);
        max-width: 100%;
    }
/* Collection Item Mobile View */
/* Item Data on Top, Image on Bottom */
@media screen and (max-width: 768px) {
    .collectionItem {
        flex-direction: column;
    }
        .collectionItem .collectionItemData {
            width: 100%;
            margin-right: 0;
        }
        .collectionItem .collectionItemImage {
            margin-top: 1em;
        }
}

.collectionItemImage a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
    .collectionItemImage.censored a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(30px);
        background-color: rgba(255, 255, 255, 0.5);
    }

.pagination {
    display: flex;
    justify-content: space-between;
}

.featuredPrompts h2 {
    color: var(--color-text);
    text-align: center;
    margin-bottom: 1.5em;
}

.label {
    text-transform: uppercase;
    font-size: 0.8em;
    color: var(--color-text-secondary);
}
.data {
    margin-bottom: 0.5em;
}
.data.prompt a {
    color: var(--color-text);
}
    .data.prompt a:hover {
        color: var(--color-primary);
    }
    .data.prompt a:active {
        color: var(--color-secondary);
    }

.metadata {
    margin-top: 1em;
    font-size: 0.8em;
}
    .metadata .data {
        
    }
    .metadata h3 {
        font-weight: 500;
    }

.moderationForm {
    margin-top: 1em;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
}
    .moderationForm h3 {
        font-weight: 500;
    }
    .moderationForm h4 {
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .moderationForm .inputCheckbox {
        margin-bottom: 0.25em;
        display: flex;
        padding-top: 0.25em;
        padding-bottom: 0.25em;
    }
        .moderationForm .inputCheckbox input {
            margin-right: 0.25em;
        }
        .moderationForm .inputCheckbox label {
            flex-grow: 1;
        }
    .moderationForm .submitButton {
        margin-top: 1em;
    }

.collectionTools {
    display: flex;
}
    .collectionTools a {   
        font-size: 0.8em;
        margin-right: 1em;
    }

#footerContainer {
    margin-top: 3em;
    border-top: 1px solid var(--color-border);
}
    #footer {
        max-width: 1152px;
        margin: 0 auto;
        padding: 4em 1em;
    }

/* Toggle Switch */
.themeToggleContainer {
    /* display: flex;
    align-items: center; */
}
.sliderContainer {
    position: relative;
    height: 24px;
    width: 41px;
}  
    .slider {
        background-color: #CCC;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        
        cursor: pointer;
        position: absolute;
        transition: .4s;
    }
        .slider:before {
            position: absolute;
            background-color: #fff;
            height: 18px;
            width: 18px;
            bottom: 3px;
            left: 4px;
            content: "";
            transition: .4s;
        }
    .sliderContainer.active .slider {
        background-color: #666;
    }
    .sliderContainer.active .slider:before {
        transform: translateX(14px);
    }
    .slider.round {
        border-radius: 22px;
    }
    .slider.round:before {
        border-radius: 50%;
    }
