@font-face {
  font-family: Italiana;
  src: url(fonts/Italiana-Regular.ttf);
}
@font-face {
  font-family: DeFonte;
  src: url(fonts/DeFonte/DeFonte_reduced_DemiGras.otf);
}
@font-face {
  font-family: tan nimbus;
  src: url(fonts/tan-nimbus.otf)
}
@font-face {
  font-family: IBM Plex Mono;
  src: url(fonts/ibm_plex_mono/IBMPlexMono-Regular.ttf);
}
@font-face {
  font-family: Bricolage;
  src: url(fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf);
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: #222222;
  line-height: 1.5;
}

.site-header {
   text-align: center; 
   padding:  60px 20px 60px; 
   font-family: 'DeFonte';
  background-color: #f28fb1;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  }
.site-title {
  font-size: 5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'tan nimbus';
}
a:link {
  color: #777777;
  text-decoration: underline;
}
a:visited {
  color: #777777;
  text-decoration: none;
}
.site-subtitle {
  margin-top: 8px;
  font-size: 1rem;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.about-me {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.about-me-photo {
  flex: 0 0 400px;
}

.about-me-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.about-me-text {
  flex: 1;
  font-family: 'Bricolage';
  font-size: 1rem;
  line-height: 1.7;
  color: #222222;
}

.section-title {
  font-family: 'DeFonte';
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #222222;
  text-decoration: underline;
}
hr.pink {
  border: 1px solid #f28fb1;
}

@media (max-width: 600px) {
  .about-me {
    flex-direction: column;
    text-align: center;
  }

  .about-me-photo {
    flex: none;
    width: 100%;
    max-width: 300px;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 20px 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f2f2f2;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item img {
  cursor: zoom-in;
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.gallery-item img.zoomed {
  position: fixed;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: calc(100vw - 2em);
  max-height: calc(100vh - 2em);
  object-fit: contain;
  background-color: transparent;
  border-radius: 8px;
  z-index: 1000;
  cursor: zoom-out;
  aspect-ratio: auto;
  animation: zoomIn 0.3s ease forwards;
}

body.lightbox-open::before {
  content: "";
  position: fixed;
  inset: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 999;
}

.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: #999999;
  font-size: 0.85rem;
  border-top: 1px solid #eeeeee;
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.video-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 20px 60px;
}

.video-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
} 

.video-title {
  font-family: 'DeFonte';
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #777777;
}
@media (max-width: 700px) {
  .video-gallery {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 20px 60px;
  text-align: center;
  font-family: 'Bricolage';
}

.contact-info > p {
  color: #555555;
  margin-bottom: 1.5rem;
}

.contact-header {
  font-family: 'DeFonte';
  font-size: 5rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #222222;
  text-decoration: underline;
}
.contact-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links a {
  color: #777777;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-links a:hover {
  color: #f28fb1;
  border-bottom-color: #f28fb1;
}
