/* Custom Fonts */
@font-face {
    font-family: 'KHMenu';
    src: url('../fonts/KHMenu.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KHMenu';
    src: url('../fonts/KHMenu-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'KHMenu';
    src: url('../fonts/KHMenu-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'KHMenu';
    src: url('../fonts/KHMenu-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'KHGummi';
    src: url('../fonts/KHGummi.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* CSS Variables for Colors */
:root {
    --background-color: #000000;
    --header-background-color: #00003c;
    --footer-background-color: #00003c;
    --menu-background-color: #000080;
    --menu-edge-color: #0000e2;
    --button-highlight: grey;
    --button-selected-border: #ff0000;
    --gradient-color: #420000;
    --text-color: white;
    --button-background-color: #333;
    --button-hover-background-color: #555;
    --info-background-color: rgba(255, 255, 255, 0.9);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'KHMenu', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--header-background-color);
    padding: 10px 20px;
    border-bottom: 3px solid #0000f3;
}

/* Navigation Styles */
nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 5px 10px;
}

/* Footer Styles */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--footer-background-color);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1ae4fa;
    border-top: 3px solid #0000f3;
    z-index: 999;
}

/* Main Content Styles */
main {
    padding-top: 70px; /* Adjust for fixed header height */
    padding-bottom: 60px; /* Add space for fixed footer */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Time Display in Footer */
#footer-time {
    font-family: 'KHGummi', sans-serif;
    font-size: 16px;
}

/* Menu Styles */
.menu {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 10px;
    background-color: var(--menu-background-color);
    border-radius: 25px;
    border: 2px solid var(--menu-edge-color);
}

/* Showcase Styles */
.showcase {
    position: relative;
    height: calc(100vh - 70px);
}

.background-video {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.5;
}

.background-video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

/* Info Section Styles */
.info {
    padding: 20px;
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -78px;
}

.info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.info p {
    font-size: 16px;
}

/* Logo Styles */
.logo-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    padding: 20px;
    border-radius: 10px;
}

/* Grid Styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Info Box Styles */
.info-box {
    background-color: black;
    padding: 15px;
    border-radius: 25px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 150px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid #bc0000;
}

.info-box::after {
    content: "";
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(188, 0, 0, 0.7), rgba(188, 0, 0, 0));
    transition: bottom 0.3s ease;
    z-index: 1;
}

.info-box h4,
.info-box p {
    position: relative;
    z-index: 10;
}

.info-box:hover {
    transform: scale(1.05);
}

.info-box:hover::after {
    bottom: 0;
}

.info-box ul,
.info-box p {
    margin: 0;
    font-size: 18px;
    list-style-type: none;
    position: relative;
    z-index: 10;
}

/* Last Row Styles */
.last-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto 0;
    max-width: 800px;
    justify-items: center;
}

/* Hidden Class for Menu */
.hidden {
    display: none;
}

/* Menu Icon Styles */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: var(--header-background-color);
        width: 200px;
        padding: 15px;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .menu-icon {
        display: block;
    }

    nav ul.show {
        display: flex;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .last-row {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Larger Screen Styles */
@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }

    nav ul {
        display: flex !important;
    }
}

/* Character Container Styles */
.character-container {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
}

.character-container img {
    border: 2px solid white;
}
