:root {
    --primary-color : #4da6ff;
    --secondary-color : #0059b3;
    --hover-color : #3399ff;
}
img {
    max-width: 100%;
}
.primary-color {
    color: var(--primary-color) !important;
}
.secondary-color {
    color: var(--secondary-color) !important;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: Noto Sans TC;
    max-width: 100%;
    margin: 0;
    line-height: normal;
    background: #fff;
    font-size: 1.5rem;
}

a{
    text-decoration: none;
    color: var(--primary-color);
}
a:hover{
    text-decoration: underline;
}

#welcome-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
}
.header {
    width: 100%;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 5px 0 0 0;
    background-color: #fff;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 1000;
    height: 80px;
}
#skills-section {
    background-color: rgb(249 250 251 / 50%);
}
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,      /* 幾乎全白 */
    rgba(255, 255, 255, 0.85) 20%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0.1) 90%,
    transparent 100%
);    
    z-index: 1;
}

.banner-content{
    position: relative;
    z-index: 222;
    max-width: 80rem;
}
.banner-grid {
    gap: 4rem;
    grid-template-columns: repeat(2, minmax(0,1fr));
}
.heading{
    font-size: 0.75rem;
    padding: 5px 15px;
    background-color: rgb(172, 198, 235);
    color: white;
}
.description{
    font-size: 1rem;
    color: #333333;
}
.description .list{
    font-size: 0.75rem;
    margin-top : 4px;
    display:flex;
    justify-content: space-between;
}
.description .determine-wrap {
    flex: 1;
}
.description .rate{
    align-self: center;
}
.rate .filled{
    color : #ffcc00;
}
.skill-img{
    width : 80px;
    height : 80px; 
    aspect-ratio: 1 / 1;
}
.skill-box{
    display :flex;
    flex-direction : column;
    align-items : center;
    text-align : center;
    padding : 2rem 2.5rem;
    background-color: #fff;
    height: 100%;
}

#nav-toggle img {
    width: 48px;
    height: 48px;
    max-height: 100%;
    color: var(--primary-color);
    position: absolute;
    top: 8px;
    right: 0;
    cursor: pointer;
}

.header .nav-links a {
    margin-left: 2rem;
    font-size: 1rem;
}
.header .nav-links a.active {
    font-weight: bold;
    color: var(--secondary-color);
}
.footer {
    background-color: #f8f8f8;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #666666;
}
.footer p {
    margin: 0;
}

.custom-input {
    display: block;
    height: 48px;
    width: 100%;
    background-color: #EEEEEE;
    color: #000;
    border: none;
    outline: none;
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 5px;
    padding: 0 0.5rem 0 50px;
}
.custom-label {
    z-index: 1;
    font-size: 24px;
    position: absolute;
    top: 11px;
    left: 12px;
    cursor: pointer;
}
.custom-label.loading {
    cursor: not-allowed;
}
.custom-label.for-btn {
    font-size: 20px;
    top: 8px;
    left: calc(50% - 36px);
}
.custom-textarea {
    background-color: #EEEEEE;
    border: none;
    outline: none;
    width: 100%;
    border-radius: 5px;
    min-height: 200px;
    font-size: 1rem;
    padding: 0.5rem 0.5rem 0 50px;
}

.custom-button {
    z-index : 999;
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 0.75rem 2rem 0.75rem 50px;
    background: linear-gradient(to right, #4da6ff, #487aad);
}

#send-icon {
    display : block;
}
#send-check-icon {
    display : none;
}
#submit-btn.loading {
    cursor: not-allowed;
}

