:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans Thai", "Noto Sans", sans-serif;
  --color-text: #111;
  --color-muted: #555;
  --color-bg: #fff;
  --color-surface: #f6f7f8;
  --color-border: #e5e7eb;
  --color-link: #0b57d0;
  --color-link-hover: #0843a3;
  --color-focus: #1f6feb;

  --radius-1: 8px;
  --radius-2: 12px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  --container-max: 1120px;
  --container-pad: 16px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.06);
}

body { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    /* font-size:clamp(12px,2vw,20px); */
    /* font-family: Arial, Helvetica, sans-serif; */
}

.box-style  {
    border-style : solid;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  padding: var(--space-5);
}

.flex-container {
  display: flex;
  flex-direction: row;
}

.sidebar {
  padding: var(--space-4);
}

.text-center {
  text-align: center;
}

/* Hamburger Icon Styling */

.hamburger-icon {  
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 8px;

    @media only screen and (min-width: 800px) 
    {
           display: none;
    }
}

.ham-bar1, .ham-bar2, .ham-bar3 {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.change .ham-bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .ham-bar2 { opacity: 0; }

.change .ham-bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

/* Navigation Bar */

.nav-class {
    overflow: hidden;
    background-color:#a4a4a4;
}

.nav-class a {  
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.home-active {
    background-color: #04AA6D;
    color: white;
}

.nav-class .icon {
    display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .drop-button {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.drop-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.drop-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.nav-class a:hover, .dropdown:hover .drop-button {
    background-color: #555;
    color: white;
}

.drop-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .drop-content {
    display: block;
}

@media screen and (max-width: 800px) 
{
    .nav-class a:not(:first-child), .dropdown .drop-button {
         display: none;
    }
    .nav-class a.icon {
         float: right;
         display: block;
    }
}

@media screen and (max-width: 800px) 
{
    .nav-class.responsive {
         position: relative;
    }

    .nav-class.responsive .icon {
         position: absolute;
         right: 0;
         top: 0;
    }

    .nav-class.responsive a {
         float: none;
         display: block;
         text-align: left;
    }

    .nav-class.responsive .dropdown {
         float: none;
    }

    .nav-class.responsive .drop-content {
        position: relative;
    }

    .nav-class.responsive .dropdown .drop-button 
    {
         display: block;
         width: 100%;
         text-align: left;
    }
}
