@import url('https://fonts.googleapis.com/css2?family=Mozilla+Headline:wght@200..700&family=Raleway:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
/* "Raleway", "Ubuntu", "Mozilla Headline", sans-serif */

:root {
    --dark-black: #060606;
    --light-black: #2b2b2b;
    --dark-gray: #a0a0a0;
    --light-gray: #f9f9f9;
    --dark-blue: #586f7c;
    --light-blue: #a8d0d8;
    --primary-color1: #ffc759;
    --primary-color2: #f45b69;
    --primary-color3: #7adaa5;
    --primary-color4: #b771e5;
    --primary-color5: #9a7e6f;
}

* {
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
}

::selection {
    background: var(--light-black);
    color: white;
}

::-moz-selection {
    background: var(--light-black);
    color: white;
}

h1, h2 {
    font-family: "Mozilla Headline", sans-serif;
}

/* 導覽列 */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav, nav * {
    font-family: "Raleway", "Noto Sans TC", sans-serif;
    background-color: var(--dark-black) !important;
    color: white !important;
    font-weight: 700;
}

nav .nav-link:hover {
    color: var(--primary-color1) !important;
}

.navbar-toggler .line {
    width: 30px;
    height: 2.5px;
    border-radius: 5px;
    background-color: white !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transition-duration: 0.5s;
    transform: translate(-50%, -50%);
}

.navbar-toggler .line1 {
    transform: translate(-50%, -350%);
}

.navbar-toggler .line3 {
    transform: translate(-50%, 250%);
}

.navbar-toggler .line1-active {
    width: 35px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.navbar-toggler .line2-active {
    opacity: 0;
    width: 0;
}

.navbar-toggler .line3-active {
    width: 35px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

header {
    margin-top: 56px;
}

/* 頁尾 */

footer, footer * {
    font-family: "Raleway", "Noto Sans TC", sans-serif;
    font-weight: 500;
    background-color: var(--dark-black) !important;
    color: var(--dark-gray) !important;
    text-align: center;
    transition: 0.2s;
}

footer p {
    margin: 0;
}

.email {
    font-size: 14px;
}

.email a {
    text-decoration: none;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 15px 0 5px 0;
}

footer ul li i {
    margin: 0 8px;
}

footer i:hover {
    color: var(--light-gray) !important;
}

/* INDEX */

body.index {
    background-color: var(--dark-black);
    height: calc(100vh - 56px);
}

/* ABOUT */

.about-me .name {
    font-weight: 700;
}

.about-me .quote {
    font-weight: 500;
    font-family: "Raleway", sans-serif;
    font-style: italic;
    color: var(--dark-gray);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* ARTS */

.art-work a {
    color: var(--dark-blue);
}

.art-work .card {
    transition: 0.3s;
}

.art-work .card:hover {
    border: solid 1px var(--primary-color1);
}

.art-work-container p {
    margin-top: 20px;
    margin-bottom: 20px;
}

.arts-filter .btn {
    color: var(--dark-black);
    background-color: #fff;
    border-color: var(--dark-black);
    border-radius: 3px;
    transform: skewX(-6deg);
    padding: 5px 15px;
    transition: 0.5s;
}

.arts-filter .btn.active {
    color: #fff;
    background-color: var(--dark-black);
}

.arts-filter .btn:hover {
    color: #fff;
    background-color: var(--dark-black);
}

/* PHOTODRAPHY */

.photography-work .card {
    overflow: hidden;
}

.photography-work .card-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: 0.5s;
}

.photography-work .card-title, .photography-work .card-text {
    color: white !important;
    display: block;
    margin-top: 15px;
    padding: 0 10px;
}

.photography-work .card-body:hover {
    opacity: 1;
}

.photography-work-container p {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* CURATIONS */

.curations .card-title {
    color: var(--dark-blue);
}

.curations .card {
    transition: 0.3s;
}

.curations .card:hover {
    border: solid 1px var(--primary-color1);
}

.curations .card .explore-text {
    opacity: 0;
    font-size: 0px;
    color: var(--primary-color1);
    transition: 0.3s;
}

.curations .card:hover .explore-text {
    font-size: 16px;
    opacity: 1;
}

/* NFT */

.nft .card-title {
    color: var(--dark-blue);
}

.nft .card {
    transition: 0.3s;
}

.nft .card:hover {
    border: solid 1px var(--primary-color1);
}

/* CONTACT */

#contact-form button {
    color: white;
    background-color: var(--light-black);
}

#contact-form button:hover {
    color: var(--light-black);
    background-color: white;
    border: 1px solid var(--light-black);
}

.form-control:focus {
    border-color: var(--primary-color1);
    box-shadow: 0 0 0 .25rem rgba(255, 199, 89, .25);
}

section.blank {
    height: calc(100vh - 762px);
    background-color: var(--dark-black);
}

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

@media screen and (max-width: 480px) {
    h1, h2, h3, h4, p {
        text-align: center;
    }

    /* ABOUT */

    .about-me .quote {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        padding: 0 10px;
    }

    /* ART */

    .art-work-header .description {
        margin: 0;
    }

    .art-work-container img {
        width: 100%;
    }

    /* PHOTOGRAPHY */

    .photography-work-header .description {
        margin: 0;
    }

    .photography-work-container img {
        width: 100%;
    }
}