@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Cherokee&display=swap');
@font-face {
  font-family: 'Futura'; /* The name you'll use to refer to this font in your CSS */
  src: url('font/futura-light-webfont.woff2') format('woff2'), /* Modern browsers */
   url('font/futura-light-webfont.woff') format('woff');  /* Older browsers */
  font-weight: normal; /* Define the weight of this specific font file */
  font-style: normal;  /* Define the style (e.g., normal, italic) */
  font-display: swap;  /* How the font is displayed while loading */
}

@font-face {
  font-family: 'Arimo';
  src: url('font/Arimo-Bold.ttf') format('ttf'); /* Added a semicolon here */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

    #predictiveResultsContainer {
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    width: 80%;
    position: absolute;
    z-index: 1000;
    background-color: white;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
    top: 86%;
    left: 8%;
    border-radius: 0px 0px 10px 10px;

}

.predictive-result {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.predictive-result:hover {
    background-color: #f0f0f0;
}

/* Overlay */
.overlay {
    background-image: url(home-splash.png);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    background-size: cover;
    transition: opacity 0.5s ease-in-out;
    background-repeat: repeat-y;
}
.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hide the overlay on iPads and tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .overlay {
        display: none;
    }
}

.language-selection-box {
    text-align: center;
}
.language-selection-box h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1f2937;
}
.language-selection-box p {
    color: #4b5563;
    margin-bottom: 24px;
}
.language-switcher-container-open {
    display: flex;
    justify-content: center;
    margin-top: 350px;
}

/* Unified Sidebar */
#unifiedSidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden by default */
    width: 400px;
    height: 100%;
    background-color: #f0f0f0;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

/* Sidebar Headings */
#unifiedSidebar h2 {
    font-size: 1.5em;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    margin-top: 20px;
}

.share-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

/* Part of Speech */

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    align-items: flex-end;
    justify-content: flex-start;
    align-content: center;
    flex-direction: row;
}

.filter-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

/* Style for selected/active buttons */
.filter-button.active-filter {
    background: #FFEEF0;
    border-color: #FFD5DA;
    color: var(--brand);
}

/* List Items */
#combinedList li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Links */
.combined-term {
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
}

/* Remove button */
.remove-item {
    background: none;
    border: none;
    color: red;
    font-size: 1.2em;
    cursor: pointer;
    font-weight: bold;
}

/* Close button */
#closeUnifiedSidebarButton {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.filter {

width: 30px;
height: 20px;
position: fixed;
top: 35px;
right: 15px;
padding-top: 30px;

}

    /* Styles for the button container */
.button-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    /* Add transition for smooth hiding */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, height 0.5s ease-out, margin-top 0.5s ease-out;
}

.button-container.hide-buttons {
    opacity: 0; /* Makes buttons transparent */
    transform: translateY(50px); /* Moves them down slightly as they fade */
    pointer-events: none; /* Makes them unclickable when hidden */
    height: 0; /* Collapses their height */
    margin-top: 0; /* Removes their top margin */
    overflow: hidden; /* Hides content during height collapse */
}
    
/* Initial state of the app container */
.app-container {
    flex-direction: column;
    align-items: center;
    transition: all 0.7s ease-in-out; /* Smooth transition for property changes */
    margin-bottom: auto;
    padding-top: 80px;
	/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
	border-bottom-left-radius: 10% 50px;
	background-color: #A71C20;
	background-image: url(pattern-background-02.svg);
	place-items: center;
	margin-top: unset;
}

/* Logo and Title Container */
#logo-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    transition: all 0.7s ease-in-out, opacity 0.5s ease-out; /* Transitions for opacity, transform, etc. */
    text-align: center;
}

.page-container-hide {
  display: none;
  /* Or use other methods for a transition */
  /* opacity: 0;
  visibility: hidden; */
}

#logo-title-container.hide-logo {
    opacity: 0; /* Makes it completely transparent */
    transform: translateY(-150px) scale(0.8); /* Moves it up and slightly shrinks */
    pointer-events: none; /* Disables mouse events (clicks) on the hidden element */
    height: 0; /* Collapses its height to zero */
    margin-bottom: 0; /* Removes its bottom margin */
    overflow: hidden; /* Hides any content that might overflow during height collapse */
}

/* When the 'search-active' class is applied to the <body>,
   it shifts the entire app-container (including the search bar) upwards. */
body.search-active .app-container {
    align-items: flex-start; /* Aligns content (search bar) to the top-left */
    margin-top: 5vh; /* Shifts the top margin to move it up the screen */
    margin-bottom: auto; /* Helps push it to the top */
}

/* Results Container */
#results {
    opacity: 0; /* Initially invisible */
    transform: translateY(20px); /* Initially slightly below its final position */
    /* Transition for opacity and transform, with a delay (0.6s)
       so it appears after the logo hides and search bar moves. */
    transition: opacity 0.5s ease-out 0.6s, transform 0.5s ease-out 0.6s;
}

#results.show-results {
    opacity: 1; /* Makes it fully visible */
    transform: translateY(0); /* Moves it to its final position (slides up) */
}

