/*
Bryce Dixon  March 2026
Portfolio Website
This website was built on top of a website I created in Dec 2024 for COMP 2681.

This is the CSS styles for the project pages of my website

*/
/* Format projects to not overexpand */
.projects {
  max-width: 1000px;
  margin: auto;
  padding: 0px 20px 30px 20px;
}

.projects h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.projects-intro {
  margin-bottom: 40px;
  color: #666;
  font-size: 1.05rem;
}


/* Featured Project CSS */

.featured-project {
  /* Allow items to format neatly to the page */
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.featured-project img {
  width: 50%;
  border-radius: 10px;
  border: 1px solid black;
}

.featured-project video, .featured-project iframe {
  width: 50%;
  /* height: 0%; */
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid black;
}

.tech {
  /* Tech used for the project */
  color: #888;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.project-links a {
  margin-right: 15px;
  text-decoration: none;
  font-weight: bold;
}


/* Project Grid */

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Project Card = individual projects */

.project-card {
  border: 2px solid #000000;
  padding: 20px;
  border-radius: 10px;
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid black;
}

.project-card video, .project-card iframe {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid black;
}

.project-card a {
  text-decoration: none;
  font-weight: bold;
  padding-right: 15px;
}

/* Add hover effect for UI enhancement */
.project-card:hover {
  transform: translateY(-5px);
  transition: 0.2s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.project-card ul {
    font-size: 1.05rem;
}

.project-card li {
    margin-bottom: 8px;
}

.project-card li:last-child {
    margin-bottom: 0;
}

/* ========================================
   Contact FORM
   ======================================== */
.projects-contact {
    background-color: #f2f2f2;
}

.projects-contact {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 70px 30px;
}

.projects-contact h2 {
    font-size: 2.3rem;
    color: #002554;
}

.projects-contact p {
    max-width: 650px;
    margin: 0 auto 30px auto;
    color: #555;
    line-height: 1.6;
    font-size: 1.05rem;
}

.projects-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #01a2e0;
    color: white;
    border: 2px solid #01a2e0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.projects-button:hover {
    background-color: #002554;
    border-color: #002554;
    text-decoration: none;
}


/* Reformat for cellular devices */

@media (max-width: 768px) {

  .featured-project {
    flex-direction: column;
  }

  .featured-project img,
  .featured-project video, 
  .featured-project iframe {
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

}