div#container
{
   width: 1000px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #7F7F7F;
   background-image: url('https://images.unsplash.com/photo-1628863353691-0071c8c1874c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2ODk0MXwwfDF8c2VhcmNofDV8fGNoZW1pY2FsfGVufDB8fHx8MTc3MjAwOTIwNHww&ixlib=rb-4.1.0&q=80&w=1080');
   background-attachment: fixed;
   background-position: center center;
   background-repeat: no-repeat;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
#MenuBar1
{
   background-color: transparent;
   border: 0px solid #FFFFFF;
   border-radius: 5px;
}
.MenuBar1SubMenu
{
   background-color: transparent;
   border: 1px solid #C5C5C5;
   position:	absolute;
   visibility: hidden;
   overflow: visible;
   z-index: 100;
}
.MenuBar1SubMenuTable
{
   cursor: default;
   border: 0;
   padding: 0;
}
.MenuBar1SubMenuTable tr
{
   margin: 0;
   padding: 0;
}
.MenuBar1Menu
{
   background-color: transparent;
   margin: 2px 0 2px 2px;
   padding: 0;
}
.MenuBar1MenuOuter
{
   background-color: transparent;
   border: 0px solid #FFFFFF;
}
.MenuBar1Menu tr
{
   margin: 0;
   padding: 0;
}
.MenuBar1MainItem .MenuBar1MainItemLeft,
.MenuBar1MainItem .MenuBar1MainFolderLeft
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   text-align: center;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MainItem .MenuBar1MainItemText, 
.MenuBar1MainItem .MenuBar1MainItemText a,
.MenuBar1MainItem .MenuBar1MainFolderText,
.MenuBar1MainItem .MenuBar1MainFolderText a
{
   background-color: #F6F6F6;
   color: #454545;
   font-size: 13px;
   font-family: Arial;
   font-weight: normal;
   font-style: normal;
   line-height: 16px;
   text-align: center;
   text-decoration: none;
   text-transform: none;
   white-space: nowrap;
   margin: 0;
   cursor: pointer;
   border-bottom: 2px solid #C5C5C5;
   border-right: 2px solid #C5C5C5;
   border-top: 2px solid #C5C5C5;
   border-left: 2px solid #C5C5C5;
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;
   padding: 3px 40px 3px 10px;
   vertical-align: middle;
}
.MenuBar1MainItem .MenuBar1MainItemRight,
.MenuBar1MainItem .MenuBar1MainFolderRight
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MainItemHover .MenuBar1MainItemLeft,
.MenuBar1MainItemActive .MenuBar1MainItemLeft,
.MenuBar1MainItemHover .MenuBar1MainFolderLeft,
.MenuBar1MainItemActive .MenuBar1MainFolderLeft
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MainItemHover .MenuBar1MainItemText,
.MenuBar1MainItemActive .MenuBar1MainItemText,
.MenuBar1MainItemHover .MenuBar1MainItemText a,
.MenuBar1MainItemActive .MenuBar1MainItemText a,
.MenuBar1MainItemHover .MenuBar1MainFolderText,
.MenuBar1MainItemActive .MenuBar1MainFolderText,
.MenuBar1MainItemHover .MenuBar1MainFolderText a,
.MenuBar1MainItemActive .MenuBar1MainFolderText a
{
   background-color: #87CEFA;
   color: #2B2B2B;
   font-size: 13px;
   font-family: Arial;
   font-weight: normal;
   font-style: normal;
   line-height: 16px;
   text-align: center;
   text-decoration: none;
   text-transform: none;
   white-space: nowrap;
   margin: 0;
   cursor: pointer;
   border-bottom: 0px solid #CCCCCC;
   border-right: 0px solid #CCCCCC;
   border-top: 0px solid #CCCCCC;
   border-left: 0px solid #CCCCCC;
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;
   padding: 5px 42px 5px 12px;
   vertical-align: middle;
}
.MenuBar1MainItemHover .MenuBar1MainItemRight,
.MenuBar1MainItemActive .MenuBar1MainItemRight,
.MenuBar1MainItemHover .MenuBar1MainFolderRight,
.MenuBar1MainItemActive .MenuBar1MainFolderRight
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MenuItem .MenuBar1MenuItemLeft,
.MenuBar1MenuItem .MenuBar1MenuFolderLeft
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   text-align: center;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MenuItem .MenuBar1MenuItemText, 
.MenuBar1MenuItem .MenuBar1MenuItemText a,
.MenuBar1MenuItem .MenuBar1MenuFolderText,
.MenuBar1MenuItem .MenuBar1MenuFolderText a
{
   background-color: #F6F6F6;
   color: #454545;
   font-size: 13px;
   font-family: Arial;
   font-weight: normal;
   font-style: normal;
   text-align: left;
   text-decoration: none;
   text-transform: none;
   line-height: 16px;
   white-space: nowrap;
   margin: 0;
   cursor: pointer;
   border-bottom: 0px solid #C5C5C5;
   border-top: 0px solid #C5C5C5;
   border-right: 0px solid #C5C5C5;
   border-left: 0px solid #C5C5C5;
   padding: 3px 10px 3px 10px;
   vertical-align: middle;
}
.MenuBar1MenuItem .MenuBar1MenuItemRight,
.MenuBar1MenuItem .MenuBar1MenuFolderRight
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MenuItemHover .MenuBar1MenuItemLeft, 
.MenuBar1MenuItemActive .MenuBar1MenuItemLeft,
.MenuBar1MenuItemHover .MenuBar1MenuFolderLeft,
.MenuBar1MenuItemActive .MenuBar1MenuFolderLeft
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1MenuItemHover .MenuBar1MenuItemText,
.MenuBar1MenuItemActive .MenuBar1MenuItemText,
.MenuBar1MenuItemHover .MenuBar1MenuItemText a,
.MenuBar1MenuItemActive .MenuBar1MenuItemText a,
.MenuBar1MenuItemHover .MenuBar1MenuFolderText,
.MenuBar1MenuItemActive .MenuBar1MenuFolderText,
.MenuBar1MenuItemHover .MenuBar1MenuFolderText a,
.MenuBar1MenuItemActive .MenuBar1MenuFolderText a
{
   background-color: #7FFFD4;
   color: #2B2B2B;
   font-size: 13px;
   font-family: Arial;
   font-weight: normal;
   font-style: normal;
   line-height: 16px;
   text-align: left;
   text-decoration: none;
   text-transform: none;
   white-space: nowrap;
   margin: 0;
   cursor: pointer;
   border-bottom: 0px solid #CCCCCC;
   border-top: 0px solid #CCCCCC;
   border-right: 0px solid #CCCCCC;
   border-left: 0px solid #CCCCCC;
   padding: 3px 10px 3px 10px;
   vertical-align: middle;
}
.MenuBar1MenuItemHover .MenuBar1MenuItemRight,
.MenuBar1MenuItemActive .MenuBar1MenuItemRight,
.MenuBar1MenuItemHover .MenuBar1MenuFolderRight,
.MenuBar1MenuItemActive .MenuBar1MenuFolderRight
{
   width: 0px;
   cursor: pointer;
   border-width: 0;
   padding: 3px 0 3px 0;
   font-size: 1px;
}
.MenuBar1SubMenu td,
.MenuBar1Menu td,
.MenuBar1Menu tr
{
   vertical-align: middle;
}
.MenuBar1MainItem .firstChild,
.MenuBar1MainItemHover .firstChild
{
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
}
.MenuBar1MainItem .lastChild,
.MenuBar1MainItemHover .lastChild
{
   border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;
}
.MenuBar1MenuSplitText div
{
   height: 1px;
   padding: 0;
   background-color: #454545;
   overflow: hidden;
}
.MenuBar1MenuItem .MenuBar1MenuSplitLeft
{
   height: 7px;
   padding: 0;
}
.MenuBar1MenuItem .MenuBar1MenuSplitText
{
   background-color: #F6F6F6;
   height: 7px;
   padding: 0 6px 0 6px;
}
.MenuBar1MenuItem .MenuBar1MenuSplitRight
{
   height: 7px;
   padding: 0;
}
.MenuBar1MainSplitText div
{
   background-color: #454545;
   height: 1px;
   padding: 0;
   overflow: hidden;
}
.MenuBar1MainItem .MenuBar1MainSplitLeft 
{
   height: 7px;
   padding: 0;
}
.MenuBar1MainItem .MenuBar1MainSplitText
{
   background-color: #F6F6F6;
   height: 7px;
   padding: 0;
}
.MenuBar1MainItem .MenuBar1MainSplitRight
{
   height: 7px;
   padding: 0;
}
.MenuBar1MainItem
{
   vertical-align: middle;
}
.MenuBar1HorizontalSplit
{
   border-right: 0 solid #8080FF;
   border-left: 0 solid #8080FF;
   width: 55px;
   background-color: #F6F6F6;
   padding: 3px 0 3px 0;
   vertical-align: middle;
   text-align: center;
   text-decoration: none;
   color: #454545;
   font-size: 13px;
   font-family: Arial;
   font-style: normal;
}
.MenuBar1MainItem, .MenuBar1MainItemHover, .MenuBar1MainItemActive,
.MenuBar1MenuItem, .MenuBar1MenuItemHover, .MenuBar1MenuItemActive
{
   white-space: nowrap;
}
.MenuBar1SpacerDiv
{
   background: transparent;
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 1px;
}
#wb_MenuBar1
{
}
#wb_MenuBar1:hover
{
   z-index: 1111 !important;
}
#Html1
{
   position: absolute;
   left: 319px;
   top: 38px;
   width: 100%;
   height: 88px;
   z-index: 1;
}
#wb_MenuBar1
{
   position: absolute;
   left: 320px;
   top: 8px;
   width: 360px;
   height: 30px;
   z-index: 2;
}
@media only screen and (max-width: 999px)
{
div#container
{
   width: 360px;
}
body
{
   background-color: #7F7F7F;
   background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2ODk0MXwwfDF8c2VhcmNofDJ8fHdhcmVob3VzZXxlbnwwfHx8fDE3NzIwMTQyMDd8MA&ixlib=rb-4.1.0&q=80&w=1080');
   background-attachment: fixed;
   background-position: center center;
   background-repeat: no-repeat;
}
#BuildWith1
{
   left: 0px;
   top: 720px;
   width: 88px;
   height: 31px;
   visibility: visible;
   display: inline;
}
#Html1
{
   left: 0px;
   top: 34px;
   width: 360px;
   height: 110px;
   visibility: visible;
   display: inline;
}
#wb_MenuBar1
{
   left: 0px;
   top: 4px;
   width: 360px;
   height: 30px;
   visibility: visible;
   display: inline;
   margin: 0;
}
}
/* 1. จัดวางทุกอย่างให้อยู่กลางหน้าจอ */
body {
margin: 0;
display: flex;
justify-content: center;
min-height: 100vh;
background-color: #f0f0f0;
font-family: sans-serif;
}

/* 2. กรอบครอบ (เน้นความสูง 90% และสัดส่วน 9:16) */
.container {
position: relative;
height: 95vh;
aspect-ratio: 9 / 16;
background: white;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
overflow: hidden;
}

/* 3. สไตล์ปุ่ม Full Screen (อยู่ทางซ้ายและซ่อนไว้) /
.fs-button {
position: absolute;
top: 10px;
left: 10px; / ย้ายมาทางซ้าย /
z-index: 100;
padding: 8px 15px;
background: rgba(0,0,0,0.7);
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
opacity: 0; / ซ่อนปุ่มไว้ตอนเริ่มต้น /
transition: opacity 0.3s ease; / ให้การแสดงผลดูนุ่มนวล */
}

/* 4. แสดงปุ่มเมื่อเอาเมาส์ไปวางที่กรอบ container */
.container:hover .fs-button {
opacity: 1;
}

/* 5. ทำให้ iFrame เต็มกรอบ */
iframe {
width: 100%;
height: 100%;
border: none;
}

/* เมื่อกด Full Screen ให้ขยายเต็มจอ */
.container:fullscreen {
width: 100vw;
height: 100vh;
border-radius: 0;
}