#loading-indicator {
    display: none; /* Initially hidden */
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
}

#loading-indicator.show {
    display: block; /* Becomes visible when 'show' class is added */
}

.icons {
height: 24px; /* Added 'px' and semicolon */
width: 30px; /* Added 'px' */
}

/* Tabs */

.tabs-container {
            display: flex;
            justify-content: center;
            width: 100%;
            background-color: #fff;
            border-bottom: 1px solid #ddd;
            border-radius: 8px 8px 0 0; /* Rounded top corners */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            margin-top: 20px;
            place-items: center;
            flex-wrap: nowrap;
        }

        .tab-button {
            padding: 15px 25px;
            cursor: pointer;
            font-weight: bold;
            color: #555;
            background-color: transparent;
            border: none;
            outline: none;
            transition: color 0.3s ease, background-color 0.3s ease;
            font-size: 1.1em;
        }

        .tab-button:hover {
            color: #8B0000;
        }

        .tab-button.active {
            color: #8B0000; /* Dark red for active tab */
            border-bottom: 3px solid #8B0000; /* Underline for active tab */
            background-color: #fefefe;
        }

        /* Base styling for the main content area where sections will be displayed. */
        .content-area {
            padding: 20px;
            max-width: 960px; /* Limit content width for readability */
            margin: 0 auto; /* Center the content area horizontally */ 
            min-height: 500px; /* Ensure a minimum height for the content area */
            box-sizing: border-box; /* Include padding in the element's total width and height */
            width: 100%; /* Ensure it takes full width of max-width */
        }

        /* Styling for individual content sections. */
        .content-section {
            display: none; /* Hide all sections by default */
            padding: 20px 0; /* Add some vertical padding */
            line-height: 1.6;
            color: #333;
        }

        /* This class is added to the currently active (visible) content section. */
        .content-section.active {
            display: block; /* Show the active section */
            animation: fadeIn 0.5s ease-in-out; /* Add a fade-in animation */
        }

        /* Styling for section headings (e.g., h2, h3 within a section). */
        .content-section h2 {
            color: #8B0000; /* Dark red, matching your menu's theme */
            font-size: 2em;
            margin-bottom: 15px;
            border-bottom: 2px solid #D9B380; /* A subtle underline */
            padding-bottom: 10px;
        }

        .content-section h3 {
            color: #A32C2C; /* Slightly lighter red */
            font-size: 1.5em;
            margin-top: 25px;
            margin-bottom: 10px;
        }

        /* Styling for paragraphs within content sections. */
        .content-section p {
            margin-bottom: 1em;
        }

        /* Basic styling for lists within content sections. */
        .content-section ul,
        .content-section ol {
            margin-left: 20px;
            margin-bottom: 1em;
        }

        .content-section li {
            margin-bottom: 0.5em;
        }

        /* Keyframe animation for a smooth fade-in effect when a section becomes active. */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive adjustments for smaller screens. */
        @media (max-width: 768px) {
            .content-area {
                padding: 15px;
            }

            .tab-button {
                padding: 10px 15px;
                font-size: 1em;
            }

            .content-section h2 {
                font-size: 1.8em;
            }

            .content-section h3 {
                font-size: 1.3em;
            }
        }

        @media (max-width: 480px) {
            .content-area {
                padding: 10px;
                margin: 0 10px; /* Add some side margin on very small screens */
            }

            .tab-button {
                padding: 8px 10px;
                font-size: 0.9em;
            }

            .content-section h2 {
                font-size: 1.5em;
            }
        
/* Word of the day */
}
.container-wod {
     background-color: #383838;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
            margin: 20px;
            background-image: url(pattern-background-02.svg);
			background-size: cover;
        }
        
        /* Background eye pattern */
        .word-of-the-day-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj4KICA8cGF0aCBkPSJNMCA1MGE1MCA1MCAwIDEgMCAxMDAgMHoiIGZpbGw9IiM0NjQ2NDYiLz4KICA8cGF0aCBkPSJNNTAgNTBMMTAwIDUwTTEwMCAwTDk1IDVNNjAgMTBMMTAwIDIwTTcwIDM1TDEwMCA0ME01MCAwTDc1IDUwTTEwMCA3NWwtMjUgMjVMNTAgNTBMNzUgNzV6IiBzdHJva2U9IiM0NjQ2NDYiIHN0cm9rZS13aWR0aD0iMiIgZmlsbD0ibm9uZSIvPgo8L3N2Zz4=');
            background-repeat: repeat;
            opacity: 0.1;
            z-index: 0;
        }
        
        h3#wordOfTheWeekTitle {
            color: #ffc107;
            font-size: 1em;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 0;
            margin-bottom: 5px;
            z-index: 1;
            position: relative;
            font-weight: lighter;
        }
        
        .word-details {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-top: 10px;
            z-index: 1;
            position: relative;
            color: #fff;
        }
        
        #wordOfTheWeekBold {
            font-size: 1.5em;
            font-weight: bold;
            margin: 0;
            padding-right: 15px;
            border-right: 2px solid #555;
            cursor: pointer;
        }
        
        .citation{
    		color: #aaa;
    		font-style: italic;
    		font-size: 0.9em;
    		border-top: 1px solid #444;
    		padding-top: 10px;
        
        }
        
        .word-translation {
            display: flex;
            flex-direction: row;
            align-items: center;
            padding-left: 15px;
            color: #fff;
        }
        
        .word-bold {
        	display: flex;
            flex-direction: row;
            align-items: center;
            color: #fff;
        }
        
        .word-translation span {
            font-size: 1.5em;
            font-weight: 300;
        }
        
        .word-translation .audio-icon {
            margin-left: 10px;
            width: 25px;
            cursor: pointer;
        }
        
        p#wordOfTheWeekPOS {
            font-style: italic;
            color: #ccc;
            font-size: 1.2em;
            margin-top: 10px;
        }
        
        .example-toggle {
            color: #ffc107;
            cursor: pointer;
            font-weight: bold;
            font-size: 1.1em;
            margin-top: 20px;
        }
        
        .example-content {
            border-left: 2px solid #ffc107;
            padding-left: 15px;
            margin-top: 15px;
            font-style: normal;
            color: #ffffff;
        }
        
        .example-content.visible {
            display: block;
        }
        
        .example-content p {
            margin: 0;
            font-size: 1.1em;
        }
        
        .example-content p:first-child {
            font-weight: bold;
        }
        
        .example-content .syllabary {
            font-size: 1.5em;
            line-height: 1.5;
        }
        
        .example-content .phonetic {
            font-style: italic;
            font-family: monospace;
        }
        
        .example-content .english {
            font-weight: 300;
        }
        
        .citation {
            margin-top: 40px;
            color: #aaa;
            font-style: italic;
            font-size: 0.9em;
            border-top: 1px solid #444;
            padding-top: 10px;
        }


        /* Container for the search bar to manage layout */
        .search-container {
            display: flex; /* Arranges the input and button in a row */
            align-items: center; /* Vertically aligns items in the center */
            width: 100%; /* Take full width of its parent */
            max-width: 600px; /* Max width to control the size on larger screens */
            padding: 10px;
            background-color: transparent; /* Assuming the background is handled by a parent element */
            position: relative; /* For positioning the icon correctly within the input */
        }

        /* Styling for the search input field */
        #searchInput {
            flex-grow: 1; /* Allows the input to take up available space */
            padding: 10px 10px;
            border: none; /* No border for a clean look */
            border-radius: 9999px; /* Very large border-radius for pill shape */
            background-color: #ffffff; /* White background for the input field */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
            font-family: 'Inter', sans-serif; /* Assuming Inter font for consistency */
            font-size: 16px;
            color: #333333; /* Dark text color */
            outline: none; /* Remove outline on focus */
            -webkit-appearance: none; /* Remove default styling on some browsers */
            -moz-appearance: none;
            appearance: none;
            padding-left: 50px; /* Space for the search icon */
        }

        /* Placeholder text styling */
        #searchInput::placeholder {
            color: #888888; /* Grey color for placeholder text */
            opacity: 1; /* Ensure full opacity */
        }

        /* Styling for the search button (which contains the "search" text and icon) */
        .search-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: transparent; /* No background for the button itself */
            color: #333333; /* Dark text color for the button */
            border: none; /* No border for the button */
            border-radius: 9999px; /* Rounded corners */
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: color 0.3s ease;
            /* Position the button to overlap the input, making it appear like one unit */
            margin-left: -50px; /* Adjust this value to control overlap */
            position: relative; /* To allow z-index */
            z-index: 1; /* Ensures the button is above the input visually */
            margin-top: 0px;
        }

        /* Styling for the icon inside the button */
        .search-button i {
            margin-right: 8px; /* Space between icon and text */
            font-size: 18px; /* Adjust icon size */
        }

