Align-items: почему не работает?
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,300;0,800;1,400;1,700&display=swap" rel="stylesheet">
<title>Heart</title>
</head>
<body>
<header class="header">
<div class="container">
<div class="header__inner">
<div class="header__logo">Heart</div>
<nav class= "nav">
<a class="nav__link" href="#">Главная</a>
<a class="nav__link" href="#">Донат</a>
<a class="nav__link" href="#">FAQ</a>
<a class="nav__link" href="#">Контакты</a>
</nav>
</div>
</div>
</header>
<div class="intro">
<div class="container">
</div>
</div>
ЭТО STYLE.CSS
<code lang="css">
body {
margin: 0;
font-family: 'Exo 2', sans-serif;
font-size 16px;
list-style: 1.6;
color: #000000;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
/* Container */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
/* Intro*/
.intro {
width: 100%;
height: 100vh;
background:
url("../images/intro.jpg") center
no-repeat;
-webkit-background-size: cover;
background-size: cover;
}
/* Header */
.header {
width: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.header__inner {
display: flex;
justify-content: space-between;
align-items: center;
}
.header__logo {
font-size; 30px;
font-weight: 700;
color: #000;
}
/* Nav */
.nav {
font-size: 16;
}
.nav__link {
display: inline-block;
vertical-align: top;
margin: 0 45px;
color: #000;
text-decoration: none;
transition: color .2s linear;
}
.nav__link:hover {
color: #f0c579;
}
</code>