body{
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.border-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 25px;
  font-family: sans-serif;
  padding: 15px;
  margin: 15px;
  min-width: 200px;
  width: 15%;
  min-height: 10%;
  max-height: 20%;
  border: solid 4px #2ca4dc;
  box-shadow: lightgray 10px 10px 10px;
  transition: 0.3s;
  cursor: pointer; /* UX: pokazuje, że to przycisk */
  background-color: #fff;
}

/* link tylko dla border-box (nie globalnie!) */
a {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

/* hover */
.border-box:hover {
  background-color: #c2ebf5;
  color: #2ca4dc;
  transform: translateY(-3px); /* lekki efekt "kliknięcia" */
  box-shadow: lightgray 6px 6px 10px;
}

/* klik */
.border-box:active {
  transform: translateY(0);
  box-shadow: lightgray 4px 4px 6px;
}

/* odstęp od góry */
.spaceFromTop {
  margin-top: 15%;
}

@media (max-width: 700px){
  .border-box{
    font-size: 50px;
    width: 60%;
    height: 15%;
  }
}
