/*<editor-fold desc="Universal">*/
*, *:before, *:after {
    box-sizing: border-box;
}

:root {
    /*Variable Variables*/
    --primary-color: #000;
    --primary-color-light: #000;
    --primary-color-dark: #000;
    --secondary-color: #000;
    --secondary-color-light: #000;
    --secondary-color-dark: #000;

    --text-color-dark: #333333;
    --text-color-light: #eeeeee;
    --text-color: var(--text-color-dark);
    --background-color: white;
    --overlay-color: #2E271A80;

    --padding-large: 32px;
    --padding-medium: 16px;
    --padding-small: 8px;

    --border-radius: 14px;
    --border-radius-large: calc(var(--border-radius) + var(--padding-small));
    --border-radius-small: calc(var(--border-radius) - var(--padding-small));

    --fixed-width: calc(100vw - calc(var(--padding-large) * 2));
    --fixed-max-width-large: 1200px;
    --fixed-max-width-medium: 900px;
    --fixed-max-width-small: 600px;

    font-size: 18px;
    color: var(--text-color);
    font-family: sans-serif;

    --header-size: 80px;

    --mobile-size: 800px;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
    background-color: var(--background-color);
}
/*</editor-fold>*/

/*<editor-fold desc="Header">*/
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1000;
    pointer-events: none;
}

.header-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.header-top-wrapper {
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #ffaaaa;
    height: var(--header-size);
    pointer-events: all;
}

.logo-image-container {
    height: 100%;
    padding: 12px;
}

.logo-image-container > img {
    max-height: 100%;
    max-width: 100%;
}

.nav-wrapper {
    flex-grow: 1;
    transition: transform 250ms;
    transform: translateX(100%);
    position: relative;
    align-self: flex-end;
    pointer-events: all;
    display: flex;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--padding-large) / 2) 0;
    background-color: #aaffaa;
}

nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: calc(var(--padding-large) / 2) var(--padding-large);
}

*:has(#nav-toggle-checkbox:checked) ~ .nav-wrapper {
    transform: none;
}

#nav-toggle-checkbox {
    display: none;
}

.nav-toggle {
    position: relative;
    width: 30px;
    height: 20px;
}

.nav-toggle-wrapper {
    grid-area: b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    padding: 0 30px;

    --hamburger-size-y: 7px;
}

.nav-toggle:before, .nav-toggle:after {
    --text-color: var(--text-color-light);

    content: "";
    background-color: var(--text-color);
    width: 100%;
    height: var(--hamburger-size-y);
    border-radius: 3px;
    position: absolute;
    transition: top 100ms 100ms ease-out, bottom 100ms 100ms ease-out, transform 100ms ease-out;
}

.nav-toggle-wrapper:has(> #nav-toggle-checkbox:checked) .nav-toggle:before, .nav-toggle-wrapper:has(> #nav-toggle-checkbox:checked) .nav-toggle:after {
    position: absolute;
    transition: top 100ms ease-out, bottom 100ms ease-out, transform 100ms 100ms ease-out;
}

.nav-toggle:before {
    top: 0;
}

.nav-toggle:after {
    bottom: 0;
}

.nav-toggle-wrapper:has(> #nav-toggle-checkbox:checked) .nav-toggle:before {
    top: calc(50% - calc(var(--hamburger-size-y) / 2));
    transform: rotate(45deg);
}

.nav-toggle-wrapper:has(> #nav-toggle-checkbox:checked) .nav-toggle:after {
    bottom: calc(50% - calc(var(--hamburger-size-y) / 2));
    transform: rotate(-45deg);
}

.floating-phone-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: all;
}

.floating-phone {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background-color: var(--secondary-color);
    margin: var(--padding-medium);
    padding: var(--padding-medium);
    box-shadow: 0 1px 1px 0 #00000080, 0 3px 5px 0 #00000040;
}

.floating-phone svg {
    fill: var(--text-color);
}

@media (min-width: 800px) {
    header {
        background-color: #8888ff;
        overflow: unset;
        bottom: unset;
    }

    .header-wrapper {
        max-width: var(--fixed-max-width-large);
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        width: var(--fixed-width);
    }

    .header-top-wrapper {
        background: unset;
        flex-grow: 0;
    }

    .nav-wrapper {
        transition: unset;
        transform: unset;
        align-self: unset;
        margin: unset;
    }

    .nav-toggle-wrapper {
        display: none;
    }

    nav {
        height: 100%;
        padding: 0;
        flex-grow: 1;
        background: unset;
        position: unset;
        flex-direction: row;
        justify-content: flex-end;
        align-items: stretch;
        gap: var(--padding-small);
    }

    nav a {
        padding: 0 var(--padding-small);
    }

    .floating-phone {
        display: none;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="General">*/
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--padding-large);
}

main > *:first-child {
    padding-top: var(--header-size);
}

footer {
    color: var(--text-color-light);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.3;
}



p {
    margin: 0;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}
/*</editor-fold>*/

/*<editor-fold desc="Custom General">*/

.fixed-width {
    max-width: var(--fixed-max-width-large);
    width: var(--fixed-width);
}

.fixed-width-medium {
    max-width: var(--fixed-max-width-medium);
    width: var(--fixed-width);
}

.fixed-width-small {
    max-width: var(--fixed-max-width-small);
    width: var(--fixed-width);
}

.vertical-list, .horizontal-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--padding-small);
}

.vertical-display, .horizontal-display {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--padding-large);
}

.columns {
    display: flex;
    flex-direction: column;
    gap: var(--padding-large);
}

.center-align > * {
    text-align: center;
    align-items: center;
    justify-content: center;
    align-self: center;
}

a.primary-button > span, a.secondary-button > span {
    border-radius: var(--border-radius);
    padding: var(--padding-small) var(--padding-medium);
    display: block;
}

a.primary-button > span {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    border: 2px solid var(--primary-color);
}

a.secondary-button > span {
    border: 2px solid var(--secondary-color);
}

a.primary-button:hover > span {
    background-color: transparent;
    color: var(--primary-color);
}

a.secondary-button:hover > span {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
}

.media-cover {
    position: relative;
    overflow: hidden;
}

.media-cover > img, .media-cover > video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 800px) {
    .horizontal-list, .horizontal-display {
        flex-direction: row;
    }

    .center-align > .horizontal-list, .center-align > .horizontal-display {
        align-items: flex-start;
    }

    .columns {
        flex-direction: row;
    }

    .columns > * {
        flex: 1 1 0;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Alerts">*/
.alert-box {
    display: flex;
    flex-direction: row;
    border: 2px solid #EBD636;
    background-color: #F6ECA2;
    border-radius: 8px;
    padding: 4px 8px;
    color: black;
}

.alert-box.failure {
    border: 2px solid #DA4C3C;
    background-color: #F2C0BA;
}

.alert-box.success {
    border: 2px solid #5ACE30;
    background-color: #CAF0BC;
}
/*</editor-fold>*/

/*<editor-fold desc="Hero Banner">*/
.hero-banner {
    background-color: var(--secondary-color);
    min-height: 550px;
    display: flex;
    color: var(--background-color);
    width: 100%;
    max-width: unset;
    background-size: cover;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--padding-medium);
    z-index: 100;
    width: var(--fixed-width);
    max-width: var(--fixed-max-width-small);
}

.hero-banner-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero-banner-background > img, .hero-banner-background > video {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    object-fit: cover;
    filter: contrast(.65);
}

.hero-banner-background-cover {
    background-color: var(--overlay-color);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
/*</editor-fold>*/