@import url('https://fonts.googleapis.com/css2?family=Gelasio&family=PT+Sans&family=Source+Sans+Pro&display=swap');

html { font-size: 22px; 
font-family: 'PT Sans', sans-serif;
}

.left-ads {
font-family: 'PT Sans', sans-serif;
padding-top:15px;
  max-width: 100%;
  margin: 0 auto;
  display: float;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}



.left-ads-card { 
  color: black;
/*  padding: 10px;   */
/*  height: 5rem;   */
 padding-bottom: 10px;
}

.left-ads-card:hover {
  opacity: 0.4;
}

.left-ads-card img
{
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
}

.left-ads-card p
{
padding:8px;
display: flex;
justify-content: center;
margin: auto;
text-decoration: none;
font-size: 12px;
background-color: #e6e6e6;
font-family: 'PT Sans', sans-serif;
}



.right-ads {
font-family: 'PT Sans', sans-serif;
padding-top:15px;
  max-width: 100%;
  margin: 0 auto;
  display: float;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}



.right-ads-card { 
  color: black;
/*  padding: 10px;   */
/*  height: 5rem;   */
 padding-bottom: 10px;
}

.right-ads-card:hover {
  opacity: 0.4;
}

.right-ads-card img
{
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
}

.right-ads-card p
{
padding:8px;
display: flex;
justify-content: center;
margin: auto;
text-decoration: none;
font-size: 16px;
background-color: #e6e6e6;
}




a {
  color: red;
}

a:link {
  text-decoration:none;
}

a:hover {
opacity: 0.4;
}

.button {
margin-top: 662px;
  border: 2px solid red;
  background-color: grey;
  color: yellow;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.button:hover {
 opacity: 0.2;
}

.otherproducts {
font-family: 'PT Sans', sans-serif;
color: red;
}


/* This is the pagination code */



.pagination {
padding-top: 18px; 
  font-family: 'PT Sans', sans-serif;
font-size: 17px;
}

.pagination a {
  color: red;
  padding: 5px 10px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #9e9e9e;
border: 1px solid red;
  color: red;
}

.pagination a:hover:not(.active) {
background-color: #9e9e9e;
}
