@font-face {
    font-family: Averta;
    src: url(../../fonts/Averta/AvertaStd-Regular.ttf);
    font-display: swap;
    font-weight: 200;
}

@font-face {
    font-family: Hatton;
    src: url(../../fonts/Hatton/PP_Hatton_Medium_500.otf);
    font-display: swap;
    font-weight: 200;
}

@font-face {
    font-family: HattonLight;
    src: url(../../fonts/Hatton/Hatton-Light.woff2);
    font-display: swap;
    font-weight: 200;
}

@font-face {
    font-family: HattonUltraLight;
    src: url(../../fonts/Hatton/PP_Hatton_Ultralight_200.otf);
    font-display: swap;
    font-weight: 200;
}

:root {
    --login-box-background: #3b3b3b;
    --current-tab-accent: #ffffff;
    --gold-accent: #be9745;
    --footer-logo-icon: url('../assets/footer-dark.svg');
    --powered-by-icon: url('../assets/c-white.svg');
    --header-height: 130px;
    --header-content-sidepadding: 50px;
}

.background-image {
	height: 100vh;
	position: absolute;
	width: 100%;
	object-fit: cover;
	z-index: 0;
}

main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    background: var(--main-content-background);
    min-height: calc(100vh - var(--header-height));
    transition: filter 0.3s, margin-top 0.3s;
}

/* End of Body */

/* ~~~~~~~~~~~~~ */

/* Header */


header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--header-height);
	color: var(--text-color);
	transition: height 0.3s;
	width: calc(100% - var(--header-content-sidepadding) - var(--header-content-sidepadding));
	padding: 0 var(--header-content-sidepadding);
    z-index: 3;
}

.header-logo-a {
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

.header-logo-and-nav {
    display: flex;
    align-items: center;
    margin-left: 50px;
    gap: 30px;
}

.logo {
    height: calc(100% - 60px);
    transition: height 0.3s, margin-left 0.3s, filter 0.5s;
    margin-left: 10px;
}
#tucked-header.nav_active .header-logo-a img {
    filter: invert(0);
}

#nav-list {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background: var(--olive-bg);
	transform: unset;
	position: fixed;
	transform: translateY(calc(-100% - env(safe-area-inset-top)));
	transition: transform 0.8s cubic-bezier(0.84, -0.03, 0.3, 1), height 0.2s ease-in-out;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
    z-index: 0;
    display: flex;
	justify-content: center;
}

#nav-list-collapse {
    font-size: 25px;
    margin-left: 10px;
    top: 10px;
    position: absolute;
    color: var(--text-color);
    cursor: pointer;
}

#nav-list ul {
	display: flex;
	align-items: flex-start;
	padding-left: 0;
	text-align: center;
	list-style-type: none;
	flex-direction: column;
	margin: 50px;
	gap: 20px;
	height: 100%;
	justify-content: flex-start;
    max-width: 1210px;
	width: calc(100% - 40px);
    margin-top: 105px;
}


nav ul li a {
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	font-family: 'HattonLight';
	color: #ffffff;
	font-size: 32px;
}

nav ul li a:hover,
nav ul li a:focus,
nav ul li a.current {
    color: #000000;
}


#nav-list.show {
    transform: unset;
}

.mobile-only {
    display: none;
}

#hamburger-icon {
	cursor: pointer;
	margin-right: 15px;
	z-index: 1;
	border-radius: 25px;
	background-color: #ffffff3b;
	padding: 9px;
}

.hamburger-line {
    stroke: white;
    stroke-width: 2;
    transition: transform 0.3s ease, opacity 0.3s ease, stroke 0.3s;
}

/* Default (Hamburger) State */
.hamburger-line.nav_top {
    transform-origin: center;
}

.hamburger-line.nav_middle {
    opacity: 1;
}

.hamburger-line.nav_bottom {
    transform-origin: center;
}

/* Active (X) State */
#hamburger-icon.nav_active .hamburger-line.nav_top {
    stroke: white;
    transform: translateY(6px) translateX(-6px) rotate(45deg);
}

#hamburger-icon.nav_active .hamburger-line.nav_middle {
    stroke: white;
    opacity: 0;
}

