*{
    margin:0px;
    padding:0px;
}

body {
    background-color: #000;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  }

.wrapper{
    width:100vw;
    height:100vh;
    position: relative;
}

.circle1{
    position:absolute;
    top: 5%;
    left: 30%;
    height:13em;
    width:13em;
    border-radius:50%;
    box-shadow: 0 0 50px #d84869;
    background: linear-gradient(-25deg, #d84869, #f46641);
    animation: circle1Animate 15s infinite;
}
@keyframes circle1Animate {
    50% {
      left: 33%;
      top: 4%;
      scale: 1.11;
    }
  }

  .circle2{
    position:absolute;
    bottom:5%;
    right:30%;
    height:19em;
    width:19em;
    border-radius:50%;
    box-shadow: 0 0 50px #5648d8;
    background: linear-gradient(-25deg, #5648d8, #8641f4);
    animation:circle2animate 8s infinite;
  }

  @keyframes circle2animate {
    50% {
      bottom: 6%;
      right: 33%;
    }
  }

  .cardcontainer{
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;    /*This set its position related to x,y-axis. */
    height: 450px;
    width:306px;
    border: 2px solid #ffffff30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background: #ffffff1a;
    backdrop-filter: blur(15px);
    border-radius: 15px;
    color: #ffffff;
    padding: 20px 50px;
  }

  .imagecontainer img{
    border: 2px solid #ffffff30;
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }

  .name{
    font-size: 2rem;
    text-align: center;
  }

  .designation{
    text-align:center;
    color: #ffffff85;
  }

  .bottom-group{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    gap:10px;
    
  }

  .btn-share{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:7px;
    padding:9px 12px;
    background: #ffffff00;
    border: 2px solid #ffffffb9;
    border-radius: 4px;
    color: #ffffffb9;
    cursor: pointer;
    transition: all 0.5s;
  }

  .btn-follow{
    text-transform: capitalize;
    width: 150px;
    padding: 9px 12px;
    background: #ffffff00;
    border: 2px solid #ffffffb9;
    border-radius: 4px;
    color: #ffffffb9;
    cursor: pointer;
    transition: all 0.5s;
  }

  .btn-card:hover{
    background-color: #ffffff;
    color:#000
  }


  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border: 2px solid #ffffff59;
    width: 500px;
   scale: 0;     /*This hide our modal in normal case */
    background: #00000088;
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1;
    padding: 20px 25px;
    border-radius: 20px;
    transition: 0.5s ease-in-out;
  }


  .modal-header {
    display: flex;
    margin-bottom: 25px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #ffffff88;
  }


  .modal-header div i {  /*This increase the size of our Cross(x) sign*/
    font-size: 30px;
  }

  .close{
    cursor:pointer;
  }

  .icon-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }


  .icon {
    border: 1px solid #ffffff88;
    padding: 17px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    margin: 10px 0px;
    /* gap: 10px; */
    justify-content: center;
    transition: all 0.5s;
    margin-bottom: 25px;
    text-decoration: none;
  }

  .icon i {    /*This increase the size of our icon*/
    font-size: 27px;
  }

  #linkedin {
    color: #1771e6;
    border: 1px solid #1771e6;
  }
  #linkedin:hover {
    background-color: #1771e6;
    color: #fff;
  }

  #twitter {
    color: #1c99e6;
    border: 1px solid #1c99e6;
  }
  #twitter:hover {
    background-color: #1c99e6;
    color: #fff;
  }
  
  #instagram {
    color: #cb2770;
    border: 1px solid #cb2770;
  }
  #instagram:hover {
    background-color: #cb2770;
    color: #fff;
  }
  
  #github {
    color: #000;
    border: 1px solid #000;
  }
  #github:hover {
    background-color: #fff;
    color: #000;
  }
  
  #telegram {
    color: #0081c2;
    border: 1px solid #0081c2;
  }
  #telegram:hover {
    background-color: #0081c2;
    color: #fff;
  }

  .active{
    scale: 1;
  }


  .overlay {
    position: fixed;
    background-color: #5f5f5f83;
    top: 0;
    opacity: 0;  /* This hide our overlay in normal case*/
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
  }


  .overlayactive {
    opacity: 1;
    pointer-events: initial;
  }


  @media (max-width: 850px) {
    .cardconatiner {
      max-width: 250px;
      width: 300px;
    }
    .bottom-group {
      flex-direction: column;
    }
    .modal {
      width: 70vw;
    }
  }
  
  @media (max-width: 400px) {
    .wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .cardcontainer{
      position: static;
      top: 0;
      left: 0;
      translate: 0 0;
      margin: 0 12px;
      padding: 0 10px;
    }
    .cardcontainer div img {
      width: 120px;
      height: 120px;
    }
    .name h2 {
      font-size: 1.3rem;
    }
    .modal {
      width: 80vw;
    }
  }