
/*----- NAV STYLE -----*/

ul {
    list-style-type: none;
    margin: 0;
  padding: 0;
}

.primary-header {
    z-index: 10000;
    padding: 1% 10%;
    position: absolute;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.visually-hidden {
    position: absolute;
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.mobile-nav-toggle {display: none; color: white;}

.nav-list {
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    gap: 50px;
}

.nav-list a {
    text-decoration: none;
    color: rgb(62, 57, 69);
}

.nav-list a:hover,
.nav-list a:focus {
    color: rgb(104, 71, 141);
}

.primary-nav {
    
}

.icon-hamburger{
    padding-top: 18px;
}

@media (max-width: 50em) {
    
    .primary-header{
        padding: 8px 15px;;
    }
    .primary-nav {
        display: none;
        position: fixed;
        inset: 7rem 1rem auto;
        background: white;
        border-radius: 5px;
        padding: 2%;
        box-shadow: 0 14px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        
    }
    .nav-list a {
    text-decoration: none;
    color: black;
}
    .nav-list {
        display: grid;
        gap: 20px;
        text-align: center;
        
    }

    .mobile-nav-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        cursor: pointer;
        background: transparent;
        border: 0;
        padding: 0.5em;
    }

    .mobile-nav-toggle .icon-close {
        display: none;
    }
    
    .primary-nav[data-visible] {
        display: block;
        position: fixed;
    }
}
