CSS-HOVER-EFFECTS/style.css
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
}
body{
    width: 100%;
    background: #2222;
    font-family: 'poppins', cursive;;
}
.container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.images{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    transition: .4s ease-in-out;
}
h1{
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px 0;
    color: #333333;
}
img{
    margin: 5px;
    transition: .3s ease-in-out;
    cursor: pointer;
    height: 200px;
    width: 200px;
}
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-thumb{
    background: #ed3030;
    padding: 5px;
}
::-webkit-scrollbar-track{
    background: #000;
}
#preloader{
    background: #edba30 url(img/loader.gif) no-repeat center;
    background-size: 50%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
}
.topic{
    margin: 10px 0;
}
.section{
    padding-bottom: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #999999;
}
.title{
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
}
.one img{
    filter: sepia(100%);
}
.one img:hover{
    filter: sepia(0);
}
.two img{
    filter: grayscale(100%);
}
.two img:hover{
    filter: grayscale(0);
}
.three img{
    transform: scale(1);
    margin: 0;
}
.three img:hover{
    transform: scale(1.3);
}
.four img{
    transform: scale(1.5);
    margin: 0;
}
.four img:hover{
    transform: scale(1);
}
.five{
    height: 250px;
    width: 250px;
    perspective: 1000px;
    cursor: pointer;
}
.five a{
    display: block;
	width: 100%;
	height: 100%;
	background: url("img/img21.jpg");
	background-size: cover;
    transform-style: preserve-3d;
	transform: rotateX(60deg);
	transition: all 0.8s;	
}
.five a:hover{
	transform: rotateX(20deg); 	
}
.five a:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(#0000008d, #0000001a );    
   	transform: rotateX(90deg);
    transform-origin: bottom;
}
figure{
    overflow: hidden;
    margin: 5px;
    height: 200px;
}
.caption{
    position: relative;
    cursor: pointer;
    height: 250px;
}
.caption img{
    height: 250px; 
    width: 250px;
}
.text {
    position: absolute;
    top: 55%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: all 0.8s ease;
}
.text h3{
    color: #fff;
    letter-spacing: 2px;
    font-size: 40px;
}
.caption:hover img,.caption:hover .text {
	filter: sepia(70%);
    opacity: 1;
}
.last{
    border-bottom: none;
}
footer{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    padding-block: 15px;
    border-top: 1px solid lightgray;
}
.source{
    margin-right: 10px;
    color: #8b8b8b;
}