/* Tapestry — Elements CSS
   Fonts, colors, backgrounds, borders, effects, and component appearance.
   Load this file after core.css.
*/

/* ==========================================================================
   FONTS
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Noto+Sans+Mono:wght@100..900&display=swap");

@font-face {
    font-family: "Honey Script";
    src: url("HoneyScript-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes headerBlur {
    from {
        filter: blur(0px);
    }

    to {
        filter: blur(8px);
    }
}


/* ==========================================================================
   GLOBAL & TYPOGRAPHY
   ========================================================================== */

body {
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: 400;
    color: #5e5e5e;
    background: #f5f2eb;
}

p {
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: 400;
    color: #5e5e5e;
}

b, strong {
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    color: #769744;
}

i, em {
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    color: #dc7580;
}

a {
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: 500;
    color: #889db0;
    text-decoration: none;
    background: linear-gradient(#f1eef0, #f1eef0);
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: center;
    transition: color 0.3s ease,
                background 0.3s ease;
}

a:hover {
    color: #f7aa25;
    background: linear-gradient(#f1f1ee, #f1f1ee);
    background-repeat: no-repeat;
    background-size: 100% 10px;
    background-position: center;
}

h1, h2, h3 {
    font-family: "Honey Script", cursive;
    font-weight: 300;
}

h1 {
    font-size: 54px;
    color: #c09eb8;
}

h2 {
    font-size: 47px;
    color: #889db0;
}

h3 {
    font-size: 40px;
    color: #a3bc7d;
    margin-top: 20px;
}

h3.kim {
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: 500;
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#header {
    background-color: #f5f2eb;
    background-image: url("dollybgdk.png");
    background-position: center top;
    background-repeat: repeat;
    background-size: auto;
}

.header-content {
    animation: headerBlur linear both;
    animation-timeline: scroll(root);
    animation-range: 0vh 100vh;
}

.site-title {
    font-family: "Honey Script", cursive;
    font-size: 100px;
    font-weight: 300;
    color: #94c2ca;
    text-align: center;
    line-height: 1.2;
}

.hero-image {
    object-fit: contain;
}

.nav-column {
    text-align: center;
}

.nav-item {
    text-align: center;
}

.nav-item a {
    font-family: "Honey Script", cursive;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.2;
    color: #dc7580;
    text-decoration: none;
    background: none;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #a3bc7d;
    text-decoration: none;
    background: none;
}

.nav-item span {
    font-family: "Noto Sans Mono", monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #f7aa25;
}


/* ==========================================================================
   BODY
   ========================================================================== */

#body {
    background-color: #f5f2eb;
    background-image: url("dollybglt.png");
    background-position: left top;
    background-repeat: repeat;
    background-size: auto;
}


/* ==========================================================================
   DIVIDERS
   ========================================================================== */

.divider {
    background-image: url("dollyhr.png");
    background-repeat: no-repeat;
    background-position: center;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

#footer {
    background-color: #f5f2eb;
    background-image: url("dollybglt.png");
    background-position: left top;
    background-repeat: repeat;
    background-size: auto;
    text-align: center;
    font-family: "Noto Sans Mono", monospace;
    font-size: 14px;
    font-weight: 400;
    color: #94c2ca;
}

.footer-text {
    font-family: "Noto Sans Mono", monospace;
    font-size: 14px;
    font-weight: 400;
    color: #94c2ca;
}

#footer a {
    font-family: "Noto Sans Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    color: #94c2ca;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #94c2ca;
    background: none;
    transition: text-decoration-style 0.3s ease;
}

#footer a:hover {
    color: #94c2ca;
    text-decoration-style: dashed;
    text-decoration-color: #94c2ca;
    background: none;
}


/* ==========================================================================
   COLLECTIVE STATS
   ========================================================================== */

.collective-stats {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 750px;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
}

