@import "template.scss"; .nav { display: flex; gap: 20px; color: $base-color; padding: 15px 45px; background: rgba($light-grey, 0.65); position: fixed; left: 0; top: 0; width: 100%; height: 62px; box-sizing: border-box; z-index: 1; backdrop-filter: blur(8px); font-size: 18px; align-items: center; } .navMobile { display: none; } .itemsLeft { display: flex; gap: 30px; flex-grow: 1; } .menuLink { color: inherit; text-decoration: none; transition: opacity 100ms ease-in; cursor: pointer; } .menuLink:hover { opacity: 0.7; } .itemsRight { display: flex; gap: 20px; align-items: baseline; } .button { padding: 10px; border-radius: 10px; border: none; color: inherit; text-decoration: none; background-color: $light-grey; transition: background-color 0.1s ease-in-out; font-family: inherit; } .button:hover { background-color: $highlight-color; cursor: pointer; } .logoLink { height: 30px; } .megaMenu { position: fixed; top: 62px; left: 0; width: 100%; z-index: 8; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; } .megaMenuActive { max-height: 1000px; } @media screen and (max-width: 1100px) { .nav { flex-direction: column; padding: 15px 15px; align-items: inherit; font-size: 20px; } .megaMenu { position: inherit; } .navMobile { display: flex; align-items: center; justify-content: space-between; } .itemsLeft { padding-bottom: 15px; border-bottom: 1px solid $border-color-light; } .itemsLeft, .itemsRight { gap: 10px; flex-direction: column; } .hide { display: none; } .full { height: 100vh; overflow: scroll; } }