@import url("clash-display.css"); :root { --c-dark: #212529; --c-brand: #4e57d4; --c-brand-light: #6970dd; --c-brand-rgb: 78, 87, 212; --c-body: #727272; --font-base: "ClashDisplay", sans-serif; --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08); --transition: all 0.5s ease; } body { font-family: var(--font-base); line-height: 1.7; color: var(--c-body); } .top-bar { background-color: #FFD700; color: #000000; padding: 5px 20px; font-size: 14px; flex-wrap: wrap; /* ทำให้เนื้อหาห่อบรรทัด */ } .top-bar a { color: #000000; text-decoration: none; margin-right: 15px; } .top-bar a:hover { text-decoration: underline; color: white; } .left-section, .right-section { display: flex; align-items: center; } .left-section span, .right-section span { margin-right: 15px; } .icon { margin-right: 5px; } .language-select { margin-left: 15px; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 600; } a { text-decoration: none; color: var(--c-brand); transition: var(--transition); } a:hover { color: var(--c-brand-light); } img { max-width: 100%; height: auto; } .section-padding { padding-top: 140px; padding-bottom: 140px; } .navbar { box-shadow: var(--box-shadow); } .navbar-nav .nav-link { font-weight: 500; color: var(--c-dark); } .navbar-nav .nav-link.active { color: var(--c-brand); } .carousel-item img { width: 100%; height: auto; max-height: 600px; /* กำหนดความสูงสูงสุดตามความต้องการ */ object-fit: contain; /* แสดงภาพทั้งหมด โดยไม่ตัดส่วนใดส่วนหนึ่งออก */ } .carousel-caption { position: absolute; bottom: 20%; left: 10%; color: white; text-align: left; } .carousel-indicators button { background-color: white; } .card { background-color: rgba(255, 255, 255, 0.1); border: none; border-radius: 15px; padding: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } .profile-pic { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; border: 4px solid #ffffff; } .carousel-item { text-align: center; } video { width: 80%; height: 400px; border: none; } .carousel-control-prev { left: -5%; /* ขยับปุ่มเลื่อนซ้ายออกจากวิดีโอ */ } .carousel-control-next { right: -5%; /* ขยับปุ่มเลื่อนขวาออกจากวิดีโอ */ } .carousel-control-prev-icon, .carousel-control-next-icon { background-color: #FFC107; /* สีของปุ่มเลื่อน (เปลี่ยนสีได้ตามต้องการ) */ border: 2px solid #fff; /* เพิ่มเส้นขอบสีขาว */ border-radius: 50%; width: 40px; height: 40px; } .social-icons a { margin: 0 10px; font-size: 24px; color: #ffffff; transition: transform 0.3s ease; } .social-icons a:hover { transform: scale(1.2); color: #ffc107; } .event-content { max-width: 800px; margin: 50px auto; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 15px; padding: 20px 30px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); animation: slideIn 1.5s ease-out; } h1, h2 { color: #ff7700; transition: color 0.3s ease; } h1:hover, h2:hover { color: #febc58; } h1 { font-size: 2.5rem; text-align: center; margin-bottom: 20px; } h2 { font-size: 1.8rem; margin-top: 30px; } ul { padding-left: 20px; } ul li { margin-bottom: 10px; } footer { text-align: center; margin-top: 30px; font-size: 0.9rem; color: #ffeb3b; } @keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes slideIn { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } } .row { align-items: center; } .intro-text { text-align: left; } .gallery img { cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; } .gallery img:hover { transform: scale(1.1); box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); } .modal-carousel img { max-height: 80vh; object-fit: cover; transition: transform 0.5s; } .modal-carousel img:hover { transform: scale(1.1); } .carousel-indicators [data-bs-target] { background-color: #6c757d; } .carousel-indicators .active { background-color: #495057; } .footer { background-color: #FFD700; padding: 20px 0; margin-top: 40px; color: rgb(0, 0, 0); } .footer a { color: #000000; } .footer a:hover { color: white; } .footer-content { display: flex; align-items: center; /* จัดให้ข้อความอยู่ตรงกลางแนวตั้ง */ justify-content: space-between; /* จัดให้ข้อความและรูปแยกกัน */ flex-wrap: wrap; /* ปรับให้รองรับมือถือ */ } .footer-text { text-align: center; flex-grow: 1; } /* ปรับขนาดรูปภาพใน Footer */ .footer-img { max-width: 100px; /* ปรับขนาดรูปภาพ */ height: auto; } @media (max-width: 768px) { .footer-content { flex-direction: column; /* จัดเรียงแนวตั้งสำหรับจอเล็ก */ text-align: center; } .footer-img { margin-top: 10px; } } .important-text { color: #FFD700; font-weight: bold; }