@font-face {
    font-family: 'Averia Serif Libre';
      src: url('../css/Averia_Serif_Libre/AveriaSerifLibre-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Averia Serif Libre';
      src: url('../css/Averia_Serif_Libre/AveriaSerifLibre-LightItalic.woff') format('woff');
      font-weight: 300;
      font-style: italic;
  }
  
  @font-face {
    font-family: 'Averia Serif Libre';
      src: url('../css/Averia_Serif_Libre/AveriaSerifLibre-Regular.woff') format('woff');
      font-weight: 400;
      font-style: normal;
  }
  
  @font-face {
    font-family: 'Averia Serif Libre';
      src: url('../css/Averia_Serif_Libre/AveriaSerifLibre-Bold.woff') format('woff');
      font-weight: 700;
      font-style: normal;
  }
  
  @font-face {
    font-family: 'Averia Serif Libre';
      src: url('../css/Averia_Serif_Libre/AveriaSerifLibre-BoldItalic.woff') format('woff');
      font-weight: 700;
      font-style: italic;
  }
  
  @font-face {
    font-family: 'Overpass';
      src: url('../css/Overpass/Overpass-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Overpass';
      src: url('../css/Overpass/Overpass-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Overpass';
      src: url('../css/Overpass/Overpass-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Overpass';
      src: url('../css/Overpass/Overpass-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Overpass';
      src: url('../css/Overpass/Overpass-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Montserrat';
      src: url('../css/Montserrat/Montserrat-Light.woff') format('woff');
    font-weight: 700;
  }


html {
  --background-color: #FEF9EE;
  --titlesandtext: #5C6274;
  --ink: #3C4454;
  --hovercolor: #CE575A;
  --accent: #B8625F;
  --line: #E8E1D2;
  --footer-bg: #3C4454;
  --serif: 'Newsreader', 'Averia Serif Libre', Georgia, serif;
  --sans: 'Overpass', system-ui, sans-serif;
  --page-pad: clamp(1.5rem, 5.6vw, 3rem);
  scroll-behavior: smooth;
}
  
  * {
    box-sizing: border-box;
    }
 
body {
  background-color: var(--background-color);
  background-size: cover;
  color: var(--titlesandtext);
   width: 100%;
   margin: 0;
}

#currentPage {
  color: #FF2B27;
}



h1 { 
  font-family: 'Averia Serif Libre', Georgia, sans-serif;
  font-weight: 700; /* BOLD */
  font-size: 30px;
}

h2 { 
  font-family: 'Overpass', Georgia, sans-serif;
  font-size: 20px; /* BOLD */
  font-weight: 700;
}

h3 { 
  font-family: 'Averia Serif Libre', Georgia, sans-serif;
  font-weight: 400; /* SKINNY */
  font-size: 20px;
  margin: 0px;
}

h4 { 
  font-family: 'Overpass Mono', Georgia, sans-serif;
  font-weight: 300; /* SKINNY */
  font-size: 18px;
}
    
a {
  font-family: 'Overpass', Georgia, sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  color:#36454F;
}

p {
    font-family: 'Overpass', Georgia, sans-serif;
    font-weight: 400;
}

#currentPage {
    color: var(--hovercolor);
}

.navbar {
  position: sticky; 
  top:0; 
  left: 0; 
  width: 100%; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: #FEF9EE;
  border-bottom: 1px solid #ccc;
}

.navbar .logo {
padding: 12px 30px;
margin: 16px 0;
}

.navbar .logo a {
  color:#333B48;
}


.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  position: relative;
  background-color: #FEF9EE;
  padding: 12px 20px;
}
.menu {
  display: flex;
}
.menu li {
  padding-left: 30px;
  display: inline;
  margin: 0 10px;
  font-size: 18px;
}
.menu li a {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  transition: 0.15s ease-in-out;
  position: relative;
  text-transform: uppercase;
}

.open-menu, .close-menu {
  position: absolute;
  color: var(--titlesandtext);
  cursor: pointer;
  font-size: 1.5rem;
  display: none;
}

.open-menu {
  top:50%;
  right: 20px;
  transform: translateY(-50%);
}

.close-menu {
  top: 20px;
  right: 20px;
}

#check {
  display: none;
}

   .menu-items li {
       display: inline;
       margin: 0 10px;
       font-size: 18px;
   }
   
   .menu-items li a {
       color: #36454F;
       text-decoration: none;
   } 


   .content {
    margin: 20px 6rem 0px 6rem;
    padding: 40px 0;
    display: flex;
    align-items: center;
  }
  
  .content-text {
    display: block;
    padding-bottom: 30px;
  }

  .content-text h1 {
    font-size: 3em;
    font-weight: bold;
  }
  
  .content-text p {
    max-width: 600px;
    line-height: 1.6;
    font-size: 3em;
  }

.content img {
  max-width: 500px;
}
@media (min-width: 1200px) { 

  .content-text {
    width: 50vw;
  }

.content img{
  height: auto;
  width: auto;
}
}

@media (min-width: 900px) and (max-width: 1199px) { 

  .content-text {
    width: 50vw;
  }

  .content img {
    max-width: 500px;
    height: auto;
  }
}


@media (max-width: 899px) { 

  .content {
    flex-direction: column;
  }

  .content img {
    width: auto;
    height: 80%;
  }
  
}

@media (max-width: 599px) {

  .content .text {
    margin: 20px 0 10px 0;
    width: 100%;
    font-size: 20px;
}

.content img {
  width: 80%;
  height: auto;
}
}

/* ============ HERO ============ */
.hero {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--page-pad) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem;
}
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 1.75rem;
}
.hero-sub { max-width: 440px; font-size: 1.05rem; line-height: 1.65; margin: 0; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 440px; height: auto; }


