@font-face {
    font-family: "VCR Mono"; 
    src: url("fonts/mono/VCR_OSD_MONO_1.001 2.ttf") format("truetype");
    /* or: */
    src: url("fonts/mono/VCR_OSD_MONO_1.001.ttf") format("opentype");
}

body {
  font-family: "VCR Mono";
  background-color:#f4d368;
}  

h1 {
  font-size:20px;
  margin: 5px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top:15px;
  padding-bottom: 15px;
}
 
 #search {
      width:50%;
      padding: 10px;
      margin-top:0px;
      margin-left: 30px;
      margin-bottom: 0px; 
      align-items:center;
      font-family: "VCR Mono";
      border:2px dotted #727782;
    }

    #suggestions div {
      background: #f0f0f0;
      padding: 5px;
      width:49.5%;
      margin-top:0px;
      margin-left:30px;
      cursor: pointer;
      font-family: "VCR Mono";
    }

    #suggestions div:hover {
      background: #ddd;
    }

    #gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
      justify-content: center;   /* ← this is the key */
    }
    
    #gallery img {
      width: 266.67px;
      height: 200px;
      object-fit: cover;
      border:2px dotted #000;
      border-radius: 5px;
      margin:20px;
    }
    
.pokemon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.pokemon-card img {
  width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pokemon-card p {
  margin-top: 5px;  
  font-family: "VCR Mono";
  font-size: 14px;
  text-align: center;
}

.btn {
  border: 1px solid #46484d;
  border-radius: 4px;
  outline: none;
  padding: 5px 10px;
  margin-left: 30px;
  margin-bottom:0px;
  margin-top:20px;
  background-color: #fffbeb;
  cursor: pointer;
  font-family: 'VCR Mono';
  color: #1c1d1f;
  font-size: 1em;
  font-weight: bold;
}
.btn:hover {
  background-color: #fff6ba;
}
.btn.active {
  background-color: #ffcf57;
}    





/* Modal Background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* Modal Image */
.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
 
}

/* Caption */
#caption {
  text-align: center;
  color: #fff;
  padding: 10px;
  font-size: 18px;
}

/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #ccc;
}

