:root {
    --bg-color: #111;
    --copy-color: #ddd;
    --green-dk-color: #107c10;
    --green-lt-color: #9bf00b;
    --highlight-color: #ffd800;
}

body{
    font-family: arial, helvetica, sans-serif;
    font-size: 1em;
    background-color: var(--bg-color);
    color: var(--copy-color);
}

h1
{
    font-size: 2em;
}

h1 .subhead
{
    font-size: 0.75em;
}

h1
{
    font-family: owners-text, sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    margin: 0;
}

h2
{
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 1.5em;
}

h3 {
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 1em;
}

p, ul
{
    line-height: 1.5em;
}

.sitename
{
    font-family: "brevia", sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: none;
}

.site-container
{
    width: 1200px;
    margin: 20px auto 40px;
    /* border: 1px solid #000; */
}

.header
{
    text-align: center;
    /* border: 1px solid #00f; */
    border-bottom: 1px solid var(--copy-color);
    padding: 20px 0;
}

.header a
{
    color: var(--copy-color);
    text-decoration: none;
}

.header a:hover
{
    color: #fff;
}

.xbox-green
{
    color: var(--green-dk-color);
}

a:hover .xbox-green
{
    color: var(--green-lt-color);
}

.highlight
{
    background-color: var(--green-lt-color);
    color: var(--bg-color);
}

.highlight-lt
{
    color: var(--green-lt-color);
}

.content
{
    /* min-height: 400px; */
    /* border: 1px solid #f00; */
    padding: 20px 0 40px;
}

.content p a
{
    color: var(--green-dk-color);
    text-decoration: none;
}

.content p a:hover
{
    color: var(--green-lt-color);
    text-decoration: underline;
}

.revision
{
    text-align: center;
    margin: 0 0 40px;
    padding: 10px 0;
}

.warning
{
    text-align: center;
    margin: 0 0 40px;
    padding: 20px 0;
    color: var(--bg-color);
    background-color: var(--highlight-color);
}

