@charset "utf-8";
/* CSS Document */
/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-image: url("../images/background_projects.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    box-sizing: border-box; /* Make sure padding and borders are included in width/height calculations */
}
p {
    font-size: 2rem;
    max-width: 600px;
    margin: 100px auto;
    font-family: "montserrat"; /* Montserrat font */
    text-align: center;
}
/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #333333;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #F4971F;
  font-size: 25px;
  padding: 8px 12px;
  transition: 0.3s;
  font-family: "montserrat-alternates";
  font-weight: bold;
}

nav ul li a:hover {
  border-radius: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 200px auto 0 auto; /* top, horizontal, bottom margins */
}
   /* Flex container to place the video and paragraph side by side */
.container {
    display: flex;
    align-items: center; /* Vertically center-align the items */
    justify-content: center; /* Center the items horizontally */
    margin: 200px;
    gap: 20px; /* Add some space between the video and paragraph */
}

/* Video container style */
.video-container {
    width: 50%;  /* Video container takes up 50% of the width */
    position: relative;
    padding-top: 28.125%; /* Aspect ratio for 16:9 (height/width = 9/16 = 0.5625) */
    height: 0; /* Set height to 0 and use padding-top to control the aspect ratio */
    overflow: hidden;
    background: #000; /* Fallback color for video container */
}

/* Video styling */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* Take full width of the container */
    height: 100%; /* Take full height of the container */
    object-fit: cover;  /* Ensures the video fills the space */
}

/* Paragraph to the right of the video */
.video-description {
    font-size: 25px;
    line-height: 1.25;
	text-align: left;
    max-width: 600px; /* Limit the width of the paragraph */
    flex-grow: 1; /* Allows the paragraph to grow and take available space */
	font-family: "montserrat";
	font-weight: bold;
	color: #FBE8C5;
}
/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    h1, h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    button {
        font-size: 1rem;
    }

    .download-button {
        font-size: 1rem;
    }
}