.main .head {
    height: fit-content;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
}

.main .head .box {
    width: 100%;
}

.main .head h1 {
    color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 70px;
}

@media (max-width: 991px) {
    .main .head h1 {
      font-size: 40px;
  }
}

/* Gallery */
.main .gallery {
    height: fit-content;
    width: 100%;
}

.contain {
    width: 100%;
    margin: auto;
  }
  
  .contain > a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
  }
  
  .contain > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 10px #000;
  }
  
  .contain {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
  }
  
  .horizontal {
    grid-column: span 2;
  }
  
  .vertical {
    grid-row: span 2;
  }
  
  .big {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  @media (max-width: 991px) {
    .contain {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}