#hamburger-icon.nav_active .hamburger-line.nav_bottom {
    stroke: white;
    transform: translateY(-6px) translateX(-6px) rotate(-45deg);
}

.header-logo-and-nav {
    margin-left: 0px;
}

.header-book-button {
    font-family: Averta;
    height: 50px;
	border: 2px solid white;
	background-color: #66738033;
	color: white;
    margin-left: auto;
    margin-right: 30px;
	width: 130px;
	font-size: 15px;
    line-height: 2.9;
    z-index: 1;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.header-book-button:hover {
    background-color: var(--olive-bg);
}
#tucked-header.nav_active .header-book-button {
	color: white;
}

/* End of Header */

@media (max-width: 1820px) {
    nav ul li a {
	    font-size: 25px;
    }
    #nav-list ul {
        margin: 0;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 1400px) {
    :root {
        --header-content-sidepadding: 50px;
    }
}
@media (max-width: 1000px) {
    :root {
        --header-content-sidepadding: 0px;
    }

    .mobile-only {
        display: unset;
    }
}


@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }

    nav ul li a {
        font-size: 30px;
    }

	#nav-list ul {
        justify-content: flex-start;
        margin-top: 170px;
        margin-left: 50px;
        gap: 15px;
    }

    .logo {
	    height: calc(100% - 40px);
	    transition: height 0.3s, margin-left 0.3s;
	    margin-left: 10px;
	    max-width: 200px;
        object-fit: contain;
    }

    .desktop-only {
        display: none;
    }

    .header-book-button {
        margin-right: 10px;
    }
    #hamburger-icon {
        margin-right: 10px;
    }
}

@media (max-width: 420px) {
    .logo {
	    max-width: 190px;
    }

	.header-book-button {
		font-size: 13px;
		width: 100px;
		line-height: 3.7;
        padding: 0;
    }
}
@media (max-width: 380px) {
    .logo {
		max-width: 170px;
    }
}

body {
    font-family: 'HattonLight';
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    color: #000000;
    background-color:  var(--main-content-background);
}

.modal-open {
    overflow: hidden !important;
}

body.modal-open main {
    filter: brightness(0.6);
    pointer-events: none;
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

a {
    -webkit-user-drag: none;
    user-drag: none;
}

/* End of Body */

/* ~~~~~~~~~~~~~ */


/* ~~~~~~~~~~~~~ */

/* Footer */

footer {
	background-color: #ffffff;
	color: var(--text-color);
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
}


.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 20px 0;
	margin-left: 20px;
	margin-right: 20px;
	position: relative;
	max-width: 1400px;
	width: calc(100% - 40px);
    font-family: Averta;
}

.footer-logo img {
    height: 200px;
	width: calc(100% - 40px);
}

.footer-column {
    flex: 1;
    margin: 0 20px;
}

.footer-column span {
    font-size: 15px;
	color: #333;
    font-weight: 700;
	margin-bottom: 10px;
	margin-top: 0;
}

.footer-column p {
    color: #444;
	font-size: 17px;
	display: flex;
	flex-direction: row;
	gap: 5px;
	text-decoration: none;
	margin-bottom: 5px;
	align-items: center;
    white-space: nowrap;
}

.footer-column a {
	color: #444;
	font-size: 17px;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	margin-bottom: 10px;
    margin-top: 16px;
}

.footer-bottom {
    width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
    border-top: 1px solid #e3e3e3;
}

.footer-bottom p,
.footer-links a {
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.social-media {
    margin-top: auto;
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 10px;
    right: 0;
}

.social-media i {
    color: var(--text-color);
    font-size: 2em;
}

.powered-by-container {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
    font-family: system-ui;
}

.powered-by {
    height: 25px;
}


/* End of Footer */

/* ~~~~~~~~~~~~~ */


@media (max-width: 1000px) {
    .footer-content,
    .footer-bottom {
        flex-direction: column;
		gap: 40px;
    }
    .social-media {
        margin-top: auto;
        display: flex;
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
    }

    .footer-logo img {
        height: 150px;
    }
}