body {
    font-family: "Raleway", sans-serif;
}

.loader {
    display: none;
    /* Hidden by default */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #333;
    z-index: 1002;
}

h1 {
    font-family: "Kanit", sans-serif;
}

body,
html {
    height: 100%;
}

a.button5 {
    display: inline-block;
    padding: 0.46em 1.6em;
    border: 0.1em solid #000000;
    margin: 0 0.2em 0.2em 0;
    border-radius: 0.12em;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #000000;
    text-shadow: 0 0.04em 0.04em rgba(0, 0, 0, 0.35);
    background-color: #FFFFFF;
    text-align: center;
    transition: all 0.15s;
}

a.button5:hover {
    text-shadow: 0 0 2em rgba(255, 255, 255, 1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

@media all and (max-width:30em) {
    a.button5 {
        display: block;
        margin: 0.4em auto;
    }
}

.bgimg {
    /* --forest-bg is injected per-country by the template (branding.forest_bg).
       Falls back to the Thailand image if unset. */
    background-image: var(--forest-bg, url("../../assets/nobg/thailand_forest2_mid.webp"));
    min-height: 100%;
    background-position: center;
    background-size: cover;
}

.red {
    background-color: red;
    color: white;
}

.green {
    background-color: green;
    color: white;
}

.animated-text {
    animation: zoom-text 3s infinite ease-in-out;
    font-size: 3rem;
    color: white;
    transition: font-size 0.5s, color 0.5s;
}

.sec-animated-text {
    animation: zoom-text 3s infinite ease-in-out;
    font-size: 3rem;
    color: white;
    transition: font-size 0.5s, color 0.5s;
}
.bgimg {
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.animated-text:hover {
    animation-play-state: paused;
    font-size: 50px;
    color: #ffcc00;
}

@keyframes zoom-text {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Styles for the blur effect */
.blur {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

/* Loader background */
.loader-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    /* Ensure it's below the loader */
    display: none;
    /* Hidden by default */
}
.zoom-label {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 4px;
}

.logo-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.599);
    padding: 5px;
    border-radius: 8px;
    width: 70px; /* fixed width */
    max-height: 100vh; /* don't overflow screen */
    overflow-y: auto; /* scroll if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* center logos if there's space */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.logo-container img {
    max-width: 100%;
    max-height: 10vh; /* each logo is responsive to screen height */
    object-fit: contain;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}