/* 排列除錯make life easier */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html{
    min-width:100px;
    scroll-behavior: smooth;
}

body{
    /* max-width: 1024px; */
     /*height: 1000px; */
}

*{
     /*border: solid 0.1px red; */
}

/* Custom Properties, update these for your own design */

:root {
    --ff-primary: 'Poppins', sans-serif;
    --fw-reg: 200;
    --fw-med: 300;
    --fw-bold: 400;
    --fw-heavy: 600;
    
    --clr-light: #e5e5e5;
    --clr-dark: #111111;
    --clr-accent-b: #537099;

    --fs-h1: 40px;
    --fs-h2: 36px;
    --fs-h3: 22px;
    --fs-body: 16px;
    
    --square-size: 20px;
}

/* 中螢幕：1450以下 */
@media (max-width: 1450px) {
    :root {
        --fs-h1: 32px;
        --fs-h2: 28.8px;
        --fs-h3: 17.6px;
        --fs-body: 12.8px;
    }

}

/* 小螢幕：800以下 */
@media (max-width: 800px) {   
    :root {
        --fs-h1: 34px;
        --fs-h2: 32px;
        --fs-h3: 21px;
        --fs-body: 16px;
    }
}



/* General styles */

body { 
    background: var(--clr-dark);
    color: var(--clr-light);
    margin: 0;
    font-family: var(--ff-primary);
    font-size: var(--fs-h3);
}

h1,h2,h3 {
    line-height: 1.35;
    margin: 0;
}

a{
    color: var(--clr-accent-b);
}

/* ---------------background slideshow----------------- */

.work_head{
    background: var(--clr-dark);
}

