* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    font-family: sans-serif;
}

.container {
    width: 340px;
    height: 450px;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 2px 20px rgb(0 0 0 / 10%);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3 ease-in-out;
    z-index: 10;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: rgb(17 0 141 / 27%);
    z-index: 100;
    transition: all 0.4s ease-in-out;
}

.container .i,
.t {
    width: 100%;
    height: 50%;
    transition: all 0.4s ease-in-out;
}

.container .i {
    background-image: url(1.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
}

.container .i .cont {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1em 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.4s ease-in-out;
    z-index: 1000000000000000;
}

.container .i .cont img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.container .i .cont .aut {
    font-size: 20px;
    padding: 14px;
}

.container .t h2 {
    font-size: 30px;
    text-transform: uppercase;
    padding: 30px 1rem 5px 1rem;
}

.container .t p {
    padding: 1rem;
    color: #888;
    font-style: italic;
}