/* ============ FEATURED PROJECTS (staggered 2-col grid) ============ */
.projects { max-width: 1200px; margin: 0 auto; padding: 1rem var(--page-pad) 6rem; height: auto; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 2.5rem;
}
.section-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--titlesandtext); margin: 0; border: 0;
}
.browse-all { font-size: 12px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.browse-all:hover { color: var(--hovercolor); border-color: var(--hovercolor); }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; align-items: start; }
.project-grid .project-card:nth-child(even) { margin-top: 3rem; }  /* the stagger */
.project-card { display: block; color: inherit; }
.project-card .thumb {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #EFEAE0;
}
.project-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0; border-radius: 0;
  transition: transform .5s ease;
}
.project-card:hover .thumb img { transform: scale(1.03); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 1rem 0 .5rem; padding: 0; }
.tags li {
  font-family: var(--sans); font-size: 11px; line-height: 1; padding: 6px 10px;
  border: 1px solid #D9D2C3; border-radius: 999px; color: var(--titlesandtext); background: transparent;
}
.project-card h3 { font-size: 1.75rem; color: var(--ink); line-height: 1.2; transition: color .2s; }
.project-card:hover h3 { color: var(--hovercolor); }

/* legacy classes still used by case-study pages */
#Roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-family: var(--sans); font-weight: 500; }
#Roles li { padding: 6px 10px; font-size: 12px; border-radius: 999px; border: 1px solid #D9D2C3; white-space: nowrap; }

/* buttons (resume page, etc.) */
.viewButton { display: inline-block; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: .06em; border-radius: 4px; margin: 10px 0; transition: background .2s; }
.viewButton span { display: block; padding: 14px 20px; }
.viewButton:hover { background: var(--hovercolor); }


/* UNDERLINE HOVER ANIMATION*/

.underline {
  display: inline-block;
  position: relative;
}

.underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  transition: transform 0.25s ease-out;
}

.underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  background-color: var(--hovercolor);
}

.underline::after {
  transform-origin: bottom right;
}

