@import 'https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.3.2/css/simple-line-icons.min.css';

@font-face {
    font-family: 'nexa_boldregular';
    font-weight: bold;
    font-style: normal;
    src: url('../fonts/nexa_boldfree_macroman/Nexa_Free_Bold-webfont.eot');
    src: url('../fonts/nexa_boldfree_macroman/Nexa_Free_Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/nexa_boldfree_macroman/Nexa_Free_Bold-webfont.woff2') format('woff2'), url('../fonts/nexa_boldfree_macroman/Nexa_Free_Bold-webfont.woff') format('woff'), url('../fonts/nexa_boldfree_macroman/Nexa_Free_Bold-webfont.ttf') format('truetype'), url('../fonts/nexa_boldfree_macroman/Nexa_Free_Bold-webfont.svg#nexa_boldregular') format('svg');
}

*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    /*
        TODO..
         font-size: clamp(12px, 2.5vw, 16px);
     */

}

html, body, main {
    width: 100%;
    height: 100%;
}

body {
    --text-color: #fff;
    --background-color: #131315;
    --background-color-2: rgba(200, 120, 135, 0.4);
    --background-color-3: #0e0e10;
    --link-color: black;
    --link-hover-color: #fff;
    --light: hsl(0, 0%, 100%);
    --background: linear-gradient(to right bottom, #C996DE, #DABFD3);

    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    color: #fff;
    color: var(--text-color);
    background-color: #25252c;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before {
    content: '';
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
}

.js .loading::after {
    content: '';
    position: fixed;
    z-index: 10000;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 10px solid var(--background-color-2);
    border-left-color: var(--text-color);
    animation: loaderAnim 0.8s linear infinite forwards;
}

@keyframes loaderAnim {
    to {
        transform: rotate(360deg);
    }
}

main {
    position: relative;
    width: 100%;
}

a {
    text-decoration: none;
    color: var(--link-color);
    outline: none;
}

a:hover,
a:focus {
    color: var(--link-hover-color);
    outline: none;
}

.hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Icons */
.icon {
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: currentColor;
    position: relative;
    display: inline-block;
    padding: 0.75em 0.75em 1em;
}

/* Deco Shape */
.decoshape {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    fill: var(--background-color-3);
}

/* SVG Morph */
.morph-wrap {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.morph {
    position: relative;
    height: 100%;
    fill: rgba(200, 120, 135, 0.2);
    flex: none;
}

.content-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 600px;
    pointer-events: none;
}

.content {
    position: relative;
    display: grid;
}

.content--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    min-height: 600px;
    z-index: 100;
    pointer-events: none;
    padding: 1.5em;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto 4em;
    grid-template-areas:	"header ..."
							"... decotitle"
							"nav-links decotitle";
}

.content--fixed a {
    pointer-events: auto;
}

.content--layout {
    pointer-events: auto;
    justify-content: center;
    align-content: center;
    vertical-align: middle;
    grid-template-columns: 150px 150px 150px 150px;
    grid-template-rows: 150px 75px 75px;
    grid-template-areas:	"... title title title"
							"author ... desc desc"
							"author ... link link";
}

.content--related {
    text-align: center;
    align-content: center;
    justify-content: center;
    padding: 0 2em;
    min-height: 600px;
    height: 100%;
}

.content__img {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    opacity: 0.8;
    width: 300px;
}

.gift {
    margin-top: 150px;
    width: 125px;
    z-index: 2;
    margin-left: 200px;
}

.page-background {
    z-index: 0;
    background-image: url("../img/background.jpg");
    background-position: 50%;
    background-size: cover;
    background-attachment: fixed;
    position: fixed;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}

.content__title {
    grid-area: title;
    font-family: 'nexa_boldregular', sans-serif;
    letter-spacing: -0.025em;
    font-size: 7em;
    line-height: 180px;
    margin: 0;
    text-transform: lowercase;
    z-index: 10;
    cursor: default;
    white-space: nowrap;
}

.content__author {
    grid-area: author;
    margin: 0;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    padding: 1em;
    text-align: right;
    z-index: 10;
    cursor: default;
}

