

  @import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global Page Blocking
----------------------------------------------- */	
         body, html {
            height: 100%;
            margin: 0;
            padding: 0;
        }
p {
    margin: 0;
}
        .flex-container {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            background: rgb(var(--DarkBlue));
            /*background: linear-gradient(125deg, 
    rgb(var(--Orange)), 
    rgb(var(--Blue)) 25%, 
    rgb(var(--Blue)) 75%, 
    rgb(var(--Gold)) 90%);*/
        }
    .show {
        display: block;
        transition: all 0.3s ease;
        background: rgba(var(--Orange),1);
        border-radius: 5px;
        padding: 10px;
    }    
    .hide {
        display: none:
    }

        .page-content {
            flex: 1;
            padding-top: 90px;
            min-height: 50vh;
            /*background-image: url('https://(domain/media/structure/bg_img.webp)');  Uncomment if you want an image or texture BG 
            height: 100%;
            width: 90%;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 100% 100%;
            margin: 0 auto;
            animation: fadein 2s forwards, stretch 6s infinite alternate 2s ease-in-out; 
            // animates the background image - the last seconds value defines the delay */
        }
        .content-pad {
          width:100vw;
          padding: 0px;
          margin: 0 auto;
        }
        /* Sure make it creepy 
         @keyframes fadein {
            from { opacity: 0; }
            to   { opacity: 1; }
        }

        @keyframes stretch {
            from { background-size: 100% 100%; }
            to   { background-size: 120% 100%; }
        }*/
/*-----------Footer-----------*/

        .sticky-footer {
            background-color: rgba(var(--DarkBlue),1);
            color: rgb(255,255,255);
            padding: 20px;
            text-align: left;
            z-index: 1000;
            position: relative;
        }
        .sticky-footer a{
          color: rgb(var(--Orange));
        }
        .sticky-footer h2 {
            margin: 2px;
            font-size: 30px;
        }
        .footer-row {
            display: flex;
            justify-content: space-between; /* evenly spaced columns */
            align-items: center; /* vertically center the content */
            padding: 10px 0; /* some padding for visual spacing */
        }

        .footer-column {
            flex: 1; /* each column takes up an equal amount of space */
            padding: 10px; /* some padding for visual spacing */
            text-align: center; /* center the text within each column */
        }

        .footer-column.logo-column img {
            max-width: 100%; /* ensures the image doesn't overflow its container */
            height: auto;
        }

      .footer-row:last-child {
          justify-content: center; /* center the content */
          padding: 10px 0; /* some padding for visual spacing */
          border-top: 1px solid #ccc; /* optional border between the columns and the copyright text */
      }
      @media (max-width: 768px) {
          .footer-row {
      flex-direction: column;
      }
      
        .sticky-footer, .footer-column, .footer-row {
        text-align: center;
      }

    .footer-column {
        margin-bottom: 20px; /* Add some spacing between stacked columns */
    }
    .footer-column.logo-column img {
        min-width: 250px; /* or any other minimum size that you find suitable */
    }
}
.button {
    font-family: 'Kanit', sans-serif;
    background-color: rgba(var(--Orange),0.8);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block; /* Make the button a block-level element */
  margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: rgba(var(--Gold),1);
}
.floating-button {
    position: fixed;
    font-family: 'Kanit', sans-serif;
    top: 20px;
    right: 20px;
    width: 260px;
    background-color: rgba(var(--Orange),0.8);
    padding: 20px;
    color: white;
    border: none;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;  /* Center text vertically */
    justify-content: center;  /* Center text horizontally */
    z-index: 1200;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.floating-button:hover {
    background-color: rgba(var(--Gold),1);
}

@media (max-width: 768px) {
    .floating-button {
        top: auto;  /* Reset the 'top' property */
        right: auto;  /* Reset the 'right' property */
        bottom: 20px;  /* Position at the bottom */
        left: 50%;  /* Center it on the X-axis */
        transform: translateX(-50%);  /* Adjust for its own width to truly center it */
        width: 300px;  /* Set width */
        height: 75px;
    }
}

/*---------- Global Base Fonts. Set Specific sub-styles in their relative applications. ----------------*/

.page-content {
    font-family: 'Kanit', sans-serif;
}

nav {
 font-family: 'Kanit', sans-serif;
}

footer {
     font-family: 'Kanit', sans-serif;
}
/*---------- Global Base Colors. Refer to them in your styles using var(--Teal), etc. Modify these values to match the needs of your theme. ----------------*/
:root {
    --Blue: 0, 11, 41;  /* Example RGB values for all */
    --LightBlue: 38, 77, 117;
    --DarkBlue: 0, 11, 41; 
    --Orange: 240, 76, 35;
    --DarkOrange: 168,153,24; 
    --Gold: 198, 139, 71; 
    --Teal: 0, 128, 128; 
    --Gray: 128, 128, 128;
    --White: 255, 255, 255; 
}

    