/* Styling for the container of the buttons, to give them some spacing */
.button-container {
    display: flex;
    gap: 15px; /* Adjust spacing between buttons */
    justify-content: center; /* Center buttons if they are in a larger container */
    align-items: center;
}

/* Base styling for all buttons that match the image */
.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #333333; /* Dark background color */
    color: #ffffff; /* White text color */
    border-radius: 9999px; /* Very large border-radius for pill shape */
    font-family: 'Inter', sans-serif; /* Assuming Inter font for consistency */
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Hover effect for the buttons */
.app-button:hover {
    background-color: #444444; /* Slightly lighter dark on hover */
    border-color: #cccccc; /* Slightly less prominent white on hover */
}

/* Styling for the icons within the buttons */
.app-button i {
    margin-left: 10px; /* Space between text and icon */
    font-size: 18px; /* Adjust icon size */
}

/* Specific styling for the star icon if it needs a different color */
.app-button .fa-star {
    color: #FFD700; /* Gold color for the star icon */
}

.fixed-bottom-title img {
    width: 30px; /* Fixed width */
    height: 24px; /* Fixed height */
    margin-bottom: 0.25rem; /* Space between image icon and text, consistent with Font Awesome icons */
}

.fixed-bottom-title.active-page i {
    color: #AD1D35;
}

