﻿
/*===========================================================*/
/* Circle Menu add by Kornpong Luangamornpisal */

.menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 100px;
}

.menu-item {
    /* width: 200px;
    height: 200px*/;
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    // ปรับสีพื้นหลังอักษร text-decoration: none;
    color: red;
    transition: transform 0.2s;
    position: relative;
}

    .menu-item p {
        /*font-size: 14px;*/
        font-size: calc(var(--circle-size) * 0.085);
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0,0.5);
        color: yellow;
        padding: 30px;
        text-align: center;
        font-weight: bold;
        border-bottom-left-radius: 50%;
        border-bottom-right-radius: 50%;
        line-height: 1.2; /* ช่องไฟระหว่างบรรทัด */
        white-space: normal; /* กำหนดให้วาร์ปได้ */
        word-wrap: break-word; /* ตัดคำยาว ให้พอดีวงกลม */
        max-height: 50%; /* ไม่ให้อักษรออกนอกวงกลม */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .menu-item:hover {
        transform: scale(1.1);
    }

    .menu-item img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

/*===========================================================*/

footer {
    display: flex;
    justify-content: center;  horizontal center 
    align-items: center;  vertical center (inside footer height) 
    text-align: center;
}

/*// Centering the footer both horizontally and vertically in the viewport
footer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}*/

.btn-width {
    width: 150px;
}

.login-background {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures the background image does not overflow */
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes sure the image covers the entire background */
    opacity: 100; /* Adjusts the opacity to your preference */
    z-index: -1; /* Ensures the image stays behind the content */
}

.text-3d {
    font-size: var(--Fontsize-size);
    color: aqua;
    text-shadow: 1px 1px 0 #000, 2px 2px 0 #111, 3px 3px 0 #222, 1px 1px 0 #333;
}

.text-3d-sm {
    font-size: 25px;
    color: blue;
    text-shadow: 1px 1px 0 #0fcaf5, 1px 1px 0 #0fcaf5, 1px 1px 0 #0fcaf5, 1px 1px 0 #0fcaf5;
}

