/* */


:root {

--black:                #0c100f;
--offblack:             #141615;
--white:                #fff
--offwhite:             #ececf4;

--inner-container-width:                100%;
--heading-small-font-size:              2rem;
--label-font-size:                      1rem;
--detail-font-size:                     2rem;         
--bodycopy-large-font-size:             4rem;
--bodycopy-large-line-height:           4.5rem;

}

@media screen and (min-width: 1920px) { :root {
    --inner-container-width:            1280px;
    --heading-small-font-size:          2rem;
    --label-font-size:                  1rem;
    --detail-font-size:                 2rem;  
    --bodycopy-large-font-size:         4rem;
    --bodycopy-large-line-height:       4.5rem;
}}

@media screen and (min-width: 1024px) and (max-width: 1920px) { :root {
    --inner-container-width:            1024px; 
    --heading-small-font-size:          1.625rem;
    --label-font-size:                  0.875rem;
    --detail-font-size:                 1.875rem;
    --bodycopy-large-font-size:         3.5rem;
    --bodycopy-large-line-height:       4rem;
}}

@media screen and (min-width: 720px) and (max-width: 1024px) { :root {
    --inner-container-width:            720px; 
    --heading-small-font-size:          1.5rem;
    --label-font-size:                  0.75rem;
    --detail-font-size:                 1.75rem;
    --bodycopy-large-font-size:         3rem;
    --bodycopy-large-line-height:       3.5rem;
}}

@media screen and (min-width: 480px) and (max-width: 720px) { :root {
    --inner-container-width:            480px; 
    --heading-small-font-size:          1.25rem;
    --label-font-size:                  0.75rem;
    --detail-font-size:                 1.5rem;
    --bodycopy-large-font-size:         2.5rem;
    --bodycopy-large-line-height:       3rem;
}}

@media screen and (max-width: 480px) { :root {
    --heading-small-font-size:          1rem;
    --label-font-size:                  0.625rem;
    --detail-font-size:                 1.5rem;
    --bodycopy-large-font-size:         2rem;
    --bodycopy-large-line-height:       2.5rem;
}}







/* */

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;

}

*:before,
*:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

::selection {
    color: unset;
    background: none;
    border: 0;
}

html, button, input, select, textarea {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    letter-spacing: 0.01em;
}

div, span, img {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

:focus {outline:0;}

a {
    color: var(--black);
    text-decoration: none !important;
}

p a {
    text-decoration: underline !important;
}

a:hover {
    text-decoration: underline !important;
}





/* */

p {
    margin-top: 0.27em;
    margin-bottom: 0;
    padding: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--black);
}

p.fine {
    font-family: courier, monospace, mono;
    font-size: 12px;
    line-height: 15px;
    color: var(--offblack);
    margin: 0.5em 0 0 0;
}

p strong {
    font-weight: 800;
}

p em {
    font-weight: 100;
    font-family: Garamond, serif;
    font-style: italic;
    font-size: 21px;
    letter-spacing: 0;
}

@media screen and (max-width: 780px) { 
    p { 
        font-size: 21px;
        line-height: 24px;
    }

    p em {
        font-size: 17px;
    }
}









/* */

header, footer {
    position: fixed;
    width: 100%;
    pointer-events: none;
    z-index: 100;
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: center; 
}





/* */
header {
    top: 0; 
}

header div {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    width: auto;
    padding-top: 21px;
}

header img {
    height: 2rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 1920px) {
    header img { height: 4rem; }
}

@media screen and (min-width: 1024px) and (max-width: 1920px) {
    header img { height: 3.5rem; }
}

@media screen and (min-width: 720px) and (max-width: 1024px) {
    header img { height: 3rem; }
}

@media screen and (min-width: 480px) and (max-width: 720px) {
    header img { height: 2.5rem; }
}

@media screen and (max-width: 480px) {
    header img { height: 2rem; }
}





/* */

footer {
    bottom: 0;
}

footer a {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    height: 78px;
    padding-top: 21px;
}

footer img {
    height: 1.5rem;
}

@media screen and (min-width: 1920px) {
    footer img { height: 2rem; }
}

@media screen and (min-width: 1024px) and (max-width: 1920px) {
    footer img { height: 1.875rem; }
}

@media screen and (min-width: 720px) and (max-width: 1024px) {
    footer img { height: 1.75rem; }
}

@media screen and (min-width: 480px) and (max-width: 720px) {
    footer img { height: 1.625rem; }
}

@media screen and (max-width: 480px) {
    footer img { height: 1.5rem; }
}










/* @TODO FIX THIS */

section.warnings {
    display: none;
    height: 500px;
}

.warning {
    margin: 80px 40px 40px 40px;
    background-color: #FF5147;
    border-radius: 40px;
    padding: 40px;
}

