/* ============ Navbar ============= */
nav {
    background-color: #fff;
    /* border-bottom: 1px solid #fbc600; */
    border-radius: 0;
}

/* nav-item */
.nav-item {
    position: relative;
    transition: all 800ms;
    overflow: hidden;
}

.nav-item:hover {
    color: #fff;
    transform: scale(1);
    /* border-radius: 3px; */
}

.nav-item>.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(12px, 8vw, 30px);
    color: #3C3C46;
}

.nav-item:hover>.nav-link {
    color: #fff;
}

.nav-item::before {
    content: "";
    position: absolute;
    left: -80px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #fbc600;
    transform: skewX(60deg);
    transition: width 800ms;
    z-index: -1;
}

.nav-item:hover::before {
    width: 250%;
}

/* Contact Button */
.btn-contact {
    position: relative;
    padding: 30px 40px;
    background: #fbc600;
    border-radius: 0;
    color: #fff;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: clamp(12px, 8vw, 30px);
    text-transform: uppercase;
    transition: all 800ms;
    overflow: hidden;
}

.btn-contact:hover {
    color: #fbc600;
    transform: scale(1);
    border-inline: 1px solid #fbc600;
}

.btn-contact::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    transform: skewX(45deg);
    transition: width 800ms;
    z-index: -1;
}

.btn-contact:hover::before {
    width: 250%;
}

/* SVG */
.btn-contact svg {
    margin-left: 8px;
    width: clamp(5px, 4vw, 12.5px);
    height: clamp(10px, 4vw, 25px);
    stroke: #fff;
    transition: stroke 0.1s linear, transform 0.3s linear;
}

.btn-contact:hover svg {
    stroke: #fbc600;
    transform: translateX(10px);
}

/* Burger Menu */
.navbar-toggler:focus {
    outline: 0;
    box-shadow: none;
}

/* ============ footer ============= */
footer {
    background-color: #F0F0F0;
}

.block-footer {
    border-top: 1px solid #fbc600;
    padding: 4rem 3rem 8rem;
}

.txt-footer {
    color: #6E6E7D;
}

.txt-footer span {
    font-family: 'Poppins';
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 27px;
}

.footer__contactInfo {
    font-family: 'Noto Sans TC';
}

.btn-contact-footer {
    padding: 2rem 2.5rem;
    border: 1px solid #fbc600;
    width: clamp(12rem, 16vw, 15.625rem);
    height: clamp(3rem, 4vw, 5.3125rem);
}

.btn-contact-footer:hover {
    border: 1px solid #fbc600;
}

/* marquee */
.stock-ticker {
    font-size: 15px;
    overflow: hidden;
    user-select: none;
    --gap: 20px;
    display: flex;
    gap: var(--gap);
    touch-action: none;
}

.stock-ticker ul {
    list-style: none;
    flex-shrink: 0;
    /* min-width: 100%; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    animation: scroll 25s linear infinite;
    will-change: transform;
}

.stock-ticker:hover ul {
    animation-play-state: paused;
}

@keyframes scroll {
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}