import type { Metadata, Viewport } from "next";
import { Nunito, IBM_Plex_Mono, Baloo_Bhaijaan_2 } from "next/font/google";
import "./globals.css";

const nunito = Nunito({
  variable: "--font-space-grotesk",
  subsets: ["latin"],
  weight: ["400", "600", "700", "800", "900"],
});

const ibmPlexMono = IBM_Plex_Mono({
  variable: "--font-ibm-plex-mono",
  weight: ["400", "500"],
  subsets: ["latin"],
});

const balooBhaijaan = Baloo_Bhaijaan_2({
  variable: "--font-baloo",
  subsets: ["latin"],
  weight: ["400", "500", "700"],
});

export const metadata: Metadata = {
  title: "Le Juste Poids",
  description: "Pronostiquez l'arrivée de Bubulle !",
};

export const viewport: Viewport = {
  width: "device-width",
  initialScale: 1,
  maximumScale: 1,
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html
      lang="fr"
      className={`${nunito.variable} ${ibmPlexMono.variable} ${balooBhaijaan.variable}`}
    >
      <body>{children}</body>
    </html>
  );
}