.work_head_slideshow{
    left: 0%;
    top: 0;
    width: 100%;
    height: 120vh;
    animation: slideshow 18s ease-in-out infinite;
    background-size: cover;
    position: relative;
    background: url(images/bg.jpg) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@keyframes slideshow{
    0%,100% {
       background-image: url('https://i.imgur.com/rzEldqP.png'); 
    }
}

.outer{
    left: 0;
    top: 0;
    width: 100%;
    height: 120vh;
    background: rgba(0,0,0,0.75);
    z-index: -100;
}

/* ---RWD--- */
@media (max-width: 700px) {   
    .work_head_slideshow, .outer{
        height: 150vh;
    }
}


/* ---------------background slideshow----------------- */

.work_head{
    background: var(--clr-dark);
}

.work_head_slideshow{
    left: 0%;
    top: 0;
    width: 100%;
    height: 120vh;
    animation: slideshow 18s ease-in-out infinite;
    background-size: cover;
    position: relative;
    background: url(images/bg.jpg) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@keyframes slideshow{
    0%,100% {
       background-image: url('https://i.imgur.com/vz1qJNI.png'); 
    }
    20% {
       background-image: url('https://i.imgur.com/ieZD09F.png');
    }
    40% {
       background-image: url('https://i.imgur.com/PlxJ8sa.png');
    }
    60% {
       background-image: url('https://i.imgur.com/xHy26ee.png');
    }
    80% {
       background-image: url('https://i.imgur.com/D989FHC.png');
    }
}

.outer{
    left: 0;
    top: 0;
    width: 100%;
    height: 120vh;
    background: rgba(0,0,0,0.75);
    z-index: -100;
}

/* ---RWD--- */
@media (max-width: 700px) {   
    .work_head_slideshow, .outer{
        height: 150vh;
    }
}


/* ------------------Title+info---------------------- */

.project_block{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 55% 0 10%;
}

.project_block h2{
    font-size: var(--fs-h1);
    font-weight: var(--fw-heavy);
    background: var(--clr-dark);
}

.title{
    margin: 0 35% 0 0%;
}

.title h2{
    padding-left: 0.5%;
}

.subtitle{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.75%;
}

.subtitle h3{
    font-weight: var(--fw-reg);
    font-size: calc(var(--fs-h3)*0.8);
}

.subtitle p{
    font-size: var(--fs-body);
}

.sub-info{
    letter-spacing: 4.5px;
/*    color: red;*/
}

h3.sub-info, h3.sub-date{
    font-size: calc(var(--fs-h3)*0.65);
}

.sub-date{
    letter-spacing: 2px;
}

h3.sub-date{
    color: var(--clr-accent-b);
    font-weight: var(--fw-heavy);
    font-style: italic;
}

.abstract p{
    font-weight: var(--fw-reg);
    line-height: 1.4;
    margin-top: 5%;
    font-size: calc(var(--fs-h3)*0.9);
}


/*--RWD--*/

@media (max-width: 1650px){
    .project_block{
    margin: 0 40% 0 15%;
    }
}

@media (max-width: 1000px){
    .project_block{
    margin: 0 10% 0 10%;
    }

    .title{
    margin-right: 25%;
    }
}

@media (max-width: 700px){
    .project_block h2{
        font-size: calc(var(--fs-h1)*0.9);
    }

    h3.sub-info, h3.sub-date{
    font-size: calc(var(--fs-h3)*0.6);
    }

    .abstract p{
        font-size: calc(var(--fs-body)*1.1);
    }

    .title{
    margin-right: 0%;
    }
}

/* ---------------------Content 01------------------------- */
.concept{
    padding: 3% 15%;
    padding-bottom: 1%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.3fr 0.3fr;
    grid-template-areas: 
        "concept_title concept_content"
        "concept_img concept_img";
    grid-row-gap: 0.25%;
}

.concept_title{
    grid-area: concept_title;
}

.concept_content{
    grid-area: concept_content;
}

.concept_img{
    grid-area: concept_img;
}

.concept_title, .concept_content{
    padding-top: 20%;
    padding-bottom: 5%;
}

.concept_title h1{
    font-size: calc(var(--fs-h1)*0.8);
    font-weight: var(--fw-heavy);
}

.concept_content h3{
    font-weight: var(--fw-reg);
    font-family: var(--ff-secondary);
    font-size: calc(var(--fs-h3)*0.8);
    list-style-type: none;
    padding: 0px;
}

/*---CP_img---*/
.concept_img{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 0.25fr 0.25fr;
    grid-template-areas: 
    "concept_img_01 concept_img_01 concept_img_01"
    "concept_img_02 concept_img_02 concept_img_03";
    grid-row-gap: 0.5%;
    grid-column-gap: 0.5%;
    padding-bottom: 3%;
    border-bottom: solid 1px rgba(255,255,255,0.35);
}

#concept_img_01{
    grid-area: concept_img_01;
}

#concept_img_02{
    grid-area: concept_img_02;
}




/*---RWD---*/
@media(max-width:700px){
    .concept{
    grid-template-columns: 1fr; 
    grid-template-rows: auto;
    grid-template-areas: 
        "concept_title"
        "concept_content"
        "concept_img";
    padding: 3% 5%;
    }

    .concept_content{
    padding-top: 2%;
    padding-bottom: 5%;
    }

    .concept_title{
        border-bottom: solid 1px rgba(255,255,255,0);
        padding-top: 15%;
    }

    .concept_img{
        padding-bottom: 5%;
    }
}

/* ---------------------Content 02------------------------- */
.lyrics{
    padding: 3% 15%;
    display: grid;
    grid-template-columns: 0.5fr 0.25fr 0.25fr;
    grid-template-rows: 0.5fr 0.5fr;
    grid-template-areas: 
        "lyrics_title lyrics_content_01 lyrics_content_02" 
        "lyrics_title spotify_container spotify_container";
    margin-top: 5%;
    /*color: var(--clr-accent-b);*/
}

.lyrics_title, .lyrics_content_01, .lyrics_content_02{
    padding-bottom: 5%;
}

.lyrics_title{
    grid-area: lyrics_title;
}

.lyrics_title h1{
    font-size: calc(var(--fs-h1)*0.8);
    font-weight: var(--fw-heavy);
}

