@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: rgb(64,40,32);
  --white: #ffffff;
  --bg: rgb(249,249,249);
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 1440px) {
  html {
    zoom: 1.5;
  }
}

@media (min-width: 2560px) {
  html {
    zoom: 1.7;
  }
}

@media (min-width: 3860px) {
  html {
    zoom: 2.5;
  }
}

body {
  font-family: 'Cormorant Infant','Cactus Classical Serif';
  background: var(--bg);
}

#tranding {
  padding: 40px 0;
}

@media (max-width:1440px) {
  #tranding {
    padding: 70px 0;
  }
}

#tranding .tranding-slider {
  height: 520px;
  padding: 20px 0;
  position: relative;
}

@media (max-width:500px) {
  #tranding .tranding-slider {
    height: 450px;
  }
}

.tranding-slide {
  width: 370px;
  height: 420px;
  position: relative;
}

@media (max-width:500px) {
  .tranding-slide {
    width: 280px !important;
    height: 360px !important;
  }
  .tranding-slide .tranding-slide-img img {
    width: 280px !important;
    height: 360px !important;
  }
}

.tranding-slide .tranding-slide-img img {
  width: 370px;
  height: 420px;
  border-radius: 20px;
  object-fit: cover;
}

.tranding-slide .tranding-slide-img video {
    width: 370px;
    height: 420px;
    border-radius: 20px;
    object-fit: cover;
  }

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: none;
}

