@font-face {
    font-family: 'cyber';
    src: url('font/Sdglitchrobotdemo-GOPdO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'profile';
    src: url('font/Broken\ Console\ Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body { 
    margin: 0; 
    overflow: hidden; 
    font-family: 'cyber', sans-serif;
}

    /* 🌌 กล่อง UI สไตล์นีออน */
.infoBox {
    position: absolute;
    transform: translate(0%, -50%); /* ให้อยู่ตรงกลางตำแหน่งที่คำนวณได้ */
    background: rgba(0, 255, 255, 0.1); /* ฟ้าโปร่งใส */
    border: 2px solid #0ff; /* ขอบฟ้านีออน */
    border-radius: 12px;
    padding: 7px 7px;
    color: #fff;
    text-shadow: 0 0 5px #0ff;
    box-shadow:0 0 10px #0ff,0 0 10px #0ff,inset 0 0 5px rgba(0, 255, 255, 0.5);
    font-size: 1em;
    font-weight: bold;
    height: 0%;
    width: 0%;
}

.infoBox header {
    opacity: 0;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #0ff;
}
.infoBox .img{
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.infoBox .img img {
    width: 90px;
    height: 100px;
    border-radius: 10px;
    border: 2px solid #0ff;
    box-shadow: 0 0 10px #0ff;
}
.infoBox footer{
    opacity: 0;
    margin-top: 10px;
    font-size: 1em;
    color: #0ff;
    text-transform: uppercase;
}

.profile{
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile .boxprofile{
    margin-top: 40px;
    background: rgba(0, 255, 255, 0.1); /* ฟ้าโปร่งใส */
    border: 2px solid #0ff; /* ขอบฟ้านีออน */
    border-radius: 12px;
    color: #fff;
    text-shadow: 0 0 5px #0ff;
    box-shadow:0 0 10px #0ff,0 0 10px #0ff,inset 0 0 5px rgba(0, 255, 255, 0.5);
    font-size: 1em;
    font-weight: bold;
    height: 90%;
    width: 50%;
    backdrop-filter: blur(20px); /* ปรับตัวเลขเพื่อเพิ่ม/ลดความเบลอ */
    -webkit-backdrop-filter: blur(20px); /* สำหรับ Safari */
    display: flex;
}
.profile .close{
    margin-left: 20px;
    margin-top: 40px;
    width: 60px;
    height: 60px;
        background: rgba(0, 255, 255, 0.1); /* ฟ้าโปร่งใส */
    border: 2px solid #0ff; /* ขอบฟ้านีออน */
    border-radius: 12px;
    color: #fff;
    text-shadow: 0 0 5px #0ff;
    box-shadow:0 0 10px #0ff,0 0 10px #0ff,inset 0 0 5px rgba(0, 255, 255, 0.5);
    backdrop-filter: blur(100px); /* ปรับตัวเลขเพื่อเพิ่ม/ลดความเบลอ */
    -webkit-backdrop-filter: blur(100px); /* สำหรับ Safari */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    color: red;
    cursor: pointer;
}

.profile .boxprofile .l{
    width: 35%;
    height: 100%;
    border-right: 1px solid #0ff;

    /* เพิ่มเอฟเฟกต์นีออน */
    box-shadow: 
        1px 0 2px #0ff,
        1px 0 2px #0ff,
        inset 0 0 1px rgba(0, 255, 255, 0.5);
}
.profile .boxprofile .l .img{
    width: 100%;
    height: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile .boxprofile .l .img img{
    width: 70%;        /* ตามขนาดพื้นที่ */
    aspect-ratio: 1/1; /* ทำให้เป็นสี่เหลี่ยม */
    border-radius: 50%;
    object-fit: cover;
}
.profile .boxprofile .l .text{
    padding: 10px;
    font-family: 'profile', sans-serif;
    height: 65%;
}
.profile .boxprofile .l .text header{
    height: 70%;
}
.profile .boxprofile .l .text header p i {
    font-size: 1.3em;
}

.profile .boxprofile .l .text footer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.profile .boxprofile .r{
    width: 65%;
    height: 100%;
    font-family: 'profile', sans-serif;
}

.profile .boxprofile .r header{
    width: 100%;
    height: 15%;
    display: flex;
}

.profile .boxprofile .r header .text_header{
    width: 100%;
    height: 100%;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.profile .boxprofile .r header .text_header li{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    outline: none;
    height: 30px;
}

.profile .boxprofile .r header .text_header i{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.3em;
}
.profile .boxprofile .r .pac_man{
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.profile .boxprofile .r .pac_man img{
    height: 100%;
    display: flex;
    object-fit: contain;
}

.profile .boxprofile .r .pac_man li{
    color: white;
    font-size: 1.6em;
    list-style: none;
}
.profile .boxprofile .r .body{
    height: 80%;
    width: 100%;
}
.profile .boxprofile .r .box_body{
    height: 20%;
    margin: 10px;
}
.profile .boxprofile .r .box_body header{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile .boxprofile .r .box_body .body{
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile .boxprofile .r .box_body .body img{
    width: 50px;
    height: 50px;
    margin-left: 10px;

}

.profile .boxprofile .r .body .box-header-archive{
    font-size: 1.2em;
    margin: 15px;
}

.profile .boxprofile .r .body .item-archive{
    margin-top: 5px;
    font-size: .7em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid white;
}
.profile .boxprofile .r .body .item-archive:hover{
    background: #9fb5ce;
}
.profile .boxprofile .r .body .item-archive .item-archive-header{
    width: 20%;
}

.profile .boxprofile .r .body .item-archive .item-archive-body{ 
    width: 60%;
}

.profile .boxprofile .r .body .item-archive .item-archive-body .item-archive-foot{
    width: 20%;
}
.profile .boxprofile .r .body .project-box{ 
    height: 50px;
    padding: 10px;
}

.profile .boxprofile .r .body .project-box .project-content{
    height: 100%;
    border-radius: 5px;
    display: flex;
    border: 1px solid white;
    padding: 5px;
    color: #fff;
    text-decoration: none;

}
.profile .boxprofile .r .body .project-box .project-content:hover{
    background: #c5acac;
}

.profile .boxprofile .r .body .project-box .project-content .img{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.profile .boxprofile .r .body .project-box .project-content .img img{
    width: 40px;
    height: 40px;
}

.profile .boxprofile .r .body .project-box .project-content .text{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}