@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

body{
    background-color: hsl(217, 54%, 11%);
    cursor: pointer;
}
.container{
    margin: 100px auto 20px auto;
    background-color: hsl(216, 50%, 16%);
    border-radius: 15px;
    max-width: 340px;
    overflow:hidden;
    padding: 25px;
}
.card{
    border-radius: 15px;
    margin-bottom: 25px;
    overflow: hidden;
}
.image-change {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.image-change::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsl(178, 100%, 50%);
    opacity: 0;
    transition: 0.5s;
}

.image-change::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(/images/icon-view.svg) no-repeat center;
    opacity: 0;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.image-change:hover::after {
    opacity: 1;
}

.image-change:hover::before {
    opacity: 0.5;
}

.main-image {
    display: block;
    max-width: 100%;
}
.text{
    margin-bottom: 30px;
}
.title{
    color: #fff;
    margin-bottom: 20px;
    font-size: 22px;
}
.title:hover{
    color: hsl(178, 100%, 50%);
}
.subtext{
    color: hsl(215, 51%, 70%);
    font-size: 18px;
}

.info{
     display: flex;
     justify-content: space-between;
     border-bottom: 1px solid hsl(215, 32%, 27%);
     padding-bottom: 27px;
     margin-bottom: 8px;
 }

.left{
    display:flex;
    flex-direction: row;
}
.num{
    margin-left: 10px;
    font-size: 18px;
    color: hsl(178, 100%, 50%);
}
.right{
    display:flex;
    flex-direction: row;
}
.time{
    margin-left: 10px;
    font-size: 18px;
    color: hsl(215, 51%, 70%);
}
.footer{
    display: flex;
    padding: 18px 0px 18px;
}
.fimg{
    border-radius: 50%;
    border: 1px solid #fff;
    max-width: 47px;
}
.ftext{
    font-size: 20px;
    color: hsl(215, 51%, 70%);
    margin-left: 15px;
    margin-top: 12px;
}
span{
    color: #fff;
}
span:hover{
    color: hsl(178, 100%, 50%);
}