.content__desc {
    grid-area: desc;
    margin: 0;
    z-index: 10;
    padding: 0 1em;
    cursor: default;
}

.content__img,
.content__title,
.content__author,
.content__desc {
    transition: transform 0.3s ease-out;
}

.content__link {
    pointer-events: auto;
    grid-area: link;
    align-self: end;
    justify-self: start;
    z-index: 10;
    padding: 0 1em 0.15em;
}

.content__info {
    grid-column: 1 / 3;
}

.content__related-item {
    padding: 1em;
    transition: color 0.3s;
}

.content__related-img {
    max-width: 100%;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.content__related-item:hover .content__related-img,
.content__related-item:focus .content__related-img {
    opacity: 1;
}

.content__related-title {
    font-size: 1em;
    margin: 0;
    padding: 0.5em;
}

/* Different layouts */

/* layout-2 */
.content--layout-2 {
    grid-template-areas:	"... title title title"
							"desc desc ... author"
							"link link ... author";
}

.content--layout-2 .content__img {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
}

.content--layout-2 .content__desc {
    text-align: right;
}

.content--layout-2 .content__link {
    justify-self: end;
}

.content--layout-2 .content__author {
    justify-self: end;
    align-self: start;
}

/* layout-3 */
.content--layout-3 {
    grid-template-rows: 75px 75px 150px;
    grid-template-areas:	"... ... desc desc"
							"author title title title"
							"author ... link link";
}

.content--layout-3 .content__img {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.content--layout-3 .content__desc {
    align-self: end;
}

/* layout-4 */

.content--layout-4 {
    grid-template-areas:	"title title title desc"
							"... author ... desc"
							"... author ... link";
}

.content--layout-4 .content__img {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

.content--layout-4 .content__author {
    justify-self: start;
    align-self: start;
}

/* Header */
.header {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1em;
    z-index: 100;
    grid-area: header;
    width: 14em;
    height: 3.25em;
    justify-content: center;
}

.header__title {
    font-size: 1em;
    padding: 0.75em 0;
    margin: 0;
    font-weight: 500;
}

.header .logo {
    width: auto;
    height: 3.25rem;
}

.header #home-logo-link {
    cursor: pointer;
}

/* Navigation */
.nav-links {
    grid-area: nav-links;
    align-self: end;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0 40px 20px 0;
    display: flex;
    gap: 0;
    width: max-content;
    padding: 5px 10px 5px;
    margin: -1.5em;
}

.nav-link {
    display: inline-block;
    position: relative;
    font-size: 0.85em;
    padding: 1.2em;
    cursor: pointer;
}

.nav-link .decoshape {
    display: none;
    z-index: -1;
    fill: #D27ACF;
}

.nav-link .decoshape ~ span {
    z-index: 2;
    color: #FFFFFF;
}

nav .active {
    color: var(--link-hover-color);
    border-color: currentColor;
}

nav .active .decoshape {
    display: block;
    fill: #F7A6F4;

    ~ span {
        color: black;
    }
}

/* Deco elements */
.deco {
    pointer-events: none;
}

.deco--title {
    grid-area: decotitle;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    text-align: right;
    align-self: end;
    justify-self: end;
}


/* modal */
/* =============================================== */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;

    display: none;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    background: hsla(0, 0%, 40%, .6);
}

/* using :target */
.modal-container:target {
    display: flex;
}

.modal {
    width: 60rem;
    padding: 2rem 2rem;
    border-radius: .8rem;
    position: relative;

    color: var(--light);
    background: var(--background);
    box-shadow: .4rem .4rem 2.4rem .2rem hsla(236, 50%, 50%, 0.3);

    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', sans-serif;

    max-height: 96%;
    max-width: 96%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 102;
}

.modal > * {
    width: 90%;
    text-align: left;
}

.modal__step__container {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: -4rem;
}

.modal__title {
    font-size: 2rem;
    text-align: left;
}

.modal__description {
    margin: 0;
    margin-top: 0.8rem;
    font-size: 1.1rem;
}

.modal__price {
    font-size: 3.1rem;
}

.modal__discount {
    color: black;
    margin: 0;
}

.modal__text {
    padding: 0 4rem;
    margin-bottom: 4rem;

    font-size: 1.6rem;
    line-height: 2;
}

.modal__text::before {
    content: '';

    position: absolute;
    top: 0%;
    left: 100%;
    transform: translate(-50%, -50%);

    width: 18rem;
    height: 18rem;
    border: 1px solid hsla(0, 0%, 100%, .2);
    border-radius: 100rem;

    pointer-events: none;
}

.modal__footer {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.modal__btn {
    padding: 1rem 1.6rem;
    border: 1px solid hsla(0, 0%, 100%, .4);
    border-radius: 100rem;

    font-size: 1.4rem;
    font-family: inherit;
    letter-spacing: .1rem;

    transition: .2s;
    cursor: pointer;

    margin-top: 2em;
    display: inline-block;

    position: sticky;
    bottom: 0;

    background-color: rgba(200, 155, 205, 0.8);

    color: white;
    z-index: 123;
}

.separator {
    border-bottom: 1px solid hsla(0, 0%, 100%, .4);
}

.modal__btn:hover,
.modal__btn:focus {
    border-color: hsla(0, 0%, 100%, .6);
    transform: translateY(-.2rem);
}

.step {
    display: flex;
    flex-direction: column;
}

#modal__btn__complete, #modal__btn__back {
    display: none;
}

#modal.last-step {

    #modal__btn__next, #modal__btn__cancel {
        display: none;
    }

    #modal__btn__complete, #modal__btn__back {
        display: block;
    }

}

