Professional Documents
Culture Documents
family=Raleway:wght@300;400;500;600;700;800&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
font-family: "Raleway", sans-serif;
background: #2F3238;
}
.container{
margin: 30px;
}
.row{
width: 100%;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.image{
background: #50A7FF;
position: relative;
flex: 1;
max-width: 460px;
height: 300px;
margin: 20px;
overflow: hidden;
}
.image img{
opacity: 0.8;
position: relative;
vertical-align: top;
transition: 0.6s;
transition-property: opacity;
}
.image:hover img{
opacity: 1;
}
.image .details{
z-index: 1;
position: absolute;
top: 0;
right: 0;
color: #fff;
width: 100%;
height: 100%;
}
.image .details p{
margin: 30px 30px 0 30px;
font-size: 18px;
font-weight: 600;
text-align: center;
opacity: 0;
transition: 0.6s;
transition-property: opacity, transform;
}
.image:hover .details p{
opacity: 1;
transform: translateY(-40px);
}
.more{
position: absolute;
background: rgba(255, 255, 255, 0.8);
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
bottom: -60px;
transition: 0.6s;
transition-property: bottom;
}
.image:hover .more{
bottom: 0;
}
.more .read-more{
color: #000;
text-decoration: none;
font-size: 20px;
font-weight: 500;
text-transform: uppercase;
}
.more .icon-links i{
color: #000;
font-size: 20px;
}
/* Responsive CSS */