Skip to content

Commit

Permalink
new vid like sing sing
Browse files Browse the repository at this point in the history
  • Loading branch information
macedonianluke committed Oct 25, 2024
1 parent 50f8d9a commit f323d9a
Show file tree
Hide file tree
Showing 8 changed files with 512 additions and 104 deletions.
206 changes: 132 additions & 74 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,34 @@
margin: 0;
padding: 0;
box-sizing: border-box;
cursor: none;
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
color: white;
overflow-x: hidden;
overflow: hidden;
background: #000;
}

/* Custom Cursor */
.cursor {
width: 20px;
height: 20px;
border: 2px solid white;
border-radius: 50%;
position: fixed;
pointer-events: none;
z-index: 9999;
mix-blend-mode: difference;
transition: transform 0.2s ease;
}

.cursor.hover {
transform: scale(1.5);
}

/* Header */
header {
position: fixed;
top: 0;
Expand All @@ -20,31 +40,73 @@ header {
justify-content: space-between;
align-items: center;
z-index: 100;
mix-blend-mode: difference;
}

.logo {
font-weight: bold;
text-decoration: none;
color: white;
font-size: 1.5rem;
transition: opacity 0.3s ease;
}

.logo:hover {
opacity: 0.8;
.menu-toggle {
background: none;
border: none;
color: white;
font-size: 1rem;
cursor: none;
}

nav a {
/* Menu */
.menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 99;
opacity: 0;
visibility: hidden;
transition: all 0.5s ease;
}

.menu.active {
opacity: 1;
visibility: visible;
}

.menu-content {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}

.menu-nav {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}

.menu-nav a {
color: white;
text-decoration: none;
margin-left: 2rem;
transition: opacity 0.3s ease;
font-size: 2rem;
position: relative;
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease;
}

nav a:hover {
opacity: 0.8;
.menu.active .menu-nav a {
opacity: 1;
transform: translateY(0);
}

/* Main Content */
.scroll-container {
height: 100vh;
overflow-y: scroll;
Expand All @@ -60,20 +122,13 @@ nav a:hover {
justify-content: center;
}

.section-bg {
.fullscreen-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-color: #1a1a1a;
transition: transform 0.5s ease;
}

.section:hover .section-bg {
transform: scale(1.05);
object-fit: cover;
}

.overlay {
Expand All @@ -82,104 +137,107 @@ nav a:hover {
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, 0.3);
}

.section-content {
position: relative;
z-index: 1;
text-align: center;
padding: 2rem;
max-width: 800px;
max-width: 1200px;
margin: 0 auto;
width: 100%;
}

.hero-subtitle {
font-size: 1.5rem;
/* Hero Section */
.hero-text {
max-width: 600px;
}

.hero-text h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
font-weight: 300;
}

.hero-text p {
font-size: 1.2rem;
opacity: 0.8;
}

.hero-title {
font-size: 4rem;
letter-spacing: 2px;
/* Project Sections */
.project-info {
max-width: 500px;
}

.project-title {
font-size: 3rem;
margin-bottom: 1rem;
.project-info h2 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
font-weight: 300;
}

.project-info p {
font-size: 1rem;
opacity: 0.8;
margin-bottom: 2rem;
}

.section-content p {
.project-description {
font-size: 1.2rem;
line-height: 1.6;
opacity: 0.8;
}

.scroll-indicator {
position: fixed;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
/* Contact Section */
.contact-content {
text-align: center;
color: white;
z-index: 100;
}

.scroll-text {
display: block;
margin-bottom: 0.5rem;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.8rem;
.contact-info h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
font-weight: 300;
}

.scroll-progress {
width: 2px;
height: 60px;
background: white;
margin: 0 auto;
.offices {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
}

.year {
position: fixed;
bottom: 2rem;
right: 2rem;
.email {
color: white;
z-index: 100;
font-size: 0.9rem;
opacity: 0.8;
text-decoration: none;
font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
.hero-title {
font-size: 3rem;
}

.project-title {
.hero-text h1 {
font-size: 2.5rem;
}

.section-content p {
font-size: 1rem;
.project-info h2 {
font-size: 2rem;
}

nav a {
margin-left: 1rem;
.menu-nav a {
font-size: 1.5rem;
}
}

@media (max-width: 480px) {
header {
padding: 1rem;
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}

.hero-title {
font-size: 2.5rem;
to {
opacity: 1;
transform: translateY(0);
}
}

.project-title {
font-size: 2rem;
}
.section-content {
animation: fadeIn 1s ease forwards;
}
Binary file added images/Caffeine Trader/caffeinetrader_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Caffeine Trader/caffeinetrader_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Caffeine Trader/caffeinetrader_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f323d9a

Please sign in to comment.