* { padding: 0; margin: 0; border: 0; } *, *:before, *:after { box-sizing: border-box; } nav, footer, header, aside { display: block; } html, body { height: 100%; width: 100%; font-size: 100%; line-height: 1; font-size: 14px; -ms-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } input, button, textarea { font-family: inherit; } button { background: transparent; border: 0; } input::-ms-clear { display: none; } button { cursor: pointer; } button::-moz-focus-inner { padding: 0; border: 0; } a, a:visited { text-decoration: none; } a:hover { text-decoration: none; } ul li { list-style: none; } img { vertical-align: top; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: 400; } header { height: 45px; border-bottom: 2px solid rgb(161, 137, 0); } .logo { font-size: 24px; color: rgb(2, 2, 120); } .header { display: flex; justify-content: space-between; height: 100%; align-items: center; } .nav { display: flex; justify-content: space-between; } .nav-header { width: 35%; } .nav__item { color: black; opacity: 0.7; transition: 0.2s; } .nav__item_active { opacity: 1; position: relative; } .nav__item_active::after { content: ""; bottom: -14px; position: absolute; display: block; width: 100%; height: 2px; background-color: rgb(128, 109, 1); } .nav__item:hover { opacity: 1; } .container { max-width: 1200px; margin: 0 auto; }