*{
box-sizing:border-box;
margin:0;
padding:0;
text-decoration: none;
}

body{
background:#eae7e2;
font-family:'Inter',sans-serif;
color:#1c1c1c;
max-width:1400px;
margin:auto;
}


/* -------------------- */
/* HEADER */
/* -------------------- */

.header{
display:flex;
justify-content:space-between;
align-items:center;

padding:20px 4vw;
border-bottom:2px solid #1c1c1c;
}

.logonom{
display:flex;
align-items:center;
gap:20px;
}

.logo{
width:55px;
}

.logo img{
width:100%;
}

h1{
font-family:'Fraunces',serif;
font-weight:700;
font-size:clamp(20px,2.5vw,30px);
}
.mail{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mail img{
    width: 2em;
}

.footermail{
    display: flex;
    align-items: center;
    justify-content: center;
}


.project-page{

display:flex;
gap:5vw;
padding:5vw;

}


.project-gallery{
flex:1;
overflow:hidden;
}


.gallery-track{

display:flex;
gap:30px;

overflow-x:auto;

scroll-snap-type:x mandatory;

}

.gallery-track img{

width:auto;

height:70%;
max-height: 500px;

cursor:pointer;

scroll-snap-align:start;

}

.gallery-track::-webkit-scrollbar{
display:none;
}


.project-description{

flex:1;
max-width:450px;

}

.project-description h1{

font-family:'Fraunces',serif;
font-size:32px;
margin-bottom:20px;

}

.project-meta{

margin-bottom:30px;
font-weight:600;

}

.project-description p{

line-height:1.6;
margin-bottom:20px;

}


.lightbox{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.9);

display:none;

align-items:center;
justify-content:center;

z-index:999;

}


.lightbox img{

max-width:90%;
max-height:90%;

object-fit:contain;

}


.lightbox-close{

position:absolute;
top:30px;
right:40px;

font-size:40px;
color:white;
cursor:pointer;

}


.lightbox-prev,
.lightbox-next{

position:absolute;
top:50%;

font-size:50px;
color:white;

cursor:pointer;
user-select:none;

padding:20px;

transform:translateY(-50%);

}

.lightbox-prev{
left:20px;
}

.lightbox-next{
right:20px;
}



@media (max-width:1000px){

.project-page{
flex-direction:column;
}

.project-description{
max-width:100%;
}

.gallery-track img{
height:70%;
}

}



@media (max-width:700px){

.project-page{
padding:2em;
}

.gallery-track img{
height: 50%;
}

.project-description h1{
font-size:26px;
}
.mail img{
 width: 2.5em;
}
}