@font-face {
    font-family: 'Chakra Petch';
    src: url('../fonts/ChakraPetch-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chakra Petch';
    src: url('../fonts/ChakraPetch-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chakra Petch';
    src: url('../fonts/ChakraPetch-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chakra Petch';
    src: url('../fonts/ChakraPetch-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: 'Chakra Petch', 'Arial', sans-serif;
    color: white;
    overflow-x: hidden;
}

body {
    padding-top: env(safe-area-inset-top);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Chakra Petch', 'Arial', sans-serif;
    font-weight: bold;
}

p {
    font-family: 'Chakra Petch', 'Arial', sans-serif;
    font-weight: normal;
    line-height: 1.6;
}

a {
    color: #00ffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Header title link styling */
.header-title {
    height: 40px !important; /* Ensure consistent height across all pages */
    width: auto !important; /* Allow natural width based on aspect ratio */
}

.header-title img {
    height: 40px !important; /* Fixed height to prevent oversizing */
    width: auto !important; /* Maintain aspect ratio */
    object-fit: contain !important;
    max-height: 40px !important; /* Ensure it never exceeds 40px */
    max-width: 300px !important; /* Reasonable max width to prevent horizontal overflow */
}

.header-title a {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-title a:hover {
    opacity: 0.8;
}

/* Video background improvements */
video {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Basic page wrapper for content that needs to be above the video background */
.page-content {
    position: relative;
    z-index: 1;
}

/* For non-home pages, add top padding for menu */
.page-content:not(.home-page) {
    padding-top: 70px;
}

/* General Button Style (can be overridden) */
.button, button {
    font-family: 'Chakra Petch', 'Arial', sans-serif;
    padding: 10px 20px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1rem;
    text-transform: uppercase;
}

.button:hover, button:hover {
    background-color: white;
    color: black;
}

.button-primary {
    background-color: #00ffff;
    color: black;
    border-color: #00ffff;
}

.button-primary:hover {
    background-color: #00dddd;
    border-color: #00dddd;
}

/* Loading GIF placeholder style */
.loading-gif-placeholder {
    width: 100px;
    height: 100px;
    background-color: #333;
    border: 1px dashed #555;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    text-align: center;
} 