.stats-number {
    color: #dc7580;
    font-family: "EB Garamond", serif;
    font-size: 58px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-label {
    font-family: "Honey Script", cursive;
    font-size: 36px;
    color: #c09eb8;
}

.stats-detail {
    font-family: "Noto Sans Mono", monospace;
    font-size: 12px;
    color: #889db0;
    letter-spacing: 2px;
    line-height: 1;
}

.stats-detail a {
    color: inherit;
    text-decoration: none;
    background: none;
}

.stats-detail a:hover {
    text-decoration: underline;
    background: none;
}

.stats-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   OWNED, WISHES, SPOTLIGHT & NETWORK
   ========================================================================== */

.owned-item img,
.wishes-item img,
.spotlight-item img,
.network-item img {
    object-fit: cover;
    border-radius: 1%;
    border: 1px solid #f9f6f2;
    box-shadow: 
        0 0 6px rgba(192, 158, 185, 1);
    opacity: 0.7;
    transition: opacity 0.25s ease;
    background: none;
}

.owned-item a:hover img,
.wishes-item a:hover img,
.spotlight-item a:hover img,
.network-item a:hover img {
    opacity: 1;
    background: none;
    box-shadow: 
        0 0 2px rgba(192, 158, 185, 1),
        0 0 6px rgba(192, 158, 185, 1),
        0 0 16px rgba(192, 158, 185, 1);
}

.owned-item {
    text-align: center;
}

.owned-item .subject {
    font-family: "EB Garamond", serif;
    font-weight: 200;
    font-size: 20px;
    color: #dc7580;
}

.owned-item .details {
    font-family: "Noto Sans Mono", monospace;
    font-size: 12px;
    line-height: 1;
    font-weight: 200;
    color: #aa98b3;
}

.wishes-item {
    text-align: center;
}

.wishes-item .subject {
    font-family: "EB Garamond", serif;
    font-weight: 200;
    font-size: 18px;
    color: #4e9dbd;
}

.spotlight-item {
    text-align: center;
}

.spotlight-item .subject {
    font-family: "EB Garamond", serif;
    font-weight: 200;
    font-size: 20px;
    color: #dc7580;
}


/* ==========================================================================
   CONTENT COLUMNS
   ========================================================================== */

.two-col .col, .col {
    text-align: center;
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 16px;
}

.three-col .col {
    text-align: center;
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 16px;
}

ul.three-col-list {
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
  list-style: none;
  padding-left: 0;
}

ul.three-col-list li::before {
  content: "❈ ";
  color: #f3da83;
}


/* ==========================================================================
   KIM FORM
   ========================================================================== */

ul.kim {
    list-style: none;
}

.kim-success {
    background: #e6f7e6;
    border: 1px solid #7cc47c;
    color: #2d662d;
    border-radius: 4px;
}

.kim-error {
    background: #fdeaea;
    border: 1px solid #e08a8a;
    color: #7a1f1f;
    border-radius: 4px;
}


/* ==========================================================================
   JOINED / OWNED LISTS
   ========================================================================== */

p.center {
    text-align: left !important;
    font-size: 12px;
}

.show_joined_list_items li::marker, .show_owned_list_items li::marker {
    content: "❈ ";
    color: #f3da83;
}


/* ==========================================================================
   AFFILIATES
   ========================================================================== */

ul.affiliates {
    list-style: none;
}

/* ==========================================================================
   JAVASCRIPT DROP DOWN 
   ========================================================================== */

.dropdown-wrapper {
  width: 100%;
}

/* Dropdown button */

.dropdown-button {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 20px 0 0 0;
  border: 1px solid #ffffff;
  border-radius: 0px;
  background: #f5f2eb;
  color: #769744;
  font-family: "Noto Sans Mono", monospace;
  font-size: 12px;
  transition: background 0.3s ease;
}

.dropdown-button:hover {
  background: #ebe5dc;
}

/* Dropdown content */

.dropdown-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.dropdown-inner {
  overflow: hidden;
  min-height: 0;
  margin-top: 0;
  padding: 0 12px;
  border-radius: 0px;
  background: #f5f2eb;
  border: 1px solid #ffffff;
  transition: padding 0.4s ease, margin 0.4s ease;
}

/* Open state */

.dropdown-wrapper.open .dropdown-content {
  grid-template-rows: 1fr;
}

.dropdown-wrapper.open .dropdown-inner {
  margin-top: 5px;
  padding: 12px;
}



/* ==========================================================================
   SAMPLE LINK & COPY BUTTON
   ========================================================================== */

.samplelink {
    border: 1px solid #ffffff !important;
    background-color: #f8f5ef;
    font-style: normal;
    text-align: center;
    font-family: "Noto Sans Mono", monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #f7aa25;
}

.copy-button {
    border: 1px solid #ffffff !important;
    background-color: #f8f5ef;
    font-style: normal;
    text-align: center;
    font-family: "Noto Sans Mono", monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #f7aa25;
    transition: background 0.2s;
}

.copy-button:hover {
    letter-spacing: 2px;
}


/* ==========================================================================
   FORMS
   ========================================================================== */

.custom_input label {
    text-align: right;
    font-style: normal;
    color: #a09ba2;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    text-align: left;
    font-size: 18px;
}

.custom_input .input {
    outline: none;
    transition: 0.3s ease;
    border: 1px solid #f2efe6 !important;
    background: #f2efe6;
    font-size: 18px;
    font-family: "EB Garamond", serif;
    color: #88a9c6;
    font-weight: 400;
    font-style: normal;
}

.custom_input .input:focus {
    background: #f2efe6;
    border: 1px dashed #90a4b5 !important;
    border-radius: 0px;
}

.custom_input .input::placeholder {
    color: #3d2b19;
}

.custom_input input[type="submit"] {
    background: #f2efe6;
    color: #3d2b19;
    border: 1px solid #f2efe6 !important;
    cursor: pointer;
    transition: background 0.3s;
}

.custom_input input[type="submit"]:hover {
    background: #f2efe6;
    border: 1px dashed #90a4b5 !important;
}


/* ==========================================================================
   STATISTICS TABLE
   ========================================================================== */

#statsTable {
    border-collapse: collapse;
    font-size: 14px;
    color: #413e4a;
}

