@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;700&display=swap');

:root {
  --topbar-h: 55px;
}

html {
  scroll-behavior: smooth;
}

html, body {height: 100%;}

.body {
  margin: 0;
  background-color: white;
  font-family: "Poppins", "Noto Sans Thai", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.site-wrapper{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--topbar-h); /* moved here */
}

.page-content {
  flex: 1;
  display: flex;
}

body img {
  pointer-events: none;
}

/* ----------------------------------------------------------- Mobile 1st. Override for desktop later. ----------------------------------------------------------- */

/* Override for desktop */
@media (min-width: 981px) {
    .site-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
}

.logo {
    max-width: 100%;
    max-height: 2rem;
    height: auto;
    width: auto;
    pointer-events: none;
    padding: 1rem;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.top-bar.shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;
}

.top_buttons {
    background-color: rgb(255, 255, 255);
    color: rgb(57,65,91);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 1rem 1rem 1rem 1rem;
    font-size: 1rem;
    margin: 0 0;
    transition: background-color 0.3s;
}

.top_buttons:hover {
    background-color: rgb(243, 243, 243);
}

.top-center-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}


.global_footer {
    margin: 0 auto 0 auto;
    width: 100%;
    height: auto;
    padding: 3rem 0 5rem;
    background-color: #303134;
}

.footer_overall_content {
    box-sizing: border-box;
    display: grid;
    place-items: left;
    align-items: left;
    grid-template-columns: 1fr;
    max-width: clamp(600px, 100%, 1200px);
    width: 90%;
    margin: 0 auto 0 auto;
}

.footer_heading,
.footer_content {
  margin: 0 auto;
  width: clamp(100%, 60%, 720px);
}

.underline_footer_heading,
.underline_footer_content{
  width: clamp(100%, 60%, 720px);
  height: 1px;
  background: #ff9a3b;
}

.footer_heading h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 300;
}

.footer_content p {
    color: white;
    font-size: clamp(1.1rem, 1.0vw, 1.2rem);
    font-weight: 200;
}

.underline_footer_heading {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.486);
    margin: 0 auto 0 auto;
    position: relative;
    overflow: hidden;
}

.underline_footer_content {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.486);
    margin: 0 auto 0 auto;
    position: relative;
    overflow: hidden;
}

.footer_socialMedia {
    display: flex;
    justify-content: left;
    align-items: left;
    gap: 0.75rem;
    margin: 2rem 0 0 0.2rem;
}

.footer_socialMedia a {
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.footer_socialMedia img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.line_copyrights {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.486);
    margin: 0 auto 0 auto;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.copyrights p {
    color: white;
    font-size: 1.0rem;
    font-weight: 200;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 2rem 1rem;
  background-color: #f1f1f187;
  min-height: 100%;   /* key line */
}

.home {
  text-align: left;
  margin-left: 1rem;
  margin-top: 2rem;
  color: #7c8498;
  font-size: 1.2rem;
  font-weight: 200;
}

.pageName {
  text-align: left;
  margin-bottom: 2rem;
  margin-left: 1rem;
  color: #2c3347;
  font-size: 1.5rem;
  font-weight: 200;
}

.package_area {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), max-content));
}

.packages {
  max-width: 50rem;
  width: 100%;
  border: 0.5px solid #b9b9b9;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 0 auto;
}

.packages img {
  width: 100%;
  height: auto;
  display: block;
}
