body{
font-family: 'Montserrat', sans-serif;
font-family: 'Overpass', sans-serif;
min-width: 320px;
overflow-x: hidden;
height: auto;
line-height: 1.4;
position: relative;
}
.navbar{
width: 100%;
height: 70px;
box-shadow: 0 , 4px , 10px , rgba(0 , 0 , 0 , .1);
}
.navbar .container{
height: inherit;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar-menu{
list-style-type: none;
padding-left: 0;
margin-bottom: 0;
}
.navbar-menu li{
display: inline-block;
}
.navbar-menu li a{
text-decoration: none;
display: inline-block;
color: black;
opacity: 0.7;
padding: 10px;
}
.navbar-menu li a:hover{
opacity: 1;
transition: all 0.7s ease-in-out;
}
.navbar-wrap{
display: flex;
flex-flow: row nowrap;
}
.main{
color: white;
text-decoration: none;
padding: 10px 30px;
margin-left: 50px;
margin-right: 50px;
background-color: rgb(12, 36, 64);
border-radius: 200px;
}
.main:hover{
box-shadow: 0px 0px 20px rgb(110, 110, 110);
transition: all 0.5s ease-in-out;
}
.navbar-brend{
text-decoration: none;
font-weight: bold;
font-size: 26px;
color: black;
margin-left: 50px;
margin-right: 300px;
}
.navbar-brend:hover{
color: rgb(11, 14, 50);
}
.belimg {
position: relative;
float: left;
margin-top: 30px;
}
.belimg img {
display: block;
margin: 0;
}
.belimg h2 {
margin: 0;
position: absolute;
line-height: 1.1;
font-size: 1.2em;
left: 0;
bottom: 0;
padding: 6px 20px 6px 10px;
color: white;
}
.stock {
font-family: 'Montserrat', sans-serif;
font-size: .7em;
}
.belimg:hover {
box-shadow: 0px 0px 20px rgb(110, 110, 110);
transition: all 0.5s ease-in-out;
}
.list li {
display: list-item;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/styles.css">
<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@300&family=Overpass&display=swap" rel="stylesheet">
<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@300&family=Overpass&display=swap" rel="stylesheet">
<link rel="stylesheet" href="libs/bootstrap-reboot.min.css">
<link rel="stylesheet" href="libs/bootstrap-grid.min.css">
<link rel="shortcut icon" href="" type="image/x-icon">
<title>Belsoft</title>
</head>
<body>
<nav class="navbar">
<div class="container">
<div class="navbar-wrap">
<ul class="navbar-menu">
<a href="#" class="navbar-brend">Bysoft</a>
<li><a href="/about.html">О нас</a></li>
<li><a href="/contact.html">Контакты</a></li>
<li><a href="/partners.html">Наши партнеры</a></li>
<li><a href="/licenses.html">Лицензии</a></li>
<li><a href="/service.html">Служба сервиса</a></li>
<a href="/index.html" class="main">Главная</a>
</ul>
</div>
</div>
</nav>
</header>
<div class="belimg">
<img src="assets/images/123.jpg" width="550px" height="400px">
<h2>Офис Belsoft<br>
<mark class="stock">Источник:https://yandex.by/maps/org/belsoft/1005448319</mark>
</h2>
</div>
<div class="caption" align="center">
<h1>Наша деятельность</h1>
</div>
<div class="list">
<p>
<ul>
<li>
1
</li>
<li>
2.
</li>
<li>
3
</li>
<li>
4
</li>
<li>
5
</li>
<li>
5
</li>
<li>
6
</li>
<li>
7
</li>
</ul>
</p>
</div>
</body>
</html>