body {
  margin: 0;
  font-family: 'Albert Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
}

/* Layout containers */
.container {
  margin-left: 15vw;
  margin-right: 15vw;
}

header {
  padding-top: 32px;
  background: #fff;
}

/* Keep header content aligned to the same page margins as `main` */
header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
header .container {
  position: relative;
}

/* Hamburger / mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* Use Font Awesome glyph as hamburger icon */
.nav-toggle .fa-icon {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", sans-serif;
  font-weight: 900; /* solid style */
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  color: #222;
  transition: transform .18s ease, color .18s ease;
}
/* Slight visual change when open */
body.nav-open .nav-toggle .fa-icon {
  transform: rotate(12deg) scale(0.98);
}


.site-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #222;
  text-decoration: none;
  border: none;
  display: inline-block;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: border 0.2s;
}

nav a:hover {
  border-bottom: 1px solid #222;
}

main {
  margin-top: 32px;
}

/* Site footer */
.site-footer {
  margin-top: 3rem;
  color: #666;
  font-size: 0.95rem;
  padding: 18px 0;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer .footer-left {
  text-align: left;
}
.site-footer .footer-right {
  text-align: right;
}
.site-footer .footer-right a {
  margin-left: 12px;
  color: inherit;
  text-decoration: none;
}
.site-footer svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
}

/* Icon hover styles */
.site-footer .footer-right a {
  transition: color 180ms ease, transform 180ms ease;
}
.site-footer .footer-right a:hover { 
  transform: translateY(-2px);
}

/* Individual icon colors on hover */
.site-footer .footer-right a.icon-blog:hover { color: #333; }
.site-footer .footer-right a.icon-youtube:hover { color: #FF0000; }
.site-footer .footer-right a.icon-instagram:hover { color: #C13584; }

@media (max-width: 600px) {
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .site-footer .footer-right {
    text-align: left;
  }
}

@media (max-width: 900px) {
  /* show hamburger, hide the inline nav until toggled */
  header .container {
    align-items: center;
  }
  .nav-toggle {
    display: flex;
  }
  header .container nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
  }
  /* when open, show nav */
  body.nav-open header .container nav {
    display: flex;
  }

  /* single-column masonry on smaller screens */
  .masonry {
    column-count: 1;
    column-gap: 0;
  }
  /* ensure bricks behave as full-width stacked items on mobile */
  .masonry .brick {
    display: block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* About two-column layout */
.about-grid {
  display: flex;
  gap: 15vw;
  align-items: flex-start;
}

.about-left {
  flex: 1 1 65%;
}

.about-right {
  flex: 0 0 35%;
}

.photo-placeholder {
  width: 100%;
  height: 320px;
  background: #f3f3f3;
  border: 1px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.95rem;
}

/* About image styling */
.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  object-fit: cover;
}

/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
  .about-grid {
    display: block;
  }
  .about-right {
    margin-top: 1.5rem;
    transform: none;
  }
}

.masonry {
  column-count: 6;
  column-gap: 8px;
}

/* Masonry grid */
.masonry {
  transition: all .5s ease-in-out;
  column-gap: 30px;
  column-fill: initial;
}

/* Masonry item */
.masonry .brick {
  margin-bottom: 30px;
  display: inline-block; /* Fix the misalignment of items */
  vertical-align: top; /* Keep the item on the very top */
}

/* Masonry image effects */
.masonry .brick img {
  width: 100%;
  height: auto;
  display: block;
  transition: all .5s ease-in-out;
  backface-visibility: hidden; /* Remove Image flickering on hover */
  box-sizing: border-box;
}

.masonry .brick:hover img {
 # opacity: .85;
}

/* Bordered masonry */
.masonry.bordered {
  column-rule: 1px solid #eee;
  column-gap: 50px;
}

.masonry.bordered .brick {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

/* Gutterless masonry */
.masonry.gutterless {
  column-gap: 0;
}

.masonry.gutterless .brick {
  margin-bottom: 0;
}

/* Masonry on tablets */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .masonry {
    column-count: 2;
  }
}

/* Masonry on big screens */
@media only screen and (min-width: 1024px) {
  .desc {
    font-size: 1.25em;
  }

  .intro {
    letter-spacing: 1px;
  }

  .masonry {
    column-count: 3;
  }
}

/* Mobile-only overrides: single-column stacked masonry (phones) */
@media (max-width: 600px) {
  .masonry {
    column-count: 1 !important;
    column-gap: 0 !important;
  }
  .masonry .brick {
    display: block !important;
    width: 100% !important;
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}