*{
    margin: 0%;
    padding: 0%;
    overflow: hidden;
}
body {
    background-color: #000;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  }
  
  .wrapper {
    width: 100vw;
    height: 100vh;
  }
.card-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 450px;
    border: 2px solid #ffffff30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background: #ffffff1a;
    backdrop-filter: blur(3px);
    border-radius: 15px;
    color: #ffffff;
    padding: 20px 50px;
}
.card-wrapper div img{
    border: 2px solid #ffffff30;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}
.designation h3{
    text-align: center;
    color: #ffffff85;
}
.user-name h2{
    font-size: 2rem;
    color:#ffffff85;
}
.btn-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    background: #ffffff00;
    border: 2px solid #ffffffb9;
    text-transform: capitalize;
    font-weight: bold;
    border-radius: 4px;
    color: #ffffffb9;
    cursor: pointer;
  }
.btn-card:hover{
    background:#00cc33;
    color:#131313;
}
.modal{
    position:fixed;
    top:50%;
    left:50%;
    translate:-50% -50%;
    border: 2px solid #ffffff59;
    width:500px;
    scale: 0;
    background: #00000088;
    backdrop-filter: blur(3px);
    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{
    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{
    font-size: 27px;
}
#linkedin{
    color: white;
    border: 1px solid gray;
}
#linkedin:hover{
    background-color: gray;
    color:white;
}
#Gmail{
    color: white;
    border: 1px solid gray;
}
#Gmail:hover{
    background-color: gray;
    color:white;
}
#phone{
    color: white;
    border: 1px solid gray;
}
#phone:hover{
    background-color: gray;
    color:white;
}
#github{
    color: white;
    border: 1px solid gray;
}
#github:hover{
    background-color: gray;
    color:white;
}
#portfolio{
    color: white;
    border: 1px solid gray;
}
#portfolio:hover{
    background-color: gray;
    color:white;
}
  .active {
    scale: 1;
  }
  .overlay {
    position: fixed;
    background-color: #5f5f5f83;
    top: 0;
    opacity: 0;
    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) {
    .card-wrapper {
      max-width: 250px;
      width: 300px;
    }
    .bottom-group {
      flex-direction: column;
    }
    .modal {
      width: 70vw;
    }
  }
  
  @media (max-width: 200px) {
    .wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .card-wrapper {
      position: static;
      top: 0;
      left: 0;
      translate: 0 0;
      margin: 0 12px;
      padding: 0 10px;
    }
    .card-wrapper div img {
      width: 120px;
      height: 120px;
    }
    .user-name h2 {
      font-size: 1.3rem;
    }
    .modal {
      width: 80vw;
    }
  }