@font-face {
    font-family: "Noto Sans", sans-serif;
}
body {
    margin: 0;
    background: #010101;
    color: #F7F7F7;
    font-family: 'NotoSansTC-VariableFont_wght.ttf', sans-serif;
}
.header{
    display: flex;
    justify-content:center;
    align-items: end;
    height: 500px;
    overflow: hidden;
    background-color: #F7F7F7;color: #010101;
}
.nav{
    z-index: 50;
    position: fixed;
    display: flex;
    width: 100%;
    justify-content: flex-end;
    font-size: 15px;
    background: #85e3c5;
    color: #010101;
}
.logo{
    z-index: 60;
    position: fixed;
    font-size:25px;
    margin-top: 5px;
    margin-left: 5px;
    color: #010101;
}
.Navoption{
    margin: 12px;
}
.Navoption:hover{
    background: #010101;
    color:#85e3c5;
}
.dec01{
    height: 100px;
    background: #85e3c5;
}
.dec02{
    height: 60px;
    background: #85e3c5;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}
.dec02 div{
    color: #010101;
    font-size: 50px;
    display: inline-block;
    padding-left: 100%;
    animation: marquee 8s linear infinite;
}
@keyframes marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
.article{
    padding: 30px;
    display: flex;
    flex-direction: column;
    /*擴散顏色效果*/
    background: radial-gradient(circle at center, #ffffff 0%, #ffffff 0%, #ffffff 100%);
    background-size: 0% 0%;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-size 1s ease;
    border-radius:10px;
}
.article:hover {
    background-size: 200% 200%;
}
.works{
    display: flex;
    flex-wrap: wrap;
    justify-content:left;
    
}
.area2{
    margin:100px 0 100px 0;
    display: flex;
    align-items: start;
}
.title-space{
    padding:0 8% 0 8%;
    display: flex;
    flex-direction:column;
    
    margin-bottom: 40px;
}
/*文字設定*/
.title{
    align-items: start;
    font-size: 30px;
    font-weight: bold;
    color: #85e3c5;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease;
}
.title.visible {
    opacity: 1;
    transform: translateY(0);
}
.title-phone{
    font-size: 20pt;
    font-weight: bold;
    color: #85e3c5;
    display: none;
    margin-top: 20px;
    margin-left: 30px;
}
.word{
    text-align: left;
    line-height: 1.8;
    font-size: 18px;
    font-weight:lighter;
}
.porfile-word{
    gap:20px;
    display:flex;
    flex-direction: row
}
.article .word{mix-blend-mode: difference;}
/*圖片設定*/
.work-picture{
    height: 250px;
    width: 300px;
    overflow: hidden;
    border-radius:10px;
}
.work-picture-NotSleeping:hover{
    content: url("picture/NotSleepingYet_Logo2.svg");
}
.porfile-picture{
    height: 180px;width: 180px;
    border: 3px solid white ;
    border-radius: 10px;
    margin-top: 30px;
}
.porfile-picture:hover{
    content: url("picture/me-ya.png");
}
.crying{
    height: 200px;
    width: 200px;
    margin-top: 180px;
}
.crying:hover{
    content: url("picture/me-aaa.png");
}
/*互動設定*/
.form{
    justify-content: center;
}
.contact{
    margin-top: 10px;margin-bottom: 10px;
    height: 40px;width: 300px;
    background: #F7F7F7;
    border: 0;
    border-radius: 3px;
    outline:none;
}
.contact:hover{
    background: #85e3c5;
}
.button {
    margin-top: 20px;
    margin-right: 20px;
    height: 40px;width: 100px;
    background: #85e3c5;
    border: 0;
    border-radius: 3px;
    outline:none;
}
.back{
    text-align: center;
    color:#85e3c5;
    display: block;
}
.back:hover{cursor: pointer;}
.back2{
    text-align: center;
    color:#85e3c5;
    display:none;
}
.back2:hover{cursor: pointer;}
.footer{
    display: flex;
    justify-content: left;
    padding-left: 10%;
    color:#010101;
    background: #85e3c5;
    font-size: 15px;
}
.linkbox{
    width: 35%;
    height: 130px;
}
.link{
    text-align: left;
    margin-top: 10px;
}
a{text-decoration: none;}
a:visited{ color:#010101;}
a:link{ color:#010101;}

/*平板設定*/
@media(max-width:1250px){
   .Navoption{
        font-size: 14px;
    }
    .work{
        height: 250px;
        width: 300px;
    }
    .porfile-picture{
        height: 100px;
        width: 100px;
    }
}

/*手機設定*/
@media(max-width:500px){
    .area2{
        margin-top: 20px;
    }
    .works{
        margin-left: 30px;
    }
    .word{
        font-size: 15px;
    }
    .porfile-word{
        flex-direction: column;
    }
    #profile-area{
        flex-direction: column;
        padding: 30px;
    }
    .title{
        display: none;
    }
    .title-space{
        display: none;
    }
    .title-phone{
        margin-top: 50px;
        display: block;
    }
    .word{
        font-size: 14px;
    }
    .work{
        height: 200px;
        width: 300px;
        border-radius:10px;
    }
    .crying{
        display: none;
    }
    .form{
        margin-left: 30px;
        padding-top: 50px;
    }
    .back{
        display: none;
    }
    .back2{
        display: block;
    }
}