*, ::before, ::after {
    box-sizing: border-box;
}

body {
    background: #eee;
    height: 100vh;
}
h1 {
    color: black;
    text-align: center;
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 30px;
}

h2 {
    color: black;
    text-align: center;
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 5px;
}

p {

    padding-left: 10px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 70px auto 0;
}

.item {
    width: 300px;
    height: auto;
    margin: 10px;
    overflow: hidden;
    flex-shrink: 0;

}

.item img {
    width: 100%;
    height: auto;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    object-fit: contain;
    position: relative;

}

.content-apn {
      background-color: #e9eac2;
      padding: 10px;
      border: 4px solid gray;
}

.content-cam {
      background-color: #c2d1ea;
      padding: 10px;
      border: 4px solid gray;
}

.gallery img:hover {
  z-index: 9;
  transform: scale(1.3);
  transition: transform ease 0.5s;
}

.gallery img.full {
  position: fixed;
  top: 0; left: 0; z-index: 999;
  width: 100vw; height: 100vh;
  object-fit: scale-down;
  background: rgba(0, 0, 0, 0.7);
}

.gallery img.full:hover {
  z-index: 999;
  transform: none;
}