.lyrics_content_01{
    grid-area: lyrics_content_01
}

.lyrics_content_02{
    grid-area: lyrics_content_02
}



.spotify_container{
    grid-area: spotify_container;
    border-bottom: solid 1px rgba(255,255,255,0.35);
    /*padding-top: 5%;*/
    padding-bottom: 5%;
}

.lyrics_title{
    padding-right: 10%;
    border-bottom: solid 1px rgba(255,255,255,0.35);
}

.lyrics_content_01, .lyrics_content_02{
    padding-right: 5%;
}


.lyrics_content_01 ul, .lyrics_content_02 ul{
    font-weight: var(--fw-reg);
    font-family: var(--ff-secondary);
    font-size: calc(var(--fs-h3)*0.8);
    list-style-type: none;
    padding: 0px;
}

/*---RWD---*/
@media(max-width:1000px){
    .lyrics{
    grid-template-columns: 0.5fr 0.5fr; 
    grid-template-rows: auto;
    grid-template-areas: 
        "lyrics_title lyrics_title"
        "lyrics_content_01 lyrics_content_02"
        "spotify_container spotify_container";
    padding: 10% 5% 3% 5%;
    }

    .lyrics_title, .lyrics_content_01{
        padding-bottom: 5%;
        padding-top: 0px;
    }

    .lyrics_title{
        border-bottom: none ;
    }


    .concept_title{
        padding: 15% 0% 0% 0%
    }
}




/* ---------------------Content 03------------------------- */

.design{
    padding: 3% 15%;
    padding-bottom: 1%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.3fr 0.3fr;
    grid-template-areas: 
        "design_title design_content"
        "design_img design_img";
    grid-row-gap: 0.25%;
}

.design_title{
    grid-area: design_title;
}

.design_content{
    grid-area: design_content;
}

.design_img{
    grid-area: design_img;
}

.design_title, .design_content{
    padding-top: 20%;
    padding-bottom: 5%;
}

.design_title h1{
    font-size: calc(var(--fs-h1)*0.8);
    font-weight: var(--fw-heavy);
}

.design_content h3{
    font-weight: var(--fw-reg);
    font-family: var(--ff-secondary);
    font-size: calc(var(--fs-h3)*0.8);
    list-style-type: none;
    padding: 0px;
}

/*---DS_img---*/
.design_img{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.5fr 0.5fr;
    grid-template-areas: 
    "design_img_01 design_img_02"
    "design_img_03 design_img_04";
    grid-row-gap: 0.65%;
    grid-column-gap: 0.5%;
    padding-bottom: 2.5%;
    border-bottom: solid 1px rgba(255,255,255,0.35);

}

#design_img_01{
    grid-area: design_img_01;
}

#design_img_02{
    grid-area: design_img_02;
}

#design_img_03{
    grid-area: design_img_03;
}

#design_img_04{
    grid-area: design_img_04;
}



/*---RWD---*/
@media(max-width:700px){
    .design{
    grid-template-columns: 1fr; 
    grid-template-rows: auto;
    grid-template-areas: 
        "design_title"
        "design_content"
        "design_img";
    padding: 3% 5%;
    }

    .design_content{
    padding-top: 2%;
    padding-bottom: 5%;
    }

    .design_title{
        border-bottom: solid 1px rgba(255,255,255,0.35);
        padding: 15% 0% 0% 0%
    }


    .design_img{
        padding-bottom: 5%;
    }

    .design_img{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "design_img_01" 
    "design_img_02"
    "design_img_03" 
    "design_img_04";
    padding-bottom: 10%;
    border-bottom: solid 1px rgba(255,255,255,0.35);

    }
}



/*-----image caption-----*/
.box{
    position: relative;
}

.box img{
    width: 100%;
    height: 100%;
}

