.tech-row {
  gap: 12px;
  justify-content: center;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.tech {
  padding: 12px;
  font-size: 24px;
  background-color: rgb(191, 191, 191);
  border: 2px solid #888;
  cursor: pointer;
  box-shadow: 0 4px 0 #888;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s ease;
}

.tech input {
  display: none;
}

.tech:has(input:checked) {
  background-color: rgb(150, 150, 150);
  box-shadow: 0 2px 0 #888;
  transform: translateY(2px); 
}

.tech:hover {
  background-color: rgb(170, 170, 170);
}

.tech-pool{
  margin: 2%;
  margin-bottom: 1%;
    padding: 1.5%;
    width: 60%;
    height: auto;
    background-color: rgb(65, 65, 65);
    border: 2px, white;
    border-style: solid;
}

.filter-button{
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 3px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px #555555;
  font-size: 32px;
  background-color: rgb(151, 151, 151);
  border: 6px solid #888;
  box-shadow: 0 4px 0 #888;
  transition: 0.2s ease;
  padding: 12px;
  width: 100%;
  cursor: pointer;
}

.filter-button:hover {
  background-color: rgb(170, 170, 170);
}

.filter-button-frame{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%; 
  margin-bottom: 2%;
}

.p-frame {
  margin-top: 0;
  margin: 5%;
  
    aspect-ratio: 1 / 1;
    border: 4px solid white;
    overflow: hidden;
}

.p-img, .p-desc, .p-title {
  justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    color: rgb(213, 213, 213);
}

.p-img {
  object-fit:cover;
    opacity: 1;
}

.p-desc {
  margin-bottom: 5%;
  opacity: 0;
  margin-top: 65%;
}

.p-title {
  font-size: 133%;
  margin-top: 2%;
  text-transform: uppercase;
  opacity: 0;
}

.p-frame:hover .p-img {
    opacity: 0.25;
}

.p-frame:hover .p-title, .p-frame:hover .p-desc{
    opacity: 1;
}

.p-row {
    height: auto;
    margin-bottom: 3%;
    width: 65.5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.container {
  margin: 0;
  padding: 0;
  width: 100%;     
  flex: 1;         
  display: flex;
  flex-direction: column;
}

@media (max-width: 1080px) {
  .tech-pool-text{
    font-size: 1.0em;
  }

  .tech{
    font-size: 0.7em;
  }

  .p-frame h2{
    font-size: 1.0em;
  }
  .p-frame .p-desc {
    font-size: 0.6em;
  }
}

@media (max-width: 768px) {
  .tech-pool-text{
    font-size: 0.6em;
  }

  .tech{
    font-size: 0.5em;
  }

  .p-frame h2{
    font-size: 0.6em;
  }
  .p-frame .p-desc {
    font-size: 0.5em;
  }

}