

/***********************faculties style*********************/

#faculties{
    position: relative;
    top: 150px;
    width: 1348px;
    height: 600px;
}

.faculty-box{
    position: relative;
    left: 0;
    background: #262626;
    height: 390px;
    width: 300px;
    float: left;
    margin: 15px;
    border-radius: 5px;
    box-shadow: 2px 5px 15px #262626;
}

.faculty-box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #a2ff00;
    clip-path: circle(120px at 80% 20%);
    transition: 0.5s ease-in-out;
}
.faculty-box:hover::before{
    clip-path: circle(300px at 80% -20%);
} 
 
.faculty-box::after{
    content: 'JBH';
    position: absolute;
    top: 30%;
    left: -20%;
    font-size: 12em;
    font-weight: 800;
    font-style: italic;
    color: rgba(255,255,255,0.04);
    overflow: hidden;
} 

.view-button{
    position: absolute;
    width: 100%;
    height: 90px;
    bottom: -10px;
}
.view-button a{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 15px;
    background: rgba(9, 255, 0, 0.74);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.5s;
}
.view-button a:hover{
    background: green;
}

.faculty-box img{
    position: absolute;
    z-index: 99;
    left: 50%;
    top: 30%;
    transform: translate(-50%,-50%);
    width: 120px;
    height: 120px;
    border: 5px solid #fff;
    border-radius: 50%;
}

.faculty-box .description{
    position: absolute;
    text-align: center;
    height: 180px;
    width: 100%;
    bottom: 2px;
    color: #fff;
}
.faculty-box .description h2{
    margin-top: -15px;
    letter-spacing: 5px;
    color: #a2ff00;
}
.faculty-box .description h5{
    margin-top: -20px;
}
.faculty-box .description h4{
    margin-top: 0;
}
.faculty-box .description p{
    font-size: 15px;
}
.faculty-box .description ul:nth-child(1){
    position: absolute;
    bottom: 50px;
    left: 80px; 
    line-height: 25px;
}
.faculty-box .description ul{
    position: absolute; 
    top: 100px;
    left: 50%; 
	transform: translate(-50%,-50%);
}
.faculty-box .description ul li{
    line-height: 25px;
    font-size: 12px;
}
.social-media{
    position: relative;
    width: 30px;
    height: 30px;
    float: left;
    top: 40px;
    left: 80px;
    margin: 3px;
}
.social-media a{
    font-size: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    transition: 0.5s;
}
.social-media:hover{
    background-color: #33ff00;
} 