* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

img {
    max-width:100%;
    max-height:100%;
}

/* Colors (brown to blue): #6E5132, #AD8E4A, #E3E2C2, #72C3B7, #538399 */

body {
    background-color:#6E5132;
}

.logo {
    width:200px;
    float:left;
}

.banner {
    font-size:200px;
    line-height:200px;
    margin-left:220px;
    margin-bottom:0;
}

header {
    width:100%;
    overflow:auto;
}

.home-decor {
    color:#72C3B7;
    background:linear-gradient(to bottom, #538399, #72C3B7);
}

.about-decor {
    color:#72C3B7;
    background:linear-gradient(to bottom, #6E5132, #72C3B7);
}

.jewelry-decor {
    color:#AD8E4A;
    background:linear-gradient(to bottom, #6E5132, #AD8E4A);
}

.art-decor {
    color:#E3E2C2;
    background:linear-gradient(to bottom, #538399, #E3E2C2);
}

.writing-decor {
    color:#6E5132;
    background:linear-gradient(to bottom, #E3E2C2, #6E5132);
}

.comms-decor {
    color:#E3E2C2;
    background:linear-gradient(to bottom, #AD8E4A, #E3E2C2);
}

.socials-decor {
    color:#72C3B7;
    background:linear-gradient(to bottom, #E3E2C2, #72C3B7);
}

#notification {
    background:#ff0000;
    height:30px;
    line-height:30px;
    text-align:center;
}

#notification p {
    color:white;
}

nav {
    position:fixed;
    left:0;
    top:250px;
    height:390px;
    width:150px;
    background:#AD8E4A;
    border-radius:0 10px 10px 0;
}

nav ul {
    list-style-type:none;
    margin:auto;
}

nav li {
    line-height:50px;
    margin:5px;
    font-size:1.3em;
}

nav li :last-of-type {
    border-radius:10px;
}

nav a {
    display:block;
    background:#E3E2C2;
    color:#538399;
    text-decoration:none;
    padding:0 10px;
}

nav a:hover {
    background:#72C3B7;
    color:#E3E2C2;
}

.home nav li:nth-child(1) a,
.about nav li:nth-child(2) a,
.jewelry nav li:nth-child(3) a,
.art nav li:nth-child(4) a,
.writing nav li:nth-child(5) a,
.comms nav li:nth-child(6) a,
.socials nav li:nth-child(7) a {
    background:#538399;
    color:#E3E2C2;
    font-weight:bold;
}

#wrapper {
    width:calc(100% - 400px);
    margin: 0 auto;
    background:#E3E2C2;
    padding:20px 30px;
}

.blurb {
    height:250px;
    margin:0 auto;
    margin-bottom:30px;
    display:flex;
}

.about .blurb {
    height:300px;
}

.blurb-text {
    flex:1 1 0;
    height:250px;
    padding:20px;
    border:5px #AD8E4A solid;
    border-radius:20px;
    margin-right:20px;
}

.about .blurb-text {
    height:300px;
    margin-right:0;
    margin-left:20px;
}

.update {
    font-style: italic;
    color:#AD8E4A;
}

.blurb-image {
    height:250px;
    border:5px #72C3B7 solid;
    border-radius:20px;
}

.about .blurb-image {
    height:300px;
    border:none;
}

.blurb-image img {
    border-radius:15px;
    display:block;
}

canvas {
    border-radius:15px;
}

.halves {
    clear:both;
    display:flex;
}

.half {
    background:#AD8E4A;
    border-radius:20px;
    text-align:center;
    padding:10px;
}

.equal-half {
    background:#AD8E4A;
    border-radius:20px;
    text-align:center;
    padding:10px;
    flex:1 1 0;
    width:50%;
}

.half:first-of-type {
    margin-right:30px;
}

.equal-half:first-of-type {
    margin-right:30px;
}

.notice {
    background:#E3E2C2;
    border-radius:10px;
    text-align:left;
    height:100px;
    width:400px;
    padding:10px;
    margin:0 auto;
}

.notice img {
    margin-right:15px;
    float:left;
    height:80px;
    border:3px solid #72C3B7;
    border-radius:5px;
}

.notice-date {
    color:#AD8E4A;
    font-style:italic;
    font-size:0.9em;
}

.notice-text {
    color:#6E5132;
}

.fastfacts {
    margin:0 10px;
    text-align:left;
}

.fastfact {
    list-style-type:none;
    background:#E3E2C2;
    line-height:1.4em;
    padding:15px 10px;
    border-radius:10px;
    margin-bottom:10px;
    color:#6E5132;
    border:5px #72C3B7 solid;
}

.showcase {
    display:flex;
    margin-bottom:10px;
}

.showcase:last-of-type {
    margin-bottom:0;
}

.showcase-item {
    width:50%;
    flex:1 1 50%;
    margin:0 5px;
    position:relative;
    background:#fff;
    border-radius:10px;
}

.showcase figure:hover {
    opacity:0.7;
}

.showcase img {
    display:block;
    border-radius:10px;
}

figure figcaption {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:40px;
    line-height:25px;
    background:rgba(0, 0, 0, 0.5);
    color:#E3E2C2;
    padding:5px;
    border-radius:0 0 10px 10px;
}

.author-note {
    border:2px #6E5132 solid;
    padding:5px;
    border-radius:5px;
    margin-bottom:20px;
}

.text-reader {
    padding:10px;
}

.text-reader em {
    color:#538399;
}

.reader-settings ul {
    display:flex;
    margin-bottom:15px;
}

.reader-settings li {
    list-style-type:none;
    margin-left:20px;
    font-size:1.3em;
}

body:has(#contrast:checked) .text-reader p {
  color:#000;
}

body:has(#contrast:checked) .text-reader em {
  color:#000;
}

body:has(#contrast:checked) .text-reader {
  background:#fff;
}

body:has(#large-text:checked) .text-reader {
  font-size:1.5em;
}

.thirds {
    display:flex;
    margin:0 15px 30px 15px;

}

.trade-options {
    background:#538399;
    border:5px #72C3B7 solid;
    border-radius:20px;
    padding-top:15px;
    text-align:center;
    margin-bottom:20px;
}

.trade-options h2 {
    font-size:2em;
}

.trade-options .equal-third h2 {
    font-size:1.5em;
}

.trade-button {
    border-radius:5px;
    background:#fff;
    display:block;
}

.trade-button img {
    display:block;
    border-radius:5px;
}

.trade-button:hover {
    opacity:0.7;
}

.trade-ps {
    color:#E3E2C2;
}

.equal-third {
    width:calc(100% / 3);
    margin-right:10px;
    background:#AD8E4A;
    border:3px solid #72C3B7;
    border-radius:10px;
    padding:10px;
    text-align:center;
}

.contact-info {
    margin:0 15px 10px 15px;;
    background:#E3E2C2;
    padding:15px;
    border-radius:10px;
}

.you-receive .contact-info {
    min-height:180px;
}

.i-receive .contact-info {
    min-height:150px;
}

.third:last-of-type, .equal-third:last-of-type {
    margin-right:0;
}

.trade-options .equal-half {
    margin-right:20px;
    margin-bottom:15px;
    background-color:#E3E2C2;
    border:5px #72C3B7 solid;
}

.trade-options .equal-half:first-of-type{
    margin-left:20px;
}

footer {
    height:50px;
    background:#538399;
    clear:both;
    line-height:50px;
}

footer ul {
    list-style-type:none;
    display:flex;
    float:right;
}

footer li {
    margin-right:20px;
    color:#72C3B7;
}

.overlay {
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background:rgba(0, 0, 0, 0.5);
    visibility:hidden;
    opacity:0;
}

.overlay:target {
    visibility:visible;
    opacity:1;
}

.popup {
    margin:5% auto;
    padding:30px;
    background:#E3E2C2;
    border-radius:20px;
    width:70%;
    position:relative;
}

.popup .close {
    position:absolute;
    top:25px;
    right:25px;
    font-size:2em;
    text-decoration:none;
    background:#6E5132;
    border-radius:5px;
    line-height:0.7em;
    color:#E3E2C2;
}

.popup-content {
    display:flex;
}

.popup-image {
    flex:1 1 0;
}

.popup-image img {
    display:block;
    border-radius:20px;
    border:10px solid #72C3B7;
    max-height:500px;
    margin:auto auto;
}

.popup-description {
    flex:1 1 0;
}

.jewelry-info, .sale-info, .custom-info {
    list-style-type:none;
    margin:0 20px 20px 20px;
    padding:10px;
    background:#AD8E4A;
    border-radius:20px;
}

.sale-info, .custom-info {
    background:#72C3B7;
}

.popup li {
    background:#E3E2C2;
    line-height:1.4em;
    padding:15px 10px;
    border-radius:10px;
    margin-bottom:10px;
    color:#6E5132;
    max-height:200px;
    overflow:scroll;
}

.custom-info li {
    line-height:1.4em;
    padding-top:15px;
    padding-bottom:15px;
}

.popup li:last-of-type {
    margin-bottom:0;
}

.icon {
    height:20px;
    vertical-align:middle;
    margin-bottom:3px;
}

.gallery {
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    padding:15px;
    width:100%;
}

.gallery-description {
    text-align:center;
}

.gallery-item {
    width:calc((100% - 40px) / 4);
    height:calc((100% - 40px) / 4);
    object-fit:cover;
    margin:5px 5px 5px 5px;
    position:relative;
    background:#fff;
    border-radius:10px;
}

.gallery-item figure:hover {
    opacity:0.7;
}

.gallery-item img {
    display:block;
    border-radius:10px;
}

.gallery-item figure figcaption {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:40px;
    line-height:25px;
    background:rgba(0, 0, 0, 0.5);
    color:#E3E2C2;
    padding:5px;
    border-radius:0 0 10px 10px;
}

.filters summary {
    background:#6E5132;
    color:#E3E2C2;
    line-height:50px;
    border-radius:10px;
    padding-left:10px;
}

.filters summary:hover {
    background:#AD8E4A;
    color:#E3E2C2;
}

.filters details {
    margin:0 20px;
    background:#AD8E4A;
    border-radius:10px;
    padding-bottom:10px;
}

.inner-filters {
    background:#E3E2C2;
    border-radius:10px;
    margin:10px;
    padding:10px;
}

input[type="checkbox"] {
    accent-color:#72C3B7;
}

.main-filter-list {
    list-style-type:none;
    display:flex;
}

.main-filter-list li {
    margin-right:50px;
}

.sub-filter-list {
    list-style-type:none;
}

.sub-filter-list li {
    margin-bottom:10px;
}

body:has(#available:not(:checked)) .available {
  display:none;
}

body:has(#not-available:not(:checked)) .not-available {
  display:none;
}

body:has(#earrings:not(:checked)) .earrings {
  display:none;
}

body:has(#necklace:not(:checked)) .necklace {
  display:none;
}

body:has(#bracelet:not(:checked)) .bracelet {
  display:none;
}

body:has(#gold:not(:checked)) .gold {
  display:none;
}

body:has(#silver:not(:checked)) .silver {
  display:none;
}

body:has(#copper:not(:checked)) .copper {
  display:none;
}

body:has(#custom:not(:checked)) .custom {
  display:none;
}

body:has(#not-custom:not(:checked)) .not-custom {
  display:none;
}

#copyText {
    display:none;
}

button {
    background:#72C3B7;
    color:#538399;
    border:none;
    line-height:20px;
    border-radius:5px;
    padding:0 5px;
    margin-bottom:10px;
}

button:hover {
    background:#538399;
    color:#E3E2C2;
}

/* Typography */
p, h1, h2, h3 {
   font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

h1 {
    text-align:center;
    font-size:3em;
    margin-bottom:20px;

    background:linear-gradient(to bottom, #6E5132, #538399);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

h2 {
    color:#E3E2C2;
    margin-bottom:20px;
}

h3 {
    color:#538399;
    margin-bottom:10px;
}

p, label {
    margin-bottom:10px;
    color:#6E5132;
}

a {
    text-decoration:none;
}

p a {
    color:#538399;
    border:2px #72C3B7 solid;
    border-radius:3px;
}

a:hover {
    color:#E3E2C2;
    background:#538399;
}

footer a {
    color:#72C3B7;
}

hr {
    margin:20px 0;
    border-color:#AD8E4A;
}

.popup h2 {
    color:#538399;
}

.popup, .fastfact strong {
    color:#538399;
}

.jewelry-price {
    margin-top:-15px;
}

@media (max-width: 768px) {
    .logo {
        width:20%;
    }

    .banner {
        font-size:50px;
        line-height:50px;
        margin-left:0;
    }

    header {
        width:100%;
    }

    nav {
        position:static;
        height:120px;
        width:100%;
        border-radius:0;
    }

    nav ul {
        list-style-type:none;
        margin:auto 10px;
    }

    nav li {
        float:left;
        font-size:0.9em;
    }

    #wrapper {
        width:100%;
    }
    
    .blurb {
      flex-direction:column;
      height:auto;
    }

    .about .blurb {
        height: auto;
    }
    
    .blurb-text {
      width:100%;
      height:auto;
      padding:20px;
      margin:0 auto 20px auto;
    }

    .about .blurb-text {
      width:100%;
      height:auto;
      padding:20px;
      margin:0 auto 20px auto;
    }
    
    .blurb-image {
      margin:0 auto;
      width:100%;
      height:auto;
    }

    .about .blurb-image {
        margin-bottom:20px;
    }
    
    .halves {
      flex-direction:column;
      height:auto;
    }

    .half, .equal-half {
        width:100%;
    }
    
    .half:first-of-type, .equal-half:first-of-type {
      margin-right:0;
      margin-bottom:20px;
    }

    .thirds {
        flex-direction:column;
    }

    .equal-third {
        width:100%;
        margin-bottom:10px;
    }
    
    .notice {
      width:auto;
    }

    .notice h3 {
        font-size:1em;
    }

    .notice p {
        font-size:0.8em;
    }

    figure figcaption {
        line-height:15px;
        font-size:0.8em;
        height:45px;
    }

    footer {
        font-size:0.7em;
    }

    .popup {
        width:95%;
    }

    .popup-content {
        flex-direction:column;
    }

    .popup-image {
        margin-bottom:10px;
        width:100%;
    }

    .jewelry-info, .sale-info, .custom-info {
        margin:0 auto;
        width:100%;
    }

    .popup ul {
        margin-bottom:5px;
    }

    .popup li {
        font-size:0.8em;
        line-height:1em;
    }

    .jewelry-info {
        height:100px;
        overflow:scroll;
    }

    .main-filter-list {
        flex-direction:column;
    }

    .main-filter-list li {
        margin-right:0;
    }

    .sub-filter-list {
        display:flex;
        margin-left:15px;
    }

    .sub-filter-list li {
        font-size:0.67em;
        font-weight:bold;
        margin-right:10px;
    }

    .gallery-item {
        width:calc((100% - 20px) / 2);
        height:calc((100% - 20px) / 2);
        object-fit:cover;
        margin:0 5px 10px 5px;
    }

    .gallery figure figcaption {
        height:45px;
        line-height:15px;
        font-size:0.8em;
    }
}