*{
  box-sizing: border-box;
}
body{
   font-family: "Zen Kaku Gothic New", sans-serif;
   margin: 0 0 0 0;
}  

p {
line-height: 1.7;
}


.btn-menu {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 4;
  padding: .5rem 1rem;
  border: 1px solid var(--brown);
  border-radius: 50%;
  height: 4rem;
  width: 4rem;
  transition: .4s;
}
.btn-menu svg {
  fill: var(--brown);
  margin-top: .25rem;
  height: 2rem;
  width: 2rem;
}


#menu-close {
  border: 1px solid var(--light-green);
}
#menu-close svg {
  fill: var(--light-green);
}


#menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 4;
  padding: 8rem 2rem 2rem;
  width: max(32vw, 20rem);
  height: 100vh;
  background-color: rgb(236, 233, 233);
  box-shadow: 0 0 2rem var(--brown);
  font-family: var(--oswald-font);
  translate: 100vw;
  opacity: 0.5;
}
.menu-list {
  list-style: none;
}
.menu-list li {
  margin: 1.5rem 0;
  opacity: 0;
}
.menu-list a {
  color: var(--light-green);
  text-decoration: none;
  font-size: 2rem;
}

.top{
text-align: center;
display: block;
margin: 0;
}



body {
    color: var(--brown);
    text-align: center;
}

.wrapper {
    max-width: 38rem;
    margin: auto;
    padding: 0 1rem;
}
img {
    max-width: 100%;
}



.gallery {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 50px;
  }
  .gallery-image {
    width: min(100%, calc(38rem - 2rem));
    margin: auto;
    position: relative;
  }
  .gallery-image::after {
    display: block;
    content: '';
    width: calc(100% - 2rem);
    height: calc(100% - 2.5rem);
    z-index: 3;
    border: 3px solid var(--white);
    top: 1rem;
    left: 1rem;
    position: absolute;
  }
  .gallery-image img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
  }
  .gallery-thumbnails {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, 1fr);
    list-style: none;
    margin: 1rem 0;
  }
  .gallery-thumbnails img {
    aspect-ratio: 3/4;
    object-fit: cover;
    cursor: pointer;
  }
  


.fadeIn{
  animation-name:fadeInAnime;
  animation-duration:5s;
  animation-fill-mode:forwards;
  opacity:0;
  }

  

.image-container {
  display: flex; 
  justify-content: center; 
  gap: 10px; 
  margin-bottom: 50px;
  margin-top: 100px;
}

.image-container img {
  width: 100px; 
  height: auto; 
}
  
  @keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }


#page-top a{
  background:#0e272c;
  color:#fff;
  text-align: center;
  display: block;
  text-decoration: none;
  padding:20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  transition: all 0.3s;
}

#page-top a:hover{
  background: #777;
}


small{
  background:#333;
  color:#fff;
  display: block;
  text-align: center;
  padding:20px;
}

  

@media(min-width: 800px){
   
    /* GALLERY */
        .gallery {
            flex-direction: row;
        }
        .gallery-image {
            width: 50vw;
            margin: 0;
        }
        .gallery-image img {
            height: 100vh;
        }
        .gallery-content {
            width: 30vw;
        }
        .gallery-thumbnails {
            gap: 2vw;
            grid-template-columns: repeat(3, 1fr);
        }
        .gallery-thumbnails img:hover {
            box-shadow: 0 0 1rem rgba(0,0,0,.4);
            transition: .4s;
        }
}

