@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    /* background-image: url(https://img.freepik.com/free-vector/soft-colorful-watercolor-texture-decorative-background_1055-14244.jpg?semt=ais_hybrid&w=740); */
    background-size: 1700px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: white;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease-in-out;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between; 
    align-items: center;            
    padding: 20px 40px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;          
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

nav ul {
    display: flex;        
    gap: 30px;            
    list-style: none;     
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

a span {
    text-decoration: none;
}

main {
    margin-top: 135px;
    padding-bottom: 300px;
}

.item {
    height: 100vh;
    text-align: center;
    scroll-margin-top: 135px;
}

.item h1 {
    font-size: 42px;
}

.container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px; 
    margin-top: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 300px;
    height: 140px;
    margin: 30px 10px;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 5px 200px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease-in-out;
}

.card:hover {
    height: 380px;
}

.card:hover .content {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.2s;
}

.image-wrapper {
    position: relative;
    width: 270px;
    height: 200px;
    top: -60px;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    max-width: 100%;
    height: 200px;
    border-radius: 4px;
}

.content {
    position: relative;
    padding: 10px 15px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.site-footer {
    background-color: #3f3c3c;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: "Noto Sans TC", sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #666;
}

.footer-left, .footer-right {
    flex: 1 1 300px;
    margin-bottom: 20px;
}

.footer-left h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-left a {
    color: #fff;
    text-decoration: none !important;
}

.footer-left a:hover {
    color: #f39c12;
}

.footer-right img {
    width: 32px;
    height: 32px;
    margin: 0 10px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.footer-right img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

.pic2 {
    text-align: center;
    margin-top: -5px;
}

.pic2 img {
    width: 65%;
    height: auto;
    border-radius: 10px;
}


.intro {
  font-size: 1.4rem;
}

.wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

#range {
  margin-top: 100px;
}