body {
    margin: 0!important;
    font-family: "SF Pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}
.header-bar {
    position: fixed!important;
    width: calc(100vw - 70px);
    transition: top 0.8s;
    /* top: -150px; */
    top: 0;
    animation: slide-down 0.8s ease-in-out 1 forwards;
}
.delay {
    transform: translateY(-100px);
    animation: slide-down 1s ease-in-out 2.7s 1 forwards;

}
/* .animate {
    animation: slide-down 0.8s ease-in-out 0s 1 both;
} */
.nav-up {
    top: -200px;
}
@keyframes slide-down {
    0% {
        transform: translateY(-100px);
        filter: blur(10px);
    }
    100% {
        transform: translateY(0);
    }
}
/* NAV BAR */
.hover-underline-animation {
    display: inline-block;
    position: relative;
    opacity: 0.7;
}
.hover-underline-animation.active {
    opacity: 1;
    color: rgb(255, 255, 255);
}
.hover-underline-animation.active:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(1);
    height: 1px;
    bottom: 2px;
    left: 0;
    background-color: #ffffffb1;
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}
.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 2px;
    left: 0;
    background-color: #ffffffb1;
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover {
    opacity: 1;
} 

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    /* transform-origin: bottom left; */
}
  
.header-bar {
    background: linear-gradient(180deg, #0e0e11d5 0%, #0e0e1100 96%);
    padding: 20px 45px 35px 40px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    z-index: 9999!important;
    position: relative;
    /* width: calc(100vw - 70px); */
    /* width: calc(100vw); */
    transition: 0.5s;
    backdrop-filter: blur(0);
}

.midpage {
    background: #101010c9!important;
    padding-bottom: 20px!important;
    backdrop-filter: blur(50px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background-color: lightgreen; */
    max-width: 1092px;
    width: 90vw;
}
.name {
    text-decoration: none;
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    font-size: 26px;
    color: white;
    /* font-style: italic; */
    z-index: 100;
    opacity: 1;
    pointer-events: all;
    /* transition: 0.3s; */
}

.nav-content ul{
    background-color: #12121200;
    display: flex;    
    list-style: none;
    margin: 0!important;
    padding: 0!important;
    justify-content: flex-end;
    padding-top: 10px!important;
}
.nav-item {
    /* background-color: darkgreen; */
    width: max-content;
    margin: 0 1.5rem;
    /* opacity: 0.7; */
    display: flex;
    font-weight: 200;
    letter-spacing: 0.05ch;
    line-height: 18px;
}
.nav-item .active {
    opacity: 1;
}
.dropdown {
    height: 2.5ch!important;
    display: flex;
}
/* old css to help w/ dropdown menu */
.active {
    font-weight: 400;
    opacity: 1;
}
.right-btn {
    margin-right: 0!important;
}
.nav-content ul li a {
    text-decoration: none;
    color: white
}

@media only screen and (max-width: 900px) {
    .hover-underline-animation:after {
        display: none;
    }
    .header-bar {
        padding: 35px;
        padding-bottom: 15px!important;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        background-color: black;
        margin-bottom: 6px;
        height: 2px;
        border: none;
        border-radius: 1px;
    }
    .one {
        position: relative;
        width: 16px;
        transition: transform 0.5s, width 0.5s;
        transform: rotate(0), translateY(0);
    }
    .two {
        width: 25px;
        transition: transform 0.4s, opacity 0.3s;
    }
    .three {
        width: 16px;
        margin-left: 9px;
        transition: transform 0.5s, width 0.5s;
        transform: rotate(0);
    }
    .hamburger.active .two{
        /* display: none;*/
        transition: 0.3s;
        opacity: 0;
        transform: translateX(-10px);
    }
    .hamburger.active .one, .hamburger.active .three{
        width: 25px;
        /* margin-left: 0; */
        transition: transform 0.3s;
    }
    .hamburger.active .one {
        transform: rotate(45deg) translate(3.4px, 8px);
        transform-origin: center;
        position: relative;
        /* top: 8.8px; */
        transition: transform 0.5s, width 0.5s;
    }
    .hamburger.active .three {
        transform: rotate(-45deg) translate(-3.1px, -14.2px);
        transform-origin: center;
        position: relative;
        transition: transform 0.5s, width 0.5s;
    }
    
    .nav-content {
        z-index: -1;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        transition: 0.5s;
        overflow: hidden;
    }
    .nav-content ul {
        display: block;
        width: fit-content;
        margin: 33vh auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }
    .nav-content ul li a {
        margin-bottom: 6vh;
        font-size: 2.5vh;
    }
    .nav-content.black {
        background-color: white;
    }
    .nav-content.active {
        height: 100vh;
    }
    .nav-content.active ul{
        opacity: 1;
    }
}
.dropdown {
    transition: height 5s; 
    margin-bottom: 0vh;
    text-align: left;
}
.left {
    text-align: left;
}
.drop-button {
    margin: 0;
    margin-bottom: 10px;
    z-index: 1;
}
.dropdown-content {
    display: block;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    top: 0;
    overflow: hidden;
    font-weight: 400;
    transition: opacity 0.5s, transform 0.5s;
    /* animation: fadeIn 0.5s 0s 1; */
    background-color: rgb(41, 41, 41);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.434);
    border: none;
    border-radius: 0.3em;
    border-top-left-radius: 0;
    z-index: 10;
    margin-bottom: 3vh;
    padding-top: 0.6ch;
    padding-bottom: 0.6ch;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.5s;
    backdrop-filter: blur(10px);
}
.drop-button:hover {
    cursor: pointer;
}
.drop-button:hover .fa-chevron-down {
    -webkit-transform: scaleY(-1)!important;
    transform: scaleY(-1)!important;    
    transition: 0.3s;
}
.dropdown:hover .dropdown-content {
    display: block;
    pointer-events: all;
    transform: translateY(-2px);
    /* top: calc(30px + 2.4ch); */
    transition: opacity 0.7s, transform 0.5s;
    /* animation: fadeIn 0.5s 0s 1; */
    opacity: 1;
}
.margins .removepad {
    top: 3ch;
    transform: translateY(0);
}
.margins:hover .removepad {
    transform: translateY(3ch);
}
.center {
    text-align: center;
}
.nav-content ul li .list-item {
    min-width: 10ch;
    padding: 1em 2em;
    color: rgba(255, 255, 255, 0.692)!important;
    font-weight: 300;
    white-space: nowrap;
}
@media only screen and (min-width: 900px){
    .list-item {
        position: relative;
    }
}
.nav-content ul li .list-item:hover {
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.595);
    transition: 0.2s;
}
@keyframes fadeIn {
    0% {opacity: 0; transform: translateY(-30px);}
    100% {opacity: 1; transform: translateY(0px);}
}
@keyframes fadeOut {
    0% {opacity: 1; transform: translateY(0px);}
}
.drop-button {
    /* padding: 0.3em 0; */
    margin-bottom: 0;
}
/* .margins:hover {
    margin-right: calc(2rem - 1.88ch);
} */
.hamburger {
    display: none;
    padding: 10px;
    position: relative;
    top: -10px;
    right: -10px;
}
.header-bar {
    /* padding-bottom: 30px!important; */
}
header {
    transition: top ease-in 0.3s;
}
.nav-up {
    top: -200px;
}
.logo {
    color: black;
    font-family: 'DM Serif Text', Serif!important;
    /* transform: scale(1.2); */
    font-style: italic;
    transform-origin: bottom;
}
/* @media only screen and (min-width: 2000px) {
    .header-bar {
        padding-left: 20vw;
        padding-right: 20vw;
    }
} */
@media only screen and (max-width: 600px) {
    .logo {
        max-width: 5ch;
        line-height: 20px;
        line-height: 17px;
        margin-top: -13px;
        /* transform: scale(1.2); */
        transform-origin: center;
    }
}
@media only screen and (max-width: 900px) {
    .header-bar {
        padding: 35px;
        padding-top: 25px!important;
        padding-bottom: 25px!important;
        position: relative;
        z-index: 0;
        pointer-events: none!important;
    }
    .hover-underline-animation {
        opacity: 1;
    }
    .menu-icon {
        pointer-events: all!important;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        background-color: black;
        margin-bottom: 6px;
        height: 2px;
        border: none;
        border-radius: 1px;
    }
    .one {
        position: relative;
        width: 16px;
        transition: transform 0.5s, width 0.5s;
        transform: rotate(0), translateY(0);
    }
    .two {
        width: 25px;
        transition: transform 0.4s, opacity 0.3s;
    }
    .three {
        width: 16px;
        margin-left: 9px;
        transition: transform 0.5s, width 0.5s;
        transform: rotate(0);
    }
    .hamburger.active .two{
        /* display: none;*/
        transition: 0.3s;
        opacity: 0;
        transform: translateX(-10px);
    }
    .hamburger.active .one, .hamburger.active .three{
        width: 25px;
        /* margin-left: 0; */
        transition: transform 0.3s;
    }
    .hamburger.active .one {
        transform: rotate(45deg) translate(3.4px, 8px);
        transform-origin: center;
        position: relative;
        /* top: 8.8px; */
        transition: transform 0.5s, width 0.5s;
    }
    .hamburger.active .three {
        transform: rotate(-45deg) translate(-3.1px, -14.2px);
        transform-origin: center;
        position: relative;
        transition: transform 0.5s, width 0.5s;
    }
    
    .nav-content {
        z-index: -1;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        transition: 0.5s;
        overflow: hidden;
        pointer-events: all!important;
    }
    .nav-content ul {
        display: block;
        width: fit-content;
        margin: 33vh auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }
    .nav-content ul li a {
        margin-bottom: 0;
        font-size: 18px;
    }
    .nav-content.black {
        background-color: white;
    }
    .nav-content.active {
        height: 100vh;
    }
    .nav-content.active ul{
        opacity: 1;
    }
    .back {
        opacity: 0;
        position: absolute;
        z-index: 10;
        pointer-events: all;
        padding-left: 200px;
        transition: 0.3s;
    }
    .back.active {
        opacity: 1;
        padding-left: 0;
        transition: 0.3s;
        /* background-color: #121212; */
        padding-left: 20px;
        left: 20px;
        display: flex!important;
    }
}


