body {
  background-image: url(croch.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  margin: 0;
  font-family: "Cal Sans", sans-serif;
}

/* Navbar */
.nav {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px 20px 50px;
  
}

ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0px 50px 20px 50px;
  font-family: "Cal Sans", sans-serif;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px grey;
}

li{
    padding-left: 40px;  
}
a{
    color: #A86523;
    text-decoration: none;
    display: inline-block; 
    transition: transform 0.3s ease;
    align-items: center;
    
    
}
a:hover{
  transform: scale(1.3);
    color: #d2a170;

}
.logo {
  height: 120px; 
  width: auto;
  margin-top: 10px;
}
.imane{
  text-align: center;
  color: #A86523;
  text-shadow: 1px 1px 3px white;
}

.imglist{
  padding: 50px 50px;
}
.imglist img{
  height: 350px;
  border-radius: 15px;
  box-shadow: 1px 1px 10px white;

}
.imglist p{
  color: white;
  text-shadow: 1px 1px 25px black;
  text-align: center;
}
.imglist button{
  position: relative;
  margin-left: 100px;
  border-radius: 15px;
  border-color: white;
  background: #A86523;
  color: white;
  height:40px;
  align-items: center;
}
.imglist button:hover{
  opacity: 0.8;
 transition: 0.5s;
}


@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  li {
    padding: 10px 0;
  }

  .logo {
    height: 80px;
    margin: 10px 0;
  }

  /* Center content */
  .imglist {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers horizontally */
    justify-content: center; /* centers vertically if container has height */
    text-align: center;
    padding: 20px;
  }

  .imglist img {
    height: auto;
    width: 90%;   /* shrink nicely on mobile */
    max-width: 350px;
    margin-bottom: 15px;
  }

  .imglist p {
    margin: 10px 0;
  }

  .imglist button {
    margin: 10px 0 0 0; /* no need for margin-left */
    align-self: center;
  }

  .imane {
    font-size: 24px;
    padding: 10px;
  }
}
