Fortnite Season 1 Lobby
by StormPanda35397 lines13.5 KB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fortnite Season 1 Lobby</title>
<style>
*{box-sizing:border-box;margin:0;padding:0}
body{
font-family:Arial,Helvetica,sans-serif;
color:white;height:100vh;overflow:hidden;
background:#174d91;user-select:none
}
.background{
position:fixed;inset:0;z-index:-3;
background:
radial-gradient(ellipse at 65% 35%,#72c8e9,transparent 48%),
linear-gradient(155deg,#2587c7,#1666ad 45%,#092b65)
}
.background:after{
content:"";position:absolute;inset:0;
background:linear-gradient(0deg,#00122c99,transparent 65%)
}
.mountain{
position:fixed;bottom:-60px;left:-5%;
width:110%;height:43%;z-index:-2;background:#123d70;
clip-path:polygon(0 60%,12% 30%,20% 52%,35% 8%,45% 43%,59% 0,72% 42%,85% 17%,100% 53%,100% 100%,0 100%)
}
.mountain.back{
bottom:0;height:32%;background:#2366a1;
opacity:.7;transform:translateX(-5%)
}
.topbar{
height:76px;display:flex;align-items:center;
justify-content:space-between;padding:0 30px;
background:#051932d1;border-bottom:2px solid #ffffff26;
position:relative;z-index:3
}
.logo{font-size:29px;font-weight:1000;font-style:italic;letter-spacing:-2px}
.logo span{color:#ffe34a}
.nav{height:100%;display:flex;align-items:center;gap:6px}
.nav button{
height:100%;padding:0 18px;color:white;font-weight:900;
font-size:13px;border:none;background:transparent;opacity:.75
}
.nav button.active{
opacity:1;background:#ffffff1f;border-bottom:4px solid #ffe34a
}
.account{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:800}
.coin{color:#ffe34a;font-size:18px}
.content{
height:calc(100vh - 76px);
display:grid;grid-template-columns:minmax(270px,34%) 1fr;
gap:18px;padding:26px;padding-bottom:48px;
position:relative;z-index:1
}
.left{display:flex;flex-direction:column;gap:15px;min-height:0}
.season-label{font-size:13px;font-weight:900;letter-spacing:2px;color:#ffe34a}
h1{font-size:clamp(30px,4vw,55px);font-weight:1000;font-style:italic;line-height:.95;text-shadow:3px 4px #0003}
.subtitle{font-size:13px;font-weight:700;opacity:.8;margin-top:4px}
.profile{
margin-top:12px;background:#04193bb3;border:1px solid #ffffff38;
padding:16px;display:flex;align-items:center;gap:14px
}
.level{
width:60px;height:60px;flex-shrink:0;background:#e9e9e9;color:#263c55;
clip-path:polygon(50% 0,94% 22%,94% 77%,50% 100%,6% 77%,6% 22%);
display:flex;flex-direction:column;align-items:center;justify-content:center
}
.level small{font-size:10px;font-weight:900}
.level strong{font-size:25px;line-height:25px}
.player-name{font-size:22px;font-weight:1000;font-style:italic}
.player-status{color:#b4d8f6;font-size:11px;margin-top:5px;font-weight:bold}
.progress-label{display:flex;justify-content:space-between;font-size:11px;font-weight:bold;margin:8px 0 5px}
.progress{height:7px;background:#0006}
.progress div{width:0;height:100%;background:#ffe34a}
.mode-card{
margin-top:auto;padding:17px;background:#04193bbd;
border:1px solid #ffffff30
}
.mode-title{font-size:12px;font-weight:900;color:#ffe34a;letter-spacing:1px}
.mode-name{margin-top:8px;font-size:22px;font-weight:1000;font-style:italic}
.mode-desc{margin-top:5px;font-size:12px;opacity:.75}
.mode-selector{
display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px
}
.mode-option{
min-height:65px;padding:9px 5px;
color:white;background:#142f50;border:2px solid #6d8eaf;
font-weight:900;font-size:12px;cursor:pointer;
transition:background .15s,border-color .15s
}
.mode-option:hover{background:#28527a}
.mode-option.selected{
background:#315d83;border:2px solid #ffe34a;
box-shadow:inset 0 -4px #ffe34a
}
.mode-icon{display:block;font-size:21px;margin-bottom:5px}
.mode-option small{display:block;font-size:10px;margin-top:4px;opacity:.75}
.play-button{
width:100%;margin-top:16px;height:54px;
background:#f6d943;color:#202e43;border:3px solid #fff2a0;
font-size:19px;font-weight:1000;font-style:italic;cursor:pointer;
box-shadow:0 5px #0004;transition:background .15s,transform .15s
}
.play-button:hover{background:#fff080}
.play-button:active{transform:translateY(2px)}
.play-button.matchmaking{
background:#7fbee8;border-color:#bce6ff;color:#102d49;cursor:default
}
.unready-button{
display:none;width:100%;margin-top:12px;height:43px;
background:#183758;color:white;border:2px solid #7ca8d1;
font-size:14px;font-weight:900;cursor:pointer
}
.unready-button:hover{background:#28527a}
.right{
position:relative;display:flex;justify-content:center;
align-items:center;overflow:hidden
}
.glow{
position:absolute;width:min(45vw,480px);height:min(45vw,480px);
border-radius:50%;background:#64c4f624;
border:1px solid #ffffff14;box-shadow:0 0 100px #54bfff1f
}
.character-platform{
position:absolute;bottom:12%;width:min(40vw,400px);height:48px;
border-radius:50%;background:#05142d80;border:3px solid #9bd6ff80;
box-shadow:0 0 35px #70c6ff59
}
.character-space{
position:absolute;bottom:calc(12% + 48px);height:68%;width:55%;
display:flex;align-items:center;justify-content:center
}
.default-skin{
position:relative;width:140px;height:310px;flex-shrink:0;
animation:idle 2.5s ease-in-out infinite;
filter:drop-shadow(0 8px 12px #00152c55)
}
.skin-head{
position:absolute;top:5px;left:45px;width:50px;height:58px;
background:#d9a078;border:2px solid #a86f4e;
border-radius:43% 43% 40% 40%;z-index:2
}
.skin-hair{
position:absolute;top:1px;left:43px;width:54px;height:23px;
background:#583923;border-radius:50% 50% 20% 20%;z-index:3
}
.skin-eye{position:absolute;top:28px;width:5px;height:6px;background:#263442;border-radius:50%;z-index:4}
.skin-eye.left{left:57px}
.skin-eye.right{left:79px}
.skin-neck{position:absolute;top:55px;left:59px;width:22px;height:24px;background:#c68c65}
.skin-body{
position:absolute;top:72px;left:30px;width:80px;height:105px;
background:linear-gradient(90deg,#234b7b,#3976ae 50%,#234b7b);
border:3px solid #193b62;border-radius:15px 15px 8px 8px;
clip-path:polygon(18% 0,82% 0,100% 18%,88% 100%,12% 100%,0 18%);z-index:1
}
.skin-belt{
position:absolute;top:160px;left:32px;width:76px;height:13px;
background:#493b2d;border:2px solid #2e271f;z-index:2
}
.skin-arm{
position:absolute;top:82px;width:25px;height:91px;
background:#32689c;border:2px solid #1d4268;border-radius:12px
}
.skin-arm.left{left:13px;transform:rotate(8deg)}
.skin-arm.right{right:13px;transform:rotate(-8deg)}
.skin-hand{
position:absolute;top:158px;width:22px;height:25px;
background:#b98059;border-radius:7px;z-index:3
}
.skin-hand.left{left:13px}
.skin-hand.right{right:13px}
.skin-leg{
position:absolute;top:170px;width:34px;height:91px;
background:linear-gradient(90deg,#343d49,#515c69,#303945);
border:2px solid #222b36;border-radius:5px 5px 8px 8px;z-index:1
}
.skin-leg.left{left:36px}
.skin-leg.right{right:36px}
.skin-boot{
position:absolute;top:250px;width:40px;height:22px;
background:#282a2e;border:2px solid #15181c;border-radius:5px 8px 3px 3px;z-index:2
}
.skin-boot.left{left:29px}
.skin-boot.right{right:29px}
.right-caption{
position:absolute;bottom:4%;font-size:10px;font-weight:900;
letter-spacing:2px;opacity:.55
}
.bottom-bar{
position:fixed;bottom:0;left:0;right:0;height:34px;
background:#030f23e0;display:flex;align-items:center;
justify-content:space-between;padding:0 20px;font-size:10px;
font-weight:bold;z-index:5
}
@keyframes idle{
0%,100%{transform:translateY(0)}
50%{transform:translateY(-5px)}
}
@media(max-width:700px){
.topbar{padding:0 12px;height:62px}
.logo{font-size:21px}
.nav{gap:0}
.nav button{padding:0 7px;font-size:10px}
.account{display:none}
.content{
height:calc(100vh - 62px);grid-template-columns:1fr;
padding:18px 18px 48px;overflow-y:auto
}
.right{display:none}
.left{gap:12px}
.mode-card{margin-top:10px}
h1{font-size:42px}
}
@media(max-height:650px) and (min-width:701px){
.content{padding-top:12px;padding-bottom:42px}
.profile{padding:9px;margin-top:3px}
.mode-card{padding:10px}
.play-button{height:44px;margin-top:8px}
.character-space{transform:scale(.8);transform-origin:center bottom}
}
</style>
</head>
<body>
<div class="background"></div>
<div class="mountain back"></div>
<div class="mountain"></div>
<header class="topbar">
<div class="logo">FORTNITE<span>.</span></div>
<nav class="nav">
<button class="active">LOBBY</button>
<button>LOCKER</button>
<button>ITEM SHOP</button>
<button>CAREER</button>
</nav>
<div class="account">
<span class="coin">●</span>
<span>0 V-BUCKS</span>
<span>⚙</span>
</div>
</header>
<main class="content">
<section class="left">
<div>
<div class="season-label">CHAPTER 1</div>
<h1>SEASON<br>ONE</h1>
<div class="subtitle">THE ORIGINAL BATTLE ROYALE</div>
</div>
<div class="profile">
<div class="level"><small>LEVEL</small><strong>1</strong></div>
<div style="flex:1;min-width:0">
<div class="player-name">FARTBOT</div>
<div class="player-status" id="playerStatus">● ONLINE · IN LOBBY</div>
<div class="progress-label">
<span>SEASON LEVEL</span><span>1 / 100</span>
</div>
<div class="progress"><div></div></div>
</div>
</div>
<div class="mode-card">
<div class="mode-title">SELECT GAME MODE</div>
<div class="mode-name" id="modeName">SOLO BATTLE ROYALE</div>
<div class="mode-desc" id="modeDesc">1 PLAYER · EVERYONE FOR THEMSELVES</div>
<div class="mode-selector">
<button class="mode-option selected" id="soloButton">
<span class="mode-icon">👤</span>
SOLO
<small>1 PLAYER</small>
</button>
<button class="mode-option" id="duoButton">
<span class="mode-icon">👥</span>
DUOS
<small>2 PLAYERS</small>
</button>
</div>
<button class="play-button" id="playButton">PLAY</button>
<button class="unready-button" id="unreadyButton">UNREADY</button>
</div>
</section>
<section class="right">
<div class="glow"></div>
<div class="character-space">
<div class="default-skin">
<div class="skin-hair"></div>
<div class="skin-head"></div>
<div class="skin-eye left"></div>
<div class="skin-eye right"></div>
<div class="skin-neck"></div>
<div class="skin-arm left"></div>
<div class="skin-arm right"></div>
<div class="skin-body"></div>
<div class="skin-belt"></div>
<div class="skin-hand left"></div>
<div class="skin-hand right"></div>
<div class="skin-leg left"></div>
<div class="skin-leg right"></div>
<div class="skin-boot left"></div>
<div class="skin-boot right"></div>
</div>
</div>
<div class="character-platform"></div>
<div class="right-caption">FARTBOT · DEFAULT OUTFIT</div>
</section>
</main>
<footer class="bottom-bar">
<span>FORTNITE · SEASON ONE LOBBY CONCEPT</span>
<span>VERSION 1.3 · FARTBOT</span>
</footer>
<script>
const playButton = document.getElementById("playButton");
const unreadyButton = document.getElementById("unreadyButton");
const playerStatus = document.getElementById("playerStatus");
const modeName = document.getElementById("modeName");
const modeDesc = document.getElementById("modeDesc");
const soloButton = document.getElementById("soloButton");
const duoButton = document.getElementById("duoButton");
let selectedMode = "solo";
let isMatchmaking = false;
function selectMode(mode) {
if (isMatchmaking) return;
selectedMode = mode;
soloButton.classList.toggle("selected", mode === "solo");
duoButton.classList.toggle("selected", mode === "duo");
if (mode === "solo") {
modeName.textContent = "SOLO BATTLE ROYALE";
modeDesc.textContent = "1 PLAYER · EVERYONE FOR THEMSELVES";
} else {
modeName.textContent = "DUO BATTLE ROYALE";
modeDesc.textContent = "2 PLAYERS · TEAM UP WITH A FRIEND";
}
}
soloButton.addEventListener("click", () => selectMode("solo"));
duoButton.addEventListener("click", () => selectMode("duo"));
playButton.addEventListener("click", function () {
if (isMatchmaking) return;
isMatchmaking = true;
playButton.textContent = "MATCHMAKING...";
playButton.classList.add("matchmaking");
playButton.disabled = true;
unreadyButton.style.display = "block";
playerStatus.textContent =
"● MATCHMAKING · " +
(selectedMode === "solo" ? "SOLO" : "DUOS");
});
unreadyButton.addEventListener("click", function () {
isMatchmaking = false;
playButton.textContent = "PLAY";
playButton.classList.remove("matchmaking");
playButton.disabled = false;
unreadyButton.style.display = "none";
playerStatus.textContent = "● ONLINE · IN LOBBY";
});
</script>
</body>
</html>
Game Source: Fortnite Season 1 Lobby
Creator: StormPanda35
Libraries: none
Complexity: complex (397 lines, 13.5 KB)
The full source code is displayed above on this page.
Remix Instructions
To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: fortnite-season-1-lobby-stormpanda35" to link back to the original. Then publish at arcadelab.ai/publish.