header { display: flex; flex-direction: row; margin: 1%; margin-top: 1svh; padding-right: 0.5svw; align-items: center; justify-content: space-between; background-color: antiquewhite; } header a { text-decoration: none; color: inherit; cursor: pointer; } header div button { cursor: pointer; height: 3rem; width: 3rem; justify-content: end; background-color: inherit; border: solid 2px gray; border-radius: 1rem; } header div button img { height: 2rem; } header div { display: flex; justify-content: flex-end; align-items: center; } #logo { height: 10svh; padding: 0.15rem; } /* naviagation section */ /* determines spacing and total amount of page it takes up*/ nav { width: 50%; } nav a { text-decoration: none; color: inherit; cursor: pointer; } nav a li { background-color: white; padding: 0.5rem; /* border-left: solid 2px gray; */ } /* removes first divider */ /* can be removed if no borders from above */ #FirstNav { border-left: none; } nav a li:hover { background-color: gray; } nav ul { display: flex; flex-direction: row; justify-content: space-between; list-style: none; margin: 0px; padding: 0px; } creates dwon downs /* */ /* makes it so that the tags look the same whist having removing browser error */ .DropDownHeader { display: inline-block; background-color: white; padding: 0.5rem; border: solid 1px gray; } .DropDownHeader:hover { background-color: gray; } .Hide { display: none; } .DropDown { position: relative; } .DropDown a { cursor: default; } /* makes dropdown visible */ .DropDown:hover .Hide { display: block; position: absolute; width: 100%; text-align: center; } /* For Banner */ #BannerHeader { height: 100svh; width: 100%; display: flex; /* bebug border, use margin to advantage, may cause error later */ /* border-bottom: solid 1px black; */ } #BannerHeader img { position: absolute; height: 100svh; width: inherit; top: 0; left: 0; background-size: cover; background-position: center; z-index: -1; } /* used to postiion title and sub title */ #BannerHeader div { margin-top: 15%; } #BannerHeader h1 { display: flex; width: fit-content; margin-left: 3svw; font-size: xx-large; font-weight: normal; background-color: white; } #BannerHeader h2 { display: flex; width: fit-content; margin-left: 3svw; font-size: xx-large; font-weight: normal; background-color: white; } /* for dark mode */ .darkmode { filter: invert(95%) hue-rotate(180deg); background-color: white; } #root.darkmode #logo.logoAfterDark { filter: hue-rotate(180deg); } #root.darkmode #darkModeToggle { filter: hue-rotate(180deg); }