
  @import url('https://fonts.googleapis.com/css2?family=Secular+One&family=Stick+No+Bills:wght@700;800&display=swap');

:root {
	--prime: #41807c;
	--second: white;
	--bg-light: #5ea6a1;
	--bg-yellow: #f1c50e;
	--bg-black: #1e1e1e;
}
p{
    margin-bottom: 0;
}
.trainer__top{
	color: white;
	margin-bottom: 5rem;
    width: 75%;
    margin: 7rem auto;
    /* margin-top: 5rem; */
}
.trainer__top h1{
    color:#79c9c4;
	border-bottom: 1rem solid rgb(255, 255, 255);
	display: inline-block;
	margin-bottom: 3rem;
	
}
.trainer__top p{
    font-size: 2.5rem;
}
.trainer-card{
    width: 80%;
    background-color: rgba(0, 0, 0, 0.394);
    border-radius: 3rem;
    margin: 7rem auto;
    padding: 4rem 3rem;
    min-height: 500px;
    /* display: grid; */
    /* flex-direction: column; */
}
.top-icons{
    margin-bottom: 3rem;
    margin-left: 1rem;
}
.round{
    display: inline-block;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    margin: 0.5rem 0.5rem;
}
.round:first-child{
    background-color:white
}
.round:nth-child(2){
    background-color: var(--bg-yellow);
}
.round:nth-child(3){
    background-color: var(--bg-light);
}
/* search bar style */
.trainer-card-top{
    display: flex;
    justify-content: space-between;
}
.search-form{
    position: relative;
}
.search-input{
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 5rem;
    width: 35rem;
    border: none;
}
.search-btn:focus-visible,:focus,:focus-within{
    outline: none;
}
.search-btn{
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
    border-radius: 4rem;
    /* padding: 0rem; */
    height: 3.7rem;
    width: 6rem;
    background-color: #f1c50e;
    border: none;
}
.no-cards{
    color: #ffffff8c;
    white-space: nowrap;
}

/* card style */
.card__grid{
    margin: 2rem 1rem;
    display: grid;
    /* grid-column: 2; */
    /* grid-gap: 1rem; */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 3rem;
}
.card__item{
    /* display: grid; */
    background-color: white;
    border-radius: 1rem;
    box-shadow: 3px 2px 15px 2px black;
    padding: 2rem;
    /* grid-column: 2; */
}
.card__item__img{
    display: flex;
    justify-content: center;
    align-items: center;
}
.card__img{
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    position: absolute;
    box-shadow: 2px 3px 4px 1px black;
    background-color: white;
}
.card__img__bg{
    width: 12rem;
    height: 12rem;
}
.card__info{
    font-size: 3rem;
}

.card__info__name{
    font-size: 3rem !important;
    text-align: center;
    text-transform: capitalize;
    color: var(--prime);
    margin: 10px 0;
}
.card__info__pos{
    font-family: sans-serif;
    opacity: 0.8;
    font-weight: 600;
    text-align: center;
    font-size: 2.3rem;
}
.card__info__data{
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    margin: 1rem 0;
}
.card__info__data i{
    color: var(--prime);
    margin-right: 2px;
}
.social-icon{
    margin-top: 1rem;
    /* display: flex; */
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}
.social-btn{
    background-color: #3e858042;
    width: 100%;
    /* display: flex; */
    justify-content: center;
    border-radius: 10px;
    padding: 0.5rem 0;
    margin: 5px;
}
.social-icon i{
    background-color: var(--bg-light);
    border-radius: 50%;
    color: white;
    padding: 1rem;
    font-size: 3rem;
}
/* .social-icon i:hover{
    color: #3e858042;
    background-color: white;
} */
.social-icon span{
    color: var(--prime);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
}
.pagination{
    background-color: rgba(95, 158, 160, 0.698);
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}
.pagination>*{
    margin: 0 1rem;
}
.pagination-btn{
    background-color: transparent;
    color: white;
}
.pagination-no{
    
    background-color: var(--second);
    border-radius: 50%;
    /* padding: 1rem; */
    width: 3rem;
    height: 3rem;
    color: black;
    text-align: center;
    /* margin-top: 3px; */
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.pagination-no:hover{
    background-color: gainsboro;
    text-decoration: none;
    color: #1e1e1e;
}
.pagination .current-page{
    background-color: var(--bg-yellow);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    text-align: center;
    align-items: center;
    /* padding: 1rem; */
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination-btn{
    background-color: transparent;
    color: white;
}
.ellipsis{
    color: white;
    font-size: 2.5rem;
}
/* features style */
.feature{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background-color: var(--bg-light);
    width: 80%;
}
.feature-twin-con{
    display: flex;
}
.feature__item{
    padding: 1rem 2rem;
}
.feature__p{
    color: rgb(122, 122, 122);
    color: #3C3C3C;
    font-size: 4rem;
}
.feature__item:first-child span{
    font-size: 4.2rem;
    color: rgb(71, 71, 71);
    color: #3C3C3C;
    font-weight: 700;
    font-family: potto system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.feature__img{
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    position: relative;
    background-color: rgba(255, 255, 255, 0.696);
    margin: auto;
}
.feature__img img{
    position: absolute;
    width: 10rem;
    height: 10rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.feature_title{
    font-family: Post No Bills Jaffna ExtraBold;
    font-family: 'Stick No Bills', sans-serif;
    font-size: 4rem;
    text-align: center;
    color: var(--second);


}

/* .feature__img::before{
    content: ".";
    width: 8rem;
    display: inline-block;
    height: 8rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.447);
} */

/* responsive style */

@media screen and (max-width:420px) {
    
}


@media screen and (max-width:1024px) {
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    
} 
@media screen and (max-width:768px) {
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    .feature{
        flex-direction: column;
    }
    .trainer__top{
        margin-top: 15rem;
    }
    .trainer-card{
        width: 85%;
    }
    .round{
        width: 2rem;
        height: 2rem;
    }
    .search-input{
        width: 100%;
    }
}
@media screen and (max-width:420px) {
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    .trainer-card{
        width: 90%;
        padding: 3rem 2rem;
    }
    .round{
        width: 2rem;
        height: 2rem;
    }
}
