/* Font Declarations */
@font-face {
  font-family: 'PP Neue Montreal Book';
  src: url('PPNeueMontreal-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Neue Montreal Medium';
  src: url('PPNeueMontreal-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Neue Montreal Bold';
  src: url('PPNeueMontreal-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Neue Montreal Mono';
  src: url('PPNeueMontrealMono-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Editorial New Ultralight';
  src: url('PPEditorialNew-Ultralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PPEditorialNew-Ultralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('PPNeueMontreal-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  --primary-color: #666666;
  --secondary-color: #484848;
  --accent-color: #323232;
  --light: #8e8e8e;
}

body {
  background-color: #F5F5F5;
  margin: 2rem;
  overflow-x: hidden;
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.image-container {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.image-container:hover {
  transform: translateY(-4px);
}

.portfolio-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.image-container {
  width: 100%;
  border-radius: 8px;
}

.text-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.badges-grid{
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: start;
    max-width: 800px;
}

.badge {
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-family: 'PP Neue Montreal Mono', monospace;
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: 0.06rem;
}

.zeroone{
    background-color: #EFE5F9;
    border: 1.5px solid #ab97c6;
    color: #8B5FC7;
}

.saas{
    background-color: #D0E9D5;
    border: 1.5px solid rgb(142, 175, 156);
    color: #096531;
}

.endtoend{
    background-color: #DCE9FF;
    border: 1.5px solid #8ea8da;
    color: #104AB6;
}

.productdesign{
    background-color: #E5E5F0;
    border: 1.5px solid #aba2bb;
    color: #3D2D58;
}

.contentstrategy{
    background-color: #FADDDD;
    border: 1.5px solid #e49ea4;
    color: #BD0715;
}

.frontend{
    background-color: #fce6f1;
    border: 1.5px solid #ecacc7;
    color: #bf4679;
}

p {
  color: var(--primary-color);
  font-family: 'PP Neue Montreal Book', sans-serif;
  font-size: 1rem;
  line-height: 160%;
  letter-spacing: 0.03rem;
  margin: 0;
}

.about{
  font-family: 'PP Neue Montreal Mono', monospace;
  margin: 0 0 2rem 0;
}

.abouth1{
  margin: 7rem 0 3rem 0;
}

h1 {
  color: #7e7e7e;
  font-family: 'PP Editorial New Ultralight', sans-serif;
  font-weight: 100;
  font-size: 2.25rem;
  margin: 7rem 0 1rem 0;
}

.smol{
font-size: 2rem;
margin: 0 0 7rem 0;
}

i {
  font-family: 'PP Editorial New Ultralight', sans-serif;
  font-style: italic;
  letter-spacing: 0.03rem;
  color: #1B00E8;
  font-weight: 100;
}

h2 {
  color: var(--light);
  font-family: 'PP Neue Montreal Mono', monospace;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  margin: 1rem 0;
  text-transform: uppercase;
}

h3 {
  color: var(--secondary-color);
  font-family: 'PP Editorial New Ultralight', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.01rem;
  margin: 0.75rem 0 0.25rem 0;
}

@media (min-width: 1024px) {

  h1 {
    font-size: 3rem;
    margin: 11rem 0 2rem 0;
    width: 50%;
  }

  .smol{
    font-size: 2rem;
    margin: 0 0 7rem 0;
    width: 50%;
  }

    h2 {
    font-size: 1rem;
    margin: 0rem 0 1rem 0;
  }

  h3 {
    font-size: 2rem;
    margin: 1rem 0 0.5rem 0;
  }

  p {
    margin: 0 0 2.5rem 0;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .image-container {
    height: 400px;
    /* width: 100%; */
  }

  .badges-grid{
    margin: 1rem 0;
  }
}