/* View Button */
.viewButton {
  position: relative;
  display: inline-block;
  background: #333B48;
  color: #fff;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  margin: 10px 0;
}

.viewButton span {
  display: block;
  padding: 15px 10px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.viewButton::before, .viewButton::after{
  content:"";
  width: 0;
  height: 7px;
  position: absolute;
  transition: all 0.2s linear;
  background: #989ea7;
}

span::before, span::after{
  content:"";
  width:7px;
  height:0;
  position: absolute;
  transition: all 0.2s linear;
  background: #989ea7;
}
.viewButton:hover::before, .viewButton:hover::after{
  width: 100%;
}
.viewButton:hover span::before, .viewButton:hover span::after{
  height: 100%;
}

.viewButton::before, .viewButton::after{
  transition-delay: 0.2s;
}
.viewButton span::before, .viewButton span::after{
  transition-delay: 0s;
}
.viewButton::before{
  right: 0;
  top: 0;
}
.viewButton::after{
  left: 0;
  bottom: 0;
}
.viewButton span::before{
  left: 0;
  top: 0;
}
.viewButton span::after{
  right: 0;
  bottom: 0;
}
.viewButton:hover::before, .viewButton:hover::after{
  transition-delay: 0s;
}
.viewButton:hover span::before, .viewButton:hover span::after{
  transition-delay: 0.2s;
} 


/*index introduction/homepage*/
.container {
  scroll-snap-type: y proximity; /* you can do horizontal scroll with x mandatory */
  overflow-y: scroll;
  height: 100vh;
  scroll-behavior: smooth;
  width: 100%;
  margin: auto;
}
/* 
section {
  height: 80vh;
} */

.Doyeon {
  padding: 13rem 0 10rem 0rem;
  text-align: center;
  display: grid;
  align-items: center;
  justify-content: center;
}

  .Doyeon h4 {
    margin-top: 10rem;
  }

  .Doyeon h1 {
    font-size: 3rem;
    margin-top: 3rem;
    padding: 0 10px;
    border-bottom: 2px solid #36454F;
  }
.Hello {
  color: #36454F;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Hello h2 {
  font-size: 18px;
}  

.ident {
  margin: 0 0 0 4rem;
}


@media (max-width: 900px) { 
  .Doyeon {
    padding: 13rem 0 10rem 10rem;
  }

  .Doyeon h4 {
    margin-top: 0rem;
}
  
  .Hello {
    padding: 0 50px;
  }
}

@media (min-width: 900px) { 
  .Hello {
    padding: 0 500px;
  }
}

/* PROJECT SECTION IN TWO COLUMNS 
.projects {
  margin: 0 7rem 50px 7rem;
  height: 100%;
}

.project-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin: 5rem 0;
  gap: 3rem;
}
  .projects h2 {
    font-size: 1.8em;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin: 0;
  }
  
.project-item.reverse {
  flex-direction: row-reverse;
}

.project-item img {
  width: 50%;
  border-radius: 30px;
  height: auto;
  border: 2px solid #36454F;
  object-fit: cover;
}

.project-text {
  width: 50%;
  text-align: left;
}

.project-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 10px 0;
}

.project-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 10px 0 10px 0;
}

.line {
  background: var(--titlesandtext);
  width: 60px;
  height: 7px;
  margin: 10px 0;
  border-radius: 5px;
}.projects {
  margin: 0 7rem 50px 7rem;
  height: 100%;
}

.project-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin: 5rem 0;
  gap: 3rem;
}

.project-item.reverse {
  flex-direction: row-reverse;
}

*/

/* ✅ Responsive Breakpoints */
@media (max-width: 1200px) {
  .projects {
    margin: 0 4rem 80px 4rem;
  }

  .project-text h1 {
    font-size: 2rem;
  }

  .project-text p {
    font-size: 1.1rem;
  }
}



@media (max-width: 600px) {
  .projects {
    margin: 0 1.5rem 60px 1.5rem;
  }

  .project-text p {
    font-size: 1rem;
  }
}


/* ✅ Responsive Breakpoints */
@media (max-width: 1200px) {
  .projects {
    margin: 0 4rem 80px 4rem;
  }

  .project-text h1 {
    font-size: 2rem;
  }

  .project-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
  .projects {
    margin: 0 2rem 80px 2rem;
  }

  .project-item {
    flex-direction: column;
    text-align: center;
    margin: 1rem;
  }

  .project-item.reverse {
    flex-direction: column;
  }

  .project-item img {
    width: 100%;
  }

  .project-text {
    width: 100%;
  }

  .project-text h1 {
    font-size: 1.8rem;
  }
  .viewButton {
    margin-top: 10px;
  }
}


@media (max-width: 600px) {
  .projects {
    margin: 0 1.5rem 60px 1.5rem;
  }

  .project-text p {
    font-size: 1rem;
  }
}
 

/* ============ FOOTER ============ */
footer, .footer {
  background: var(--footer-bg); 
  color: #fff;
  padding: 3rem var(--page-pad) 2.5rem;
  display: block; min-height: 0;
}
.footer-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
  border-top: 1px solid rgba(255,255,255,.14); 
  padding-top: 2.5rem; 
  display: flex; 
  justify-content: space-between; 
  gap: 2rem; }