.fixed-bottom-title.active-page img {
    color: #AD1D35; /* This attempts to apply the color, but depends on SVG internal structure */
}

        /* Styles for the main navigation container */
        .fixed-bottom-nav {
            position: fixed; /* Makes the nav bar stick to the viewport */
            bottom: 0;
            z-index: 1000; /* Ensures it's on top of other content */
            background-color: #fff; /* White background */
            padding-top: 1rem; /* Padding all around */
            padding-bottom: 1rem; /* Padding all around */
            display: flex; /* Makes it a flex container */
            flex-direction: row; /* ⭐ CRITICAL: Arranges children in a row */
            justify-content: center; /* ⭐ CHANGE: Centers items horizontally within the nav bar */
            align-items: center; /* Vertically aligns items in the center */
            width: 100%; /* Takes full width */
            border-top-width: 1px; /* Top border */
            border-color: #e5e7eb; /* Light gray border color */
            flex-wrap: nowrap; /* ⭐ CRITICAL: Prevents items from wrapping to the next line */
            box-shadow: 0px 1px 3px;
        }

        /* Styles for each individual navigation item (the <a> tags) */
        .fixed-bottom-title {
            display: flex; /* Makes each link a flex container */
            flex-direction: column; /* ⭐ Keeps the icon and text stacked within each link */
            align-items: center; /* Centers icon and text horizontally within the link */
            justify-content: center; /* Centers icon and text vertically within the link (useful if heights vary) */
            text-align: center; /* Ensures text is centered */
            flex-shrink: 0; /* Prevents items from shrinking too much if space is tight */
            min-width: 0; /* Allows content within the link to shrink if needed without breaking flexbox */
            margin: 0 0.2rem;
            color: #9C9C9C; /* Default red color */
            padding: 0.5rem; /* Padding inside each item */
            border-radius: 0.375rem; /* Rounded corners */
            transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; /* Smooth color transition */
            transition-duration: 200ms; /* Transition speed */
            white-space: nowrap; /* Prevents the text (e.g., "Search") from wrapping within the span */
            text-decoration: none; /* ⭐ ADDED: Removes the underline from links */
        }
        
        /* Styles for the active/selected navigation item */
        .fixed-bottom-title.active-page {
            color: #AD1D35; /* Darker red for the selected page */
        }

        /* Hover effect for navigation items */
        .fixed-bottom-title:hover {
            color: #AD1D35; /* A slightly different red on hover, or keep it the same if preferred */
            /* You can add a background-color change on hover here too */
            /* background-color: rgba(239, 68, 68, 0.1); */
        }

        /* Icon styling within each nav item */
        .fixed-bottom-title i {
            font-size: 1.5rem; /* Icon size */
            margin-bottom: 0.25rem; /* Space between icon and text */
        }

        /* Text styling within each nav item */
        .fixed-bottom-title span {
            font-size: 0.875rem; /* Text size (text-sm) */
        }

/* General Styles */
body, html {
font-family: 'Futura', 'Arimo', Noto Sans Cherokee;
margin: 0;
padding: 0;
margin-top:0px;
background-color: #ffffff;
color: #525252;
overflow-x: hidden;
width: 100%;
margin: 0;
padding: 0;
margin-bottom: 100px;
    
}

.remove-favorite {
	color: #333;
	background-color: #ffffff;
	padding: 2px 4px;
}

.seal {
  display: flex;
  justify-content: center;
  margin: auto;
  width: 100px;
  margin-top: 20px;
  
  }
  
  .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: flex;
  gap: 5px; /* Adjust the spacing between icons */
  margin-left: 25px;
}

.social-icons li {
  display: inline-block;
  margin-bottom: 5px;
}