#modal__btn__next {
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn__primary {
    color: black;
    background: rgba(210, 122, 207, 0.8);;
    float: right;
    border: 1px solid hsla(0, 0%, 0%, .2);
}

.btn__primary:focus,
.btn__primary:hover {
    border-color: hsla(0, 0%, 0%, 0.6);
}

.modal .modal__list {
    margin: .8rem auto 0;
    list-style: none;
    align-items: center;
}

.modal .modal__list li {
    display: flex;
    justify-content: flex-start;
    text-align: start;
    -webkit-tap-highlight-color: transparent;
    gap: 8px;
    line-height: 24px;
    font-size: 16px;
    border: 0;
    margin: 0;
    padding: 0;
    text-decoration: none;
    vertical-align: baseline;
}

.modal .modal__list li .v-icon {
    box-sizing: border-box;
    height: 16px;
    width: 16px;
    line-height: 24px;
    font-size: 16px;
    text-align: start;
    vertical-align: middle;
    display: flex;
    flex-shrink: 0;
    overflow-clip-margin: content-box;
}

.modal__step__container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 50%;
    position: relative;
}

.modal__step__container > .step {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box; /* Include padding and border in the total width */
    position: relative;
}

/* links */
/* =============================================== */
.link-1 {
    font-size: 1.8rem;

    color: var(--light);
    background: var(--background);
    box-shadow: .4rem .4rem 2.4rem .2rem hsla(236, 50%, 50%, 0.3);
    border-radius: 100rem;
    padding: 1.4rem 3.2rem;

    transition: .2s;
}

.link-1:hover,
.link-1:focus {
    transform: translateY(-.2rem);
    box-shadow: 0 0 4.4rem .2rem hsla(236, 50%, 50%, 0.4);
}

.link-2 {
    width: 4rem;
    height: 4rem;
    border: 1px solid hsla(0, 0%, 100%, .4);
    border-radius: 100rem;

    color: inherit;
    font-size: 2.2rem;

    position: sticky;
    margin: 0 0 auto auto;
    z-index: 110;
    top: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    transition: .2s;
}

.link-2::before {
    content: '×';

    transform: translateY(-.1rem);
}

.link-2:hover,
.link-2:focus {
    border-color: hsla(0, 0%, 100%, .6);
    transform: translateY(-.2rem);
}

main.swiper {
    height: 100%;
}

main section.swiper-slide {
    height: 100% !important;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}


.input {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    padding-top: 1.5rem;

    & + .input {
        margin-top: 1.5rem;
    }
}

