Of course. Here is a single HTML file for "Globex Consolidated," a soulless mega-corporation with a product line that makes absolutely no sense.
The chosen font is Syne, a geometric, slightly unusual tech-style font that feels like it was designed by a committee trying to be "modern." It's perfect for a confusing corporate identity.
The navigation is intentionally jumbled, the pages have completely different aesthetics, and the entire experience is contained within one file as requested.
Instructions:
- Copy the entire code block below.
- Save it as a single file named
index.html.
- Open the
index.html file in any web browser.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Globex Consolidated - Synergy in Diversification</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Special+Elite&display=swap" rel="stylesheet">
<style>
/* --- GLOBAL & UTILITY STYLES --- */
/* This is the ONE consistent thing, which makes the inconsistency even more jarring. */
body {
font-family: 'Syne', sans-serif;
margin: 0;
background-color: #f0f0f0;
color: #333;
}
/* The JS will control this. All pages are hidden by default. */
.page {
display: none;
min-height: 100vh;
box-sizing: border-box; /* So padding doesn't break vh */
}
/* The first page to be shown. */
#home {
display: block;
}
/* --- NAVIGATION BAR --- */
/* A truly unhelpful navigation experience. */
nav {
position: sticky;
top: 0;
background: linear-gradient(45deg, #FFD700, #FF6347, #BA55D3, #1E90FF);
padding: 5px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 5px ridge #000080;
z-index: 1000;
}
nav .logo {
font-size: 24px;
font-weight: 800;
color: white;
text-shadow: 2px 2px 4px #000;
}
nav .nav-links a {
text-decoration: none;
color: #fff;
margin: 0 10px;
padding: 8px 12px;
border: 1px solid transparent;
font-weight: 700;
transition: all 0.2s ease-in-out;
cursor: pointer;
}
nav .nav-links a:hover {
background-color: rgba(255, 255, 255, 0.2);
border: 1px dotted #fff;
transform: scale(1.1) rotate(-3deg);
}
/* --- PAGE 1: HOME --- */
/* Style: Cold, Corporate, Vague */
#home {
background-color: #E8EBF0;
color: #0A2342;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 40px;
}
#home h1 {
font-size: 4rem;
font-weight: 800;
margin-bottom: 10px;
letter-spacing: -2px;
}
#home p {
font-size: 1.2rem;
max-width: 600px;
line-height: 1.6;
}
#home .buzzwords {
margin-top: 30px;
font-style: italic;
color: #555;
}
/* --- PAGE 2: CEREAL --- */
/* Style: 90s Kid's Cereal Box Explosion */
#cereal {
background: #FFD900 url('https://www.transparenttextures.com/patterns/diagmonds.png');
color: #F83A3A;
text-align: center;
padding: 50px;
overflow: hidden;
}
#cereal h1 {
font-size: 6rem;
-webkit-text-stroke: 3px #3c14a1;
color: #FF6600;
font-weight: 800;
transform: skew(-15deg);
animation: bounce 1s infinite;
}
@keyframes bounce {
0%, 100% { transform: skew(-15deg) translateY(0); }
50% { transform: skew(-15deg) translateY(-20px); }
}
#cereal .product-shot {
border: 10px dashed #3c14a1;
padding: 10px;
background: white;
margin: 20px auto;
max-width: 300px;
}
#cereal p {
font-family: 'Comic Sans MS', cursive, sans-serif; /* Forgive me */
font-size: 1.5rem;
color: #008B8B;
}
/* --- PAGE 3: FURNITURE --- */
/* Style: Pretentious, Minimalist, Uncomfortable */
#furniture {
background-color: #FFFFFF;
color: #111;
display: grid;
grid-template-columns: 1fr 2fr;
gap: 2rem;
padding: 5rem;
}
#furniture .sidebar {
border-right: 1px solid #EAEAEA;
padding-right: 2rem;
}
#furniture h1 {
font-weight: 400;
letter-spacing: 5px;
text-transform: uppercase;
font-size: 1.5rem;
margin: 0;
}
#furniture p {
font-family: 'Times New Roman', serif;
color: #666;
line-height: 1.8;
font-size: 0.9rem;
}
#furniture img {
filter: grayscale(100%);
}
/* --- PAGE 4: TRACTORS --- */
/* Style: Rugged, Industrial, Over-the-top Manly */
#tractors {
background: url('https://images.unsplash.com/photo-1581489189332-93f2824987a3?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
color: white;
display: flex;
align-items: center;
justify-content: flex-start;
text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
padding-left: 5%;
}
#tractors .content {
background-color: rgba(50, 20, 0, 0.6);
padding: 40px;
border: 4px solid #D2691E;
}
#tractors h1 {
font-size: 5rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 3px;
margin: 0;
}
#tractors p {
font-size: 1.5rem;
border-top: 2px solid #D2691E;
padding-top: 10px;
margin-top: 10px;
}
/* --- PAGE 5: WASHING MACHINES --- */
/* Style: Sterile, Technical, 2000s Appliance Website */
#washing-machines {
background-color: #F5F5F5;
color: #333;
font-family: Arial, Helvetica, sans-serif;
padding: 20px;
}
#washing-machines .container {
width: 960px;
margin: 0 auto;
border: 1px solid #CCCCCC;
background-color: #FFFFFF;
}
#washing-machines header {
background-color: #0073B1;
color: white;
padding: 10px;
font-size: 24px;
}
#washing-machines .product-info {
display: flex;
padding: 20px;
}
#washing-machines .specs {
flex: 1;
padding-left: 20px;
border-left: 1px solid #ddd;
}
#washing-machines table {
width: 100%;
border-collapse: collapse;
}
#washing-machines th, #washing-machines td {
border: 1px solid #E1E1E1;
padding: 8px;
text-align: left;
font-size: 14px;
}
#washing-machines th {
background-color: #F0F0F0;
}
/* --- PAGE 6: BLEACH --- */
/* Style: Agressive, Unsettling, Minimal */
#bleach {
background-color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#bleach h1 {
font-size: 7rem;
color: #00FF00;
font-weight: 800;
text-align: center;
letter-spacing: -5px;
animation: flicker 1.5s infinite alternate;
}
#bleach p {
font-size: 1.2rem;
color: #A9A9A9;
margin-top: 0;
}
@keyframes flicker {
0%, 18%, 22%, 25%, 53%, 57%, 100% {
text-shadow:
0 0 4px #fff,
0 0 11px #fff,
0 0 19px #fff,
0 0 40px #0fa,
0 0 80px #0fa,
0 0 90px #0fa,
0 0 100px #0fa,
0 0 150px #0fa;
}
20%, 24%, 55% {
text-shadow: none;
}
}
/* --- PAGE 7: LAWNMOWERS --- */
/* Style: Cheesy Suburban, Angelfire/GeoCities era */
#lawnmowers {
background: url('https://www.transparenttextures.com/patterns/checkered-pattern.png') #4CAF50;
padding: 30px;
}
#lawnmowers .main-box {
background: #FFFFE0;
border: 5px double #8B4513;
border-radius: 15px;
padding: 20px;
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
max-width: 800px;
margin: 0 auto;
}
#lawnmowers h1 {
color: #006400;
text-align: center;
font-family: "Comic Sans MS";
}
#lawnmowers img {
float: left;
margin-right: 15px;
border: 3px solid #006400;
}
#lawnmowers p {
line-height: 1.5;
color: #556B2F;
}
/* --- PAGE 8: GRANOLA BARS --- */
/* Style: "Earthy" Corporate Greenwashing */
#granola-bars {
background: #D2B48C;
color: #4B382A;
padding: 4rem;
font-family: 'Special Elite', cursive;
}
#granola-bars .container {
max-width: 900px;
margin: 0 auto;
background: #F5F5DC url('https://www.transparenttextures.com/patterns/wood-pattern.png');
padding: 3rem;
border: 1px solid #856d4b;
box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
#granola-bars h1 {
font-family: 'Syne', sans-serif; /* Back to corporate for the heading */
text-align: center;
color: #5E4534;
font-size: 3rem;
}
#granola-bars p {
font-size: 1.3rem;
line-height: 2;
}
#granola-bars .stamp {
border: 3px solid #7C684C;
border-radius: 50%;
width: 150px;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #7C684C;
font-weight: bold;
text-transform: uppercase;
float: right;
margin: 20px;
transform: rotate(10deg);
}
</style>
</head>
<body>
<nav>
<div class="logo">GLOBEX</div>
<div class="nav-links">
<a onclick="showPage('home')">Home</a>
<a onclick="showPage('cereal')">Breakfast</a>
<a onclick="showPage('furniture')">Habitation</a>
<a onclick="showPage('tractors')">Agriculture</a>
<a onclick="showPage('washing-machines')">Appliances</a>
<a onclick="showPage('bleach')">Chemicals</a>
<a onclick="showPage('lawnmowers')">Yard Care</a>
<a onclick="showPage('granola-bars')">Snacks</a>
</div>
</nav>
<main>
<!-- PAGE 1: HOME -->
<div id="home" class="page">
<h1>Innovating Tomorrow's Solutions, Today.</h1>
<p>Globex Consolidated is a global leader in synergistic diversification. We leverage next-generation paradigms to deliver robust, scalable products across a multitude of verticals. Our commitment is to value-added excellence and a forward-thinking approach to life's essentials.</p>
<p class="buzzwords">Synergy • Scalability • Innovation • Diversification • Core Competency</p>
</div>
<!-- PAGE 2: CEREAL -->
<div id="cereal" class="page">
<marquee><h1>SUGAR BLASTERS!</h1></marquee>
<img src="https://placehold.co/300x400/FF6600/FFFFFF?text=YUM!" alt="A box of Sugar Blasters cereal" class="product-shot">
<p>GET A BLAST OF SUGAR IN EVERY BITE! Part of a balanced breakfast? WHO CARES! Find the prize inside! Tastes like VICTORY!</p>
</div>
<!-- PAGE 3: FURNITURE -->
<div id="furniture" class="page">
<div class="sidebar">
<h1>The Ästhetik Collection</h1>
<p>We do not sell furniture; we curate spatial experiences. Each piece is a statement, a dialogue between form and void. The Ästhetik chair is not for sitting. It is for contemplating the nature of sitting itself.</p>
<p>Crafted from ethically ambiguous materials. Price available upon inquiry.</p>
</div>
<div class="main-content">
<img src="https://placehold.co/600x600/EAEAEA/B0B0B0?text=Chair" alt="A single, uncomfortable-looking chair in a vast empty room." style="width: 100%;">
</div>
</div>
<!-- PAGE 4: TRACTORS -->
<div id="tractors" class="page">
<div class="content">
<h1>The Land Dominator 9000</h1>
<p>Tame the Earth. Bend it to your will. This is not a machine. This is 15 tons of pure, unadulterated American power. Diesel fuel not included. Weakness not tolerated.</p>
</div>
</div>
<!-- PAGE 5: WASHING MACHINES -->
<div id="washing-machines" class="page">
<div class="container">
<header>Globex HydroClean 5 Series - Model HC-5000</header>
<div class="product-info">
<img src="https://placehold.co/300x300/F0F0F0/333?text=HC-5000" alt="Washing Machine">
<div class="specs">
<h2>Technical Specifications</h2>
<table>
<tr>
<th>Feature</th>
<th>Value</th>
</tr>
<tr>
<td>Capacity</td>
<td>12kg Dry-Weight Equivalent</td>
</tr>
<tr>
<td>Spin Cycle RPM</td>
<td>1400 (Max)</td>
</tr>
<tr>
<td>Energy Rating</td>
<td>A++ (EU Standard)</td>
</tr>
<tr>
<td>Water Consumption</td>
<td>48L / Per Cycle (Eco)</td>
</tr>
<tr>
<td>Noise Level (Wash)</td>
<td>52 dB</td>
</tr>
<tr>
<td>Noise Level (Spin)</td>
<td>74 dB</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<!-- PAGE 6: BLEACH -->
<div id="bleach" class="page">
<div>
<h1>PURIFY</h1>
<p>Uncompromising. Unrelenting. Absolute.</p>
</div>
</div>
<!-- PAGE 7: LAWNMOWERS -->
<div id="lawnmowers" class="page">
<div class="main-box">
<h1>Welcome to the Globex LawnPro Zone!</h1>
<img src="https://placehold.co/200x150/006400/FFFFFF?text=LawnPro+2" alt="A friendly looking lawnmower">
<p>Tired of that messy lawn? Want the best-looking yard on the block? Of course you do! The Globex LawnPro 2 makes cutting the grass a real hoot! With our patented "Grass-B-Gone" technology, you'll be the king of the cul-de-sac. Easy pull-start and a handy cup holder for your favorite beverage! Your neighbors will be green with envy!</p>
<p style="clear: both; text-align: center; padding-top: 20px;">~ Have a great day! ~</p>
</div>
</div>
<!-- PAGE 8: GRANOLA BARS -->
<div id="granola-bars" class="page">
<div class="container">
<div class="stamp">100% Earth-Sourced Ingredients</div>
<h1>HarvestBite Granola Bars</h1>
<p>Reconnect with the simple goodness of the Earth. Each HarvestBite bar is hand-forged... er, hand-crafted from authentically sourced grains, non-specific nuts, and sun-kissed fruit-like substances. It's the wholesome, artisanal fuel your journey requires. Feel the nature. Taste the commodity.</p>
<p>Contains oats. May contain traces of industrial solvent from our bleach division.</p>
</div>
</div>
</main>
<script>
function showPage(pageId) {
// First, hide all the pages
const pages = document.querySelectorAll('.page');
pages.forEach(page => {
page.style.display = 'none';
});
// Then, show the one we want
const pageToShow = document.getElementById(pageId);
if (pageToShow) {
// We use different display properties for different pages to make it even more inconsistent
if (pageId === 'home' || pageId === 'cereal' || pageId === 'bleach' || pageId === 'tractors') {
pageToShow.style.display = 'flex';
} else if (pageId === 'furniture') {
pageToShow.style.display = 'grid';
} else {
pageToShow.style.display = 'block';
}
}
}
</script>
</body>
</html>