.tranding-slider-control {
  position: relative;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tranding-slider-control .swiper-button-next {
  left: 58% !important;
  transform: translateX(-58%) !important;
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-next {
    left: 70% !important;
    transform: translateX(-70%) !important;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .swiper-button-next {
    left: 80% !important;
    transform: translateX(-80%) !important;
  }
}

@media (max-width:990px) {
  .tranding-slider-control .swiper-button-prev {
    left: 30% !important;
    transform: translateX(-30%) !important;
  }
}

@media (max-width:450px) {
  .tranding-slider-control .swiper-button-prev {
    left: 20% !important;
    transform: translateX(-20%) !important;
  }
}

.tranding-slider-control .slider-arrow {
  background: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  left: 42%;
  transform: translateX(-42%);
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .slider-arrow ion-icon {
  font-size: 20px;
  color: #222224;
}

.tranding-slider-control .slider-arrow::after {
  content: '';
}

.tranding-slider-control .swiper-pagination {
  position: relative;
  width: 150px;
  bottom: 10px;
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
  filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.tranding-slider-control .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
}




.table {
    position:fixed;
    top:0px;
    height:100px;
    width: 100%;
    background-color: rgb(249,249,249);
    display: flex;
    align-items:center;
    padding: 20px 50px;
    z-index: 2000;
    box-sizing: border-box;
    border-bottom: 2px solid #333348;
}
.table img{
    height: 130px;
    width: auto;
    margin-top: 30px;
    margin-bottom: 20px;
    object-fit: cover;
    z-index: 1000;
}
.main {
    margin-right: auto; 
    font-size: 60px;
}
.main_img img {
  width: 100%;
  max-width: 90vw; 
  height: auto;
  object-fit: contain; 
  margin: 30px 50px 0px 50px;
}


/* 右側群組 */
.nav-items {
    display: flex; 
}

.nav-items .intro,
.nav-items .activity,
.nav-items .member,
.nav-items .lesson {
    justify-content: flex-end;
    font-size:18px;
}
.table a{
    color: rgb(66, 45, 38);
    text-decoration:none;
    padding:10px 30px;
    transition: background-color 0.2s;
}

.table a:hover {
    transform: scale(1.3);
}

.title{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 10px;
}
.title .line{
    width:30%;
    height: 1px;
    gap: 50px;
    background-color: #aaa;
}
.title .text {
    font-size: 50px;
    font-weight: bold;
    color: rgb(66,45,38);
    margin: 20px 30px 20px 30px;
}
.title .dot {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background-color: #aaa;
    gap: 20px;
}
.content{
    display: flex;
    margin: 0 30px 0 30px;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.content p{
    justify-content:flex-end;
    padding:10px;
    position:relative;
    height:auto;
    width:fit-content;

    border-radius:10px;
    font-size:20px;
    text-align:left;
    line-height:60px;
    color:rgb(66,45,38);
    font-family: Arial, Helvetica, sans-serif;

}
.content img{
    display: flex;
    justify-content:flex-start;
    position: relative;
    height: auto;
    width: 40%;
}
.club_img img{
    position:relative;
    display:flex;
    margin:50px 30px 50px 30px;
    align-items:center;
    width:100%;
}
.friend_club{
    position:relative;
    left:40px;
    width:200px;
    height:60px;
    background-color:rgb(240,229,229);
    border-radius:10px;
    font-size:40px;
    text-align:center;
    line-height:60px;
    color:rgb(66,45,38);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.friend_club_img {
    display:flex;
    flex-wrap:wrap;
    justify-content: center; 
    gap: 20px;
    margin: 20px;
}

.friend_club_img .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    text-align: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.friend_club_img .card img {
    width: 80%;
    border-radius: 50%;
}

.friend_club_img .card .text {
    margin-top: 10px;
    font-size: 20px;
    color: rgb(66, 45, 38);
    text-decoration: none;
}

.friend_club_img .card .text:hover {
    text-decoration: underline; 
    color: rgb(33, 22, 19);
}
.card {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card img {
  transition: transform 1s linear;
}

.card p {
  transition: transform 0.4s ease;
}

.slideshow {
    display:flex;
    justify-items: center;
    align-items: center;
    position: relative;
    transition: 2s;
    overflow: hidden;
    border-radius: 10px;
    width:50%;
    height:400px;
    margin: 0 auto;
  }
.slideshow img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position:center; 
    border-radius: 10%; 
}
.slideshow video{
    width: 100%;
    height: 100%;
    border-radius: 10%; 
    object-fit: cover;
    object-position:center; 
}
.slideshow img:hover{
    border-radius: 10%;
    overflow: hidden;
    transform: scale(1.5);
    transition: 0.5s;
}

.slideshow video:hover{
    border-radius: 10%;
    overflow: hidden;
    transform: scale(1.5);
    transition: 0.5s;
}

.slide_item {
    position: relative;
    overflow: hidden;
  }
/*
.prev {
    position:relative;
    bottom:50px;
    left:10%;
    transform: translateY(-50%);
  }
.next {
    position:relative;
    bottom: 200px;
    left:90%;
    transform: translateY(-50%);
  }
  .arraw {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    align-content: center;
    height: 100px;
    font-size: 100px;
    width:20px;
    text-decoration: none;
    color: rgba(134, 124, 124, 0.466);
    border-radius: 10px;
    user-select: none;
  }
 
  .arraw:hover {
    border-radius: 10px;
    color: rgb(66, 45, 38);
    cursor: pointer;
    transition: 0.6 ease;
  }


/*
        <p>Q&A</p>
        <p>社團活動</p>
        <p>幹部介紹</p>
        <p>教學內容</p>
*/

.contact_container {
  padding: 0px;
  display: flex;
  justify-content: left; 
  align-items: center; 
}

.contact {
  display: flex; 
  flex-direction: column; 
  margin-left: 20px; 
  color: #b78442;
  font-size: 18px;
}

.contact .fa-brands .fa-instagram { 
  margin-right: 10px; 
  color: #d7b362;
}

.anime {
  display: flex; 
  position: relative;
  width: 300px;
}

.anime_img {
  width: 100%;
  height: auto;
}

.contact .ig {
  text-decoration: none;
  color: #b78442;
  
}

.contact p {
  position: relative;
  font-size: 40px;
  color: rgb(66,45,38);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 0.5px;
  margin-bottom: 10px;
}

.maple{
  display: flex; 
  flex-direction: column; 
  width: 60%;
  justify-items: right;
  align-items: right;
  transform: scaleX(-1);
  z-index: -1000px;
}

.hidden {
  opacity: 0;
  transform: translateY(100px);
  will-change: transform, opacity;
}

.slide-in {
  animation: slideInUp 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  80% {
    opacity: 1;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}