body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #2424f3, #2da989);
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background: #000242;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.logo img {
    width: 150px;
}

h2 {
    margin: 20px 0;
}

table {
    width: 100%;
    text-align: center;
}

.tdstepregister {
    width: 25%;
    background: #030cff;
    padding: 10px 0;
}

.tdstepregister b {
    background: black;
    padding: 0 5px;
    border-radius: 20px;
}

.tdstepregister.active b {
    color: black;
    font-weight: bold;
    background: #bf85ff;
}

.tdstepregister span {
    font-size: 14px;
}

.textlogin {
    text-shadow: 0 0 5px white, 0 0 10px white;
    font-weight: bold;
}

.linebtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
}

.btnofregister {
    margin-top: 40px;
    white-space: nowrap;
}

.tdbtnregister {
    width: 50%;
    padding: 0 10px;
}

.btn {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    background: linear-gradient(145deg, #3a3ad1, #6a6aff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    animation: fadeInButton 0.5s ease;
}

.btn:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    animation: pulse 0.6s ease infinite;
}

.btn:active {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.language-selector {
    margin-top: 20px;
}

.language-selector img {
    margin: 10px;
    width: 100px;
}

.chat img {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    cursor: pointer;
}

.slideto {
    animation: slidenextregister 0.2s ease 0s normal none;
}

.showanimate {
    animation: slidenextcontent 0.2s ease 0s normal none;
}

@keyframes slidenextregister {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slidenextcontent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInButton {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .tdstepregister {
        padding: 5px 0;
    }

    .tdstepregister span {
        font-size: 12px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .btnofregister {
        display: flex;
        flex-direction: column;
    }

    .language-selector img {
        width: 80px;
    }
}
.image-container {
    width: 100%; /* ปรับขนาดตามต้องการ */
    height: 100%; /* ปรับขนาดตามต้องการ */
    overflow: hidden; /* ป้องกันไม่ให้ภาพที่เบลอหลุดออกมานอกขอบ */
    position: relative;
}

.contact {
    width: 100px;
    margin-top: 50px;
    margin-bottom: 10px;
    display: block;
    text-align: start;
    color: #4e835e;
    text-decoration: none;
}
.contact:hover {
    color: #1b7d30;
}

@media (max-width: 1024px) {
    /* Hide on screens 1024px and below (tablets and phones) */
    .contact {
        display: none;
    }
}


.blur-image {
    /* width: 100%; */
    height: auto;
    /* filter: blur(8px); ปรับค่าความเบลอได้ตามต้องการ เช่น 5px, 10px เป็นต้น */
}