/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #0e0b09 0%, #190c03 100%);
    color: #fff;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
    padding-bottom: 5px;
}

.header {
    text-align: center;
    padding: 20px 0;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    margin: 10px 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    max-width: 550px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: shake 0.5s infinite;
    animation-delay: 5s;
    animation-iteration-count: infinite;
}

.btn-signup {
    background: linear-gradient(180deg, #ffd700, #ffcc00);
    color: #000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-login {
    background: linear-gradient(180deg, #ff5f00, #ff4500);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn:active {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    50% {
        transform: translateX(2px);
    }
    75% {
        transform: translateX(-2px);
    }
}

.promo {
    text-align: center;
   /*  padding: 20px 0; */
}

.promo-image {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bar-image {
    width: 100vw;
    margin: 0;
}

.info {
    padding: 20px;
    text-align: center;
    background: #1e1a18;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.info h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #ffd700;
}

.info p {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 0;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #2b2725;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.menu li {
    flex: 1;
    text-align: center;
}

.menu li a {
    color: #ffd700;
    text-decoration: none;
    font-size: 14px;
    display: block;
    /* padding: 10px 0; */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu li a:hover {
    background-color: #e1b700;
    color: #000;
}

.menu li a .fa {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

.group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}

.group .img-fluid {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
    padding: 5px;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .btn {
        width: 90%;
    }

    .promo-image {
        max-width: 100%;
    }

    .info h2 {
        font-size: 1.5em;
    }

    .info p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .menu li a {
        font-size: 12px;
    }

    .menu li a .fa {
        font-size: 20px;
    }

    .group .img-fluid {
        width: 70px;
        height: 70px;
    }
}

.image-container {
    width: 100%; /* ปรับขนาดตามต้องการ */
    height: 100%; /* ปรับขนาดตามต้องการ */
    overflow: hidden; /* ป้องกันไม่ให้ภาพที่เบลอหลุดออกมานอกขอบ */
    position: relative;
}

.contact {
    width: 100px;
    margin-top: 100px;
    margin-bottom: 20px;
    display: block;
    text-align: start;
    color: #3d3949;
    text-decoration: none;
}
.contact:hover {
    color: #282a3c;
}

@media (max-width: 1024px) {
    /* Hide on screens 1024px and below (tablets and phones) */
    .contact {
        display: none;
    }
}


.blur-image {
    height: 100%;
    object-fit: cover; /* ปรับภาพให้เต็มพื้นที่โดยไม่เสียอัตราส่วน */
    filter: blur(8px); /* ปรับค่าความเบลอได้ตามต้องการ เช่น 5px, 10px เป็นต้น */
}