.social-icons a {
  background-color: #fff; /* White background for the circle */
  color: #000; /* Black icon color */
  font-size: 15px;
  display: inline-flex; /* Use flexbox to center the icon */
  justify-content: center;
  align-items: center;
  width: 25px; /* Adjust the size of the circle */
  height: 25px;
  line-height: 40px; /* Vertically center the icon */
  border-radius: 50%; /* Make it a perfect circle */
  text-align: center;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.social-icons a:hover {
  /* Optional: Add a subtle hover effect if desired */
  opacity: 0.8;
}

.social-icons .fa-linkedin {
  font-size: 20px; /* Adjust font size if necessary */
}

.social-icons .fa-facebook {
  font-size: 20px;
}

.social-icons .fa-twitter {
  /* The font awesome class for the "X" logo is fa-x-twitter in newer versions */
  font-size: 20px;
}

.social-icons .fa-tiktok {
  /* This HTML has TikTok instead of Instagram; we'll style TikTok here */
  font-size: 20px;
}
  
/* Language Switcher Styles */
.language-switcher-container {
    padding: 5px;
    display: flex;
    border-radius: 5px;
    width: fit-content;
    margin: 20px;

  }

  .language-button {
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 0px;
    margin-top: 0px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent; /* Start with transparent background */
    color: white; /* Default text color is white */
  }

  /* Specific border-radius for the end buttons */
  .language-button:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  .language-button:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  /* Style for the active (selected) button */
  .language-button.active {
    background-color: #8A2C2C; /* Deeper red for the active button, matching the image */
    color: #ffffff; /* White text for the active button */
    outline: 2px solid #741E1D;
  }

  /* Style for the inactive button (when not active) */
  .language-button:not(.active) {
    background-color: #ffffff; /* White background for the inactive button */
    color: #5A5A5A; /* Darker grey text for the inactive button */
  }

  /* Optional: Add hover effects for non-active buttons */
  .language-button:not(.active):hover {
    background-color: #f0f0f0; /* Slight grey tint on hover for inactive */
  }

  .language-button.active:hover {
    background-color: #9a3d3d; /* Slightly darker red on hover for active */
  }
  
/* Search */

.search-options {
border: 0px solid red; /* Highlight the container */
}

.search-options input[type="checkbox"] {
margin-top:20px; 
display: inline; /* Ensure checkboxes are visible */
opacity: 1; /* Ensure they are not transparent */
}

.input[type=checkbox] {
transition: all 0.3s;
box-sizing: border-box;
display: none;
}

/* Support page */


/* Styling for the anchor links to make them look like buttons */
.button-like-link {
display: inline-block; /* Allows setting width/height and padding */
padding: 10px 15px;
background-color: #a6192e;
color: white; /* White text */
text-decoration: none; /* Remove underline */
border-radius: 8px; /* Slightly more rounded corners */
border: none;
cursor: pointer;
font-weight: bold;
text-align: center;
transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.button-like-link:hover {
background-color: #a6192e85;
transform: translateY(-2px); /* Slight lift on hover */
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.button-like-link:active {
background-color: #a6192e85;
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Basic styling for sections for visibility */
section {
min-height: 70vh; /* Make sections tall enough to scroll */
padding: 40px 20px;
margin-bottom: 20px;
background-color: #ffffff;
border-radius: 10px; /* Rounded corners for sections */
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
margin: 20px auto; /* Center sections and add space */
max-width: 900px; /* Max width for content */
line-height: 1.6;
}

section:nth-of-type(even) {
background-color: #ecf0f1; /* Lighter background for even sections */
}


/* Back to Top Button Specific Styling */
#backToTopBtn {
display: none; /* Hidden by default */
position: fixed; /* Fixed position on the screen */
bottom: 100px;
right: 20px; /* 20px from the right */
z-index: 99; /* Ensure it's above most content */
background-color: #000000; /* Red color for prominence */
color: white;
padding: 12px 18px;
border-radius: 50%; /* Make it a circle */
text-align: center;
font-size: 24px; /* Larger icon/text */
line-height: 1; /* Adjust line height for vertical centering */
text-decoration: none;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
opacity: 0.8; /* Slightly transparent when not hovered */
border: none; /* Remove default button border */
cursor: pointer; /* Indicate clickable */
font-family: 'Arial', sans-serif; /* Use a simple font for the arrow */
}

#backToTopBtn:hover {
background-color: #c0392b; /* Darker red on hover */
opacity: 1; /* Fully opaque on hover */
transform: translateY(-3px); /* Slight lift on hover */
}

#backToTopBtn:active {
transform: translateY(0); /* Reset lift on click */
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Arrow icon (can use an SVG or Font Awesome if available) */
#backToTopBtn::before {
content: '↑'; /* Unicode arrow character */
display: block;
font-size: 24px;
font-weight: bold;
}

/* This is a common way to place the 'top' target for scrolling to the top */
#top {
position: absolute;
top: 0;
left: 0;
height: 1px; /* Minimal height */
width: 1px; /* Minimal width */
overflow: hidden; /* Hide any content */
}
.button-like-link {
width: 90%; /* Make buttons wider on small screens */
margin-bottom: 10px;
}
#backToTopBtn::before {
font-size: 20px;
}
/* Syllabary GRID */

#languageGrid {
  display: grid;
  gap: 5px; /* Space between the grid cells */
  padding: 10px; /* Some padding around the entire grid */
  border-radius: 8px;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.outer-box {
  position: relative;
  aspect-ratio: 1 / 1; /* This ensures the box remains square as it scales */
  background-color: #2C2829;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
  padding: 10px;
}

.outer-box:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
}

.outer-box:active {
  background-color: #cf887f;
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.big-char {
  margin: 0;
  font-size: clamp(20px, 5vw, 50px);
  color: #fff;
  line-height: 1;
}

.inner-box {
  position: absolute;
  bottom: 0.2em; /* Example: 0.8 times the font-size of the parent (.outer-box) */
  width: 45%; /* Make width relative to the .outer-box's width */
  height: 25%; /* Make height relative to the .outer-box's height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  cursor: pointer;
}

.small-char {
  margin: 0;
  font-size: clamp(8px, 1.5vw, 14px);
  color: #fff;
  white-space: nowrap;
}

.outer-box.empty-cell {
  background-color: transparent;
  box-shadow: none;
  cursor: default;
}

.inner-box.empty-inner-cell {
  display: none;
}

/* Responsive adjustments for overall grid and gaps */
@media (max-width: 768px) {
  #languageGrid {
gap: 4px; /* Slightly smaller gap on smaller screens */
padding: 8px;
  }
}

@media (max-width: 480px) {
  #languageGrid {
gap: 3px;
padding: 5px;
  }
}

