
/* Register FreeSerif family with WOFF2, WOFF, and TTF */
@font-face {
  font-family: 'FreeSerif';
  src: url('../fonts/FreeSerif.woff2') format('woff2'),
       url('../fonts/FreeSerif.woff')  format('woff'),
       url('../fonts/FreeSerif.ttf')   format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'FreeSerif';
  src: url('../fonts/FreeSerifItalic.woff2') format('woff2'),
       url('../fonts/FreeSerifItalic.woff')  format('woff'),
       url('../fonts/FreeSerifItalic.otf')   format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: block;
}
@font-face {
  font-family: 'FreeSerif';
  src: url('../fonts/FreeSerifBold.woff2') format('woff2'),
       url('../fonts/FreeSerifBold.woff')  format('woff'),
       url('../fonts/FreeSerifBold.otf')   format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'FreeSerif';
  src: url('../fonts/FreeSerifBoldItalic.woff2') format('woff2'),
       url('../fonts/FreeSerifBoldItalic.woff')  format('woff'),
       url('../fonts/FreeSerifBoldItalic.otf')   format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: block;
}

/* Force FreeSerif everywhere */
html, body, * {
  font-family: 'FreeSerif', serif !important;
}
  
  a.ratio-3x2 {
    /* Not a link, but just in case: don't style anchors */
  }
  .ratio-3x2 {
    position: relative;
    width: 100%;
    padding-top: 66.6667%; /* Maintains 3:2 aspect ratio */
  }
  
  .ratio-3x2 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* Plaque Styling */
.project-plaque {
  margin-top: 15px;
  background: white;
  padding: 18px 20px;
  max-width: 500px;
  margin-left: auto;
  text-align: left;
  font-family: 'FreeSerif', serif;
  font-size: 1.1rem;
  line-height: 1.3;
}


.project-plaque plaque-title {
  font-weight: 600;
  display: block;
  margin-bottom: 0;
}

.project-plaque .plaque-subline {
  display: block;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.project-plaque .plaque-description {
  margin-top: 20px;
}





/* Body */
body {
  margin: 0;
  padding: 0;
  font-family: 'FreeSerif', serif;
  font-weight: 400;
  font-style: normal;
  background: #f9dcda;
  /* other declarations */
}



  
      /* Links up top */
  
  .fade-on-scroll {
  position: fixed;
  top: 18px;
  right: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  font-family: 'FreeSerif', serif;
  font-size: 1.6rem;
  color: blue;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1000;
}
.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-on-scroll-left {
  position: fixed;
  top: 18px;
  left: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: 'FreeSerif', serif;
  font-size: 1.6rem;
  color: blue;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1000;
}
.fade-on-scroll-left.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1990s-style blue-to-purple hover for nav links */
.fade-on-scroll a:hover,
.fade-on-scroll-left a:hover {
  color: purple;
}
/* Constrain images, videos, and iframes within .project-content to the wrapper's width */
.project-content img,
.project-content video,
.project-content iframe {
  max-width: 100%;
  height: auto;
  display: block;
}



/* Carousel Styling */

/* Layout Variants */
.centered {
  width: min(1000px, 90vw);
  margin-left: auto;
  margin-right: auto;
}



/* Container */
#container {
    display: block;
  }

  #projects-container {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    width: 100%;
  }



/* Project content: media centered, with gap below */
.project {
  margin: 150px auto;
  max-width: 1200px;
  width: 100%;
}

.project-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

.project-media {
  width: 100%;
}

.project-media img,
.project-media video,
.project-media iframe {
  width: 100%;
  height: auto;
  display: block;
}


  /* Media Queries */
  @media (max-width: 768px) {
    .plaque {
      position: relative;
      width: 100%;
      min-width: 0;
      transform: none;
      box-sizing: border-box;
    }

    .project-plaque {
      padding: 0px 6px;
          max-width: 100%;
          background: none;
    }
    .project-wrapper {
      width: 100%;
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
      box-sizing: border-box;
    }

  }

  



/* Hero/Footer Styling */
#hero {
  height: 100vh;
  background: #f9dcda;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

#footer {
  height: 60vh;
  background: #f9dcda;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(249, 220, 218, 1),
    rgba(250, 249, 246, 1),
    rgba(250, 249, 246, 1)
  );
  pointer-events: none;
}

#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to top,
    rgba(249, 220, 218, 1),
    rgba(250, 249, 246, 1),
    rgba(250, 249, 246, 1)
  );
  pointer-events: none;
}

#hero h1,
#footer h2 {
  font-size: 3rem;
  margin: 0;
  color: #222;
}
#footer h2 {
  font-weight: normal;
}
#hero-line {
  display: block;
}
#hero img {
  width: clamp(180px, 18vw, 200px);
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}







