body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1b2a41; /* ใช้สีพื้นหลังฟ้าเข้ม */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    width: 90%;
    max-width: 650px;
    background-color: #f8f9fa; /* สีพื้นหลังของ container สีขาว */
    border: 2px solid #1a16ff; /* กรอบสีทอง */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* เงา */
    padding: 20px;
    border-radius: 10px;
}

.logo img {
    height: 150px; /* เพิ่มขนาดโลโก้ */
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px; /* ปรับขนาดให้ปุ่มมีขนาดเท่ากับรูปภาพด้านล่าง */
    margin-bottom: 20px; /* เพิ่มระยะห่างจากเนื้อหาหลัก */
}

.buttons button {
    padding: 15px; /* เพิ่ม padding */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px; /* เพิ่มขนาดตัวอักษร */
    width: 90%;
    margin: 0 auto;
    transition: transform 0.5s, box-shadow 0.3s;
    animation: pulse-effect 1s infinite; /* เพิ่มอนิเมชั่น */
}

@keyframes pulse-effect {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(122, 131, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 10px rgba(164, 211, 255, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
}

.buttons button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.buttons .signup {
    background-color: #1e90ff; /* สีพื้นหลังของปุ่มสมัคร */
    color: #fff; /* สีตัวอักษรของปุ่มสมัคร */
}

.buttons .signup:hover {
    background-color: #1c86ee; /* สีพื้นหลังของปุ่มสมัครเมื่อ hover */
}

.buttons .contact {
    background-color: #1cf000; /* สีพื้นหลังของปุ่มติดต่อ */
    color: #ffffff; /* สีตัวอักษรของปุ่มติดต่อ */
}

.buttons .contact:hover {
    background-color: #f0f0f0; /* สีพื้นหลังของปุ่มติดต่อเมื่อ hover */
}

.container img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 5px;
}

.image-container {
    width: 100%; /* ปรับขนาดตามต้องการ */
    height: 100%; /* ปรับขนาดตามต้องการ */
    overflow: hidden; /* ป้องกันไม่ให้ภาพที่เบลอหลุดออกมานอกขอบ */
    position: relative;
}

.contacts {
    width: 100px;
    margin-top: 50px;
    margin-bottom: 10px;
    display: block;
    text-align: start;
    color: #5a4e83;
    text-decoration: none;
}
.contacts:hover {
    color: #13229f;
}

@media (max-width: 1024px) {
    /* Hide on screens 1024px and below (tablets and phones) */
    .contacts {
        display: none;
    }
}

.blur-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ปรับภาพให้เต็มพื้นที่โดยไม่เสียอัตราส่วน */
    /* filter: blur(8px); */ /* ปรับค่าความเบลอได้ตามต้องการ เช่น 5px, 10px เป็นต้น */
}