.warning h1 {
    font-size: 52px;
    line-height: 52px;
    letter-spacing: -0.024em;
}

.warning p {
    font-weight: 400;
    font-size: 28px;
    letter-spacing: -0.01em;
}









/* */








/* outer wrapper */
html {
    background-color: var(--white) !important;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    line-height: normal;

    z-index: 0;
    transform-style: preserve-3d;

    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;

    background-color: var(--white);
    color: var(--black);

    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;

    font-size: 16px;

    margin: 0;
    padding: 0;

    flex-direction: column;
    flex-wrap: wrap;

    -webkit-font-smoothing: antialiased;
}



.model-viewer-container {
    --poster-color: var(--white);
}






/* outer content container */
/* should extend to full view width and in some cases establish a min height */
/* allows content areas to define flush backgrounds to extent of display */

.outer-container {
    display: flex;
    width: 100%;
    z-index: 1;

    justify-content: center;
}





/* inner content container */
/* optional: without it, content extends to full viewport */
/* typically used to set content area reflow constraints for responsive layouts */

.inner-container {
    display: flex;
    width: var(--inner-container-width);
    z-index: 1;
}



/* */
.content-block {

}

@media screen and (max-width: 480px) {
    .content-block {
        padding: 1rem;       
    }
}



/* area */
/* a content layout within container/s */

.area {
    overflow: hidden;
}





/* hero content area */

.hero.outer-container {
    height: 100vh; /* todo: JS update this */;
}

@media screen and (max-width: 480px) {
    .hero.outer-container {
        height: 87vh;
    }
}

#hero-model-viewer {
    width: 100%;
    height: 100%;
    user-select: none;
}












/* SUMMARY */

.summary.outer-container {
    min-height: 75vh;
}

@media screen and (max-width: 480px) {
    .qr-code {
        display: none;
    }
    .summary.outer-container {
        min-height: 100vh;
    }
}

.summary .inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}


.summary .content-block.nav-actions {
    flex: 0 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 4rem;
}

.qr-code {
    width: 240px;
}

.nav-buy {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;

}

.nav-button-buy {
    flex: 1 0 auto;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-end;
    align-content: flex-end;
}

.button-rounded {
    flex: 0 1 auto;
    block-size: fit-content;
    width: fit-content;
    margin: 1rem 0 1rem 0;
    padding: 1.5rem 2rem 1.5rem 2rem;
    font-size: 3rem;
    font-weight: 800;
    background-color: var(--white);
    color: var(--white);
    border-radius:  3rem;
}

.button-rounded:hover {
    background-color: rgba(255,255,255,1);
}

@media screen and (min-width: 480px) and (max-width: 720px) {
    .summary .content-block.nav-actions {
        margin-top: 2rem;
    }
    .qr-code {
        width: 120px;
    }
    .button-rounded {
        margin: 1rem 0 1rem 0;
        padding: 1rem 1.5rem 1rem 1.5rem;
        font-size: 2rem;
        border-radius:  3rem;
    }

}

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

    .summary .content-block.nav-actions {
        margin-top: 2rem;
    }

    .button-rounded {
        margin: 1rem 0 1rem 0;
        padding: 1rem 1.5rem 1rem 1.5rem;
        font-size: 2rem;
        border-radius:  3rem;
    }

    .nav-button-buy {
        flex: 1 0 auto;
        display: inline-flex;
        flex-direction: row;
        justify-content: flex-start;
        align-content: flex-start;
    }
}