.img_caption{
    background: var(--clr-accent-b);
    padding: 0% 6%;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-reg);
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.img_caption h3{
    font-weight: var(--fw-reg);
    font-size: calc(var(--fs-h3)*0.8);
    color: var(--clr-accent-light);
}

.box:hover .img_caption{
    opacity: 1;
    transition: all ease-in-out 0.35s;
    background-color: rgba(0,0,0,0.65);
}



/* ---------------------Content 04------------------------- */
.storyboard_title h1{
    padding: 0% 15% 0% 15%;
    font-size: calc(var(--fs-h1)*0.8);
    font-weight: var(--fw-heavy);
}

.storyboard_img{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "storyboard_img_01 storyboard_img_02 storyboard_img_03"
        "storyboard_img_04 storyboard_img_05 storyboard_img_06";
    grid-row-gap: 0.65%;
    grid-column-gap: 0.5%;
    margin: 0% 15%;
    padding: 2% 0%;
    border-bottom: solid 1px rgba(255,255,255,0.35);
}


/*---RWD---*/
@media(max-width:1000px){
    .storyboard_img{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        "storyboard_img_01"
        "storyboard_img_02"
        "storyboard_img_03"
        "storyboard_img_04"
        "storyboard_img_05"
        "storyboard_img_06";
    grid-row-gap: 0.35%;
    grid-column-gap: 0.5%;
    padding: 4% 0%;
    margin: 0% 5%
    }

    .storyboard_title h1{
    padding: 15% 5% 0% 5%;
    }

    .storyboard_img {
        padding-bottom: 10%;
    }
}

/* ---------------------Content 05------------------------- */
.designboard_title h1{
    padding: 4% 15% 0% 15%;
    font-size: calc(var(--fs-h1)*0.8);
    font-weight: var(--fw-heavy);
}

.designboard_img{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "designboard_img_01 designboard_img_02"
        "designboard_img_03 designboard_img_04"
        "designboard_img_05 designboard_img_06"
        "designboard_img_07 designboard_img_08"
        "designboard_img_09 designboard_img_10";
    grid-row-gap: 0.4%;
    grid-column-gap: 0.5%;
    /*margin: 0% 8% 0% 8%;*/
    /*margin: 0% 8%;*/
    padding: 2% 15% 0% 15%;
}


/*---RWD---*/
@media(max-width:700px){
    .designboard_img{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "designboard_img_01"
    "designboard_img_02"
    "designboard_img_03"
    "designboard_img_04"
    "designboard_img_05"
    "designboard_img_06"
    "designboard_img_07"
    "designboard_img_08"
    "designboard_img_09"
    "designboard_img_10";
    grid-row-gap: 0.15%;
    grid-column-gap: 0.8%;
    padding: 4% 0%;
    }

    .designboard_title h1{
    padding: 15% 5% 0% 5%;
    }
}

/* <!-- ------------------------Credit-info-------------------------------- --> */

.credits{
    padding: 3% 15%;
    display: grid;
    grid-template-columns: 0.5fr 0.5fr;
    grid-template-rows: 1fr;
    grid-template-areas: 
        "credit_title credit_info";
}

.credit_title, .credit_info{
    padding-bottom: 15%;
    padding-top: 10%;
    border-top: solid 1px rgba(255,255,255,0.35);
}

.credit_title h1{
    font-weight: var(--fw-heavy);
    font-size: calc(var(--fs-h1)*0.8);
    letter-spacing: 1px;
}

.credit_info h3{
    font-size: calc(var(--fs-h3)*0.8);
    font-weight: var(--fw-reg);
    line-height: 1.5;
    letter-spacing: 1px;
}

/*--RWD--*/
@media(max-width:700px){
    .credits{
        padding: 10% 5%;
    }

    .credit_title, .credit_info{
    padding-bottom: 15%;
    padding-top: 30%;
    }

    .project_credit{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .credits{
    padding: 3% 15%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        "credit_title"
        "credit_info";
    }

    .credit_title{
    padding: 25% 0% 5% 0%;
    border-top: none;
    text-align: center;
    }

    .credit_info{
    padding: 0% 0% 25% 0%;
    border-top: solid 1px rgba(255,255,255,0);
    text-align: center;
    }

}




/* _________________header_________________ */

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0% 5% 0% 5%;
    margin: 0px;
    position: fixed;
    width: 100%;
    z-index: 100;
    top:0;
    background: transparent; 
    
}