.warning::before
{
    content: url(/images/icons/triangle-exclamation.svg);
    display: inline-block;
    width: 1em;
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.grid
{
    display: grid;
}

.wallpaper-list
{
    grid-template-columns: auto auto;
    gap: 40px;
    /* border: 1px solid #00f; */
}

.wallpaper-list .item
{
    /* width: 400px; */
    /* height: 225px; */
    /* border: 1px solid var(--copy-color); */
    /* border: 4px solid var(--bg-color); */
    padding-bottom: 10px;
    border-bottom: 5px solid var(--bg-color);
    position: relative;
}

.wallpaper-list .item:hover
{
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 5px solid var(--copy-color);
    /* border: 4px solid var(--copy-color); */
}

.wallpaper-list .item a
{
    text-decoration: none;
    color: var(--copy-color);
}

.wallpaper-list .item:hover a
{
    color: #fff;
}

.wallpaper-list .item .thumbnail 
{
    display: block;
    width: 100%;
    aspect-ratio: calc(16/9);
    overflow: hidden;
    position: relative;
}

.wallpaper-list .item img
{
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.2s ease 0s;
}


.wallpaper-list .item:hover .thumbnail img
{
    transform: scale(1.05);
    transition: transform 0.1s ease-out 0s;
}

.split
{
    display: flex;
    justify-content: space-between;
}

.variant-count::before
{
    content: url('/images/icons/palette.svg');
    display: inline-block;
    width: 1em;
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.view-count::before
{
    content: url('/images/icons/eye.svg');
    display: inline-block;
    width: 1em;
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.title
{
    text-align: center;
    margin: 0 0 20px;
    color: var(--copy-color);
}

.wallpaper-static-preview
{
    margin-bottom: 20px;
}

.overview
{
    margin-bottom: 40px;
}

.downloads 
{
    padding-bottom: 10px;
    border-bottom: 2px solid var(--copy-color);
}

.download-all
{
    display: block;
    color: var(--bg-color);
    background-color: var(--highlight-color);
    padding: 14px 20px 20px;
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 20px;
}

.download-all::before
{
    content: url('/images/icons/file-zipper.svg');
    display: inline-block;
    width: 1em;
    position: relative;
    top: 4px;
    margin-right: 9px;
}

.download-all:hover
{
    background-color: var(--copy-color);
}

.downloads-list
{
    /* display: grid; */
    grid-template-columns: auto auto auto;
    gap: 20px;
}

.downloads-list .item
{
    border-bottom: 5px solid var(--bg-color);
}

.downloads-list .item:hover
{
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 5px solid var(--copy-color);
}

.downloads-list .item a
{
    display: block;
    color: var(--copy-color);
    text-decoration: none;
}

.downloads-list .item a:hover
{
    color: #fff;
}

.downloads-list .item img
{
    width: 100%;
}

.live-preview
{
    width: 1200px;
    height: 675px;
    background-color: #000;
    position: relative;
}

.live-preview .ui-top
{
    position: relative;
    top: 53px;
    left: 65px;
}

.live-preview .ui-mid, .live-preview .ui-bottom
{
    display: flex;
    width: 1072px;
    justify-content: space-between;
    position: relative;
    left: 69px;
}

.live-preview .ui-mid
{
    align-items: baseline;
    top: 299px;
}

.live-preview .ui-bottom
{
    align-items: start;
    top: 322px;
}

.live-preview .ui-mid div:first-child
{
    width: 156px;
    height: 156px;
    /* background-color: #fff; */
    border-radius: 5px;
    /* outline: 2px solid #fff; */
    outline-offset: 3px;
    /* box-shadow: 0px 0px 15px 15px rgba(255, 255, 255, 0.25); */
}

.live-preview .ui-mid div
{
    width: 97px;
    height: 97px;
    /* background-color: #fff; */
    border-radius: 5px;
}

.live-preview .ui-bottom div
{
    width: 250px;
    height: 140px;
    /* background-color: #fff; */
    border-radius: 5px;
}

.live-preview-controls
{
    background-color: #444;
    /* padding: 15px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-preview-controls select
{
    padding: 5px;
    margin-right: 20px;
}

.live-preview-controls .controls
{
    padding: 0 20px;
}

.download-variant
{
    /* display: inline-block; */
    color: var(--bg-color);
    background-color: var(--highlight-color);
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 20px 18px;
}

.download-variant:hover
{
    background-color: var(--copy-color);
}

.download-variant::before
{
    content: url('/images/icons/download.svg');
    display: inline-block;
    width: 1em;
    position: relative;
    top: 2px;
    margin-right: 9px;
}

ol
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.how-to li h3, .news li h3
{
    color: var(--green-dk-color);
}

.news li:not(:last-of-type)
{
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #999;
}

.form-below
{
    margin-bottom: 40px;
}

form
{
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px 40px;
    width: 50%;
    margin: 20px auto;
    padding: 20px 80px;
    border: 1px solid var(--green-dk-color);
    border-radius: 10px;
}

form input, form textarea
{
    font-family: arial, helvetica, sans-serif;
    font-size: 1em;
    padding: 5px 10px;
}

form textarea
{
    height: 8em;
}

form button
{
    font-size: 1em;
    padding: 7px 30px;
}

form div
{
    grid-column: span 2;
}

.form-errors
{
    width: 50%;
    margin: 0 auto;
    border: 1px solid var(--highlight-color);
    margin: 20px auto;
    padding: 10px 80px;
    border-radius: 10px;
}

.form-success
{
    width: 50%;
    margin: 0 auto;
    border: 1px solid var(--green-lt-color);
    margin: 20px auto;
    padding: 10px 80px;
    border-radius: 10px;
}

.form-success a
{
    color: var(--green-lt-color);
    text-decoration: none;
}

.form-success a:hover
{
    color: #fff;
    text-decoration: underline;
}

.reddit, .mastodon, .bluesky
{
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    margin-left: 10px;
    text-decoration: none;
    color: var(--green-dk-color);
}

.reddit:hover, .mastodon:hover, .bluesky:hover
{
    color: var(--green-lt-color);
}

.reddit::before, .mastodon::before, .bluesky::before
{
    display: inline-block;
    width: 1em;
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.reddit::before
{
    content: url('/images/icons/reddit.svg');
}

.mastodon::before
{
    content: url('/images/icons/mastodon.svg');
}

.bluesky::before
{
    content: url('/images/icons/bluesky.svg');
}

.privacy-policy h3
{
    color: var(--green-dk-color);
}

.footer
{
    text-align: center;
    /* border: 1px solid #00f; */
    border-top: 1px solid var(--copy-color);
    padding: 20px 0;
}

.footer p
{
    /* margin: 0 0 5px; */
}

.center
{
    text-align: center;
}

.hidden
{
    display: none;
}

.link-list
{
    list-style: none;
    padding: 0;
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* gap: 20px; */
}

.link-list li:not(:last-of-type)
{
    border-right: 1px solid #999;
}

.link-list a
{
    text-decoration: none;
    color: var(--green-dk-color);
    padding: 0 10px;
}

.link-list a:hover 
{
    /* text-decoration: underline; */
    color: var(--green-lt-color);
}

.copyright
{
    font-family: owners-text, sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    margin: 0 0 15px;
}

.trademark, .privacy
{
    color: #999;
    font-size: 0.85em;
    margin: 0 0 7px;
}

.privacy::before
{
    content: url('/images/icons/cookie-bite.svg');
    display: inline-block;
    width: 1em;
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.privacy a
{
    color: var(--green-dk-color);
    text-decoration: none;
}

.privacy a:hover
{
    color: var(--green-lt-color);
    text-decoration: underline;
}

.ui-color-lime
{
    background-color: #54a81b;
}

.ui-color-green
{
    background-color: #107c11;
}

.ui-color-emerald
{
    background-color: #108172;
}

.ui-color-teal
{
    background-color: #148181;
}

.ui-color-cerulean
{
    background-color: #1080ca;
}

.ui-color-blue
{
    background-color: #1072d6;
}

.ui-color-navy
{
    background-color: #193d90;
}

.ui-color-purple
{
    background-color: #734daa;
}

.ui-color-violet
{
    background-color: #b144bf;
}

.ui-color-pink
{
    background-color: #ee5588;
}

.ui-color-ruby
{
    background-color: #bf1078;
}

.ui-color-crimson
{
    background-color: #a21026;
}

.ui-color-red
{
    background-color: #e21123;
}

.ui-color-vermilion
{
    background-color: #ea4911;
}

.ui-color-orange
{
    background-color: #ec8c12;
}

.ui-color-brown
{
    background-color: #724f2e;
}

.ui-color-clay
{
    background-color: #7f705d;
}

.ui-color-sage
{
    background-color: #547973;
}

.ui-color-steel
{
    background-color: #677387;
}

.ui-color-silver
{
    background-color: #727272;
}

.ui-color-gray
{
    background-color: #4d4d4d;
}

@media screen and (max-width: 1240px)
{

    body
    {
        font-size: 2em;
    }

    .site-container
    {
        padding:0 10px;
    }

    .grid
    {
        display: block;
    }

    .live-preview-controls
    {
        display: block;
    }

    .live-preview-controls .controls
    {
        padding: 20px 20px;
    }

    .live-preview-controls .controls select
    {
        font-size: 1em;
        padding: 5px 20px;
    }
    
    .download-variant
    {
        display: block;
    }

    form
    {
        display: block;
    }

    form, .form-errors, .form-success
    {
        width: 80%;
    }

    form label, form input, form textarea, form div
    {
        display: block;
        padding: 20px 0;
        width: 100%;
    }

    .footer .link-list li
    {
        width: 100%;
    }
}