:root {
    --main-text-color: #fff;
    --main-bg-color: #fff;
    --link-font-family: "Roboto", sans-serif;
    --system-font: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --primary-font-family: "Caveat", cursive;
    --secondary-font-family: "Ubuntu";
    --title-480bk-size: 1.5rem;
    --primary-color: #ffe28d;
    --discount-price-line: solid double #ff0000;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#root {
    position: relative;
    overflow-x: hidden;
}

.not-visible {
    color: transparent;
    background-color: transparent;
    width: 1px;
    height: 1px;
}

.price-value.discount {
    /*text-decoration: var(--discount-price-line);*/
    position: relative;

    &:before {
        content: "";
        border-bottom: 2px solid red;
        position: absolute;
        width: 100%;
        height: 50%;
        transform: rotate(12deg);
    }

}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 30px 15px;
    height: 100%;
}

.about-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 30px;
}


.content p {
    text-indent: 20px;
    margin-bottom: 15px;
    font-family: var(--system-font);
    text-align: justify;
}

.content .element-image {
    display: block;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
}

.hidden{
    display: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: var(--link-font-family);
}

a.link {
    color: #fff;
    transition: color .6s ease-in-out, box-shadow .6s ease-in-out;
}

.circle-header-text {
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 12px;
    color: #fff;
    fill: #fff;
    font-family: var(--secondary-font-family);
}

.title {
    font-family: "Ubuntu";
}

section#section-first h1 {
    text-align: center;
    font-size: 60px;
    font-weight: 700;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    color: var(--primary-color);

}

h3 {
    font-size: 28px;
    font-weight: 400;
}

#section-first {
    /*width: 100vw;*/
    height: 100vh;
    overflow: hidden;
    background-image: url(../images/main.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#section-first a.link {
    font-size: 2.5rem;
}

#section-first a.link:hover {
    font-size: 2.5rem;
    box-shadow: inset 380px 0 0 0 var(--primary-color);
}
#section-first .navigation {
    position: relative;
    /*z-index: 10000;*/

    #c1 {
        font-size: 78px;
        letter-spacing: 8px;
        width: 800px;
        white-space-collapse: preserve;
        white-space: pre;
    }

    #rotatingText {
        position: absolute;
        top: -250px;
        left: -300px;
        z-index: 1;
        pointer-events: none;

        animation-name: rotate-circle;
        animation-duration: 15s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }
}
#section-first nav .nav-list {
    z-index: 1000;
}
#section-first nav .nav-list li {
    margin-top: 20px;

    .link {
        font-family: var(--primary-font-family);
        font-size: 54px;
    }
    /*z-index: 1000;*/
}

#section-first .content {
    display: flex;
    height: 100%;
    align-items: center;
}

section .artwork {
    padding: 45px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;

    .meta-info {
        margin-top: 5px;
        font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

        .artwork-attribute {
            text-transform: uppercase;
            font-size: 14px;
        }

        .description {
            margin-top: 30px;
        }
    }

    .artwork-image {
        max-width: 400px;
        height: auto;

        img {
            max-width: 100%;
            background-size: cover;
        }
    }

    .artwork-info {
        max-width: 400px;
        text-align: right;
        display: flex;
        flex-direction: column;
    }

    .action-area {
        margin-top: auto;
        top: 100%;

        .action {
            width: 100%;
            padding: 8px 0;
            text-align: center;
            color: #fff;
            font-size: 18px;
            background-color: lightslategray;
            cursor: pointer;
            font-family: "Roboto", sans-serif;
            transition: all .3s linear;
            margin-top: 15px;
        }

        .action-description {
            background-color: transparent;
            border: 1px solid lightslategray;
            color: #000;
        }

        .action:hover {
            background-color: #000;
            color: #fff;
        }
    }
}

section .artwork:nth-child(even) {
    background-image: url("/assets/images/artwork-background.jpg");
    background-size: cover;
    background-blend-mode: lighten;
    background-color: rgba(255,255,255,0.6);
    flex-direction: row-reverse;

    .artwork-info {
        text-align: left;
    }
}

section#delivery {
    .header-title {
        text-align: center;
    }
}

/* About me */
#about-me {
    /*background-color: #dfe9ff;*/
    /*background-image: linear-gradient(180deg, #dfe9ff 0%, #ffdcf3 100%);*/
    display: flex;
    flex-direction: row;
    margin-top: 18px;

    .about-me-photo {
        width: 50%;
        background-image: url("/assets/images/about-me.jpg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .about-me-info {
        width: 50%;
    }

    .header-title {
        text-align: center;
    }
}

/* Footer */
footer {
    background-color: black;
    color: var(--main-text-color);
    margin-top: 50px;

    .primary {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        column-gap: 40px;
    }

    .title {
        color: var(--main-text-color);
    }

    .contact-list {
        margin-top: 15px;

        li {
            margin-bottom: 8px;
        }
    }

    .secondary {
        margin-top: 30px;
    }
}

/* Modal styles */
.modal {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    overflow: hidden;

    .modal-container {
        max-width: 800px;
        padding: 0 30px;
        margin: 0 auto;
        height: 100%;

        .content {
            background-color: #fff;
            border-radius: 8px;
            padding: 15px 30px;
            margin-top: 50%;
            position: relative;
            max-height: 80%;
            overflow-y: auto;

            .close-element {
                position: absolute;
                right: 5px;
                top: 5px;

                img {
                    width: 20px;
                    height: auto;
                    cursor: pointer;
                }
            }

            .title {
                font-family: var(--secondary-font-family);
                font-weight: 400;
                text-align: center;
                margin-bottom: 15px;
            }

            ul li {
                font-family: "Nunito";
                font-size: 20px;
            }

            .link {
                color: #0070c6;
                transition: all .2s linear;
            }

            .link:hover {
                text-decoration: underline;
            }
        }
    }
}

#show_description-modal {
    .content {
        .description {
            text-align: justify;
        }
    }
}

/* Animation */
@keyframes rotate-circle {
    to {
        transform: rotate(1turn);
    }
}

/* Breakpoints */
@media only screen and (max-width: 1024px) {
    #section-first .navigation {
        #rotatingText {
            max-width: 600px;
            left: -200px;
        }
    }

    section .artwork {
        gap: 40px;
    }
}

@media only screen and (max-width: 920px) {
    section .artwork,
    section .artwork:nth-child(even) {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    section .artwork .artwork-info {
        text-align: left;
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    h1 {
        font-size: 48px;
    }
    #section-first a.link {
        font-size: 2rem;
    }

    section .artwork {
        gap: 10px;
    }

    #about-me {
        flex-direction: column-reverse;

        .about-me-photo,
        .about-me-info {
            width: 100%;
        }

        .about-me-photo {
            height: 600px;
        }

        .about-container {
            width: 100%;
        }
    }

    footer {
        .primary {
            flex-direction: column;
            row-gap: 40px;
        }

        .content p {
            text-indent: unset;
        }
    }
}

/* Breakpoints */
@media only screen and (max-width: 480px) {
    section#section-first {
        .navigation {
            #rotatingText {
                max-width: 500px;
                top: -250px;
                left: -150px;
            }
        }

        h1 {
            font-size: 48px;
            line-height: 1;
        }
    }

    h3 {
        font-size: var(--title-480bk-size);
    }

    section .artwork {
        .meta-info {
            .artwork-attribute {
                font-size: 12px;
            }

            .description {
                margin-top: 10px;
                font-size: 14px;
            }
        }
    }

    .modal {
        .modal-container {
            .content {

            }
        }
    }
}