footer a { color: #fff; font-size: 12px; font-weight: 500; display: inline-block; padding: 0; width: auto; }
footer a:hover { color: #F1B9B6; }
.footer-brand { 
  font-family: var(--serif); 
  font-size: 20px; 
  margin: 0 0 .9rem; 
  color: #fff; 
}
.socials, .footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav { align-self: flex-start; }

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .hero { 
    grid-template-columns: 1fr; 
    text-align: left; 
  }
  .hero-art { 
    order: -1; 
    justify-content: flex-start; }
  .hero-art img { 
    max-width: 280px; }
  .project-grid { 
    grid-template-columns: 1fr; }
  .project-grid .project-card:nth-child(even) { 
    margin-top: 0; }
}
@media (max-width: 680px) {
  .menu {
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 0;
    width: 80%; height: 100vh; 
    position: fixed; top: 0; right: -100%; z-index: 100;
    background: var(--background-color); transition: all .2s ease-in-out;
  }
  .menu li { margin-top: 36px; }
  .menu li a { font-size: 14px; padding: 10px; }
  .open-menu, .close-menu { display: block; }
  #check:checked ~ .menu { right: 0; }
  .footer-inner { flex-direction: column; }
}





    



/* CASE STUDY! */

.caseStudy {
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
}

.caseStudy h1 {
  text-align: center;
  font-size: 50px;
}

.caseStudy-thumbnail {
  display: flex;
  margin: 2rem 20px;
  align-items: center;
}

.thumbnail-image {
  border-radius: 30px;
  margin: 10px auto;
  max-width: 1200px;
}

.caseStudy-overview-text  {
  margin: 0 20px;
  width: 80%;
}

.caseStudy-overview-text p {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.caseStudy-overview-text h2 {
  color: var(--hovercolor);
  margin: 3px 0 0 0;
}

.caseStudy-overview h2 {
  margin: 0 0 10px 0;
}

.caseStudy-overview {
  margin: 0 20px;
  font-size: 18px;
}

.breadcrumb {
  padding: 0 0.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: end;
}

.breadcrumb li:not(:last-child)::after {
  display: inline-block;
  margin: 0 0.25rem;
  content: "→";
}

#Roles {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  font-family: 'Overpass', Georgia, sans-serif;
  font-weight: 600;
  padding: 0;
  margin: 0;
  gap: 10px; /* ✅ cleaner spacing between items */
}

#Roles li {
  padding: 4px 5px;
  border-radius: 5px;
  border: 1px solid #333B48;
  white-space: nowrap; /* ✅ prevents words from breaking inside an li */
}


