.gallery {
  --s: 200px; /* control the size */
  --g: 10px;  /* control the gap */
  --f: 1.5;   /* control the scale factor */
  
  display: grid;
  gap: var(--g);
  width: calc(3*var(--s) + 2*var(--g));
  aspect-ratio: 1;
  grid-template-columns: repeat(3,auto);
  margin: auto
}

.gallery > img {
  width: 0;
  height: 0;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  cursor: pointer;
  cursor: url("mydrawings/hb.png"), pointer;
  transition: .35s linear;
}

.gallery img:hover{
  width:  calc(var(--s)*var(--f));
 height: calc(var(--s)*var(--f));
}

/*.innerbody img:active{
  width: auto;
  height: 80vh;
  margin:auto;
}*/

/* (F) FULLSCREEN MODE */
.gallery img.full {
  position: fixed;
  top: 0; left: 0; z-index: 999;
  width: 100vw; height: 100vh;
  object-fit: contain;
  margin: auto;
  background: rgba(0, 0, 0, 0.7);
}

body {
  margin: 0;
  height: 100%;
  display: grid;
  place-content: center;
  background-color: #477D58;
  background-image:url("mydrawings/rf pattern.png");
  background-repeat: repeat;
  cursor: url("mydrawings/hb.png"), auto;
  overflow-y: scroll; /* Vertical scroll */
}

.title {
            font-size: 40px;
            font-weight: bold;
            color: #0E361C;
            text-align: center;
            text-transform: uppercase;
            font-family: Arial, sans-serif;
        }
        
.subtitle {
            font-size: 20px;
            font-weight: bold;
            color: #0E361C;
            text-align: center;
            text-transform: uppercase;
            font-family: Lucida, Monospace;
            place-content: center;
        }
        
.divider {
            margin: auto;
            place-content: center;

        }
        
.divider img {
  display: block;
  margin: auto;
  width: 50%;
}

.rex img {
  display: block;
  margin: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 20%;
}


        
.intro {
  width: 50%;
  margin-top: auto;
  margin-bottom: 30px;
  margin-right: auto;
  margin-left: auto;
}

.innerbody {
  width: 60%;
  height: 100%;
  background: #F5F4DF;
  margin: auto;
  border-left: 5px solid #0E361C;
  border-right: 5px solid #0E361C;
  padding: 30px;
}