.main {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }
  
  .up,
  .down {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
  }
  
  .card1,
  .card2,
  .card3,
  .card4 {
    width: 150px;
    height: 150px;
    outline: none;
    border: none;
    background: rgb(233, 233, 233);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: .2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
  }
  
  .card1 img,
  .card2 img,
  .card3 img,
  .card4 img {
    width: 60px;
    height: 60px;
  }
  
  .card1:hover,
  .card2:hover,
  .card3:hover,
  .card4:hover {
    cursor: pointer;
    transform: scale(1.1);
  }
  
  .card1:hover .instagram,
  .card2:hover .twitter,
  .card3:hover .github,
  .card4:hover .facebook {
    fill: white;
  }
  
  .instagram,
  .twitter,
  .github,
  .facebook {
    width: 40px;
    height: 40px;
    fill: #000; /* Change the color to your preference */
  }
  
  .card1:hover,
  .card1:focus {
    background-color: #cc39a4;
  }
  
  .card2:hover,
  .card2:focus {
    background-color: #03A9F4;
  }
  
  .card3:hover,
  .card3:focus {
    background-color: rgb(66, 65, 65);
  }
  
  .card4:hover,
  .card4:focus {
    background-color: #8c9eff;
  }
  
  .instagram,
  .twitter,
  .github,
  .facebook {
    margin: auto;
  }
  
  .instagram {
    margin-top: 1.5em;
    margin-left: 1.2em;
  }
  
  .twitter {
    margin-top: 1.5em;
    margin-left: -.9em;
  }
  
  .github {
    margin-top: -.6em;
    margin-left: 1.2em;
  }
  
  .facebook {
    margin-top: -.9em;
    margin-left: -1.2em;
  }
  
  /* === removing default button style ===*/
.buttonpma {
    margin: 0;
    height: auto;
    background: white;
    padding: 0;
    border: none;
    animation: r1 3s ease-in-out infinite;
   /*linear*/
    border: 7px #056bfa21 solid;
    border-radius: 14px;
  }
  
  /* button styling */
  .buttonpma {
    --border-right: 6px;
    --text-stroke-color: #FF8C19;
    --animation-color: #FFB366;
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Arial";
    position: relative;
    text-transform: uppercase;
    color: #FF8C19;
    -webkit-text-stroke: 1px var(--text-stroke-color);
  }
  /* this is the text, when you hover on button */
  .hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 1.5s;
    -webkit-text-stroke: 1px var(--animation-color);
    animation: r2 2s ease-in-out infinite;
  }
  /* hover */
  .buttonpma:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 70px var(--animation-color))
  }
  
  @keyframes r1 {
    50% {
      transform: rotate(-1deg) rotateZ(2deg);
    }
  }
  
  @keyframes r2 {
    50% {
      transform: rotateX(-65deg);
    }
  }
  