.input-label {
    color: #FFF;
    position: absolute;
    top: 1.5rem;
    transition: .25s ease;
}

.input-field, .input-select {
    border: 0;
    z-index: 1;
    background-color: transparent;
    font: inherit;
    font-size: 1.125rem;
    padding: 1rem 0 .25rem 0;
    font-weight: 100;
}

.input-select {
    width: 100%;
}

.input {
    border-bottom: 2px solid white;
}


.input-field, .input select {
    &:focus, &:valid {
        outline: 0;
        border-bottom-color: #000000;

        & + .input-label {
            color: #000000;
            transform: translateY(-1.5rem);
        }
    }
}

.select {
    position: relative;
    overflow: hidden;
    display: block;
    margin: auto;
    width: 100%;
    height: 100%;
    border-bottom: 0px;
    border-radius: 3px;
    font-size: 12px;
    box-shadow: 0px 1em 2em -1.5em rgba(0, 0, 0, .5);

    > i.toggle {
        position: absolute;
        z-index: 4;
        right: 1.5em;
        top: 1.6em;
        color: #1a1919
    }

    .title,
    .placeholder {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        padding: 1.5em 2em;
        background-color: transparent;
        border-bottom: 2px solid #eee;
        font: inherit;
        cursor: pointer;
    }

    & > input {
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
        opacity: 0;
        cursor: pointer;

        &:valid ~ span {
            color: transparent;
        }

        &:checked {
            ~ i.toggle.icon-arrow-down {
                display: none;
            }

            ~ i.toggle.icon-arrow-up {
                display: block;
            }

            div.options label.option .title {
                display: none !important;
            }
        }

        &:not(:checked) {
            z-index: 4;

            ~ label.option {
                > span.title {
                    display: none;
                }
            }

            ~ i.toggle.icon-arrow-up {
                display: none;
            }

            ~ i.toggle.icon-arrow-down {
                display: block;
            }
        }

        &:disabled {
            cursor: no-drop;
        }
    }

    & > span.placeholder {
        position: relative;
        z-index: 0;
        display: inline-block;
        width: 100%;
        color: white;
        border-top: 0px;
    }

    label.option {
        display: block;
        overflow: hidden;
        z-index: 1;
        width: 100%;
        transition: all 1s ease-out;

        span.title {
            position: relative;
            z-index: 2;
            transition: background .3s ease-out;

            i.icon {
                padding-right: 8px;
                color: rgba(146, 168, 209, 1);
            }

            &:hover {
                color: #100f0f;
                background: rgba(255, 255, 255, .3);
                box-shadow: inset 0px 1px 0px rgba(0, 0, 0, .1);
            }
        }

        input {
            display: none;

            &:checked ~ span.title {
                position: absolute;
                display: block;
                z-index: 3;
                top: 0px;
                font-size: 12px;
                background: transparent;
                border-top: 0px;
                box-shadow: none;
                color: inherit;
                width: 100%;
            }

            &:disabled {
                & ~ span.title {
                    background: #2a2626 !important;
                    color: #aaa;

                    &:hover {
                        color: #aaa;
                        background: none;
                        cursor: no-drop;
                    }
                }
            }
        }
    }
}


.action {
    margin-top: 2rem;
    text-align: center;
}

.action-button {
    font: inherit;
    font-size: 1.25rem;
    padding: 1em 5em;
    width: 100%;
    max-width: 400px;
    font-weight: 500;
    background-color: #000000;
    border-radius: 6px;
    border: 0;
    margin-top: 50px;
    color: #FFFFFF;
    cursor: pointer;

    &:focus {
        outline: 0;
    }
}

.card-info {
    padding: 1rem 1rem;
    text-align: center;
    font-size: .875rem;
    color: #FFF;

    & a {
        display: block;
        color: #000000;
        text-decoration: none;
    }
}

