.dictionary{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  gap: 2vh;
  text-align: center;
}

#page{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-height: 50vh;
  overflow-y: hidden;
}
#syn_ant{
   display: none; 
   column-gap: 1vh;
   text-align: center;
   font-size: 1.3rem;
}
#syn_ant>div{
    
    border-radius: 10px;
    padding: 1vh;

}
#syn{
    background-color: hsla(84, 97%, 74%, 0.7);

}
#ant{
    background-color: hsla(5, 85%, 78%, 0.7);
}



#page>.component{
  font-size: 2rem;
  background-color: hsla(33, 78%, 91%, 0.5);
  border: 1px solid;
  padding: 5px;
  margin: 5px;
  border-radius: 10px;
  text-align: center;
  
}
.component>div:first-child>div:first-child{
      font-size: 4rem;
      text-transform: capitalize;
      color: rgb(70, 64, 64);
}

@media (width<500px) {
  .dictionary #syn_ant{
     font-size: 0.5rem;
  }
  .component>div:first-child>div:first-child{
    font-size: 2rem;
  }
  #page>.component{
    font-size: 1rem;
  }
}

