﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700&display=swap");
@import url("https://pro.fontawesome.com/releases/v5.10.0/css/all.css");

*{
    margin: 0;
    padding: 0;
}

body{
    background-color: #00EAE4;
    font-family: 'Noto Sans TC', sans-serif;
}
.container{
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.containter-90{
    width: 100%;
}
@media screen and (min-width: 992px) {
    .containter-90{
        width: 90%;
    }
}

.deco-link img{
    background-color: #382E2C;
    margin: 20px 0px;
}

/* $header */
.gca-logo{
    padding: 20px;
}
.main-title{
    display: flex;
    flex-direction: column-reverse;
}
h1{
    background-color: #FFF000;
    box-shadow: 5px 5px 0 #382E2C;
    padding: 10px 20px;
    color: #382E2C;
    display: inline-block;
    font-weight: 500;
    border: 1px solid #382E2C;
    margin: 30px 0px;
}
.icon-group{
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.icon-group li{
    margin: 0 10px;
}

@media screen and (min-width: 992px) {
    .header .gca-logo{
        float: left;
    }
    h1{
        background-color: #FFF000;
        box-shadow: 8px 8px 0 #382E2C;
        padding: 20px 70px;
        color: #382E2C;
        margin: 5px 0px;
    }
    .icon-group{
        justify-content: flex-end;
    }
    .main-title{
        display: flex;
        flex-direction: column;
    }
}

/* $main */
.main{
    background-color: #fff;
    box-shadow: 18px 18px 0 #382E2C;
    border: 1px solid #382E2C;
    padding: 40px;
    margin-top: 40px;
}
.main-act1 .text,.main-act2 .text{
    margin-bottom: 1.25rem;
}
.text li{
    margin: 0rem 0rem 0.5rem 1.25rem;
}
.bg img{
    width: 100%;
}
.nav-item .btn{
    margin: auto 10px;
}
.btn{
    color: #382E2C;
    box-sizing: border-box;
    font-size: 20px;
    padding: 10px 40px;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    color: #382E2C;
    background-color: #fff000;
    border: 1px solid #382E2C;
    border-radius: 0;
    box-shadow: 5px 5px 0 #382E2C;
}
.title{
    font-size: 18px;
    font-weight: 100;
    line-height: 2;
    background-color: #382E2C;
    color: #fff;
    border: 1px solid #382E2C;
}
.text{
    text-align: left;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.75;
}
@media screen and (min-width: 992px) {
    .main-act1,.main-act2,.main-act3,.main-act4{
        margin: 60px 0px;
    }
    .main{
        padding: 80px;
        margin-top: 40px;
    }
    .btn{
    padding: 10px 50px;
}
}

/* $act2 */
.top{
    margin-bottom: 50px;
}
.main-act2 .btn{
    background-color: #FF0098;
    color: #fff;
    border-radius: 0px;
}

/* $card */
.card{
    margin-bottom: 30px;
}
.card-img{
    position: relative;
}
.card-img .overlay{
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
    background-color: rgba(168, 65, 0, 0.9);
}
.card-img:hover .overlay{
    width: 100%;
    left: 0;
}
.card-word{
    color: #fff;
    width: 90%;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .168);
    font-weight: 300;
    text-shadow: 0px 0px 5px #833200;
}
.card-text{
    height: 120px;
}
@media screen and (min-width: 992px) {
    .card-text{
        height: 180px;
    }
    .card-word{
        font-size: 1rem;
    }
}
h5{
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.5;
    padding-bottom: 8px;
    border-bottom: 1px solid #fff;
}
@media screen and (max-width: 376px){
    .card-word{
        font-size: 0.75rem;
    }
    h5{
        font-size: 1rem;
        padding-bottom: 3px;
    }
}

h4{
    color: #FF6100;
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 97, 0,0.5);
}
.author{
    font-size: 1rem;
    color: #241916;
}
.press{
    font-size: 0.9rem;
    color: #717071;
    margin-top: 5px;
    margin-bottom: 10px;
}

.checkbox{
    width: 1.25rem;
    height: 1.25rem;
    border:1px #241916 solid;
    margin-top: 10px;
}

INPUT[type=checkbox]{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: 0.3s;
    background-color: #fff;
}