.summary .content-block.overview {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.summary .title {
    font-size: var(--heading-small-font-size);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.summary .description {
    font-size: var(--bodycopy-large-font-size);
    line-height: var(--bodycopy-large-line-height);
    font-weight: 500;
    letter-spacing: 0;
}


/* metadata content area */

.metadata.outer-container {
    min-height: 50vh;
}

@media screen and (max-width: 480px) {
    .metadata.outer-container {
        min-height: 100vh;
    }
}


.metadata .inner-container {
    display: flex;
    flex-direction: column;
}

.metadata .inner-container .content-block {
    display: flex;
    flex: 1 0 auto;
    min-height: 25vh;
}



/* DETAILS */


.metadata .content-block.details {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;

    flex-wrap: wrap;
    /*justify-content: center;*/
}

.metadata .content-block .details-item {
    flex: 1 0 auto;
    width: 100%;
    min-height: 8rem;
    margin: 0.375rem;
    padding: 1rem;
    color: var(--white);
    background-color: var(--offblack);
    background-image: url("/static/anima/pages/michael-kagan/cernan/details-background-texture.png");
    background-repeat: no-repeat;
    background-size: 1280px 640px;
}

@media screen and (min-width: 1920px) {
    .metadata .content-block .details-item {
        width: calc(25% - 0.75rem);
        height: 16rem;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1920px) {
    .metadata .content-block .details-item {
        width: calc(25% - 0.75rem);
        height: 13rem;
    }
}

@media screen and (min-width: 720px) and (max-width: 1024px) {
    .metadata .content-block .details-item {
        width: calc(50% - 0.75rem);
        height: 16rem;
    }
}

@media screen and (min-width: 480px) and (max-width: 720px) {
    .metadata .content-block .details-item {
        width: calc(50% - 0.75rem);
        height: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .metadata .content-block .details-item {
        margin: 0.25rem;
        padding: 0.5rem;
        width: calc(50% - 0.5rem);
        height: 8rem;
    }
}





/* */

.details p {
    color: var(--white);
    font-weight: 800;
    font-size: var(--detail-font-size);
    letter-spacing: -0.01em;
}

.details a {
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.details .label-small {
    font-size: var(--label-font-size);
    letter-spacing: 0.025em;
}

.metadata .token p {
    /* TODO MONOSPACE */
}

.details .edition-number {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.details .edition-number h5 {
    flex: 0 0 0;
}

.details .edition-number p {
    font-size: 2rem;
    font-weight: 400;
    flex: 0 0 0;
}

.details .edition-number p strong {
    display: flex;
    height: auto;
    font-size: 6rem;
    font-weight: 800;
    flex: 0 1 0;
}

.details .edition-number p em {
    font-size: 1.625rem;
    font-weight: 400;
    flex: 0 0 0;
}

@media screen and (max-width: 480px) {
    .details p {
        margin-top: 0;
        padding-top: 0;
    }
    .details .edition-number p strong {
        font-size: 4rem;
    }
    .details .edition-number p em {
        font-size: 1rem;
    }
}

/*100% 100% 7.5% 100% / 0% 0% 15% 0%;*/


/* */

.details .edition-number    { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;   }
.details .release-date      { border-radius: 0 0 2rem 0;  }
.details .token             { border-radius: 2rem 0 0 0; }

.details span:nth-child(1) { background-position: 0       0; }
.details span:nth-child(2) { background-position: -320px    0; }
.details span:nth-child(3) { background-position: -640px    0; }
.details span:nth-child(4) { background-position: -960px    0; }
.details span:nth-child(5) { background-position: 0       -240px; }
.details span:nth-child(6) { background-position: -640px    -200px; }

@media screen and (min-width: 720px) and (max-width: 1024px) {
    .details span:nth-child(1) { background-position: -240px    0; }
    .details span:nth-child(2) { background-position: -480px    0; }
    .details span:nth-child(3) { background-position: -240px   -120px; }
    .details span:nth-child(4) { background-position: -480px   -120px; }
    .details span:nth-child(5) { background-position: -240px   -240px; }
    .details span:nth-child(6) { background-position: -480px   -240px; }
}

@media screen and (min-width: 480px) and (max-width: 720px) {
    .details span:nth-child(1) { background-position: -240px    0; }
    .details span:nth-child(2) { background-position: -480px    0; }
    .details span:nth-child(3) { background-position: -240px   -100px; }
    .details span:nth-child(4) { background-position: -480px   -100px; }
    .details span:nth-child(5) { background-position: -240px   -200px; }
    .details span:nth-child(6) { background-position: -480px   -200px; }
}

@media screen and (max-width: 480px) {
    .details span:nth-child(1) { background-position: -320px    0; }
    .details span:nth-child(2) { background-position: -400px    0; }
    .details span:nth-child(3) { background-position: -320px   -100px; }
    .details span:nth-child(4) { background-position: -400px   -100px; }
    .details span:nth-child(5) { background-position: -320px   -200px; }
    .details span:nth-child(6) { background-position: -400px   -200px; }
}



/* */
.cert-info.outer-container {
    min-height: 60vh;
}

@media screen and (max-width: 480px) {
    .cert-info.outer-container {
        min-height: 100vh;
    }
}

.cert-info .inner-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.cert-info .content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    width: 400px; 
}

@media screen and (max-width: 480px) {
    .cert-info .content-block {
        width: 320px;
    }
}

.cert-info img {
    width: 100%;
    flex: 0 0 auto;
}

.cert-info p {
    width: 100%;
    margin-top: 3em;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    line-height: 1.5em;
    flex: 0 0 auto;
}




/* */

.base-nav {
    height: 12rem;
    margin-top: 16rem;
}

.base-nav-group {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--offblack);
}

.base-nav-group a {
    color: var(--offblack);
}

.base-nav-group span {
    flex: 0 1 auto;
    white-space: nowrap;
}

.base-nav-group span:first-child {
    padding-left: 0;
}

.base-nav-group span:last-child {
    padding-right: 0;
}

@media screen and (min-width: 640px) {
    .base-nav-group span:nth-of-type(3) {
        flex: 1 0 auto;
    }

    .base-nav-group span {
        padding: 0 1rem;
    }
}


