Текст 3 должен отображаться под текстом 2
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Услуги Бухгалтера</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1 class="header">Текст 1</h1>
<h1 class="header-title">текст 2</h1>
<h2 class="header-subtitle">текст 3</h2>
</header>
</body>
</html>
* {
box-sizing: border-box;
text-decoration: none !important;
font-family: cursive;
}
body {
margin: 0;
padding: 0;
border: 0;
font-family: 'Montserrat', sans-serif;
}
header {
background-image: url("fon.jpg");
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.header {
margin-top: 0;
padding-top: 7px;
padding-bottom: 6px;
position: relative;
display: flex;
flex-direction: column;
color: #e2f2f6;
background-color: #17262f;
align-items: center;
margin-bottom: 5px;
}
.header-title {
width: 100%;
height: 100vh;
position: relative;
display: flex;
flex-direction: column;
color: #104769;
align-items: center;
font-size: 30px;
}
.header-subtitle {
margin-top: 0;
font-size: 32px;
text-align: center;
color: black;
margin: 0;
margin-bottom: 70px;
}