/* PDF viewer */

.pdf-viewer {
height: 80vh;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
justify-content: center; /* Center the nav links */
}

.fallback {
text-align: center;
margin-top: 20px;
color: #fff;
}

}

/* Support */

.support-container {
display: flex;
gap: 20px;
max-width: 1200px;
padding: 20px;
}

.support-box {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
text-align: center;
flex: 1;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-top: 10px;
margin-bottom: 10px;
}

.support-box:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.support-box h2 {
margin-bottom: 20px;
font-size: 24px;
color: #333;
}

.support-box p {
font-size: 16px;
color: #666;
}

.support-box a {
display: inline-block;
margin-top: 20px;
padding: 10px 20px;
background-color: #a6192e;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.support-box a:hover {
background-color: #cf887f;
}

/* Modal Styles */

.modal-support {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 80%;
height: 80%;
background-color: rgba(0, 0, 0, 0.5); */
justify-content: center;
align-items: center;
}

.modal-content {
background-color: #fff;
padding: 20px;
border-radius: 10px;
width: 80%;
max-width: 600px;
text-align: center;
position: relative;
}

.close {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
color: #333;
}

.close:hover {
color: #000;
}

/* Responsive Design */

@media (max-width: 768px) {
.support-container {
flex-direction: column;
}

.support-box {
margin-bottom: 20px;
}
}

/* FAQ */

.faq-section {
margin-bottom: 30px;

}
.faq-question {
font-weight: bold;
color: #333;
}
.faq-answer {
margin-left: 20px;
color: #333;
}

/* Contact form */

 		.contact-form {
padding: 20px;
width: 100%;
max-width: 500px;
}
.contact-form h2 {
margin-bottom: 20px;
font-size: 24px;
color: #333;
}
.contact-form label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #333;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
.contact-form textarea {
resize: vertical;
height: 100px;
}
.contact-form input[type="submit"] {
background-color: #2980b9;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 4px;
cursor: pointer;
}
.contact-form input[type="submit"]:hover {
background-color: #3498db;
}

/* Slide menu */

.header {
background-color: #0073e6;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.main {
margin: 0 auto;
display: block;
height: 100%;
margin-top: 60px;
}
.mainInner{
display: table;
height: 100%;
width: 100%;
text-align: center;
}
.mainInner div{
display:table-cell;
vertical-align: middle;
font-size: 3em;
font-weight: bold;
letter-spacing: 1.25px;
}
#sidebarMenu {
padding-top: 60px;
height: 100%;
top: 0px;
position: fixed;
left: 0;
width: 250px;
transform: translateX(-250px);
transition: transform 250ms ease-in-out;
background: linear-gradient(180deg, #a71c20 0%, #0C0203 100%);
z-index: 1001;
}
.sidebarMenuInner{
margin:0;
padding:0;
border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li{
list-style: none;
color: #fff;
text-transform: uppercase;
font-weight: bold;
padding: 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.sidebarMenuInner li span{
display: block;
font-size: 14px;
color: rgba(255, 255, 255, 0.50);
}
.sidebarMenuInner li a{
color: #fff;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
text-decoration: none;
}
input[type="checkbox"]:checked ~ #sidebarMenu {
transform: translateX(0);
}
input[type=checkbox] {
transition: all 0.3s;
box-sizing: border-box;
display: none;
}
.sidebarIconToggle {
transition: all 0.3s;
box-sizing: border-box;
cursor: pointer;
position: fixed;
z-index: 1002;
height: 100%;
width: 100%;
top: 40px;
left: 15px;
height: 22px;
width: 22px;
padding-top: 30px;
}
.spinner {
transition: all 0.3s;
box-sizing: border-box;
position: absolute;
height: 3px;
width: 100%;
background-color: #fff;
}
.horizontal {
transition: all 0.3s;
box-sizing: border-box;
position: relative;
float: left;
margin-top: 3px;
box-shadow: 0.5px 0.5px;
border-radius: 6px;

}
.diagonal.part-1 {
position: relative;
transition: all 0.3s;
box-sizing: border-box;
float: left;
box-shadow: 0.5px 0.5px;
border-radius: 6px;
height: 3px;   /* Customize overall thickness */
width: 15px;   /* Customize overall width/length */
}
.diagonal.part-2 {
transition: all 0.3s;
box-sizing: border-box;
position: relative;
float: left;
margin-top: 3px;
box-shadow: 0.5px 0.5px;
border-radius: 6px;
height: 3px;   /* Customize overall thickness */
width: 15px;   /* Customize overall width/length */
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
transition: all 0.3s;
box-sizing: border-box;
opacity: 0;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
transition: all 0.3s;
box-sizing: border-box;
transform: rotate(135deg);
margin-top: 8px;
}
input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
transition: all 0.3s;
box-sizing: border-box;
transform: rotate(-135deg);
margin-top: -9px;
}

#paginationControls {
margin-top: 20px;
text-align: center;
}
#paginationControls button {
padding: 5px 10px;
margin: 0 5px;
cursor: pointer;
}
#paginationControls button:disabled {
cursor: not-allowed;
opacity: 0.5;
}