hr {
  display: block;
  height: 1px;
  border-top: 1px solid #5C6274;
  border-radius: 10px;
  margin: 3em 0; 
  padding: 0;
}

.cs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  margin: 0 auto; 
  padding: 15px;
}

.cs h2 {
  font-size: 25px;
}

.cs img {
  border-radius: 30px;
  padding: 10px;
}

.se {
  max-width: 800px;
  height: 100%;
}

.cs p {
  font-size: 18px;
}

.txtimg {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  align-items: center;
}

.txtimg img {
  max-width: 500px;
}

.imgimgimg {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
}

.imgimgimg img {
  max-width: 1000px;
  width: 33%;
}

.txttxt {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  align-items: center;
}

.pt {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  text-align: center;
  width: 100%; 
  height: 80vh;
}

/* 

.caseStudy img {
  border-radius: 30px;
  margin: 10px;
}

.caseStudy-sketches {
  display: flex;
  justify-content: center;
}
.caseStudy-sketches img {
  width: 20rem;
}

.contain {
  margin: 20px 7rem;
}

.caseStudy-process {
   display: flex;
   flex-direction: column;
}



.contain h2 {
  margin: 20px 0;
  font-size: 25px;
  text-align: center;
}

.contain img {
  width: 100%;
  height: 100%;
  margin: auto;
  display: block;
}


.problem-container {
  display: flex;
}

.problem-container img {
  width: 70%;
}

.Goals {
background: #fcf1da;
padding: 20px;
border-radius: 10px;
}

.Goals ul {
  padding: 0 0 0 20px;
}

.Goals li {
  padding-bottom: 5px;
}

.imagesFlex {
  display: flex;
  flex-direction: row;
  padding: 0;
  margin: 0;
}

.imagesFlex img {
  width: 33.33%;
}


.textpic {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.textpic p {
  max-width: 400px;
}

@media (max-width: 800px) {
  .caseStudy-thumbnail {
    flex-direction: column;

  }
  .caseStudy-thumbnail img {
    width: 100%;
  }

  .caseStudy-overview {
    padding: 20px 0;
    margin: 3rem 0;
  }

  .caseStudy img {
    margin: 10px;
}

  .caseStudy-overview-text {
  width: 100%;
}


}

@media (min-width: 801px) {
  .caseStudy-overview {
    padding: 20px 30px;
    max-width: 65%;
  }

  .caseStudy-overview-text {
    padding: 20px 30px;
    max-width: 35%;
  }

  .contain {
    padding: 0 30px;
  }

}
 */


