body {
  padding-bottom: 50px;
}

header {
  width: 100%;
  
  padding: 20px;
  font-size: 16px;
  color: #00B807;
  top: 0;
  left: 0;
}

header .title {
  float: left;
}

header .last {
  float: right;
  border: 1px dashed #00B807;
  padding: 5px;
}


.grid {
  /* height: 80vh; */
  padding: 20px 30px 0 30px;
  margin: 20px 50px 0 45px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* grid-template-columns: repeat(6, 1fr); */
  /* grid-template-rows: repeat(7, calc(100vw / 7)); */
  grid-gap: 0;
}

.grid div {
    display: flex;
    border: .75px solid #00B807;
    border-radius: 10px;
    flex-flow: column nowrap;
    justify-content: center;
    aspect-ratio: 1 / 1;
  
    line-height: 1.2;
}

p {
  margin-bottom: 0.5em;
  text-align: center;
}

.quarter {
      grid-column: span 1;
      grid-row: span 1;
      color: #00B807;
      font-family: Times New Roman;
      font-size: 16px;
      background-color: #fbfeff;
      padding-left: 20px;
      padding-right: 15px;
      position: relative;
}

.quarter img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 10px;
  filter: grayscale(100%);
}

.quarter a {
  text-decoration: none;
  color: #00B807;
  border-bottom: 1px solid #00B807;
}

.quarter-none a {
 text-decoration: none;
 padding-left: 20px;
 padding-right: 20px;
}


.float{
	position:fixed;
	width:120px;
	height:50px;
	bottom:50px;
	right:40px;
  
  
	background-color: #ffffff;
	color:#000;
  border: 1px solid #000;
	border-radius:0px;
	text-align:center;
  text-decoration: none;
  padding: 15px;
}

.float:hover {
  background-color: #ffffff;
	color:#00B807;
  border: 1px dashed #00B807;
	border-radius:0px;
	text-align:center;
  text-decoration: none;
  padding: 15px;
}

.about {
  position: fixed;
  width:50px;
	height:30px;
	bottom:50px;
  left: 40px;
  
  background-color: #ffffff;
	color:#000;
  border: 1px solid #000;
	border-radius:0px;
	align-items: center;
  text-decoration: none;
  padding: 15px 30px 30px 15px;
}

.about:hover, .about:active {
  background-color: #ffffff;
	color:#000;
  border: 1px dashed #00B807;
	border-radius:0px;
	align-items: center;
  text-decoration: none;
  padding: 15px 30px 30px 15px;
}

a h2 {
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background-color: #fff;
  border: 1px dashed #00B807;
  height: 550px;
  width: 550px;
  padding: 25px;
  line-height: 2;
  
  font-family: Times New Roman;
  font-size: 40px;
  letter-spacing: -1px;
  text-align: left;
  color: #00B807;
   /* this will tell the browser to ignore any default
  mouse interactions on this img element*/
  pointer-events: none;
}

a h2 p {
  font-family: Times New Roman;
  font-size: 18px;
  text-align: left;
  letter-spacing: -0.75px;
  line-height: 1.5;
}

a:last-child:after {
  content:'';
}

a:after {
 /* lets you put in content before or after elements*/
}

a:hover h2 {
  opacity: 1;
}

/* Mobile Breakpoints */

@media(max-width: 428px) {
  .grid {
    grid-template-columns: 1fr;
    grid-gap: 10px;
    padding: 0;
    position: relative;
  }
  
  .grid div {
    height: 325px;
  }
  
  header {
    display: inline-block;
    align-items: center;
  }
  
  .quarter {
    font-size: 22px;
  }
  
  a h2 {
  
  background-color: #fff;
  border: 1px dashed #00B807;
  height: 500px;
  width: 400px;
  line-height: 2;
  
  font-family: Times New Roman;
  font-size: 32px;
  letter-spacing: -1px;
  text-align: left;
  color: #00B807;
   /* this will tell the browser to ignore any default
  mouse interactions on this img element*/
  pointer-events: none;
}

a h2 p {
  font-family: Times New Roman;
  font-size: 16px;
  text-align: left;
  letter-spacing: -0.75px;
  line-height: 1.5;
}
 
}