@font-face {
  font-family: Samim;
  src: url("./Samim.ttf") format("truetype");
}
*{
  font-family: 'Samim', sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  user-select: none;
  list-style: none;
  text-decoration: none;
}
body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #333;
  color: rgb(225, 230, 230);
}
i{
  font-size: 6rem !important;
  margin-bottom: 2rem;
  color: coral;
}
.container{
  position: relative;
  width: 1000px;
  display: flex;
  justify-content: space-between;
}
.card{
  width: 300px;
  height: 400px;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, .1);
  z-index: 20;
  pointer-events: none;
}
.card, .overlay{
  background-color: coral;
  background-image: linear-gradient(244deg, #3333 0%, #222 50%, #111 100%);
}
.imgBox{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-items: center;
}
.overlay{
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  cursor: pointer;
  background-color: rgba(0, 0, 0, .2);
  transition: all .5s ease-in-out;
}
.overlay:hover{
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  box-shadow: none;
  opacity: .9;
}
.overlay::before{
  content: "Read";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition-delay: .5s;
}
.overlay:hover::before{
  display: none;
  transition-delay: 0s;
}
.content{
  padding: 20px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: 0s;
  color: #fff;
  text-align: justify;
}
.overlay:hover ~ .content{
  opacity: 1;
  visibility: visible;
  transition: .2s;
  transition-delay: .5s;
}