/* Video Wrapper Styles for Carousel Slides */
.video-wrapper {
  position: relative;
  z-index: 0;
}

.video-wrapper video,
.video-wrapper iframe {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
}

.embla__button--prev {
  left: 10px;
}

.embla__button--next {
  right: 10px;
}



html{
height: 100%;
}
/* Link styles */
a {
  color: blue; /* Set link color to blue */
  text-decoration: none; /* Remove default underline */
}
/* Hover and active link styles */
a:hover,
a:active,
a:focus {
  text-decoration: underline; /* Underline link on hover, click, or focus */
}


/* Headers elements */
.header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100svh; /* 100% of viewport height */
  background-image: linear-gradient(to bottom, 
  #f9dcda 0%, 
  #f9dcda 95%, 
  #f5f5f5  100%);
}
.header-block {
  text-align: center;
  margin: 0 auto;
  padding-top: 0px;
  background-color: ;
  
}
.header-block img {
  width: 45%; /* Scale logo to X% of browser width */
  max-width: 250px; /* Max width image */
}
.header-text {
  font-size: min(6vw, 46px); /
  line-height: 1.2;
  margin-right: 40px;
  margin-left: 40px;
  padding-top: 40px;
  max-width: 800px;
  background-color: ;
}
  .header-emailtext {
    margin-top: 20px; /* Adjust the top margin as desired */
    font-size: min(5vw, 2rem); /* Responsive font size up to a maximum of 44px */
  }


.selected-work {
  margin: 0px;
  overflow-x: hidden;
}
.container {
  background-color:;
  margin-top: 0px; /* Add margin-top for spacing */
  margin-bottom: 0px;
  padding: 15px;
  padding-bottom: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Change flex direction to column */
  position: relative; /* Add position relative */
  box-sizing: border-box; 
}
.container-social {
  margin: auto;
  background-color:;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Change flex direction to column */
  position: relative; /* Add position relative */
}


.slideshow-container {
  position: relative;
  width: 100%;
  padding: 0px;
  margin: auto;
  overflow: hidden;
  background-color: ;
  display: flex; /* Use flexbox layout */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
}
.slideshow-container img,
.slideshow-container iframe {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

/* image loading placeholder */
.image-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e9ecef;
  background-image: linear-gradient(90deg, #e9ecef 0%, #f8f9fa 50%, #e9ecef 100%);
  background-size: 200% 100%;
  animation: wave 2s infinite linear;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes wave {
  0% {
      background-position: 0 0;
  }
  100% {
      background-position: -200% 0;
  }
}

.carousel-item {
  text-align: center; /* Center images horizontally */
}
  /* CSS for controlling the fade transition speed specific to carousels */
  #myCarousel1 .carousel-item,
  #myCarousel2 .carousel-item,
#myCarousel3 .carousel-item {
    transition-property: opacity;
    transition-duration: 0.42s; /* Adjust the duration as needed */
  }
/* Positioning for navigation arrows */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 10px;
  background: transparent;
  border: none;
  outline: none;
  display:block;
  opacity: 1;
}
.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}
/* Global CSS class for carousel navigation arrow images */
.carousel-arrow-img {
  width: 7vw;
  max-width: 100px;
  min-width: 58px;
}
/* Custom CSS for text boxes */
.textbox {
  font-family: 'FreeSerif', serif;
  font-weight: 400;
  font-style: normal;
  background-color: white;
  max-width: 600px;
  min-width: 600px;
  padding: 20px;
  margin-top: 20px; /* Add margin-top for spacing */
  margin-left: auto; /* Align to the right */
  margin-bottom: 0px; /* Add margin-bottom for spacing */
  text-align: left; /* Align text to the left */
  font-size: 1.1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  /* Adjust this value based on when you want to apply these styles */

  .c-hinge {
    margin-right: 8%; /* 8% from the left */
    width: calc(98% - 2px); /* Calculate width dynamically */
  }
  
  .c-gap {
    margin-left: 12%; /* 8% from the left */
    width: calc(88% - 5px); /* Calculate width dynamically */
  }
  .c-cookbook {
    margin-right: 10%; /* 8% from the left */
    width: calc(90% - 5px); /* Calculate width dynamically */
  }
  .c-naps {
    margin-left: 15%; /* 8% from the left */
    width: calc(75% - 5px); /* Calculate width dynamically */
  }
  .c-secondhand {
    margin-right: 15%; /* 8% from the left */
    width: calc(85% - 5px); /* Calculate width dynamically */
  }
  .c-wil3d {
    margin-left: 12%; /* 8% from the left */
    width: calc(88% - 5px); /* Calculate width dynamically */
  }
  .c-chase {
    margin-left: 20%; /* 8% from the left */
    width: calc(80% - 5px); /* Calculate width dynamically */
  }

}



