
body {
    background-color: rgb(23, 23, 23);
    margin: 0;
  }
  .square {
    width: 200px;
    height: 200px;
    background-color: #f3f3f3;
    position: center;
    margin: 20px;
    float: left;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #b4b4b4;
    transition: all 0.3s ease;
    overflow: hidden;
  }
  .square:hover {
    transform: scale(1.1);
    z-index: 1;
  }
  .square:hover p {
    transform: translateY(-50%);
    opacity: 1;
  }
  .square p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
  }

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}