  *,
  ::after,
  ::before {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale
  }

  body {
      font-family: var(--fonts-body);
      background-color: var(--colors-gray1);
  }

  ::selection {
      background: #60c5bb;
      color: #000
  }


  .gallery {
      display: flex;
      flex-direction: column;
      position: relative;
      min-height: 100vh;
      margin: 0 auto;
      overflow: hidden;
      padding: .5rem;  
  }


  .gallery-items {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
      gap: 8px;
  }

  .item {
      display: inline-block;
      position: relative;
      overflow: hidden;
      height: 700px;
      outline: 0;
  }


  .item img {
      -webkit-user-select: none;
      user-select: none;
      object-fit: cover;
  }

  .item-photo {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      border-radius: inherit;
  }

  @media (max-width:440px) {
      .gallery-items {
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
      }

      .item {
          height: 480px;
      }
  }

  @media (max-width:720px) {    
      .gallery-items {
          padding: 0;
      }

      .item {
          width: 100%;
          min-width: unset;
          pointer-events: none;
      }
  }