#statsTable th,
#statsTable td {
    border-bottom: 1px solid #ccc;
}

#statsTable th {
    cursor: pointer;
    user-select: none;
    text-align: center;
    background-color: rgba(229, 217, 200, 0.7);
    color: #413e4a;
}

#statsTable th:first-child {
    text-align: left;
}

#statsTable td.center {
    text-align: center;
}

#statsTable tr:nth-child(even) {
    background-color: rgba(229, 217, 200, 0.2);
}

#statsTable tr:hover {
    background-color: rgba(229, 217, 200, 0.5);
}

#statsTable a {
    color: #4e9dbd;
    text-decoration: none;
    font-weight: normal;
    background: none;
}

#statsTable a:hover {
    color: #87bfa9;
    text-decoration: underline;
    background: none;
}

#statsTable .sort-arrow {
    color: #413e4a;
    font-size: 0.8em;
}

#statsTable .summary-row {
    background-color: rgba(229, 217, 200, 0.7) !important;
    color: #413e4a;
    border-top: 0;
}

#statsTable .summary-row td {
    font-size: 14px;
}

#statsTable .summary-row strong {
    color: #413e4a;
}


/* ==========================================================================
   CODE BLOCKS
   ========================================================================== */

pre {
    font-size: 16px;
    background: rgba(255,255,255,.3);
    border-radius: 5px;
}


/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */

@media screen and (max-width: 850px) {

    #header {
    background-attachment: scroll;
}

    .header-content {
    animation: none;
    filter: none;
}

    .site-title {
    font-size: 76px;
}

    .nav-item a {
    font-size: 34px;
}

    .nav-item span {
    font-size: 11px;
}

    #footer {
    font-size: 14px;
}

    .footer-text,
    #footer a {
    font-size: 14px;
}
}

@media (max-width: 600px) {
  ul.three-col-list {
    columns: 1;
  }
}