header a{
    text-decoration: none;
}

.scroll_down{
    background: var(--clr-dark);
    transition: all ease-in-out 0.5s;
}

a.logo_link{
    padding: 0px;
    margin: 0px;
}

.logo{
    display: flex;
    align-items: center;
    list-style: none;
    min-width: 100px;
}

.logo h3{
    margin: 0px 0px 0px 18px;
    color: var(--clr-light);
    font-size: 18px;
    letter-spacing: 0.5px;
    font-family: "acumin-pro", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.logo_pic{
    width: 24.5%;
    padding: 2% 0%;
}

nav{
    transform: translate(0px,0px);
}

nav li a{
    color: var(--clr-light);
    font-size: 17.4px;
    letter-spacing: 5px;
    font-weight: var(--fw-reg);
    text-decoration: none; 
    padding: 0px 15px;
}

nav li{
    position: relative;
    padding: 7.5% 0 5% 0;     
}

nav a::after{
    content: '';
    display: block;
    height: 2.5px;
    width: 0%;
    background: var(--clr-accent-b);
    position: absolute;
    bottom: 0px;
    transition: all ease-in-out 0.35s;
}

nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin: 0px;
    padding: 0% 0;
}

nav a:hover::after{
    width: 100%;
    position: absolute;
}

.nav-toggle {
    padding: .5em;
    background: transparent;
    border: 0;
    position: absolute;
    right: 7%;
    cursor: pointer;
}

.nav-open nav {
    display: flex;
    justify-content: center;
    background: var(--clr-accent-b);
    position: fixed;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    z-index: -10;
    transform: translateY(0%);
}

.nav-open nav ul{
    display: flex;
    flex-direction: column;
}

.nav-open nav ul li{
    padding: 6% 50%;
}


.hamburger {
    display: none;
    position: relative;
    right: 0px;
    z-index: 100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    background: var(--clr-light);
    width: 30px;
    height: 2px;
    border-radius: 1px;
    transition: transform 250ms ease-in-out;
}


.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
}

.hamburger::before { top: 10px; }
.hamburger::after { bottom: 10px; }



/*---RWD---*/
@media(max-width:1450px){
    
    .dropdown ul li a{
    display: none;
    }

}


@media(max-width:800px){
    nav a::after{
    display: none;
    }
    
    nav{
        display: none;
    }
    

    .hamburger{
        display: block;
    }

    .hamburger::before { top: 7px; }
    .hamburger::after { bottom: 7px; }



    nav li a{
    font-size: calc(var(--fs-h3)*1);
    }
    
}



/* _________________footer_________________ */

.footer_block{
    z-index: 100;
    background: var(--clr-light);
    height: 2%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0% 0px 0%;
    position: relative;
}

a .footer__logo{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-list {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

a.social-list__link, a.footer_email{
    color: var(--clr-light);
    font-size: 14px;
    font-weight: var(--fw-med);
    color: var(--clr-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.18% 0%;
    text-decoration: none;
}


a.footer_email:hover{
    color: var(--clr-accent-b);
    transition: all ease-in-out 0.35s;
}

a.social-list__link:hover{
    color: var(--clr-accent-b);
    transition: all ease-in-out 0.35s;
}



/* -----RWD----- */
@media(max-width:700px){
    
    .hamburger{
        display: block;
    }

    .social-list__item{
    padding: 0%;
    }

    a.social-list__link, a.footer_email{
    color: var(--clr-light);
    }


    a.footer_email:hover{
    color: var(--clr-light);
    }

    a.social-list__link:hover{
    color: var(--clr-light);
    }


}