/* * Reusable Section Styles for Product and Portfolio Pages 
 * (Previously in homepage.css)
 */

.header-container{
  display: flex;
  align-items: center;
  flex-direction: row;
}


.vector-profile {
  flex: 1;
  width: 10vw;
  border: solid 0px #fffdfd;
  border-radius: 10px;
  margin: 0px 5vw 0px 0em ;

}

.info-table{

  flex: 1;
  text-align: left;

}


.separator{
  flex: 1;
  margin-left: 50px;
  height: 30px
}

.sep-white{
  background-color: white;
}

.sep-black{
  background-color: #000000;
}


.black-section{
  background-color: #000000;
  padding: 50px 15vw;
}

.black-section a:link {
text-decoration: none;
}

.black-section h1 {
  color: white;
  padding: 20px 0;
  text-transform: uppercase;
  text-align: left;
  
}

.black-section h2 {
  color: white;
  padding: 20px 0;
  text-transform: uppercase;
  text-align: center;

}

.black-section h3{
    color: #ffffff;
    text-transform: uppercase;

}

.black-section p {
    color: #ffffff;
    
}

/* White Section - Used for light mode content/headers */
.white-section{
    background-color: #f9f9f9;
      padding: 100px 15vw;
  }

  .white-section h1{
    text-align: left;
    text-transform: uppercase;
    padding: 20px 0;
    color: #000;
  }
  
/* Portfolio Category Styles (Used on the Homepage) */

.portfolio-category{
  margin: 15px 0;
}

.stripes-portfolio {
    height: 100px;
    
    -webkit-background-size: 50px 50px;
    -moz-background-size: 50px 50px;
    background-size: 100px 100px ;
    padding: 5px;
  }
  .deg45-white {
  background-color: transparent;
  background-image: linear-gradient(45deg, #ffffff 25%, transparent 25%, transparent 50%, #ffffff 50%, #ffffff 75%, transparent 75%, transparent);
  }

.portfolio-container {
  position: relative;
  overflow: hidden;

  border-radius: 5px;
  height: 150px;
  background-color: #ffffff10;

  display: flex;
  justify-content: center;
  align-items: center;

  color: white;
  text-decoration: none;
  transition: all .3s ease;
  
  z-index: 1;
}



/* Pseudo-element to hold the background */
.portfolio-container::before {
  content: '';
  position: absolute;
  inset: 0;

  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: invert(00%);
  opacity: 0.2;
  
  transition: all .3s ease;

  z-index: 0;

}

.portfolio-container:hover::before {
  opacity: .6; 
  filter: invert(0%);

}

/* Content stays on top */
.portfolio-container > * {
  position: relative;
  z-index: 2;
}


.portfolio-container h2{
  color: white;
  transition: color .3s ease ;
}

.portfolio-container h2:hover {
  color: red;

}

/* About Section Styles (Used on the Homepage) */
.about-container{
  display: flex;
  flex-direction: row;
}

  .profile{
    
    width: 15vw;
    height: 100%;
  }

  .about-text{
    padding-left: 50px;
    text-align: justify;
  }


  .a-text-link:link{
    text-decoration: none;
    color: #D41700;
    font-weight: bold;

  }

/* Contact/Social Media Section Styles (Used on the Homepage) */
.icons-container{
  justify-content: center;
  align-items: center;
  display: flex;
}

.icon{
  fill: white;
  width: 50px;
  margin: 30px;
  transition: all .3s ease-in-out;
}

.icon:hover{
  fill: #D41700;
}


/* Responsive styles for these sections */
@media (max-width: 900px) {
  
  .about-container{
    flex-direction: column;
  }

  .about-text{
    padding: 40px 0 0 0;
  }

  .profile{
    align-self: center;
    width: 60%;
 
  }

  .header-container{
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 10vw;
  }

  .vector-profile {
    height: 60vw; 
    width: 100%; /* Ensure it spans the full width of the container */
    margin: 0 0 20px 0; /* Add margin below it */
  }
  
.info-table{
  flex: 1;
  text-align: center;
}

.info-table h1{
  text-align: center;
}

}


@media (max-width: 550px) {

  .header-container{
  padding-top: 10vw;
  }
}