@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:wght@200;300;400;500;600;700;800;900&display=swap');:root {
    --overlay-color: rgb(255, 121, 224);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Zalando Sans Expanded', sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}
.showcase {
    position: relative;
    transition: transform 0.5s ease;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    background: #fff;
    color: #111;
    z-index: 2;
}

.showcase.active {
    transform: translateX(-300px);
}
.showcase header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.logo {
        text-transform: uppercase;
        cursor: pointer;
        
}
.toggle {
position: relative;
width: 60px;
height: 60px;
background: url('../images/images/menu.png');
background-repeat: no-repeat;
background-size: 30px;
background-position: center;
cursor: pointer;
}

.toggle.active {
    background: url('../images/images/icone-x-rose.png');
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
}




.showcase.active .menu {
  transform: translateX(0);
}
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 150px;
  height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  z-index: 1000;
}

.showcase.active + .menu,
.menu.active {
    transform: translateX(0); 
}

.menu ul {
    position: relative;
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 24px;
    color: #111;
}

.menu ul li a:hover {
    color: var(--overlay-color);
}

@media(max-width: 798px){
    .showcase,
    .showcase header {
        padding: 40px;
    }

    .text h2 {
        font-size: 3em;
    }

    .text h3 {
        font-size: 2em;
    }
}

/* MAIN */
.container {
  padding: 40px 48px;
  position: relative;
}

/* HERO */
.hero-title {
  font-size: clamp(48px, 5vw, 100px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 70px;
  margin-top: 45px;
  margin-right: 5px;
}



/* GRID */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

/* IMAGE BLOCK */
.image-block img {
  width: 100%;
  max-width: 400px calc(100vw - 32px), 600px;
  display: block;
}

.meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--overlay-color);
}

/* TEXT BLOCK */
.text-block p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 40px;
}

.gallery-header{
    color: #111;
    width: 100%;
    text-align: left;
    padding: 0 0 0 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    
}

figcaption {
width: 100%;
text-align: center;
font-size: 0.833rem;
color: #111;
padding: 0 0 1.2rem 0;
}

#gallery {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

#gallery img {
width: 100%;
max-width: 400px;
object-fit: cover;
aspect-ratio: 3/4;
}

#gallery figure:hover{
    opacity: 0.5;
}

dialog{
    position: fixed;
    top: 5vh;
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
}

dialog::backdrop{
    background: (16 16 16 /0.8);
}

dialog img{
    width: 100%;
    max-height: 70vh;
}
dialog form{
    text-align: center;
}

dialog button{
    color: #111;
    background-color: #fff;
    margin-bottom: 1rem;
}

dialog button:hover,
dialog button:focus {
    color: rgb(255, 121, 224);
    background-color: #111;
}

@media screen and (max-width: 500px) {
    #gallery {
         grid-template-columns: 1fr 1fr 1fr;
    }

}

#home a {
color: #111;
text-align: center;
text-decoration: none;
list-style-type: none;
display: block;
}

#home a:hover,
#home a:focus {
    color: rgb(255, 121, 224);
    letter-spacing: 6px;
    text-decoration: none;
}

footer{
    width: 100%;
    color: #111;
}