/* new dropdown code */
.dropdown-content {
    /* background-color: pink; */
    /* display: block; */
    /* position: absolute; */
    top: 25px;
}
.list-item {
    display: block;
}
.fa-chevron-right {
    display: none;
    opacity: 0;
}
.fa-chevron-down {
    display: inline;
    transition: 0.3s;
}
hr {
    display: none;
    margin-top: 25px;
    margin-bottom:25px;
    margin-left: 0!important;
    margin-right: 0!important;
}
.dropdown-co {
    opacity: 0!important;
    transition: 0.3s;
}
/* .dropdown:hover .visibility {
    opacity: 1!important;
    transform: translateY(36px);
} */
.menu-icon {
    opacity: 0;
}
.menu-icon div, .menu-icon__cheeckbox {
    margin-right: 0!important;
}
.back {
    display: none!important;
    /* display: flex!important; */
    opacity: 0;
    align-items: center;
    position: absolute;
    top: 35px;
    left: 40px;
    width: 50px;
    height: 50px;
    font-size: 22px;
    color: white;
    z-index: 1000;
    cursor: pointer;
}
.arrow-left {
    /* border-radius: 2px; */
    display: none;
    height: 5px;
    width: 5px;
    border: solid white;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);  
}
.list-top, .top-hr {
    display: none!important;
}
.name-gone {
    opacity: 1;
}