INPUT[type=checkbox]:checked
{
    background-color: #FF6100;
    background: #FF6100 url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") 3px 3px no-repeat;
    box-shadow: #241916 2px 2px 0px;
    background-color: #FF6100;
}

/* $footer */
.footer{
    background-color: #fff000;
}
.all-logo{
    text-align-last: left;
}
.all-logo .main-item{
    display: flex;
}
.all-logo .item{
    padding: 30px;
}
.all-logo .item .pic{
    width: 100%;
}
.all-logo .item h3{
    font-size: 18px;
    padding-bottom: 10px;
    color: #382E2C;
}
.copyright{
    background-color: #382E2C;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 100;
}
.close{
    width: 1.5rem;
    height: 1.5rem;
    background-color: #FF0098;
    border: 1px solid #382E2C;
}

/* $prize */
.prize{
    margin-top: 20px;
}
.prize-text{
    text-align: left;
    color: #FF6100;
    padding: 10px 0px;
    font-size: 1.125rem;
}
.prize p{
    text-align: right;
    color: #717071;
}


/* $back-to-top */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    outline: none;
    cursor: pointer; /* 滑鼠移到按钮上顯示手 */
    padding: 10px 15px 15px 15px;
    background-color: #FF0098;
    color: #fff;
    border: 1px solid #382E2C;
    transition: .5s;
    box-shadow: 3px 3px 0px #382E2C;
  }
  
  .back-to-top:hover {
    background-color: #fff000;
    color: #382E2C;
    border: 1px solid #382E2C;
  }

/* $act4 */
.act4_top{
    margin-bottom: 100px;
}
/* 得獎作品 */
.text_all{
    padding-left:20px;
}
.text_1 h2{
    color: #fff; 
    font-size:1.75rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #fff;
}
.text_1 p{
    color: #999; 
    font-size:1rem;
    line-height:1.8;
}
.text_2 h5{
    color: #fff;
    font-weight: 300;
    font-size:0.95rem;
    border-bottom: 1px solid transparent;
}
.text_2 h6{
    color: #fff;
}
.text_2 p{
    color: #999; 
    font-size:0.875rem;
    line-height:1.8;
    padding-bottom: 10px;
}
.black-board{ 
    position:relative; 
    background:#241916; 
    padding:10% 7%;
    text-align: left;
}
.black-board .Dialog-title {
    position: absolute; 
    left:0; 
    margin-left:-7%; 
    top:0; 
    margin-top:-3rem; 
    z-index:9;
}
.black-board .Dialog-title .Dialog-small { 
    position: relative; 
    background-color:#fff000; 
    color:#382E2C; 
    border:solid 1px #382E2C; 
    padding:1rem 2rem 0.5rem 2rem; 
    letter-spacing:1px; 
    display:inline-block; 
    box-shadow:5px 5px 0px 0px #382E2C;
}
.black-board .small-Triangle{
    position: relative; 
    left:30%;
    top:0; 
    margin-top:0px; 
    width: 0;
    height: 0; 
    border-top: 20px solid #382E2C; 
    border-left: 20px solid transparent;
}        
.black-board .small-Triangle:before { 
    content: ""; 
    position: absolute; 
    left:-23px; 
    top:0; 
    margin-top:-28px; 
    width: 0;
    height: 0; 
    border-top: 20px solid #fff000; 
    border-left: 20px solid transparent;
} 
.award{
    position: absolute;
    z-index:99;
    top: -3rem;
    right: -0.5rem;  
} 

@media screen and (min-width: 576px) and (max-width: 991px) {
	.award{
        position: absolute;
        z-index:99;
        top: -3rem;
        right: -0.5rem; 
    } 
}
@media (max-width: 992px) { 
     .black-board {
        padding:5rem 1rem 1rem 1rem; 
        margin-left:0; 
        margin-right:0
    }
    .black-board .Dialog-title {
        position: absolute; 
        left:0; 
        top:0; 
        margin-top:-3rem; 
        z-index:9;
        padding:0.5rem;
    }
    .award{
        position: absolute;
        z-index:99;
        top: -1.5rem;
        right: -2rem; 
    } 
    .text_1 h2{
        padding-top: 15px;
    }
} 