.nav__link, .nav__logo { color: var(--title-color); font-weight: 600; } :root { --header-height: 3rem; --hue: 348; --sat: 100%; --first-color: hsl(var(--hue), var(--sat), 50%); --first-color-alt: hsl(var(--hue), var(--sat), 36%); --title-color: hsla(0, 0%, 69%, 1); --text-color: hsl(var(--hue), 8%, 35%); --body-color: hsl(var(--hue), 100%, 99%); --container-color: #181818; --h1-font-size: 1.5rem; --normal-font-size: 0.938rem; --tiny-font-size: 0.625rem; --z-tooltip: 10; --z-fixed: 100; } @media screen and (min-width: 968px) { :root { --h1-font-size: 2.25rem; --normal-font-size: 1rem; } } html { scroll-behavior: smooth; } .nav__menu ul { padding-left: 0; margin-bottom: 0; list-style: none; } .nav_bottom a { text-decoration: none; } .nav_bottom img { max-width: 100%; height: auto; } .section { padding: 4.5rem 0 2rem; } .section__title { font-size: var(--h1-font-size); color: var(--title-color); text-align: center; margin-bottom: 1.5rem; } .section__height { height: 100vh; } .nav_bottom { height: var(--header-height); display: flex; justify-content: space-between; align-items: center; } .nav__img { width: 32px; border-radius: 50%; } @media screen and (max-width: 767px) { .nav__menu { position: fixed; bottom: 0; left: 0; background-color: var(--container-color); width: 100%; height: 4rem; padding: 0 1rem; display: grid; align-content: center; border-radius: 0; transition: 0.4s; z-index: 10; } .bgcolor { background-color: #ffffff00 !important; } .rm-6 { margin-top: 6rem !important; } } .nav__link, .nav__list { display: flex; } .nav__link { flex-direction: column; align-items: center; row-gap: 4px; } .nav__list { justify-content: space-around; } .nav__name { font-size: var(--tiny-font-size); } .nav__icon { font-size: 1.5rem; } .active-link { position: relative; color: var(--first-color); transition: 0.3s; } .scroll-header { box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15); } @media screen and (max-width: 320px) { .nav__name { display: none; } } @media screen and (min-width: 576px) { .nav__list { justify-content: center; column-gap: 3rem; } } @media screen and (min-width: 767px) { body { margin: 0; } .section { padding: 7rem 0 2rem; } .nav_bottom { height: calc(var(--header-height) + 1.5rem); } .nav__icon, .nav__img { display: none; } .nav__name { font-size: var(--normal-font-size); } .nav__link:hover { color: var(--first-color); } } @media screen and (min-width: 1024px) { .container { margin-left: auto; margin-right: auto; } } @media screen and (min-width: 576px) and (max-width: 1023px) { .nav__list { margin-right: 2rem; column-gap: 2rem; } }