/* Modal Styles */

.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.modal-content {
background-color: #fff;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: #000;
text-decoration: none;
}

/* Original CSS*/

.logo img {
height: 50px;
margin-left:15px;
margin-top:10px;
margin-bottom: 5px;
}

nav {
display: flex;
align-items: center;
flex-grow: 1; /* Allow nav to grow and take available space */
justify-content: center; /* Center the nav links */
}

.menu-icon {
display: none;
cursor: pointer;
}

.menu-icon svg {
fill: #fff;
}

.nav-links {
list-style: none;
margin: 0;
padding: 20px;
display: flex;
justify-content: center; /* Center the links horizontally */
background-color: #ffffff;
border-radius: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav-links li {
margin: 0 15px; /* Adjust spacing between links */
}

.nav-links a {
color: #333;
text-decoration: none;
font-size: 16px;
}

.nav-links a:hover {
text-decoration: underline;
}

.top-container {
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-bottom-left-radius: 10% 50px;
background-color: #A71C20;
background-image: url(pattern-background-02.svg);
place-items: center;

}

.container {

margin: 20px auto;
margin-left: 20px;
margin-right: 20px;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}

h1 {
text-align: center;
color: #333;
}

button {
padding: 10px 20px;
cursor: pointer;
background-color: #a6192e;
color: #fff;
border: none;
border-radius: 4px;
margin-top: 20px;
}

button:hover {

}

#results {
margin-top: 10px;
}

.result-item {
border-bottom: 1px solid #ddd;
padding: 10px 0;
}

/* Favorites Sidebar */

.Favorites-sidebar {
position: fixed;
top: 0px;
right: -300px;
height: 100%;
background-color: #fff;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
transition: right 0.3s ease;
padding: 20px;
padding-top: 40px;
z-index: 1200;
}

.Favorites-sidebar h2 {
margin-top: 10;
color: #333;
}

#FavoritesList {
list-style: none;
padding: 0;
}

#FavoritesList li {
margin-bottom: 10px;
}

#FavoritesList li a {
color: #333;
text-decoration: none;
font-size: 16px;
}

#FavoritesList li a:hover {
text-decoration: underline;
}

#closeFavoritesButton {
position: absolute;
top: 15px;
right: 10px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #333;
}

#closeFavoritesButton:hover {
color: #005bb5;
}

.opensearch	{
    margin-top: unset;
	padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
    
}

.clear-favorites-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

.clear-history-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

#clearFavoritesButton:hover {
    background: #FFEEF0;
    border-color: #FFD5DA;
    color: var(--brand);;
}

.pagination-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

.history-sidebar {
position: fixed;
top: 0;
right: -400px;
height: 100%;
background-color: #fff;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
transition: right 0.3s ease;
padding: 20px;
padding-top: 40px;
z-index: 1200;
}

.history-sidebar h2 {
margin-top: 10;
color: #333;
}

#historyList {
list-style: none;
padding: 0;
}

#historyList li {
margin-bottom: 10px;
}

#historyList li a {
color: #333;
text-decoration: none;
font-size: 16px;
}

#historyList li a:hover {
text-decoration: underline;
}

#closeHistoryButton {
position: absolute;
    top: 15px;
right: 10px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #333;
}

#closeHistoryButton:hover {
color: #8a8573;
}

#clearHistoryButton {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 999px; /* For pill-shaped buttons */
    background-color: #f1f1f1;
    color: #000;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s, color 0.2s;
}

#clearHistoryButton:hover {
    background: #FFEEF0;
    border-color: #FFD5DA;
    color: var(--brand);;
}

/* Responsive Design */

@media (max-width: 768px) {
.menu-icon {
display: block;
   		text-align: right;
}

.nav-links {
position: fixed;
top: 60px;
right: -200%;
height: 100vh;
width: 100%;
background-color: #2F6695;
flex-direction: column;
align-items: center;
transition: right 0.3s ease;
}

.nav-links.active {
right: 0;
}

.nav-links li {
margin: 20px 0;
}

.action-buttons {
margin-top: 10px;
}

.action-buttons button {
margin-right: 10px;
padding: 5px 10px;
background-color: #a6192e;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}

.action-buttons button:hover {
background-color: #a6192e7a;
}
/* Basic styling for the recording module */

#recording-module {
margin-top: 20px;
}
#record-button, #stop-button, #save-button {
padding: 10px 20px;
margin: 5px;
border: none;
cursor: pointer;
}
#record-button { background-color: green; color: white; }
#stop-button { background-color: red; color: white; }
#save-button { background-color: blue; color: white; }
#audio-player {
margin-top: 10px;
}
#waveform {
width: 100%;
height: 100px;
border: 1px solid #ccc;
margin-top: 10px;
}
#recording-meter {
width: 100%;
height: 20px;
border: 1px solid #ccc;
margin-top: 10px;
background-color: #eee; /* Light gray background */
}
#meter-level {
height: 100%;
width: 0%; /* Initial width */
background-color: green; /* Green for recording level */
}
}

