/* ?This is where reusable styling of this template will be. 
   !Will contain things like:
   * Button styling
   * Background color styling
   * padding and margin
*/

.container {
  max-width: var(--width-medium);
  margin: 0 auto;
  padding: 2rem 2rem;
}

h1::selection,
h2::selection {
  color: #111;
  background: var(--primary-color);
}


/* Header Container */
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 2rem;
}

.header-container > div {
  margin-top: 1rem;
}

.content-text {
  text-align: left;
  margin: 1.5rem 0;
}

.content-text h1 {
  font-size: 2rem;
  transition: 0.2s ease-in-out;
}


/* Project cards */
.card {
  padding: 1rem;
  background: var(--card-background);
  color: #ffffff;
  border-radius: 5px;
  transition: 0.4s ease-in-out;
  cursor: pointer;
}

.card:hover .project-info {
  opacity: 1;
}


/* Media Queries */
@media (max-width: 768px) {
  .header-container {
    margin-top: 1.5rem;
    text-align: center;
  }

  .content-text h1 {
    font-size: 1.2rem;
  }
}