@media (max-width: 600px) {
  
  .container {
    padding-bottom: 100px;
    padding-left: 2px;
    padding-right: 2px;
  }
  /* remove padding around iframe videos so play full width */
  iframe#phonebook-vid,
  iframe#everythingisfine-vid {
    padding: 0 !important;
  }
    .carousel-control-prev,
    .carousel-control-next {
      display: block !important; /* Show arrows always and override hover behavior */
      opacity: 1 !important;;
    }
    .navigationx {
      font-size: 24px !important;
      padding: 16px !important; 
      text-align: center !important; /* Center text horizontally */
      background-color: white;
      border-top: 2px solid blue; /* Add a 1px solid blue border along the top */
      opacity: 0; /* Initially hidden */
      transition: opacity 0.3s; /* Smooth transition */
    }
    .navigationx.visible {
      opacity: 0.93; /* Visible when .visible class is added */
    }
    .textnx {
      margin-right: 18px; /* Adjust the right margin to create space */
  }
  /* To prevent extra spacing after the last element */
  .textnx:last-child {
      margin-right: 0; /* Remove margin on the last element */
  }
  .textbox {
    background-color: transparent;
    min-width: 100%;
    font-size: 18.5px;
    line-height: 1.2;
    padding: 0px;
  }
  .header-text {
    font-size: 34px !important;
    line-height: 1.1 !important;
}
.basura-text-title {
  font-size: 28px !important;
  line-height: 1.3 !important;
}


.basura-text-xl {
  font-size: 32px !important;
  line-height: 1.2 !important;
}
.basura-text-l {
  font-size: 30px !important;
  line-height: 1.3 !important;
}
.basura-text-ml2{
  font-size: 28px !important;
  line-height: 1.4 !important;
}
.basura-text-ml{
  font-size: 26px !important;
  line-height: 1.4 !important;
}
.basura-text-mm{
  font-size: 21px !important;
  line-height: 1.2 !important;
}
.basura-text-m{
  font-size: 18px !important;
  line-height: 1.4 !important;
}
.basura-text-s{
  font-size: 16px !important;
  line-height: 1.3 !important;
}

  .press-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }
}



@media (max-width: 599px) {
  .navigation {
    display: none; /* Hide navigation at screen sizes below 600px */
  }
}
@media (min-width: 600px) {
.navigationx {
  display: none; /* Hide the navigationx element on screens wider than 600px */
}
.press-marquee {
  display: none; /* Hide the press section on screens below 600px */
}
}


.pill {
  background-color: blue;
  border: none;
  color: white;
  padding: 3px 7px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 4px 0px 0px;
  border-radius: 7px;
  cursor: none;
  font-family: 'nimbus-regular';
  font-size: 14px;
}

/* General Navigation */

.navigation {
  font-size: 24px;
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s; /* Smooth transition */
}
.navigation.visible {
  opacity: 1; /* Visible when .visible class is added */
}
.navigation a {
  color: blue;
  text-decoration: none;
  margin-left: 9px;
}

.navigation a:hover {
  text-decoration: underline;
}


  


  /* Lower container */
.lower-container {
  align-items: center;
  margin-bottom: 0px;
  background-image: linear-gradient(to top, 
  #f9dcda 0%, 
  #f9dcda 95%, 
  #f5f5f5  100%);
  
}
  .basura-footer {
    font-size: .95rem;
    color: silver;
    padding-bottom: 20px;
    margin: 0 auto;
    text-align: center;
    background-color:;
  }


  
  /* about page specific */  /* about page specific */  /* about page specific */

  body#about{background-color:#f9dcda;}


  
  /* Headers elements */
.about-header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
}
.about-header-block {
  text-align: center;
  margin: 0 auto;
  padding-top: 0px;
  background-color: ;
  
}
.about-header-block img {
  width: 38vw; /* Scale logo to X% of browser width */
  max-width: 200px; /* Max width image */
}
.about-header-text {
  font-size: min(6vw, 2.8rem); /* Responsive font size up to a max */
  line-height: 1.2;
  margin-right: 40px;
  margin-left: 40px;
  max-width: 800px;
  background-color: ;
}

.container-about {
  background-color:;
    margin: 0 auto; /* Center the container horizontally */
    padding: 15px;
    margin-bottom: 0px;
    font-size: 1.5rem;
    line-height: 1.5;
     box-sizing: border-box;
}

.basura-container {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  margin-bottom: 40px;
}
.about-hr {
  margin-top: 60px;
  margin-bottom: 40px;
   box-sizing: border-box;
}

