A modern and elegant digital creative studio website built with HTML, CSS, and JavaScript. Featuring a sophisticated dark luxury aesthetic with gold accents…
Oleh @naeeey · HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NYERÉLLE | Digital Creative Studio</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
:root {
--bg: #0b0b0d;
--surface: #141417;
--surface-light: #1c1c20;
--gold: #c8a96a;
--gold-light: #e5d0a0;
--white: #f5f2ec;
--muted: #99969a;
--border: rgba(200, 169, 106, 0.2);
--heading: 'Playfair Display', serif;
--body: 'DM Sans', sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background: var(--bg);
color: var(--white);
font-family: var(--body);
line-height: 1.7;
}
a {
text-decoration: none;
color: inherit;
}
ul {
list-style: none;
}
section {
padding: 110px 10%;
}
h2 {
font-family: var(--heading);
font-size: clamp(2.2rem, 5vw, 4rem);
font-weight: 500;
line-height: 1.2;
}
p {
color: var(--muted);
}
header {
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 100;
border-bottom: 1px solid var(--border);
}
nav {
min-height: 85px;
padding: 0 10%;
display: flex;
justify-content: space-between;
align-items: center;
}
nav h1 {
font-family: var(--heading);
color: var(--gold);
font-size: 1.8rem;
letter-spacing: 3px;
}
nav ul {
display: flex;
gap: 35px;
}
nav ul a {
font-size: 0.8rem;
color: var(--muted);
transition: 0.3s;
}
nav ul a:hover {
color: var(--gold);
}
#home {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
background:
radial-gradient(
ellipse at 80% 30%,
rgba(126, 91, 135, 0.13),
transparent 45%
),
linear-gradient(
135deg,
#0b0b0d,
#151319
);
padding-top: 150px;
}
#home > p:first-child {
color: var(--gold);
letter-spacing: 5px;
font-size: 0.75rem;
margin-bottom: 25px;
}
#home h2 {
font-size: clamp(3.5rem, 8vw, 7rem);
letter-spacing: -2px;
}
#home h2:nth-of-type(2) {
color: var(--gold);
}
#home > p:nth-of-type(2) {
max-width: 550px;
margin: 30px 0;
font-size: 1rem;
}
#home a,
#contact a {
display: inline-block;
padding: 13px 28px;
margin: 8px 10px 0 0;
border: 1px solid var(--gold);
color: var(--gold);
font-size: 0.8rem;
letter-spacing: 1px;
transition: 0.3s;
}
#home a:hover,
#contact a:hover {
background: var(--gold);
color: var(--bg);
}
#about {
background: var(--surface);
}
#about h2 {
color: var(--gold);
margin-bottom: 30px;
}
#about p {
max-width: 750px;
margin-bottom: 20px;
}
#services {
background: var(--bg);
}
#services h2 {
color: var(--gold);
margin-bottom: 20px;
}
#services > p {
margin-bottom: 50px;
}
#services article {
display: inline-block;
vertical-align: top;
width: 31%;
min-height: 210px;
margin: 0 1% 25px 0;
padding: 30px;
background: var(--surface);
border: 1px solid var(--border);
transition: 0.35s;
}
#services article:hover {
transform: translateY(-8px);
background: var(--surface-light);
border-color: var(--gold);
}
#services article h3 {
font-family: var(--heading);
font-size: 1.4rem;
color: var(--gold-light);
margin-bottom: 15px;
}
#services article p {
font-size: 0.9rem;
}
#portfolio {
background: var(--surface);
}
#portfolio h2 {
color: var(--gold);
margin-bottom: 20px;
}
#portfolio > p {
margin-bottom: 45px;
}
#portfolio article {
padding: 30px;
margin-bottom: 15px;
border-left: 2px solid var(--gold);
background: var(--bg);
transition: 0.3s;
}
#portfolio article:hover {
padding-left: 45px;
}
#portfolio article h3 {
color: var(--white);
font-family: var(--heading);
font-size: 1.4rem;
}
#why-us {
text-align: center;
background: var(--bg);
}
#why-us h2 {
color: var(--gold);
margin-bottom: 30px;
}
#why-us p {
margin-bottom: 15px;
}
#contact {
text-align: center;
background:
radial-gradient(
circle at center,
rgba(200, 169, 106, 0.12),
transparent 65%
),
var(--surface);
}
#contact h2 {
color: var(--gold-light);
margin-bottom: 25px;
}
#contact p {
margin-bottom: 30px;
}
footer {
padding: 50px 10%;
text-align: center;
background: #070708;
border-top: 1px solid var(--border);
}
footer h2 {
color: var(--gold);
font-size: 2rem;
margin-bottom: 10px;
}
footer p {
font-size: 0.8rem;
margin-top: 10px;
}
@media (max-width: 768px) {
section {
padding: 80px 7%;
}
nav {
padding: 20px 7%;
flex-direction: column;
gap: 15px;
}
nav ul {
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}
nav ul a {
font-size: 0.7rem;
}
#home {
padding-top: 170px;
}
#home h2 {
font-size: 3.2rem;
}
#services article {
width: 100%;
margin-right: 0;
}
}
.reveal {
opacity: 0;
transform: translateY(35px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
nav ul a.active {
color: var(--gold);
}
header.scrolled {
position: fixed;
background: rgba(11, 11, 13, 0.95);
backdrop-filter: blur(15px);
}
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 45px;
height: 45px;
background: var(--gold);
color: var(--bg);
border: none;
border-radius: 50%;
font-size: 22px;
…