:root {
    --primary-color:         #2A292E;
    --primary-color-light:   #676570;
    --secondary-color-dark:  #ededed;
    --secondary-color:       #f6f6f6;
    --secondary-color-light: #ffffff;

    --between-color:         #AAA9AF;
    
    --secondary-color-slight-transparent: #f6f6f6cb;
    --secondary-color-semi-transparent:   #f6f6f686;
    --secondary-color-srtong-transparent: #f6f6f64f;

    --green-color:   #5dff5d;
    --yellow-color:  #ffd747;
    --red-color:     #ff4f4f;

    --green-color-light:  #7dff7d;
    --yellow-color-light: #ffdf6c;
    --red-color-light:    #ff7272;

    --accent-color-one:         #e76de0;
    --accent-color-two:         #84dff6;
    --accent-color-green-one:   #0d2b1d;
    --accent-color-green-two:   #345635;
    --accent-color-green-three: #6b8f71;
    --accent-color-green-four:  #aec3b0;
    --accent-color-green-five:  #e3efd3;

    --map-color: #fbf8f4;
    --map-color-forrest: #e2ebd5;
    --map-color-water: #d8e7ea;

    --shadow:        0 0 10px rgba(0,0,0,0.1), 0 0 10px rgba(0,0,0,0.1), 0 0 10px rgba(0,0,0,0.1);
    --shadow-drop:   drop-shadow(0 0 4px rgba(0,0,0,0.3)); /* filter twin of --shadow -- chaining drop-shadows spreads the blur instead of
       compounding it, so this is a single shadow matched to the box-shadow's profile */
    --shadow-blurry: 0 0 24px rgba(0, 0, 0, 0.1), 0 0 36px rgba(0, 0, 0, 0.1);
    --shadow-blurry-drop: drop-shadow(0 0 14px rgba(0, 0, 0, 0.19)); /* filter twin of --shadow-blurry -- chaining drop-shadows spreads the blur instead of
       compounding it, so this is a single shadow matched to the box-shadow's profile */
    --shadow-medium: 0 0 14px rgba(0,0,0,0.15), 0 0 14px rgba(0,0,0,0.15), 0 0 14px rgba(0,0,0,0.15);
    --shadow-strong: 0 0 20px rgba(0,0,0,0.2), 0 0 20px rgba(0,0,0,0.2), 0 0 20px rgba(0,0,0,0.2);
    --shadow-strong-blurry: 0 0 48px rgba(0, 0, 0, 0.2), 0 0 72px rgba(0, 0, 0, 0.2);
    --shadow-strong-blurry-drop: drop-shadow(0 0 26px rgba(0, 0, 0, 0.38)); /* filter twin of --shadow-strong-blurry -- chaining drop-shadows spreads the blur instead of
       compounding it, so this is a single shadow matched to the box-shadow's profile */

    --shadow-strong-blurry-up: 0 -20px 48px -20px rgba(0, 0, 0, 0.2), 0 -30px 72px -25px rgba(0, 0, 0, 0.2);

    --shadow-white:        0 0 10px rgba(255,255,255,0.1), 0 0 10px rgba(255,255,255,0.1), 0 0 10px rgba(255,255,255,0.1);
    --shadow-blurry-white: 0 0 24px rgba(255,255,255,0.1), 0 0 36px rgba(255,255,255,0.1);
    --shadow-medium-white: 0 0 14px rgba(255,255,255,0.15), 0 0 14px rgba(255,255,255,0.15), 0 0 14px rgba(255,255,255,0.15);
    --shadow-strong-white: 0 0 20px rgba(255,255,255,0.2), 0 0 20px rgba(255,255,255,0.2), 0 0 20px rgba(255,255,255,0.2);
    --shadow-strong-blurry-white: 0 0 48px rgba(255,255,255,0.2), 0 0 72px rgba(255,255,255,0.2);

    --shadow-invert:        inset 0 0 10px rgba(0,0,0,0.1), inset 0 0 10px rgba(0,0,0,0.1), inset 0 0 10px rgba(0,0,0,0.1);
    --shadow-blurry-invert: inset 0 0 24px rgba(0, 0, 0, 0.1), inset 0 0 36px rgba(0, 0, 0, 0.1);
    --shadow-medium-invert: inset 0 0 14px rgba(0,0,0,0.15), inset 0 0 14px rgba(0,0,0,0.15), inset 0 0 14px rgba(0,0,0,0.15);
    --shadow-strong-invert: inset 0 0 20px rgba(0,0,0,0.2), inset 0 0 20px rgba(0,0,0,0.2), inset 0 0 20px rgba(0,0,0,0.2);
    --shadow-strong-blurry-invert: inset 0 0 48px rgba(0, 0, 0, 0.2), inset 0 0 72px rgba(0, 0, 0, 0.2);

    --shadow-invert-white:        inset 0 0 10px rgba(255,255,255,0.1), inset 0 0 10px rgba(255,255,255,0.1), inset 0 0 10px rgba(255,255,255,0.1);
    --shadow-blurry-invert-white: inset 0 0 24px rgba(255,255,255,0.1), inset 0 0 36px rgba(255,255,255,0.1);
    --shadow-medium-invert-white: inset 0 0 14px rgba(255,255,255,0.15), inset 0 0 14px rgba(255,255,255,0.15), inset 0 0 14px rgba(255,255,255,0.15);
    --shadow-strong-invert-white: inset 0 0 20px rgba(255,255,255,0.2), inset 0 0 20px rgba(255,255,255,0.2), inset 0 0 20px rgba(255,255,255,0.2);
    --shadow-strong-blurry-invert-white: inset 0 0 48px rgba(255,255,255,0.2), inset 0 0 72px rgba(255,255,255,0.2);


    --special-shadow-45-primary:       5px 5px 10px #151517, -5px -5px 10px #3f3e45;
    --special-shadow-45-primary-light: 5px 5px 10px #3d3c42, -5px -5px 10px #918e9e;
    --special-shadow-45-secondary:     5px 5px 10px #8f8f8f, -5px -5px 10px #ffffff;
    
    --special-shadow-45-primary-invert:       inset 5px 5px 10px #151517, inset -5px -5px 10px #3f3e45;
    --special-shadow-45-primary-light-invert: inset 5px 5px 10px #3d3c42, inset -5px -5px 10px #918e9e;
    --special-shadow-45-secondary-invert:     inset 5px 5px 10px #8f8f8f, inset -5px -5px 10px #ffffff;

    --green-gradient:
        radial-gradient(ellipse at 13% 13%, rgba(8,9,6,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 13%, rgba(10,13,8,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 13%, rgba(75,88,56,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 13%, rgba(6,8,6,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 38%, rgba(9,14,10,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 38%, rgba(86,103,69,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 38%, rgba(175, 185, 169, 0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 38%, rgba(35,45,26,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 63%, rgba(21,29,12,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 63%, rgba(47,60,37,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 63%, rgba(61,73,52,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 63%, rgba(14,18,11,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 88%, rgba(17,25,22,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 88%, rgba(40,52,33,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 88%, rgba(139,160,114,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 88%, rgba(110,125,93,0.9) 0%, transparent 65%),
        rgb(48,59,40);
    --green-gradient-to-white:
        radial-gradient(ellipse at 13% 13%, rgba(10,14,8,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 13%, rgba(16,21,12,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 13%, rgba(28,34,20,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 13%, rgba(45,53,35,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 38%, rgba(17,24,13,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 38%, rgba(27,35,20,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 38%, rgba(43,53,34,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 38%, rgba(47,57,38,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 63%, rgba(246,246,246,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 63%, rgba(213,213,214,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 63%, rgba(245,245,245,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 63%, rgba(246,246,246,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 13% 88%, rgba(246,246,246,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 38% 88%, rgba(230,230,230,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 63% 88%, rgba(244,244,244,0.9) 0%, transparent 65%),
        radial-gradient(ellipse at 88% 88%, rgba(245,245,245,0.9) 0%, transparent 65%),
        rgb(155,159,153);

    --normal-font: ;
    --speciial-font: "Fraunces", Georgia, serif;

    --header-padding: 45px;
    --header-hight  : 135px; /* might be --header-hight * 3 */
    --site-padding  : calc(var(--header-padding) + 23px); /* Used to be 67.5px */
}

* {
    box-sizing: border-box;
}

*::selection {
    background-color: var(--between-color);
    /*color: var(--secondary-color-light);*/
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    font-weight: lighter;
    font-size: 16px;
}

b {
    font-weight: bold;
}

/* --------------------------------------------------------------------------------- */
/* Buttons */
/* --------------------------------------------------------------------------------- */

.primary-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--primary-color);
    background-size: 60%;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 !important; /* override inline gaps so icon-only stays tight */
    transition: gap 180ms ease;
}

.primary-button:disabled {
    background-color: var(--primary-color-light);
    cursor: not-allowed;
}

.primary-button:hover {
    background-color: var(--primary-color-light);
    gap: 8px !important;
}

.primary-button-special-shadow {
    box-shadow: var(--special-shadow-45-primary);
}

.primary-button-special-shadow:active {
    box-shadow: var(--special-shadow-45-primary-invert);
}

.secondary-light-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color-light);
    background-size: 60%;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 !important; /* override inline gaps so icon-only stays tight */
    transition: gap 180ms ease;
}

.secondary-light-button:hover {
    background-color: var(--secondary-color);
    gap: 8px !important;
}

.secondary-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color);
    background-size: 60%;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 !important; /* override inline gaps so icon-only stays tight */
    transition: gap 180ms ease;
}

.secondary-button:hover {
    background-color: var(--secondary-color-dark);
    gap: 8px !important;
}

.hover-only-text {
    display: inline-flex;
    align-items: center;
    opacity: 0;
    max-width: 0;
    flex: 0 0 auto;
    overflow: visible;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease, max-width 180ms ease;
    white-space: nowrap;
}

.secondary-dark-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color-dark);
    background-size: 60%;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 !important; /* override inline gaps so icon-only stays tight */
    transition: gap 180ms ease;
}

.secondary-dark-button:hover {
    background-color: var(--primary-color-light);
    color: var(--secondary-color-light);
    gap: 8px !important;
}

.red-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--red-color);
    background-size: 60%;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--secondary-color-light);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 !important; /* override inline gaps so icon-only stays tight */
    transition: gap 180ms ease;
}

.red-button:hover {
    background-color: var(--red-color-light);
    gap: 8px !important;
}

.red-button:disabled {
    background-color: var(--secondary-color);
}

.green-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--green-color);
    background-size: 60%;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--secondary-color-light);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 !important; /* override inline gaps so icon-only stays tight */
    transition: gap 180ms ease;
}

.green-button:hover {
    background-color: var(--green-color-light);
    gap: 8px !important;
}

.green-button:disabled {
    background-color: var(--secondary-color);
}

.primary-button:hover .hover-only-text,
.secondary-light-button:hover .hover-only-text,
.secondary-button:hover .hover-only-text,
.red-button:hover .hover-only-text,
.green-button:hover .hover-only-text {
    opacity: 1;
    max-width: 200px;
    transform: translateY(0);
}

.active-switch-button-light {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color-light);
    border: solid 3px var(--primary-color);
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
}

.active-switch-button-light:hover {
    background-color: var(--secondary-color);
}

.active-switch-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color);
    border: solid 3px var(--primary-color);
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
}

.active-switch-button:hover {
    /*background-color: var(--secondary-color-dark);*/
}

.deactivated-switch-button-light {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color-light);
    border: solid 3px var(--secondary-color-light);
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
}

.deactivated-switch-button-light:hover {
    background-color: var(--secondary-color);
    border: solid 3px var(--secondary-color-dark);
}

.deactivated-switch-button {
    height: 45px;
    width:  135px;
    border-radius: 15px;
    background-color: var(--secondary-color);
    border: solid 3px var(--secondary-color);
    display: block;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 16px;
}

.deactivated-switch-button:hover {
    /*background-color: var(--secondary-color-dark);*/
    border: solid 3px var(--secondary-color-dark);
}

/* --------------------------------------------------------------------------------- */
/* Inputs */
/* --------------------------------------------------------------------------------- */

.secondary-input {
    width: 450px;
    height: 45px;
    border-radius: 15px;
    background-color: var(--secondary-color-light);
    border: none;
    padding: 15px;
    font-size: 16px;
}

/* Suppress focus outline for time inputs on this page */
.secondary-input:focus {
    outline: none;
    box-shadow: none;
}

.secondary-input-error {
    border: solid var(--red-color) 2.5px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 45px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-color);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 35px;
    width: calc(50% - 5px);
    left: 5px;
    bottom: 5px;
    background-color: var(--primary-color);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider::before {
    background-color: var(--secondary-color);
}

input:checked + .slider:before {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

/* Rounded sliders */
.slider.round {
    border-radius: 15px;
}

.slider.round:before {
    border-radius: 10px;
}

/* --------------------------------------------------------------------------------- */
/* Texts */
/* --------------------------------------------------------------------------------- */

.title {
    font-size: 45px;
    font-weight: bold;
    color: var(--primary-color);
}

.title-mid {
    font-size: 25px;
    font-weight: bold;
    color: var(--primary-color);
}

.title-sub {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.title-nano {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

/* --------------------------------------------------------------------------------- */
/* Elements */
/* --------------------------------------------------------------------------------- */

.content-block {
    padding: 15px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color-light);
    box-shadow: var(--shadow);
    margin-top: 30px;
    box-sizing: border-box;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.content-block::-webkit-scrollbar {
    display: none;
}

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: auto;
    max-height: var(--header-hight);
    padding: var(--header-padding);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* background-image: linear-gradient(to bottom, var(--secondary-color) 60%, transparent); */
    background-image: linear-gradient(
        to bottom,
        var(--secondary-color) 60%,
        color-mix(in srgb, var(--secondary-color) 96.2%, transparent) 65%,
        color-mix(in srgb, var(--secondary-color) 85.4%, transparent) 70%,
        color-mix(in srgb, var(--secondary-color) 69.1%, transparent) 75%,
        color-mix(in srgb, var(--secondary-color) 50%, transparent) 80%,
        color-mix(in srgb, var(--secondary-color) 30.9%, transparent) 85%,
        color-mix(in srgb, var(--secondary-color) 14.6%, transparent) 90%,
        color-mix(in srgb, var(--secondary-color) 3.8%, transparent) 95%,
        transparent 100%
    );
}

.header-bar .title {
    width: 100%;
    text-align: center;
    padding: 0px 30px 0px 30px;
    padding: 0px 15px 0px 15px;
    font-size: clamp(18px, 5vw, 45px);
}

.transition-to-bottom-secondary {
    background-image: linear-gradient(to bottom, var(--secondary-color), tranparent);
}

.whiteout-background-transition-secondary {
    width: 100%;
    height: 100%;
    background: radial-gradient(closest-side, var(--secondary-color) 35%, var(--secondary-color-slight-transparent) 85%, var(--secondary-color-semi-transparent));
    backdrop-filter: blur(2.5px);
}

/* --------------------------------------------------------------------------------- */
/* Layout */
/* --------------------------------------------------------------------------------- */

.site-holder {
    padding-bottom: var(--site-padding);
    width: calc(100% - (var(--site-padding) * 2));
    margin-left: var(--site-padding);
}

/* --------------------------------------------------------------------------------- */
/* Popover */
/* --------------------------------------------------------------------------------- */

/* Built and positioned by static/js/popover.js -- see Popover.show() */

.popover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 15px;
    background-color: var(--popover-background, var(--secondary-color-light));
    color: var(--popover-color, var(--primary-color-light));
    filter: var(--shadow-drop);
    /*box-shadow: var(--shadow);*/
    font-size: 12px;
    font-weight: lighter;
    line-height: 1.35;
    min-height: 45px;
    max-width: min(var(--popover-max-width, 280px), calc(100vw - 20px));
    pointer-events: none;
    opacity: 0;
    transition: opacity 360ms ease, transform 360ms ease;
}

/* Hidden resting state: offset towards the anchor, so it slides out of it */
.popover-right {
    transform: translateX(-10px);
}

.popover-left {
    transform: translateX(10px);
}

.popover-top {
    transform: translateY(10px);
}

.popover-bottom {
    transform: translateY(-10px);
}

.popover-visible {
    opacity: 1;
    transform: none;
}

/* The pointed tail. Inherits the background so a custom colour carries over. */
.popover::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: inherit;
    border-radius: 3px;
}

/* --popover-arrow-offset is written by the JS so the tail keeps pointing at the
   centre of the anchor even when the body had to be clamped into the viewport */
.popover-right::after {
    left: -5px;
    top: var(--popover-arrow-offset, 50%);
    transform: translateY(-50%) rotate(45deg);
}

.popover-left::after {
    right: -5px;
    top: var(--popover-arrow-offset, 50%);
    transform: translateY(-50%) rotate(45deg);
}

.popover-top::after {
    bottom: -5px;
    left: var(--popover-arrow-offset, 50%);
    transform: translateX(-50%) rotate(45deg);
}

.popover-bottom::after {
    top: -5px;
    left: var(--popover-arrow-offset, 50%);
    transform: translateX(-50%) rotate(45deg);
}

/* Side popovers stay on one line until they would run off the page, at which
   point the JS adds .popover-wrap and they break like the top/bottom ones */
.popover-left,
.popover-right {
    white-space: nowrap;
}

.popover-wrap {
    white-space: normal;
}

.popover-text {
    flex: 1 1 auto;
    min-width: 0;
}

.popover-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 70%;
}

/* Only added when an onClick was passed, so a plain popover never swallows
   clicks meant for the map or the buttons underneath it */
.popover-clickable {
    pointer-events: auto;
    cursor: pointer;
}

/* --------------------------------------------------------------------------------- */
/* Other */
/* --------------------------------------------------------------------------------- */

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.25);
}

.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* --------------------------------------------------------------------------------- */
/* Size Changes */
/* --------------------------------------------------------------------------------- */

@media (max-width: 800px) {
    /*
    :root {
        --header-padding: 30px;
    }
    */
    
    /*
    .header-bar .title {
        font-size: 35px;
        font-size: clamp(12px, 5vw, 45px);
    }
    */
}

@media (max-width: 670px) {
    :root {
        --header-padding: 15px;
        --site-padding  : calc(var(--header-padding) + 23px);
        --header-hight  : 75px;
    }
    
    /*
    .header-bar .title {
        font-size: 25px;
        font-size: clamp(12px, 5vw, 45px);
    }
    */
    
    .primary-button:hover {
        background-color: var(--primary-color);
        gap: 0 !important;
    }

    .secondary-light-button:hover {
        background-color: var(--secondary-color-light);
        gap: 0 !important;
    }

    .secondary-button:hover {
        background-color: var(--secondary-color);
        gap: 0 !important;
    }

    .secondary-dark-button:hover {
        background-color: var(--secondary-color-dark);
        color: var(--primary-color);
        gap: 0 !important;
    }

    .red-button:hover {
        background-color: var(--red-color);
        gap: 0 !important;
    }

    .red-button:disabled {
        background-color: var(--secondary-color);
    }

    .green-button:hover {
        background-color: var(--green-color);
        gap: 0 !important;
    }

    .active-switch-button-light:hover {
        background-color: var(--secondary-color-light);
    }

    .active-switch-button:hover {
        background-color: var(--secondary-color);
    }

    .deactivated-switch-button-light:hover {
        background-color: var(--secondary-color-light);
        border: solid 3px var(--secondary-color-light);
    }

    .deactivated-switch-button:hover {
        background-color: var(--secondary-color);
        border: solid 3px var(--secondary-color);
    }

    .hover-only-text {
        opacity: 0;
        max-width: 0;
        width: 0;
        transform: translateY(4px);
        overflow: hidden;
    }

    .primary-button:hover .hover-only-text,
    .secondary-light-button:hover .hover-only-text,
    .secondary-button:hover .hover-only-text,
    .red-button:hover .hover-only-text,
    .green-button:hover .hover-only-text {
        opacity: 0;
        max-width: 0;
        width: 0;
        transform: translateY(4px);
        overflow: hidden;
    }

    .primary-button:hover,
    .secondary-light-button:hover,
    .secondary-button:hover,
    .red-button:hover,
    .green-button:hover,
    .secondary-dark-button:hover {
        gap: 0 !important;
    }
}
