Skip to content

Commit

Permalink
add side show to farmers daughters
Browse files Browse the repository at this point in the history
  • Loading branch information
macedonianluke committed Oct 25, 2024
1 parent 30a46fd commit 2e6957d
Show file tree
Hide file tree
Showing 22 changed files with 982 additions and 35 deletions.
File renamed without changes.
283 changes: 283 additions & 0 deletions css/v2/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
* {
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: 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;
transform: translate(-50%, -50%);
}

.cursor.hover {
transform: translate(-50%, -50%) scale(1.5);
}

/* Ensure cursor visibility on all elements */
a,
button,
input,
select,
textarea,
.menu,
.menu-toggle,
.menu-nav,
.menu-nav a {
cursor: none !important;
}

/* Header */
header {
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 2rem;
display: flex;
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;
}

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

/* 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;
font-size: 2rem;
position: relative;
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease;
}

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

/* Main Content */
.scroll-container {
height: 100vh;
overflow-y: scroll;
scroll-snap-type: y mandatory;
}

.section {
height: 100vh;
position: relative;
scroll-snap-align: start;
display: flex;
align-items: center;
justify-content: center;
}

.fullscreen-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

/* Slideshow Styles */
.slideshow-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

.slideshow-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
opacity: 0;
transition: opacity 1.5s ease-in-out;
z-index: -1;
}

.slideshow-image.active {
opacity: 1;
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: 0;
}

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

/* 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;
}

/* Project Sections */
.project-info {
max-width: 500px;
}

.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;
}

.project-description {
font-size: 1.2rem;
line-height: 1.6;
}

/* Contact Section */
.contact-content {
text-align: center;
}

.contact-info h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
font-weight: 300;
}

.offices {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
}

.email {
color: white;
text-decoration: none;
font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
.hero-text h1 {
font-size: 2.5rem;
}
.project-info h2 {
font-size: 2rem;
}
.menu-nav a {
font-size: 1.5rem;
}
}

/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.section-content {
animation: fadeIn 1s ease forwards;
}
Loading

0 comments on commit 2e6957d

Please sign in to comment.