<div class="hero-banner">
  <div class="hero-banner__title" aria-hidden="true">КАК НАЧАТЬ ПЛАВАТЬ</div>
  <img class="hero-banner__image" src="https://stars-legends.ru/wp-content/uploads/2023/01/articulo.gif"/>
  <h1 class="hero-banner__title hero-banner__stroked-title">КАК НАЧАТЬ ПЛАВАТЬ</h1>
</div>

.hero-banner {
  align-items: center;
  display: flex;
  height: 100vh;
  position: relative;
  justify-content: center;
  z-index: -1;
}

.hero-banner__title {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  padding: 0 20px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
}

.hero-banner__stroked-title {
  color: transparent;
  -webkit-text-stroke: 2px white;
  text-stroke: 2px white;
}

.hero-banner__image {
  border-radius: 20px;
  position: fixed;
  transform: rotate(-15deg);
  width: 450px;
}

.content {
  background-color: #eaeaea;
  font-size: 40px;
  padding: 120px 80px;
  height: 100vh; // Fake content height.
}

body {
  background-color: #020238;
  font-family: Arial;
}

* {
  box-sizing: border-box;
}
View Compiled
// 👻

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.