@media only screen and (max-width: 900px) {
    hr {
        display: block;
        opacity: 0.4;
        width: calc(100vw - 70px);
    }
    .top-hr {
        display: block!important;
    }
    .menu-icon {
        opacity: 1;
    }
    .arrow-left {
        display: inline-block;
    }
    
    .fa-chevron-right {
        display: inline;
        opacity: 1;
        transition: 0.1s;
        color: white;
    }
    .fa-chevron-down {
        display: none!important;
    }
    .nav-content ul {
        /* width: 100vw; */
        height: 100vh;
        padding-top: 25vh!important;
        display: flex;
        flex-direction: column;
        /* gap: 14.4px; */
        justify-content: flex-start;
        background-color: #121212;
        padding-left: 35px!important;
        padding-right: 35px!important;
    }
    .nav-content ul a {
        display: block!important;
        /* background-color: pink; */
        width: 100%;
        text-align: left;
        padding-left: 0!important;
    }
    .right-btn {
        margin-right: 1.5rem!important;
    }
    .nav-item:hover .fa-chevron-right {
        opacity: 1;
        transition: 0.1s;
    }
    .nav-item {
        width: calc(100vw - 70px);
        height: auto!important;
        display: flex;
        justify-content: space-between!important;
        align-items: center;
        margin: 0!important;
        cursor: pointer;
    }
    .nav-item a {
        margin-bottom: 0;
    }
    .name {
       width: 70px; 
       line-height: 2.2ch;
    }
    .name-gone {
        opacity: 0;
        /* display: none; */
        /* transition: 0.3s; */
        /* pointer-events: none; */
    }
    .hamburger .line {
        background-color: white;
    }
    
    .list-item {
        /* background-color: pink; */
        width: fit-content;
        margin-bottom: 10px!important;
        /* font-size: 2.5vh!important; */
        line-height: auto;
        padding: 0!important;
        text-transform: uppercase;
        width: 100%;
        font-weight: 200!important;
        color: white;
        padding: 0px 0!important;
        transition: 0.2s;
    }
    .list-top {
        padding-top: 0!important;
        font-weight: 500!important;
        /* font-size: 3vh!important; */
        margin-bottom: 0!important;
    }
    .list-item:hover {
        background-color: #121212!important;
        /* font-weight: 400!important; */
        transition: 0.2s;
    }
    .dropdown:hover .dropdown-content {
        /* all:unset!important; */
        /* transition: 0; */
        position: absolute;
        transform: translateY(0)!important;
    }

    .dropdown-content {
        position: absolute;
        left: 0;
        opacity: 0!important;
        background-color: #121212;
        padding: 0!important;
        font-size: 2.5vh;
        width: 100vw;
        height: 100vh;
        top: 0!important;
        /* padding-top: 30vh!important; */
        display: flex!important;
        flex-direction: column;
        pointer-events: none!important;
        gap: 0px!important;
        padding-left: 200px!important;
        transition: 0.3s!important;
        /* z-index: 100; */
        box-shadow: none!important;
    }
    .nav-content {
        gap: 0!important;
    }
    .list-item {
        /* background-color: purple; */
    }
    .visibility {
        opacity: 1!important;
        padding-left: 0px!important;
        pointer-events: all!important;
        cursor: default;
        transition: 0.3s;
        z-index: 100;
    }
    .hamburger {
        top: 0;
        right: 0;
    }
    .nav-content , .dropdown-content{
        overflow-y: hidden;
    }
    /* .hamburger.active {
        right: -10px;
    } */
    .close {
        opacity: 0!important;
        padding-left: 200px!important;
        z-index: -2;
        pointer-events: none!important;
    }
    .nav-item {
        font-weight: 500!important;
    }
    .nav-item, .nav-content ul li .list-item {
        opacity: 1!important;
        color: white!important
    }
}


