/* Ensure body takes up the full height of the viewport */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #005045;
    font-family: 'Roboto', sans-serif; /* Default font for body text */
    font-size: 1.1em;
}

/* Header Section */
.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(82, 80, 80, 0.1); /* Added drop shadow */
}

/* Center and enhance text in header */
.header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center all header content */
    text-align: center;
}

/* Apply Lora font to heading and subheading */
h1 {
    font-family: 'Lora', serif; /* Heading font */
    font-weight: 700;
    font-size: 2.5rem; /* Larger heading */
    margin-bottom: 0.2rem;
}

.subheading {
    font-family: 'Roboto', sans-serif; /* Subheading font */
    font-weight: 400;
    font-size: 1.2rem;
    color: #c2ddc9;
    margin-top: 0; /* Removes unnecessary space */
}

/* Home Button */
.home-button {
    position: absolute;
    top: 20px;
    right: 100px; /* Moved home button to the left */
    padding: 30px 50px;
    background-color: #1e4b5e;
    color: #c2ddc9;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #30AC51;
    color: white;
}

/* Grid Layout for Main Content */
.full-row {
    grid-column: span 4;
    background-color: lightgoldenrodyellow;
    padding: 20px;
}

.title-row {
    grid-column: span 4;
    background-color: #067D25;
    text-align: center;
}

.row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px; /* Adjust spacing between rows */
    padding: 0 20px; /* Padding on left and right of rows */
}

/* Text Content Styling */
.row p {
    font-family: 'Roboto', sans-serif; /* Default font for paragraphs */
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.6; /* Increases line height for readability */
    color: #e0e0e0; /* Lighter text color for better contrast */
    margin-bottom: 1.2rem; /* Adds spacing between paragraphs */
}

/* Image Column */
.image-column, .text-column {
    flex: 1;
}

.image-column img {
    max-width: 100%;
    height: auto;
    width: 1000px;
}

/* Style for embedded Sketchfab models */
iframe {
    border: none;
    width: 100%;
    height: 480px;
    max-width: 800px; /* Adjust max width */
    margin: 20px 0; /* Spacing between models */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
 }
 /* Add spacing and emphasize each line */
.column ul li {
    padding: 10px 15px; /* Adds padding inside each list item */
    margin-bottom: 10px; /* Adds space between lines */
    background-color: #b2e3d4; /* Optional: adds a subtle background color */
    border-radius: 8px; /* Optional: rounds the corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for depth */
}

/* Emphasize tool names */
.column ul li strong {
    font-size: 1.2em;
    border: black;
    border-width: medium;
    font-weight: bold;
    color: #2b382a;
}

/*Teamwork and Version Control*/

.project-links li {
    margin-bottom: 0.8rem; /* Spacing between links */
  }
  
  .project-links a {
    color: #30AC51;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .project-links a:hover {
    color: #3e9ec7;
  }

  .icon {
    width: 50px; /* Adjust size as needed */
    height: auto;
    margin-right: 10px; /* Space between the icon and text */
    vertical-align: middle; /* Align with the text */
  }

/*PAX East*/
.event-photo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  
/*Code Embed for Galaxia*/
  .code-column pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px;
    overflow-x: auto;
    font-family: "Courier New", Courier, monospace;
}

details {
    margin: 10px 0;
}

/*Videos*/
.video-column video {
    width: 1000px;
    height: auto;
    border-radius: 8px; /* Optional styling */
}

/*PROTOTYPING*/

/* Adjust for smaller cover art image */
.cover-image img {
    max-width: 300px; /* Smaller size for cover art */
    height: auto;
    border-radius: 10px; /* Optional styling */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow */
}

/* Adjust row layout for cover art */
.row.cover-row {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between text and image */
    padding: 20px; /* Add some spacing around */
}

/* Ensure text takes up more space in cover section */
.cover-row .text-column {
    flex: 2; /* Larger space for text */
}

.cover-row .image-column {
    flex: 1; /* Smaller space for image */
    text-align: center; /* Center image if needed */
}

/* Mobile View Adjustments for Cover Art */
@media (max-width: 768px) {
    .cover-row {
        flex-direction: column; /* Stack text and image vertically */
    }

    .cover-image img {
        max-width: 100%; /* Allow image to resize properly */
    }
}


/* Footer */
.footer {
    grid-column: span 4;
    background-color: #1e4b5e;
    color: #c2ddc914;
    padding: 20px;
    text-align: center;
}



/* Mobile View Adjustments */
@media (max-width: 568px) {
    /* Adjust the container to single column layout */
    .container {
        grid-template-columns: 1fr;
    }

    /* Adjust font size on mobile */
    .row p {
        font-size: 1rem; /* Slightly smaller text on mobile */
    }

    .home-button {
        top: 5px;
        left: 5px; /* Adjusted to be left on mobile */
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    @media (max-width: 768px) {
    .row {
        flex-direction: column;
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .home-button {
        top: 10px;
        right: 10px;
    }

    .header-content {
        text-align: center;
    }

    .image-column img {
        max-width: 100%;
        margin-bottom: 15px; /* Space between images and text */
    }
  }
}

/* Sticky Header Navigation Buttons */
.section-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2px;
}

.nav-button {
    padding: 10px 20px;
    background-color: #30AC51;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #3e9ec7;
}

/* VFX Section */
.vfx-section {
    background-color: #003c34;
    color: #e0e0e0;
    padding: 40px 20px;
    margin-top: 20px;
    border-radius: 8px;
}

/* Alternating Rows */
.vfx-section .row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.vfx-section .text-column {
    flex: 1;
    padding: 20px;
    background-color: #1e4b5e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vfx-section .video-column {
    flex: 1;
    text-align: center;
}

.vfx-section .video-column video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .vfx-section .row {
        flex-direction: column;
    }

    .text-column, .video-column {
        flex: unset;
    }
}
