body {
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 20px;
  padding-top: 120px; /* Adjust this value based on the header height */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(255, 229, 163, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1900px;
  height: 70px;
  margin: 0 auto;
  padding: 50px;
  box-sizing: border-box;
}

header .logo img {
  width: 66px;
  height: 40px;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-left: auto;
}

nav ul li a {
  color: #676767;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  font-family: "Nunito Sans", sans-serif;
}

main {
  margin: 0 auto;
  max-width: 1200px;
}

.project {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 150px 0 50px;
}

.project-images {
  flex: 1;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
}

.project-images img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.project-images img[alt="Project Image 2"] {
  width: 200%;
}

.project-info {
  flex: 1;
  padding: 20px;
}

.project-info h1 {
  color: #6E9DD4;
  font-size: 2rem;
}

.project-info h2 {
  color: #676767;
  margin-top: 10px;
  font-size: 16px;
}

.project-info p {
  margin-top: 20px;
  line-height: 45px;
  color: #676767;
  font-size: 16px;
  margin-bottom: 100px;
}

.tags {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.tags span {
  border: 2px solid #8D8D8D;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  color: #676767;
}

.problem-goal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 100px;
  line-height: 50px;
}

.title, .description {
  flex: 1;
  padding: 20px;
  border-radius: 10px;
}

.title {
  color: #6A6A6A;
  font-size: 25px;
  font-weight: 900;
  line-height: 56px;
}

.title h3, .description h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.title p, .description p {
  line-height: 45px;
  color: #676767;
  font-size: 16px;
}

.title span, .description span {
  color: #6E9DD4;
  font-weight: bold;
}

.emoji {
  font-size: 1.5rem;
  margin-left: 5px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 200px;
  text-align: left;
}

.feature {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  color: #676767;
}

.feature h3 {
  font-size: 18px;
  color: #659ED2;
  margin-bottom: 20px;
  text-align: left;
}

.feature p {
  font-size: 1rem;
  color: #676767;
  margin-bottom: 20px;
  line-height: 45px;
  text-align: left;
}

.feature img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 150px;
  width: 120%; /* Increase the width to make the image larger */
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .project, .problem-goal, .features {
    flex-direction: column;
  }
  
  .project-images {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .intro h1, .intro h2, .portfolio h2, .portfolio h3, .portfolio p, .footer-right p {
    font-size: 16px;
  }

  .images img {
    max-width: 100%;
    margin-left: 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    font-size: 16px;
  }

  .footer-left h2, .footer-right p {
    font-size: 16px;
  }

  .footer-right p {
    text-align: center;
    font-size: 12px;
  }
}

/* Footer */
footer {
  background-color: #A7A7A7;
  padding: 50px;
  color: white;
  margin-top: 150px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-left h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.footer-right p {
  margin: 0;
  font-size: 22px;
  text-align: right;
  line-height: 40px;
}

/* Prototype Embed */
.prototype {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.prototype iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Small Video */
.small-video {
  width: 500px;
  height: auto;
  max-width: 100%;
  border-radius: 20px;
}
.footer-right p {
  margin: 0; 
  font-size: 22px; /* Adjust the font size */
  text-align: center; /* Center the text */
  line-height: 40px;
}

@media screen and (max-width: 480px) {
  .footer-content {
    flex-direction: column; /* Stack footer content vertically */
    text-align: center; /* Center footer text */
    padding: 20px 10px; /* Adjust padding */
  }

  .footer-left h2, .footer-right p {
    font-size: 16px; /* Reduce footer font sizes */
    text-align: center; /* Center align the text */
  }

  .footer-right p {
    margin-top: 5px; /* Reduce margin between footer elements */
  }
}