/* menu icon from online */
:root {
	--bar-bg: white;
}

.menu-icon {
	position: relative;
	width: 50px;
	height: 50px;
	cursor: pointer;

	.menu-icon__cheeckbox {
		display: block;
		width: 100%;
		height: 100%;
		position: relative;
		cursor: pointer;
		z-index: 2;
		-webkit-touch-callout: none;
		position: absolute;
		opacity: 0;
	}
	div {
		margin: auto;
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
		width: 22px;
		height: 12px;
	}
	span {
		position: absolute;
		display: block;
		width: 100%;
		height: 2px;
		background-color: var(--bar-bg, #000);
		border-radius: 1px;
		transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);

		&:first-of-type {
			top: 0;
		}
		&:last-of-type {
			bottom: 0;
		}
	}
	&.active,
	.menu-icon__cheeckbox:checked + div {
		span {
			&:first-of-type {
				transform: rotate(45deg);
				top: 5px;
			}
			&:last-of-type {
				transform: rotate(-45deg);
				bottom: 5px;
			}
		}
	}

	&.active:hover span:first-of-type,
	&.active:hover span:last-of-type,
	&:hover .menu-icon__cheeckbox:checked + div span:first-of-type,
	&:hover .menu-icon__cheeckbox:checked + div span:last-of-type {
		width: 22px;
	}

	/* &:hover {
		// no need hover effect on mobile.
		@media (min-width: 1024px) {
			span:first-of-type {
				width: 26px;
			}

			span:last-of-type {
				width: 12px;
			}
		}
	} */
}