@media screen and (max-width: 50em) {
    .content--fixed {
        height: auto;
        min-height: 0;
        position: absolute;
        top: auto;
        bottom: 0;
        display: flex;
        flex-direction: row;
        padding: 0 0 0 .5em;
        justify-content: space-between;
        background-color: rgba(255, 255, 255, 0.1);

        .header {
            display: flex;
            gap: 0;
            width: auto;
            height: auto;
            flex-direction: column;

            .header__title {
                padding: 0;
                font-weight: 100;
                font-size: .8em;
            }

            .logo {
                height: 1.6em;
            }
        }

        .nav-links {
            margin: 0;
            border-radius: 0;
            background: none;
        }
    }

    .deco--title {
        display: none;
    }

    .nav-links {
        text-align: center;
    }
}

@media screen and (max-width: 80em) {
    .content__title {
        font-size: 6em;
        white-space: initial;
        line-height: 0.8em;
    }
}

@media screen and (max-width: 40em) {
    .content--layout {
        transform: scale3d(0.85, 0.85, 1);
    }

    .content__title {
        font-size: 5em;
        white-space: initial;
        line-height: 0.8em;
    }
}

@media screen and (max-width: 36em) {
    .content--layout {
        transform: scale3d(0.75, 0.75, 1);
    }

    ul {
        padding-inline-start: 0;
    }

    .modal .modal__list li {
        font-size: 12px;
        line-height: 20px;
    }

    .modal__description {
        font-size: .8rem;
        margin-top: .4rem;
    }

    .modal__btn {
        padding: 1.2rem .8rem;
        font-size: 1rem;
        letter-spacing: initial;
        margin-top: .5em;
    }

    .modal__price {
        font-size: 2.4rem;
    }

    .link-2 {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2rem;
        margin: 0 -.8rem auto auto;
    }

    .modal__step__container {
        margin-bottom: .2rem;
        padding-bottom: .2rem;
    }

    .modal h1 {
        margin: 0.1em 0;
    }
}

@media screen and (max-width: 32em) {
    .content--layout {
        transform: scale3d(0.7, 0.7, 1);
    }

    .action-button {
        padding: 1em;
    }

    .content__author,
    .content__desc,
    .content__link {
        font-size: 1.35em;
    }
}

@media screen and (max-width: 28em) {
    .content--fixed {
        padding: 0;
        height: 100%;

        .header {
            position: absolute;
            top: 10px;
            left: 10px;
            bottom: auto;
        }
    }

    .nav-links {
        padding: 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav-links .nav-link.active .decoshape {
        display: none;
    }

    .nav-links .nav-link.active {
        background-color: #F7A6F4;
        border-radius: 10px;
    }

    .nav-links .nav-link {
        padding: 1.2em .4em;
    }

    .content--layout {
        transform: scale3d(0.7, 0.7, 1);
    }

    .action {
        transform: scale3d(0.8, 0.8, 1);
    }

    .content__desc {
        padding: 0 .5em;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 26em) {
    .content--layout {
        transform: scale3d(0.6, 0.6, 1);
    }

    .action {
        transform: scale3d(0.75, 0.75, 1);
    }
}

@media screen and (max-width: 24em) {
    .content--layout {
        transform: scale3d(0.55, 0.55, 1);
    }

    .action {
        transform: scale3d(0.7, 0.7, 1);
    }
}

@media screen and (max-width: 22em) {
    .content--layout {
        transform: scale3d(0.5, 0.5, 1);
    }

    .action {
        transform: scale3d(0.6, 0.6, 1);
    }
}

@media screen and (max-width: 20em) {
    .content--layout {
        transform: scale3d(0.4, 0.4, 1);
    }

    .action {
        transform: scale3d(0.5, 0.5, 1);
    }
}

select {
    appearance: none; /* remove default appearance set by the browser */
    outline: none; /* remove the outline shown on focus */
    cursor: pointer; /* change the mouse cursor icon */

    font-size: 1.15rem;
    padding: 0.675em 6em 0.675em 1em;
    color: #000;

    width: 200px;
    height: 40px;

    /*
    font-size: 16px;
    font-weight: bold;
    text-align: center;
     */
}

.select-wrapper::before,
.select-wrapper::after {
    --size: 0.3rem;
    position: absolute;
    content: "";
    left: 10rem;
    pointer-events: none;
}

.select-wrapper::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 70%;
}

.select-wrapper::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 85%;
}

.fullSize {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}