* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'MagicLegends';
    src: url('fonts/Impact Club.ttf') format('truetype');
}

body {
    color: #fff;
    font-family: 'MagicLegends', sans-serif;
    margin: 0;
    overflow-x: hidden;
    background-color: #111;
}

/* Video Background Styling */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    z-index: 2;
}

.header-left {
    font-size: 1.5em;
}

.header-right {
    display: flex;
    gap: 15px;
}

.header-right .social-logo {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.header-right .social-logo:hover {
    transform: scale(1.2);
}

/* Section One Styling */
.section-one {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    height: 100vh;
    position: relative;
    padding-bottom: 20px;
    z-index: 1;
}

.button-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.copy-button {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'MagicLegends', sans-serif;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.copy-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Separator between Sections */
.separator {
    height: 10px;
    background-color: transparent;
    width: 100%;
}

/* Section Two Styling */
.section-two {
    background: url('background/meme-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

/* Individual fade effect styling */
.fade-element {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(-20px); /* Slight upward movement for effect */
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery and Memes Styling */
.memes-title {
    font-size: 2em;
    margin-bottom: 20px;
}

.meme-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.meme-image {
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.meme-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .meme-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