/* Basic styling for the recording module */
#recording-module {
margin-top: 20px;
}
#record-button, #stop-button, #save-button {
padding: 10px 20px;
margin: 5px;
border: none;
cursor: pointer;
}
#record-button { background-color: green; color: white; }
#stop-button { background-color: red; color: white; }
#save-button { background-color: blue; color: white; }
#audio-player {
margin-top: 10px;
}
#waveform {
width: 100%;
height: 100px;
border: 1px solid #ccc;
margin-top: 10px;
}
#recording-meter {
width: 100%;
height: 20px;
border: 1px solid #ccc;
margin-top: 10px;
background-color: #eee; /* Light gray background */
}
#meter-level {
height: 100%;
width: 0%; /* Initial width */
background-color: green; /* Green for recording level */
}
  
  .site-main {
/*background-color: #000000;*/
color: #ffffff;
padding: 60px 0 40px; /* Adjust padding to account for the curve and content */
margin-top: 40px; /* Space above the footer */
width: 100%; /* Ensure footer spans full width */
position: relative; /* For z-index or other positioning if needed */

/* Half-circle design */
border-top-left-radius: 80% 80px; /* Large horizontal radius, smaller vertical for a gentle curve */
border-top-right-radius: 80% 80px;
overflow: hidden; /* Important to clip the rounded corners properly */
/*box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow above the curve */
}
  

/* Footer specific CSS with the half-circle design */

.site-footer {
/*background-color: #000000;*/
color: #ffffff;
padding: 60px 0 40px; /* Adjust padding to account for the curve and content */
margin-top: 40px; /* Space above the footer */
width: 100%; /* Ensure footer spans full width */
position: relative; /* For z-index or other positioning if needed */

/* Half-circle design */
border-top-left-radius: 80% 80px; /* Large horizontal radius, smaller vertical for a gentle curve */
border-top-right-radius: 80% 80px;
overflow: hidden; /* Important to clip the rounded corners properly */
/*box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow above the curve */
}

.site-footer .container {
max-width: 1200px; /* Max width for footer content */
margin: 0 auto; /* Center footer content */
display: block; /* Override flex for footer's internal container */
}

.site-footer .row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
padding: 0 15px; /* Add some horizontal padding */
}

.site-footer .col-xs-6, .site-footer .col-md-3, .site-footer .col-md-8, .site-footer .col-sm-6, .site-footer .col-xs-12 {
flex: 1 1 auto; /* Allow columns to grow and shrink */
padding: 15px;
box-sizing: border-box; /* Include padding in element's total width and height */
}

.site-footer ul.nav-links {
list-style: none;
padding: 0;
margin: 0;
}

.site-footer ul.nav-links li a {
color: #ffffff;
text-decoration: none;
padding: 5px 0;
display: block;
transition: color 0.3s ease;
}

.site-footer ul.nav-links li a:hover {
color: #cbd5e0;
}

.site-footer .copyright-text {
margin-top: 20px;
font-size: 0.9rem;
text-align: center;
}

.site-footer .copyright-text a {
color: #ffffff;
text-decoration: none;
transition: color 0.3s ease;
}

.site-footer .copyright-text a:hover {
color: #cbd5e0;
}

.site-footer .social-icons {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.site-footer .social-icons li a {
color: #ffffff;
font-size: 1.5rem;
transition: color 0.3s ease;
}

.site-footer .social-icons li a:hover {
color: #cbd5e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.grid-cell {
font-size: 1.2rem;
padding: 0.8rem;
}
.grid-container {
padding: 15px;
gap: 6px;
}
.site-footer .row {
flex-direction: column;
align-items: center;
}
.site-footer .col-xs-6, .site-footer .col-md-3, .site-footer .col-md-8, .site-footer .col-sm-6, .site-footer .col-xs-12 {
text-align: center;
}
.site-footer ul.nav-links {
margin-bottom: 20px;
}
}

@media (max-width: 480px) {
.grid-cell {
font-size: 1rem;
padding: 0.6rem;
}
.grid-container {
padding: 10px;
gap: 4px;
}
.site-footer {
padding: 40px 0 20px; /* Reduce padding for smaller screens */
}
}
/* Dropdown Button */

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 0px 0px;
  background-color: inherit;
  font-family: inherit;
  margin-left: 10px;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Forms */

.form-control {
  border: none;
  border: 1px solid #d9d9d9;
  border-radius: 0; }
  .form-control:active, .form-control:focus {
outline: none;
-webkit-box-shadow: none;
box-shadow: none;
border-color: #000; }

.col-form-label {
  color: #000; }

.btn, .form-control {
  height: 55px; }

.btn:active, .btn:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none; }

label.error {
  font-size: 12px;
  color: red; }

#message {
  resize: vertical; }

#form-message-warning, #form-message-success {
  display: none; }

#form-message-warning {
  color: #B90B0B; }

#form-message-success {
  color: #55A44E;
  font-size: 18px;
  font-weight: bold; }

.submitting {
  float: left;
  width: 100%;
  padding: 10px 0;
  display: none;
  font-weight: bold;
  font-size: 12px;
  color: #000; }
  
  
