.nav-inner { padding: 3rem 0; display: grid; align-items: center; grid-template-columns: repeat(3, auto); gap: 2.4rem; justify-content: space-between; border-bottom: 0.1rem solid $black; } .search { overflow: hidden; position: relative; input { border: 0.1rem solid $gray-dark; padding: 1rem 1.4rem; font-size: 1.6rem; color: $black; border-radius: 0.5rem; } div { pointer-events: none; position: absolute; left: 1.4rem; top: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; span { font-size: 1.6rem; color: $gray-dark; } } } .nav-left { display: flex; align-items: center; gap: 1.6rem; } .nav-right { ul { display: flex; align-items: center; gap: 2.4rem; } a { display: flex; align-items: center; gap: 0.8rem; font-size: 1.2rem; color: $black; } } .language { padding: 1rem; position: relative; display: flex; align-items: center; gap: 0.8rem; font-size: 1.8rem; cursor: pointer; color: $black; border-radius: 0.5rem; } .language-dropdown { z-index: 2; position: absolute; top: calc(100% + 1rem); left: 0; width: 100%; background: $white; display: flex; flex-direction: column; border-radius: 0.5rem; border: 0.1rem solid $gray; li { button { padding: 1.4rem 1rem; font-size: 1.6rem; background: $white; width: 100%; cursor: pointer; } } box-shadow: 0rem 0rem 0.4rem rgba(0, 0, 0, 0.1); } .icon-wrapper { display: flex; align-items: center; justify-content: center; height: 2.5rem; } .subnav-inner { padding: 1.6rem 0; width: 100%; overflow-x: auto; display: flex; align-items: center; gap: 2.4rem; justify-content: space-between; li { color: $black; width: 100%; border-radius: 0.4rem; } a { border-radius: 0.4rem; text-align: center; text-transform: capitalize; display: block; white-space: nowrap; padding: 1rem; font-size: 1.6rem; color: inherit; @include raleway; -webkit-user-drag: none; } /* width */ &::-webkit-scrollbar { height: 0.5rem; } /* Track */ &::-webkit-scrollbar-track { background: $gray; } /* Handle */ &::-webkit-scrollbar-thumb { background: $gray-dark; } /* Handle on hover */ &::-webkit-scrollbar-thumb:hover { background: $body; } } .nav-burger { display: none; position: relative; } // Media @media screen and (max-width: 850px) { .nav-burger { display: block; width: 3rem; height: 3rem; .line { position: absolute; width: 100%; border-radius: 1rem; background: $black; height: 0.33rem; &-1 { top: 15%; } &-2 { top: 50%; transform: translateY(-50%); } &-3 { top: 75%; } } } .nav-left, .nav-right { display: none; } .nav-inner { display: flex; gap: 1.6rem; justify-content: space-between; padding: 2.4rem 0; border-bottom: none; } .subnav-inner { gap: 0.8rem; padding: 0.8rem 0; padding-top: 0; a { padding: 0.8rem; font-size: 1.4rem; } } }