:root {
    --header-height: 76px;
    --header-tucked-height: 70px;
    
    --text-color: black;
    --text-color-sub: #444;
}

/* Body */
@font-face {
    font-family: Montserrat;
    src: url(../../fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
    /* font-display: swap; */
}


@font-face {
    font-family: Geologica;
    src: url(../../fonts/Geologica/static/Geologica_Auto-Bold.ttf);
    /* font-display: swap; */
}

@font-face {
    font-family: 'Geologica Light';
    src: url(../../fonts/Geologica/static/Geologica_Auto-Light.ttf);
    /* font-display: swap; */
}

body {
	font-family: system-ui;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 100vh;
	color: #000000;
	background-color: white;
}
body.modal-open {
    overflow: hidden;
}

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


main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 1;
    transition: background-color 0.3s ease;
}

body.modal-open main {
    pointer-events: none;
  }

body.modal-open main::before {
    background-color: rgba(0, 0, 0, 0.5);
}

textarea {
    font-family: system-ui;
}

.page-title {
    font-size: 120px;
    font-weight: bold;
    color: #000;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px currentColor;
}


h2 {
    text-align: center;
}

.divider {
    width: 80%;
    height: 1px;
    background: #ddd;
    margin-bottom: 1em;
    opacity: 0.5;
}

.divider-m {
    display: none;
    width: 80%;
    background: #021e5c;
    margin-bottom: 1em;
    opacity: 1;
    border: none;
    height: 1px;
}



.no-select {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera, and Edge */
}

/* End of Body */

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


/* Header */


header {
    display: flex;
    position: fixed;
    top: 0;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    color: var(--text-color);
    top: 0;
    z-index: 1000;
    background-color: white;
    transition: height 0.3s, box-shadow 0.3s ease;
    width: 100%;
}


header.hidden {
	height: var(--header-tucked-height);
	box-shadow: 0 2px 6px #3f3f3f3b;
}


.mobile-only {
    display: none;
}

.logo-container {
	height: 100%;
	margin-left: 20px;
	cursor: pointer;
	transition: height 0.3s, margin-left 0.3s;
	display: flex;
	align-items: center;
    z-index: 2;
}
.logo-container img {
	height: calc(100% - 20px);
	transition: height 0.3s, width 0.3s;
}


.dark-theme #logo {
    content: url('../../images/logo-white.svg');
}


.dark-theme #powered-by {
    content: url('../../images/c-ref-w.svg');
}

/* Toggle switch */
.toggle-switch {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.switch-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

/* End of Header */

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


/* Black and white smooth conversioon color scheme style */
.black-white-button {
    background-color: black;
    color: white;
    border: 1px solid black;
    cursor: pointer;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.black-white-button:hover {
    background-color: #ffffff;
    color: black;
}

/* ~~~~~~~~~~~~~ */
@media (max-width: 1500px) {
    :root {
        --header-height: 80px;
    }

    header {
        justify-content: space-between;
    }
}


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

    header {
        box-shadow: 0 2px 6px #3f3f3f3b;
    }

    #tucked-header.hidden .logo-container {
        margin-left: 20px !important;
    }
    
    .page-title {
        font-size: 50px;
        text-align: center;
    }
}

.newsletter-actions button {
    background: black !important;
    font-family: system-ui !important;
}
.newsletter-box-svg-badge {
    display: none !important;
}

#cart-badge {
    background-color: rgb(255, 30, 30);
	color: white;
	border-radius: 12px;
	font-size: 1rem;
	position: absolute;
	top: -16px;
	right: -10px;
	font-style: normal;
	height: 24px;
	width: 24px;
	padding: 0px;
	justify-content: center;
	align-items: center;
	display: flex;
}