@charset "UTF-8";


/* This is for common content in CSS */

html {
    font-size: 100%;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color:black;
    margin: 0;
}

a {
    text-decoration: none;
    
}

img {
    max-width: 100%;
}

/* HEADER */
.logo {
    width: 400px;
    margin-top: 14px;
}

/* NAV*/

.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;

}

.main-nav li {
    margin-left: 36px;

}

.main-nav a {
    color: rgb(124, 194, 199);



}

.main-nav a:hover {
    color: yellow
}

.page-header {
    display: flex;
    justify-content: space-between;
    

}

.page-title {
     color: #faebd0b0; /* 文字本身的顏色 */
  -webkit-text-stroke: 2px #913702; /* 2px 寬度的白色邊框 */
}

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

/* table card */
.table-header {
    display: flex;
    flex-direction: row;
    /* side-by-side on larger screens */
    gap: 1.5rem;
    /* space between cards */
    justify-content: center;
    align-items: stretch;
    /* align cards to the top */
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
    gap: 20px;
    padding: 1rem;
    margin-top: 20px;
}

.table-card {
    flex: 1 1 280px;
    max-width: 420px;
    background: rgb(171, 227, 241);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    
}



/* home content */
.home-content {
    color: #fff;
    text-align: center;
    margin-top: 10%;
}

.home-content p {
    font-size: 1.25rem;
    color: #fff ;
    margin: 10px 0 42px;

}

/* 標題 */
.page-title {
    font-size: 5rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
}

/*button*/
.button {
    font-size: 1.37rem;
    background-color: #0bd;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.button:hover {
    background-color: #50b10f;
    color: yellow
}


/* big-bg */
.big-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

#home {
    background-image: url("../image/fuji.jpg");
    min-height: 100vh;
}

#home .page-title {
    text-transform: none;
}



#toys {
    background-image: url("../image/toys.jpg");
    min-height: 270px;
    margin-bottom: 40px;
}

#toys .page-title {
    text-align: center;
}


#news {
    background-image: url("../image/news.jpg");
    min-height: 270px;
    margin-bottom: 40px;

}

.news-content {
    display: flex;
    flex-direction: space-between;
    margin-bottom: 50px;
}
.news-headline {
    border: 4px solid #0a0a0a00;
    border-style: solid;
}


#news .page-title {
    text-align: center;
}

#contact {
    background-image: url("../image/contact.jpg");
    min-height: 270px;
    margin-bottom: 40px;

}

#contact .page-title {
    text-align: center;
}

/* toy card */
.toys-header {
    display: flex;
    flex-direction: row;
    /* side-by-side on larger screens */
    gap: 1.5rem;
    /* space between cards */
    justify-content: center;
    align-items: stretch;
    /* align cards to the top */
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
    gap: 20px;
    padding: 1rem;
    margin-top: 20px;
}


.toy-card {
    flex: 1 1 280px;
    max-width: 320px;
    background: rgb(243, 170, 74);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    max-width: 320px;
}

.toy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.toy-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.toy-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.toy-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.toy-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #a87b5a;
    display: block;
    margin-bottom: 1rem;
}

/* Mobile: switch to column */

/* Container that holds the three Christmas tree cards */

.product-grid {
  display: flex;
  flex-direction: row;          /* side-by-side on larger screens */
  gap: 1.5rem;                  /* space between cards */
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;              /* optional safety net */
  padding: 1rem;
}

/* Individual product card */
.product-card {
  flex: 1 1 280px;              /* grow / shrink, base width ~280px */
  max-width: 320px;
  background: #f5a623;          /* the orange color from your image */
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
    .product-grid {
        flex-direction: column;
        /* stack vertically */
        align-items: center;
        /* center the cards */
    }

    .product-card {
        width: 100%;
        max-width: 360px;
        /* keep them from becoming too wide */
    }

}

/* article */
article {
    width: 74%;
    margin: 0 auto;

}

/*aside*/
aside {
    width: 22%;
    margin: 0 auto;
}


.photos-content {
    padding: 1.5rem;
    max-width: 800px;
    background: rgb(68, 182, 197);
    align-items:center;
    display: flex;
    flex-direction:space-between;
    margin-bottom: 50px;
    gap: 1.5rem;

}

.page-heading {
    text-align: center;
    font-size: 2rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 20px;
}
