:root {
    --header-height: 100px;
    --accent-color: #0099ff;
    --main-accent-color: #0099ff;
}


body {
    font-family: system-ui;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    color: #000000;
}


h1,
h2 {
    font-family: var(--accent-font-regular);
    margin: 0
}

h2 {
    font-weight: 500;
}
span,
h2,
h3,
h4,
h5 {
    letter-spacing: .03em;
}

span {
    line-height: 1.6;
    font-size: 1rem;
	font-weight: 500;
	font-size: 0.8rem;
}

a {
    text-decoration: none;
    letter-spacing: .1em;
	font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

.thin-span {
    font-weight: 300;
	letter-spacing: unset;
	font-size: 1rem;
}
.thin-p {
    letter-spacing: unset;
	font-weight: 200;
	font-size: 0.9rem;
	color: #444;
	line-height: 1.6;
}

h1,
h2 {
    font-family: var(--accent-font-regular);
    margin: 0
}

h2 {
    font-weight: 500;
}
span,
h2,
h3,
h4,
h5 {
    letter-spacing: .02em;
}

span {
    line-height: 1.6;
    font-size: 1rem;
	font-weight: 500;
	font-size: 0.8rem;
}

a {
    text-decoration: none;
    letter-spacing: .1em;
	font-size: 0.9rem;
    font-weight: 500;
    color: #444;
}

.thin-span {
    font-weight: 300;
	letter-spacing: unset;
	font-size: 1rem;
}
.thin-p {
    letter-spacing: unset;
	font-weight: 200;
	font-size: 0.9rem;
	color: #444;
	line-height: 1.6;
}


main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

body.no-scroll {
    overflow: hidden !important; /* Disable scrolling for both html and body */
    height: 100%; /* Prevent body from overflowing vertically */
}

input[type="text"],
input[type="email"],
input[type="number"] {
    font-family: 'Geologica Light';
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]{
    -moz-appearance: textfield;
}


/* HEADER BELOW */

header {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 110px;
}

.header-content {
    display: flex;
    flex-direction: row;
    width: calc(100% - 40px);
    height: 100%;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.header-logo-a {
    height: calc(100% - 20px);
    margin: 10px;
}

.header-logo-a img {
    height: 100%;
}

.nav-and-lang {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

#nav-list {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

#nav-list ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    list-style-type: none;
    margin: 0;
}


nav ul li a {
    color: #5e5e5e;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 30px;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: unset;
    letter-spacing: .02em;
}


#nav-list ul li {
    margin: 15px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
	bottom: -3px;
	width: 0;
	height: 3px;
    background: var(--accent-color);;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

nav ul li a:hover::after,
nav ul li a:focus::after,
nav ul li a.current::after {
    width: 100%;
    left: 0;
}

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

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

.language-switcher {
    position: relative;
    display: inline-block;
}

.language-switcher img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 10px;
    user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.language-switcher img:hover {
    transform: scale(1.20);
}

#hamburger-icon {
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 20px;
}

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

/* 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 {
    transform: translateY(6px) translateX(-6px) rotate(45deg);
}

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

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


.watchlist-head-button {
	width: 50px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.watchlist-head-button svg {
    height: 22px;
	width: fit-content;
    aspect-ratio: 1;
}

.watchlist-head-button {
    position: relative;
}

.watchlist-badge {
	position: absolute;
	bottom: 0;
	left: 6px;
	height: 20px;
	font-family: system-ui;
	font-weight: 200;
	background: #0099ff;
	color: white;
	font-size: 14px;
	border-radius: 10px;
	display: flex;
	aspect-ratio: 1;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	transform: scale(0);
    letter-spacing: normal;
    line-height: 1;
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.watchlist-badge.active {
    transform: scale(1);
    opacity: 1;
}



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

.mobile-only {
    display: none;
}

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

    .mobile-only {
        display: unset;
    }
    /* Mobile menu */
    #nav-list {
        background: #d8d8d8;
        transition: all 0.2s ease-in-out;
        z-index: 1000;
        height: 100vh;
        border-radius: 0;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
    }

    .nav-and-lang {
        right: 60px;
        position: absolute;
    }

    #nav-list ul {
        flex-direction: column;
        margin: 0 60px;
        margin-top: 60px;
        gap: 0;
    }
}


#snackbar {
	position: fixed;
	bottom: -200px;
	left: 50%;
	transform: translateX(-50%);
	padding: 10px 20px;
	background-color: var(--main-accent-color);
	color: white;
	border-radius: 20px;
	transition: bottom .3s;
	width: fit-content;
	max-width: calc(100% - 80px);
	white-space: nowrap;
}

#snackbar.show {
	bottom: 20px;
}

/* TEMP HIDE */
.watchlist-head-button {
    display: none !important;
}