@font-face {
    font-family: 'Darkmode';
    src: url('darkmode-font/Darkmode_Trial_DarkmodeOnMd.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Darkmode';
    src: url('darkmode-font/Darkmode_Trial_DarkmodeOnBlk.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: 'Darkmode', Arial, sans-serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: #E1DCD7;
    background-color: #636E5F;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #636E5F;
    padding: 20px 40px;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    text-align: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: 'Darkmode', sans-serif;
    color: #E1DCD7;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
}

.container {
    display: flex;
    flex: 1;
    padding: 0 5vw;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 5vw;
}

h1 {
    font-family: 'Darkmode', sans-serif;
    font-size: 8vw;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 0 0 40px; /* Removed top padding completely */
    margin-top: -100px; /* Added negative margin to bring it up further */
}

.about {
    font-size: 1.5vw;
    margin-top: 2vw;
    color: #E1DCD7;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

footer {
    background-color: #636E5F;
    padding: 20px 40px;
    text-align: center;
}

footer h2 {
    font-family: 'Darkmode', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #E1DCD7;
}

.social-links {
    margin-bottom: 10px;
}

.social-links a {
    color: #E1DCD7;
    text-decoration: underline;
    margin: 0 10px;
    font-size: 1.1rem;
}

footer p {
    color: #E1DCD7;
    font-size: 0.9rem;
}

@font-face {
    font-family: 'Darkmode';
    src: url('path/to/Darkmode.woff2') format('woff2'),
         url('path/to/Darkmode.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

footer p:first-of-type {
    font-family: 'Darkmode', Arial, sans-serif;
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #E1DCD7;
}

.portfolio-container {
    padding: 0 5vw; /* This adds 5% viewport width padding on each side */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; /* Ensure there's no gap between grid items */
    width: 100%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: #E1DCD7;
    font-size: 2rem;
    text-align: center;
}

.index-title {
    font-family: 'Darkmode', sans-serif;
    font-size: 8vw;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 0 0 40px;
    margin-top: -40px;
}

.project-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-content h1 {
    font-size: 6rem; /* Increased from 4rem to 6rem */
    margin-bottom: 30px; /* Increased from 20px to 30px for better spacing */
    text-align: center; /* Center the title */
}

.project-content h2 {
    font-size: 8rem; /* Increase the size as needed */
    text-align: center; /* Center the title */
    margin-bottom: 40px; /* Adjust spacing below the title */
}

.project-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.video-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.video-item {
    width: 100%;
}

.video-item video {
    width: 100%;
    height: auto;
}

#project {
    padding-top: 100px; /* Adjust this value as needed */
}

.project-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#editor {
    padding-top: 100px; /* Adjust this value as needed */
}

.small-title {
    font-size: 4rem; /* Adjust the size as needed */
    text-align: center;
    margin-bottom: 20px; /* Add some space below the title */
}

.medium-title {
    font-size: 5rem; /* Adjusted size to be between small and large */
    text-align: center;
    margin-bottom: 20px; /* Add some space below the title */
}

.portfolio-items img:hover {
    transform: scale(1.05);
}

/* Increase the size of the h2 title */
h2 {
    font-size: 3rem; /* Adjust size as needed */
    text-align: center; /* Center the title */
    margin-bottom: 20px; /* Space below the title */
}

/* Add padding to the contact section */
#contact {
    padding: 20px; /* Adjust padding as needed */
    margin: 0 auto; /* Center the section */
    max-width: 800px; /* Limit the width for better readability */
}

.project2-video {
    width: 60%; /* Set the width to 60% */
    margin: 0 auto; /* Center the video item */
}

.project2-video video {
    width: 100%; /* Ensure the video takes the full width of the video item */
    height: auto; /* Maintain aspect ratio */
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjusted to allow up to 4 items */
    gap: 16px; /* Space between grid items */
    margin: 20px auto; /* Center the grid and add vertical margin */
    padding: 0 20px; /* Add horizontal padding */
    max-width: 1200px; /* Optional: Set a max width for the grid */
}

.instagram-media {
    width: 100%; /* Ensure the media takes full width of the grid item */
}
