/***************** TEAM CSS STARTS **********************/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");


.wrapper {
  margin-top: 0;
  background-image: url(/lovelace/image/team-bg.webp);
}

.wrapper .title{
    text-align: center;
}

.title h4{
    display: inline-block;
    padding: 20px;
    color: #0077ff;
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 1.2px;
    word-spacing: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-transform: uppercase;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.wrapper .card_Container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.card_Container .card{
    position: relative;
    width: 300px;
    height: 350px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 1),
                inset 0 0 0 1000px rgba(67, 52, 109, .6);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .imbBx, .imbBx img{
    width: 100%;
    height: 100%;
}

.card .content{
    position: absolute;
    bottom: -160px;
    width: 100%;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: bottom 0.5s;
    transition-delay: 0.65s;
}

.card:hover .content{
    bottom: 0;
    transition-delay: 0s;
}

.content .contentBx h3{
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    margin: 20px 0 15px;
    line-height: 1.1em;
    transition: 0.5s;
    transition-delay: 0.6s;
    opacity: 0;
    transform: translateY(-20px);
}

.card:hover .content .contentBx h3{
    opacity: 1;
    transform: translateY(0);
}

.content .contentBx h3 span{
    font-size: 12px;
    font-weight: 300;
    text-transform: initial;
}

.content .sci{
    position: relative;
    bottom: 10px;
    display: flex;
}

.content .sci li{
    list-style: none;
    margin: 0 10px;
    transform: translateY(40px);
    transition: 0.5s;
    opacity: 0;
    transition-delay: calc(0.2s * var(--i));
}

.card:hover .content .sci li{
    transform: translateY(0);
    opacity: 1;
}

.content .sci li a{
    color: #fff;
    font-size: 24px;
}
/* Social Icons */
.sci {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.sci li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--white-color);
    text-decoration: none;
    background: var(--prim-icon-gradient);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-regular);
}

.sci li a:hover {
    transform: scale(1.2) rotate(-5deg);
    background: var(--nav-gradient);
}

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .title h4 {
      font-size: 28px;
      padding: 12px;
      word-spacing: 2px;
      letter-spacing: 0.5px;
    }
  
    .card_Container {
      flex-direction: column;
      align-items: center;
    }
  
    .card_Container .card {
      width: 75%;
      height: 280px;
    }
  
    .content .contentBx h3 {
      font-size: 16px;
    }
  
    .sci li a {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }
  }
  
  /* Small Devices (landscape phones, 576px to 767.98px) */
  @media (min-width: 576px) and (max-width: 767.98px) {
    .title h4 {
      font-size: 32px;
      padding: 15px;
    }
  
    .card_Container {
      flex-direction: column;
      align-items: center;
    }
  
    .card_Container .card {
        width: 75%;
        height: 290px;
    }
  
    .content .contentBx h3 {
      font-size: 17px;
    }
  
    .sci li a {
      width: 40px;
      height: 40px;
      font-size: 1.1rem;
    }
  }
  
  /* Medium Devices (tablets, 768px to 991.98px) */
  @media (min-width: 768px) and (max-width: 991.98px) {
    .title h4 {
      font-size: 36px;
      padding: 18px;
    }
  
    .card_Container {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .card_Container .card {
        width: 40%;
        height: 300px;
    }    
  
    .sci li a {
      width: 42px;
      height: 42px;
      font-size: 1.2rem;
    }
  }