@font-face { font-family: 'Lato', sans-serif; src: url('fonts/Lato-Thin.ttf') format('truetype'); font-style: normal; font-weight: 100; } .main_bar { background-color: #000; display: flex; flex-direction: row; justify-content: space-between; height: 5rem; border-bottom: .2rem solid hsl(160, 51%, 49%); } .logo { width: auto; height: 4.5rem; margin: .25rem 0 0 .25rem; } .hamburger_wrapper { display: flex; align-items: center; } .hamburger_wrapper #icon { color: #fff; height: 2.5rem; width: 2.5rem; cursor: pointer; margin-right: .5rem; } .mobile_dropdown_container { background-color: rgb(0, 255, 170); opacity: 95%; position: absolute; margin-top: 5rem; width: 100%; display: none; justify-content: center; z-index: 3; } .mobile_dropdown_container #mobile_dropdown { display: flex; flex-direction: column; align-items: center; margin-top: 2rem; } #mobile_dropdown ul { list-style: none; max-height: 16vh; } #mobile_dropdown ul li { display: flex; flex-direction: column; margin-top: .75rem; max-height: 5vh; } #mobile_dropdown ul li a { color:#000; text-decoration: none; font-family: 'Lato', sans-serif; font-size: 1.15rem; line-height: 1.8em; font-weight: 300; margin-bottom: .25rem; letter-spacing: .2rem; display: flex; align-items: center; } #mobile_dropdown ul li li a { font-weight: 400; } #mobile_dropdown ul li a:active { opacity: 50%; color: rgb(0, 255, 170); transition: all ease-in-out; } .drop { display: flex; justify-content: center; } .chevron { height: 1.5rem; width: 1.5rem; cursor: pointer; } .down { display: none; flex-direction: column; align-items: center; z-index: 200; position: fixed; background-color: hsl(300, 100%, 50%); max-height: 30vh; margin-top: 5rem; min-width: 80%; right: 10%; border-radius: .2rem; box-shadow:.1rem .1rem #888; opacity: 85%; transition: all .7 ease; } #down_5 { bottom: 24%; max-height: 40vh !important; } .desktop_navigation { display: none; } @media (min-width:768px) { .main_bar { z-index: 1; display: flex; align-items: center; border-bottom: .25rem solid rgb(62, 190, 147); height: 7.5rem; } .main_bar #logo_container { margin-top: .5rem; } .logo { z-index:3; height: 10rem; width: auto; margin-left: 2.5rem; margin-top: .5rem; position: absolute; } .hamburger_wrapper { display: none; } .mobile_dropdown_container { display: none; } .desktop_navigation { z-index: 2; display:flex; align-items:center; position: relative; width: 100%; margin-left: 30%; padding-top: 4rem; } .desktop_navigation ul { list-style: none; position: relative; align-items: center; padding-top: 1rem; } .desktop_navigation ul li { position: relative; text-align: center; padding-right: 1.5rem; transition: ease .2s; } .desktop_navigation ul li:hover { opacity: 90%; } .desktop_navigation ul li a { color: #fff; text-decoration: none; justify-content: space-between; line-height: 50px; font-family: 'Lato' , sans-serif; font-weight: 300 !important; padding: 2vw; } .desktop_navigation ul ul { border-top: 3px solid rgb(62, 190, 147); position: absolute; top: 50%; opacity: 0; visibility: hidden; max-height: 10vh; } #broader { min-width: 15vw; } .desktop_navigation ul li li { position: relative; display: list-item; background-color: #000; opacity: 95%; padding-top: 1rem; } .desktop_navigation #fix { padding: 0; } .desktop_navigation ul li #fix { padding: 0 .6rem 0 .475rem; } .desktop_navigation ul li li a { font-size: 1.15rem; } .desktop_navigation ul li:hover > ul { opacity: 1; visibility: visible; } }