/* Photography */

  /*Photo Page*/

  
  .phototitle h1 {
    margin-bottom: 0;
  }

  @media (max-width: 600px) {
    .phototitle {
      padding: 50px 3rem 0 3rem;
    }

    .Photo {
      padding: 3em 3em em 3em;
    }

    .Photo Img {
      margin-bottom: 3em; 
      width: 100%;
    }
  }

  @media (min-width: 600px) and (max-width: 900px) {

    .Photo {
      margin: 3em;
    }

    .Photo Img {
      margin-bottom: 3em; 
      width: 100%;
    }
  }

  @media (min-width: 900px) and (max-width: 1200px) {
    
    .phototitle h1 {
      margin-bottom: 0;
    }
    
    .Photo Img {
      width: 15em;
    }

    .Photo {
      display: grid;
      margin: 3em 0;
      grid-template-columns: auto auto auto;
      gap: 2em 2em;
      justify-content: center;
    }

    .photography1 {
      grid-area: 1 / 1 / 3 / 2;
    }

    .photography2 {
      grid-area: 1 / 2 / 2 / 3;
    }
    
    .photography6 {
      grid-area: 1 / 3 / 3 / 4;
    }

    .photography7 {
      grid-area: 2 / 2 / 4 / 3;
    }

    .photography10 {
      grid-area: 4 / 1 / 6 / 2;
    }

    .photography11 {
      grid-area: 4 / 3 / 6 / 4;
    }

    .photography9 {
      grid-area: 6 / 1 / 7 / 2;
    }

    .photography5 {
      grid-area: 4 / 2 / 5 / 3;
    }

    .photography8 {
      grid-area: 6 / 3 / 7 / 4;
    }

    .photography12 {
      grid-area: 5 / 2 / 7 / 3;
    }

  }
  
  
  @media (min-width: 1200px) {

    .phototitle h1 {
      margin-bottom: 0;
    }
    
    .Photo Img {
      width: 20em;
    }

    .Photo {
      display: grid;
      margin: 3em 0;
      grid-template-columns: auto auto auto;
      gap: 40px 40px;
      justify-content: center;
    }


    .photography1 {
      grid-area: 1 / 1 / 3 / 2;
    }

    .photography2 {
      grid-area: 1 / 2 / 2 / 3;
    }
    
    .photography6 {
      grid-area: 1 / 3 / 3 / 4;
    }

    .photography7 {
      grid-area: 2 / 2 / 4 / 3;
    }

    .photography10 {
      grid-area: 4 / 1 / 6 / 2;
    }

    .photography11 {
      grid-area: 4 / 3 / 6 / 4;
    }

    .photography9 {
      grid-area: 6 / 1 / 7 / 2;
    }

    .photography5 {
      grid-area: 4 / 2 / 5 / 3;
    }

    .photography8 {
      grid-area: 6 / 3 / 7 / 4;
    }

    .photography12 {
      grid-area: 5 / 2 / 7 / 3;
    }

  }

.wrapper {
  display: grid;
  margin: 3em 0;
  grid-template-columns: auto auto auto;
  gap: 40px 40px;
  justify-content: center;
}

.card {
  width: 20em;
  height: 100%;
  padding: 2rem 1rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.5s ease-in-out;
}

.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;width: 100%;
  height:100%;
  z-index: 2;
  transition: 0.5s all;
  opacity: 1;
}

.card:hover:before {
  opacity: 1;
}

.card img {
  width: 100%;
  height:100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.card .info {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s all;
}

.card:hover .info {
  opacity: 1;
  transform: translateY(30px)
}

.col-2 {
  grid-column: span 2;
}


.galleryflex {
  display: flex;
  grid-template-columns: auto auto auto;
  gap: 40px 40px;
  justify-content: center;
}



.gallery {
  display: flex;
  flex-direction: column;
  margin: 4em 0;
  gap: 40px 40px;
  justify-content: center;
  height: 100%;
}


.photocard {
  height: 100%;
  position: relative;
  align-items: flex-end;
  transition: 0.5s ease-in-out;  
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
}



.photocard:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: 0.5s all;
  opacity: 1;
}

.photocard:hover:before {
  opacity: 1;
}

.photocard img {
  width: 350px;
  object-fit: cover;
}

.photocard .info {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transition: 0.5s all;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: rgb(128,128,128, .7);
}

.photocard .info a {
  color: white;
}
.photocard .info p {
  margin: 5px;
}

.photocard .info a:hover {
  border-bottom: 2px solid (--hovercolor);
}


.photocard:hover .info {
  opacity: 1;
}

.col-2 {
  grid-column: span 2;
}

@media (max-width: 1200px) { 
  .gallery {
    gap: 20px 20px;
  }
  .galleryflex {
    gap: 20px 20px;
  }
  .photocard img {
    width: 300px;
  }
}
@media (max-width: 1000px) { 
  .photocard img {
    width: 250px;
  }
}

@media (max-width: 850px) {
  .galleryflex {
    display: block;
    padding: 0 100px;
  }
  .photocard img {
    width: 100%;
  }

}

@media (max-width: 600px) {
  .galleryflex {
    display: block;
    padding: 0 50px;
  }
}





