Files
purplebored.pl/assets/css/style.css
2025-10-29 21:19:42 +01:00

166 lines
2.4 KiB
CSS

@font-face {
font-family: "Clockopia";
src: url("../fonts/Clockopia.ttf") format("truetype");
}
@font-face {
font-family: "LuxiSans";
src: url("../fonts/luxisr.ttf") format("truetype");
}
body {
margin: 0;
padding: 0;
display: flex;
height: 100vh;
overflow: hidden;
background-color: #0e0016;
color: white;
font-family: "LuxiSans", sans-serif;
}
/* === NAVBAR ON THE RIGHT === */
.navbar {
width: 100px;
background-color: #3c1a4d;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 2rem 0;
position: fixed;
right: 0;
top: 0;
bottom: 0;
z-index: 20;
}
.navbar ul {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
.navbar li {
width: 100%;
margin: 0.5rem 0;
}
.navbar a {
display: block;
color: white;
text-decoration: none;
text-align: center;
padding: 0.75rem 0;
transition: background 0.2s ease;
}
.navbar a:hover {
background-color: #5e2b7a;
}
/* === MAIN CONTENT === */
.content {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
padding: 0 10% 0 10%;
gap: 5%;
z-index: 10;
position: relative;
}
/* === LEFT SIDE (UZI IMAGE) === */
.left {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.uzi {
width: 90%;
max-width: 650px;
height: auto;
pointer-events: none;
}
/* === MIDDLE SECTION (TEXT + BADGES) === */
.middle {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
z-index: 10;
}
.middle h1 {
font-family: "Clockopia", sans-serif;
font-size: 3.5rem;
margin-bottom: 1rem;
color: #fff5a8;
}
.middle p {
font-size: 1.1rem;
line-height: 1.7;
margin-bottom: 1rem;
max-width: 550px;
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 1.5rem;
}
.buttons img {
width: 88px;
height: 31px;
border: none;
image-rendering: pixelated;
}
/* === BACKGROUND CANVAS === */
#night {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -9999;
}
@media (max-width: 900px) {
body {
flex-direction: column;
}
.navbar {
position: relative;
width: 100%;
height: auto;
flex-direction: row;
justify-content: center;
padding: 0.5rem 0;
}
.navbar ul {
display: flex;
gap: 1rem;
}
.content {
flex-direction: column;
padding: 2rem;
text-align: center;
}
.uzi {
width: 70%;
}
}