@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Poppins:wght@600&family=Salsa&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Merriweather", serif;
}
body{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-height:100vh;
    /* background-image:  */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
    url(back.jpg);
    background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.team{
    margin-left: 2px;
    font-weight: 1000;
    font-size: 30px;
    color: #fff;
}
.team span{
    color: #ff1d50;
}
.container{
    position: relative;
    width: 600px;
    height: 600px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.container .icon{
    position: relative;
    left: -50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}
.container .icon .imgBx{
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: 0.5s;
    border: 1px solid #fff;
    box-shadow:0 0 0 4px #222, 0 0 0 6px #fff;
    transform: rotate(calc(360deg/5 * var(--i)));
    transform-origin:340px ;
    z-index: 100;
    overflow: hidden;
}

.container .icon .imgBx.active{
    box-shadow:0 0 0 4px #222, 0 0 0 12px #ff1d50;

}
.container .icon .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: rotate(calc(-360deg/5 * var(--i)));
    transition: 0.5s;
    filter: grayscale(1);
}

.container .icon .imgBx.active img{
    filter: grayscale(0);
}

.content{
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content::before{
    content: '';
    position: absolute;
    inset: 60px;
    border: 4px solid transparent;
    border-left: 4px solid #ff1d50;
    border-right: 4px solid #fff;
    border-radius: 50%;
    animation: animte_01 5s linear infinite;
    z-index: 1;
    pointer-events: none;

}

@keyframes animte_01 {
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: 360deg;
    }
    
}

.content::after{
    content: '';
    position: absolute;
    inset: 120px;
    border: 4px solid transparent;
    border-left: 4px solid #1d6cff;
    border-right: 4px solid #fff;
    border-radius: 50%;
    animation: animte_02 2.5s linear infinite;
    z-index: 1;
    pointer-events: none;

}

@keyframes animte_02 {
    0%{
        rotate: 360deg;
    }
    100%{
        rotate: 0deg;
    }
    
}

.contentBx{
    position: absolute;
    transition: 0.5s;
    transform: scale(0);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.contentBx.active{
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.5s;
}

.contentBx .card{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.contentBx .card .imgBx{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
}

.contentBx .card .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contentBx .card .textBx{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contentBx .card .textBx h2{
    position: relative;
    font-size: 1.25em;
    font-weight: 600;
    color:#fff;
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;

}

.contentBx .card .textBx h2 span{
    font-size: 0.65rem;
    color: #ffff;
    font-weight: 500;
    letter-spacing: 0.1rem;
}

.contentBx .card .textBx .sci{
    position: relative;
    display: flex;
    gap: 7px;
    margin-top: 10px;

}

.contentBx .card .textBx .sci li{
    list-style: none;

}

.contentBx .card .textBx .sci li a{
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:#444;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.5s;
}

.contentBx .card .textBx .sci li a:hover{
    background: #2196f3;
}