@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: 100%; 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%; height: 80%; display: none; justify-content: center; z-index: 9; } .mobile_dropdown_container #mobile_dropdown { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; 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: 300; letter-spacing: 1.5vw; } #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; max-height: 30vh; margin-top: 5rem; min-width: 80%; right: 10%; border-radius: .2rem; background-color: #0cffae; transition: all .7 ease; } #down_1, #down_2, #down_3{ margin-top: 0; box-shadow: 0 0 15px 47px #0cffae; } #chevron_1, #chevron_2, #chevron_3 { z-index: 1000; } #hemp_dropdown, #spider_dropdown, #offgrid_dropdown { width: 25vw; } .desktop_navigation { display: none; } @media (min-width: 700px) { #hemp_dropdown, #spider_dropdown, #offgrid_dropdown { width: 15vw; } #hemp_dropdown a { padding-left: 3vw !important; } #mobile_dropdown ul li a { padding-left: 1vw; } } @media (min-width: 1000px) { .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; padding-bottom: 15vh; } .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%; } .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: 80%; opacity: 0; visibility: hidden; max-height: 10vh; } #broader { min-width: 15vw; z-index: 1; } .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; } }