[html]<link href="https://fonts.googleapis.com/css2?family=Oranienbaum&family=PT+Sans&display=swap" rel="stylesheet">
<style>.shrama {
--shm0: 926px;
--smp0: 270px;
--shh1: 270px;
--smp1: 30px;
--clrp: #b6b4b1;
--clrt: 1em;
--clrta: #ffc072;
--clrba: #949494;
}
#ship13h {display:block; box-sizing:border-box; width:auto; max-width: var(--bgw); padding: 14px 0; background:var(--bg1); color: var(--clr1); text-align:center; font-weight:600; font-size:24px; font-family: 'Playfair Display', Georgia, serif;}
#ship13h em {display:block; padding-top:4px; font-style:normal !important; color: var(--clr2); font-weight:400; font-family: Arial, sans-serif; font-size:10px;}
.shrama {display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; width:100%; max-width:var(--shm0); margin-left: 0px;} .shrama * {box-sizing:border-box;}
.ship18 {display:inline-block; position:relative; width: calc(100% - 8px); max-width: var(--smp0); height: var(--shh1); margin: auto 4px 10px 4px; font-size:var(--clrt); font-family: Tahoma, Verdana, sans-serif; overflow: hidden;}
.shins {background: 50% 50% no-repeat; background-size: cover; box-sizing:border-box; position: absolute; width: 100%; height: 100%; filter: grayscale(1); mix-blend-mode: multiply; opacity: 1;}
.shtext {display:flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; position:absolute; box-sizing: border-box; padding: calc(var(--smp1) * 1.5) var(--smp1) var(--smp1); height: 100%; width: 100%; background: rgba(0,0,0,0); transition: background 0.9s 0.5s;}
.shtext:hover {background: rgba(0,0,0,0.7); transition: background 0.95s;}
.shtext p {overflow: auto; padding: 0 6px 0 0 !important; line-height: 130% !important; text-align: center; box-sizing: border-box; width: 100%; text-shadow: 0 1px 3px #000; color: var(--clrp);}
.shtext p, .shtext:hover p:nth-child(2) {max-height: calc(var(--shh1) - var(--smp1) * 4.5);}
.shtext p:nth-child(2){background:transparent; transform: scale(0); opacity: 0; transition: all 0.6s 0s;}
.shtext:hover p:nth-child(2){opacity: 1; height: auto; transform: scale(1); transition: all 0.6s 0.4s; }
.shtext p::-webkit-scrollbar {width: 3px; height:3px; background-color: transparent;}
.shtext p::-webkit-scrollbar-thumb {background: rgba(134,134,134, 0.35);}
.shtext p:first-child, .shtext p:last-child {width: calc(100% - var(--smp1) * 2);}
.shtext p:first-child, .shtext p:first-child a {font-family: 'Oranienbaum', Tahoma, serif; font-size: 18px; text-transform: uppercase; color: var(--clrta) !important;}
.shtext p:first-child a:hover {filter: brightness(1.2);}
.shtext p:first-child {transition: all 2s; position: absolute; top: calc(var(--shh1) - var(--smp1) * 3); transition: top 0.65s 0.2s;}
.shtext p:last-child {font-family: 'PT Sans', Tahoma, sans-serif; font-size: 11px; position: absolute; top: calc(var(--shh1) - var(--smp1) * 1.8); color: var(--clrba); transition: top 0.5s 0.1s;}
.shtext:hover p:first-child{position: absolute; top: var(--smp1); transition: top 0.7s 0.1s;}
.shtext:hover p:last-child{position: absolute; top: calc(var(--shh1) - var(--smp1) * 1.2); transition: top 0.6s 0.1s;}</style>
<div id="ship13h">Отношения
<em>Я сделаю тысячи шагов вам на встречу, но ни одного - вдогонку...</em></div>
<div id="ship13"><!-— НАЧАЛО БЛОКОВ —->
<div class="shrama"> <!-— START —->
<!---— ВТОРОЙ ПЕРСОНАЖ —--->
<div class="ship18" style="background: #6a6a6a;">
<div class="shins" style="background-image: url(https://i.ibb.co/L1cz3pf/1663976371-13- … kte-13.jpg);"></div>
<div class="shtext">
<p> <a href="#">Алиса Рыбкина</a> </p>
<p>
Алиса вошла в жизнь Оли грацией бульдозера. Оля любит такие неожиданные потрясения в жизни, они заставляют чувствовать эту жизнь ярко. Алиса - взрыв, буря, пламя. Она завораживает своим бойким характером. Рыбкина нравится Оле, но все очень быстро решилось и сошлось на дружеских отношениях.
</p><p>
ЛУЧШАЯ ПОДРУГА
</p></div></div>
<!---— ВТОРОЙ ПЕРСОНАЖ —--->
<div class="ship18" style="background: #6a6a6a;">
<div class="shins" style="background-image: url(https://i.imgur.com/MQGgyEx.jpg);"></div>
<div class="shtext">
<p> <a href="#">Василиса Белая</a> </p>
<p>
Текст
</p><p>
БЫВШАЯ ДЕВУШКА <br>ТЕПЕРЬ ХОРОШАЯ ПОДРУГА
</p></div></div>
<!---— ТРЕТИЙ ПЕРСОНАЖ —--->
<div class="ship18" style="background: #6a6a6a;">
<div class="shins" style="background-image: url(https://i.imgur.com/eyp3uok.jpg
);"></div>
<div class="shtext">
<p> <a href="#">Роман Добрынин</a> </p>
<p>
Текст
</p><p>
ЛЮБИМЫЙ МУЖЧИНА
</p></div></div>
<!-— END —-></div>[/html]
Автор кода Шиповник