.basura-button { /* the headline text in the about page accordions */
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding-right: 80px; /* Adjusted padding */
  padding-left: 20px; /* Adjusted padding */
  padding-top: 20px; /* Adjusted padding */
  padding-bottom: 20px; /* Adjusted padding */
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  transition: border-bottom-color 0.3s ease; /* Transition border-bottom color on click */
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
  box-sizing: border-box;
}

/* Button hover and active styles */
.basura-button:hover,
.basura-button:focus {
  background-color: transparent;
}

/* Toggle button active state with different border color */
.basura-button.active {
  border-bottom-color: #333;
  transition: border-bottom-color 0.3s ease; /* Transition border-bottom color on click */
  background-color:; /* Yellow background color when active */
}

/* Hide accordion content by default */
.basura-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Transition max-height for accordion animation */
  margin: 0; /* Adjust margin around the text */
  border-bottom: 1px solid #333; /* Divider line at the bottom of accordion content */
}

/* Padding for text areas within accordion content */
.text-area {
  font-size: 20px;
  padding-top: 10px;
  padding-left: 20px;
padding-bottom: 40px;
  line-height: 1.4;
  width: 80%; 
  max-width: calc(100% - 40px); /* Calculate max-width to accommodate padding */
  box-sizing: border-box;
}

/* Faded-in background and text color for active accordion */
.basura-accordion-content.active {
  background-color: ; /* White background color for active accordion */
}

.basura-accordion-content.active .text-area {
  background-color: ; /* White background color for text area in active accordion */
}


/* Unified text sizes */

.basura-text-title {
  font-size: 32px;
  line-height: 1.3;
}
.basura-text-xl {
  font-size: 32px;
  line-height: 1.3;
}
.basura-text-l {
  font-size: 30px;
  line-height: 1.3;
}
.basura-text-ml2{
  font-size: 28px;
  line-height: 1.4;
}
.basura-text-ml{
  font-size: 24px;
  line-height: 1.4;
}
.basura-text-mm{
  font-size: 21px;
  line-height: 1.3;
}
.basura-text-m{
  font-size: 20px;
  line-height: 1.4;
}
.basura-text-s{
  font-size: 18px;
  line-height: 1.3;
}


/* Lower page social buttons */
a .btn.btn-custom {
  background-color: whitesmoke; /* Default background color */
  color: blue; /* Default text color */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition effect */
  border: none;

}

a .btn.btn-custom:hover,
a .btn.btn-custom:focus {
  background-color: blue; /* New background color on hover and focus */
  color: whitesmoke; /* New text color on hover and focus */
  border: none;
}

a .btn.btn-custom:active {
  background-color: blue; /* Background color when button is clicked */
  color: white; /* Text color when button is clicked */
  border: none;

}

/* Reset to default styles when button is released */
a .btn.btn-custom:focus:not(:active) {
  background-color: whitesmoke; /* Default background color on focus release */
  color: blue; /* Default text color on focus release */
  border: none;
}

/* Ensure hover state works after button is clicked */
a .btn.btn-custom:not(:active):hover {
  background-color: blue; /* New background color on hover (restore) */
  color: whitesmoke; /* New text color on hover (restore) */
  border: none;
}

 

/* Press list styling */
.press-list {
  column-count: 3;
  column-gap: 2rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.press-list li {
  break-inside: avoid;
  margin-bottom: 0.2em;
  padding-left: 0;
  line-height: 1.2;
}
@media (max-width: 600px) {
  .press-list {
    column-count: 2 !important;
  }
}

/* GMA abbreviation logic */
.press-full {
  display: inline;
}
.press-abbr {
  display: none;
}
@media (max-width: 600px) {
  .press-full {
    display: none !important;
  }
  .press-abbr {
    display: inline !important;
  }
}
@media (min-width: 768px) {
  .container-social .row {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
  }

  .container-social .col-md-4 {
    flex: 1 1 30%;
    max-width: 30%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
}

/* Ensure social buttons never overflow their columns */
.container-social .btn-custom {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

.social-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  justify-content: space-between;
  padding: 0 12px;
  box-sizing: border-box;
}

.social-buttons-wrapper a {
  flex: 1 1 30%;
  max-width: 33.333%;
}

.btn-custom {
  width: 100%;
  font-size: 20px;
  padding: 10px 8px;
  border-radius: 10px;
  background-color: whitesmoke;
  color: blue;
  text-align: center;
  border: none;
  white-space: normal;
}

.btn-custom:hover {
  background-color: blue;
  color: white;
}

@media (max-width: 768px) {
  .social-buttons-wrapper a {
    flex: 1 1 100%;
    max-width: 100%;
  }
}