/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    overflow-y: scroll; /* Adds vertical scrollbar */
}

/* Spline Container */
.spline-container {
    position: relative;
    width: 100%;
    height: 70vh; /* Reduced height */
    background-color: #ffffff;
    overflow: hidden;
}

/* Logo Styling */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Verdana', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #151515;
    z-index: 10;
}

/* Catchy Paragraph Styling */
.catchy-text {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    text-align: right;
    z-index: 10;
    color: #333;
}

.catchy-text .line-1 {
    font-size: 28px;
    font-weight: bold;
    color: #0e0d0d;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
}

.catchy-text .line-2 {
    font-size: 20px;
    font-style: italic;
    color: #f0f3f6;
    font-family: 'Courier New', monospace;
}

/* Instruction Container Styling */
.instruction-container {
    position: relative;
    top: -30px;
    margin: 0 auto;
    width: 75%;
    height: 60px;
    background-color: rgba(50, 50, 50, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    font-family: 'Helvetica Neue', sans-serif;
    color: #ffffff;
    line-height: 1.5;
}

/* Styling for the Video Containers */
.video-containers {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    width: 100%;
    padding: 20px 0;
}

.video-container {
    width: 32%;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
}

video {
    width: 100%;
    height: auto;
}

/* Description Containers Styling */
.description-containers {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    width: 100%;
}

.description-container {
    width: 32%;
    background-color: rgba(100, 100, 100, 0.8);
    border-radius: 10px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.description-container h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.description-container p {
    font-size: 14px;
    line-height: 1.5;
}

/* ABOUT ZEXER Section */
.about-zexer {
    margin-top: 30px;
    padding: 30px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.about-header {
    font-size: 36px;
    font-weight: bold;
    color: #2E4053;
}

/* About Content Layout */
.about-content {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    width: 90%;
    flex-wrap: wrap; /* Responsive layout */
}

.about-text {
    width: 70%;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.jungle-green-container {
    width: 25%;
    background-color: grey;
    color: white;
    padding: 0px;
    padding-left: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.container-content .quote {
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Bottom Containers: Thanks and Timelapse */
.bottom-containers {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    width: 75%;
    gap: 20px;
}

.thanks-container, .timelapse-container {
    width: 48%;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    line-height: 1.8;
}
.thanks-container {
    background-color: rgba(129, 66, 120, 0.8);
}
.timelapse-container {
    background-color: rgba(66, 79, 129, 0.8);
}

/* Footer Section */
.footer {
    background-color: rgba(50, 50, 50, 0.8); /* Translucent grey */
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Footer Content Layout */
.footer-content {
    display: flex; /* Align items horizontally */
    justify-content: space-between; /* Equal spacing between sections */
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allows wrapping for responsiveness */
    margin: 0 auto;
    width: 75%; /* Matches the layout */
}

/* Footer Sections (Contact, Credits, Social Media) */
.footer-content div {
    width: 30%; /* Each section takes up about 30% */
    padding: 10px;
    text-align: left;
}

.footer-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: black; /* Highlight headers in green */
}

.footer-content p, .footer-content a, .footer-content ul li {
    font-size: 14px;
    color: #ddd; /* Light grey text */
    text-decoration: none;
    line-height: 1.8;
}

.footer-content ul {
    margin: 0;
    padding: 0;
    list-style-type: square;
    padding-left: 15px; /* Indent list items */
}

.footer-content a:hover {
    color: black; /* Green highlight on hover */
}

/* Social Media Links */
.social-media a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    color: white;
    background-color: #333; /* Background for the GitHub icon */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.social-media a.github {
    background-color: #24292e; /* GitHub dark grey color */
}

.social-media a:hover {
    background-color: #9c9f9c; /* Green hover effect */
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .spline-container {
        height: 50vh;
    }

    .logo {
        font-size: 18px;
        top: 10px;
        left: 10px;
    }

    .catchy-text {
        top: 60%;
        right: 10px;
        font-size: 14px;
    }

    .instruction-container {
        width: 90%;
        font-size: 12px;
    }

    .video-containers,
    .description-containers,
    .about-content,
    .bottom-containers {
        flex-direction: column;
        gap: 20px;
    }

    .video-container,
    .description-container,
    .thanks-container,
    .timelapse-container,
    .about-text,
    .jungle-green-container {
        width: 100%;
    }

    .footer-content {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center-align the sections */
        width: 90%; /* Increase width for smaller screens */
    }

    .footer-content div {
        width: 100%; /* Full width for each section */
        text-align: center; /* Center-align text */
        margin-bottom: 20px; /* Add spacing between sections */
    }

    .footer-content h4 {
        font-size: 16px; /* Slightly smaller header font */
    }

    .footer-content p, .footer-content a, .footer-content ul li {
        font-size: 13px; /* Slightly smaller text for readability */
    }

    .social-media a {
        margin: 10px 5px; /* Adjust spacing between social media links */
    }

    .footer-bottom {
        font-size: 11px; /* Reduce size slightly for smaller screens */
        text-align: center; /* Center-align the text */
    }
}
