* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: cursive, sans-serif;
  font-weight: bold;
}

/* ------------------------GLOBAL CSS----------------------- */

a {
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: 60px;
}

/* -----------------------------NAVIGATION BAR------------------------- */

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background: rgb(202, 188, 188);
  position: sticky;
  margin-bottom: 20px;
}

header .logo img {
  height: 80px;
  width: 80px;
  margin-left: 20px;
}

nav {
  margin-right: 0;
  margin-left: auto;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  list-style: none;
}
nav ul li {
  margin: 18px 22px;
}
nav ul li a {
  padding: 9px 17px;
  transition: all 0.5s linear;
  background-color: rgba(138, 132, 132, 0.3);
  box-shadow: inset 5px 5px 8px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

nav ul li:hover a {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  color: #ffffff;
}

form .input-box {
  display: flex;
  box-sizing: border-box;
  flex-wrap: wrap;
  padding: 0 6px 0 40px;
  position: relative;
  min-width: 200px;
}
header form input {
  text-align: center;
  width: 90%;
  outline: none;
  border: 3px solid rgba(0, 255, 255, 0.5);
  background: transparent;
  box-shadow: inset 2px 5px 5px rgba(163, 103, 53, 0.863);
  border-radius: 6px;
}

/* body */

.container {
  width: 95%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.image {
  height: 350px;
  position: relative;
  width: 200px;
  margin: 5px;
}
.image img {
  width: 100%;
  height: 100%;
  background-position: center top;
  border-radius: 12px;
}

.show-box {
  display: none;
}

.appear {
  position: fixed;
  background: rgba(63, 57, 57, 0.818);
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 90vh;
  align-self: center;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: inset 4px 4px 8px rgb(133, 120, 120);
  border-radius: 12px;
}
.appear img {
  max-width: 95%;
  max-height: 95%;
}
.appear button {
  position: absolute;
  right: 0;
  top: 0;
}

@media (max-width: 650px) {
  .image {
    height: 350px;
    position: relative;
    width: 48%;
    margin: 5px;
  }
}
@media (max-width: 530px) {
  .image {
    height: 300px;
    position: relative;
    width: 80%;
    margin: 5px;
  }

  .appear {
    position: fixed;
    background: rgba(63, 57, 57, 0.818);
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    width: 95vw;
    height: 98vh;
    align-self: center;
  border-radius: 12px;
  justify-content: center;
    box-shadow: inset 4px 4px 8px rgb(133, 120, 120);
    align-items: center;
    display: flex;
  }
  .appear img {
    max-width: 100%;
    max-height: 100%;
  }
}
