<body>
<header class="header">
<div class="wrapper">
<div class="header__wrapper">
<div class="header__logo">
<a href="index.html" class="header__logo-link"><img src="./image/Logo.svg" alt="Зарина Иминиова" class="header__logo-img"></a>
</div>
<nav class="header__menu">
<ul class="header__list">
<li class="header__item">
<a href="#!" class="header__link-current">Главная</a>
</li>
<li class="header__item">
<a href="#!" class="header__link">Обо мне</a>
</li>
<li class="header__item">
<a href="#!" class="header__link">Резюме</a>
</li>
<li class="header__item">
<a href="#!" class="header__link">Контакты</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
<main class="main">
<section class="intro">
<div class="wrapper">
<div class="intro__img">
<img src="https://i.imgur.com/G246Emq.png" alt="" class="intro__img-pic">
</div>
<div class="main__wrapper">
<h1 class="intro__title">
Зарина
</h1>
<div class="intro__title-text-frame">
<h1 class="intro__title-text-in-frame">
Иминова
</h1>
</div>
<h3 class="intro__text">
<em>Привет!</em> Меня зовут<br>Иминова Зарина,<br>и я хочу спать...
</h3>
</div>
</div>
</section>
</main>
</body>
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
* {
outline: 0 none !important;
}
body {
font-family: 'Montserrat', sans-serif;
}
h1 {
font-weight: 700;
}
h2 {
font-weight: 600;
}
h3 {
font-weight: 500;
}
.wrapper {
max-width: 1617px;
max-height: 880px;
margin: 0 auto;
}
.header {
width: 100%;
}
.header__wrapper {
text-align: center;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding-top: 50px;
}
.header__logo {
display: flex;
align-items: center;
flex-wrap: wrap;
text-align: center;
padding-left: 720px;
}
.header__list {
display: flex;
flex-wrap: wrap;
}
.header__item {
margin-right: 90px;
}
.header__item:last-child {
margin: 0;
}
.header__list a {
font-size: 24px;
color: #1a1a1a;
text-decoration: none;
text-align: center;
padding-top: 22px;
position: relative;
}
.header__list a.header__link-current {
font-weight: 700;
}
.header__list a:before,
.header__list a:after {
content: "";
position: absolute;
height: 4px;
top: auto;
right: 50%;
bottom: -10px;
left: 50%;
background: #1a1a1a;
transition: .8s;
}
.header__list a:hover:before,
.header__list .header__link-current:before {
left: 0;
}
.header__list a:hover:after,
.header__list .header__link-current:after {
right: 0;
}
.main__wrapper {
margin-left: 720px;
}
.intro {
margin-top: 250px;
}
.intro__title {
font-size: 100px;
margin-bottom: 20px;
}
.intro__title-text-frame {
width: 520px;
height: 100px;
background-color: #1a1a1a;
text-align: center;
}
.intro__title-text-in-frame {
color: #fff;
font-size: 100px;
}
.intro__text {
margin-top: 50px;
font-size: 40px;
width: auto;
height: auto;
line-height: normal;
}
.intro__text em {
font-weight: 600;
font-style: normal;
}
.intro__img {
position: absolute;
}
.intro__img-pic {
float: left;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.