:root {
    --header-height: 60px;
    --header-color: white;
    --header-background: black;
    --header-button-height: 20px;
    --header-color-secondary: rgb(0, 180, 150);
    --main-background: rgb(245, 245, 245);
    --invalid-color: #ff3919;
    /*--main-background: white;*/
    --main-max-width: 800px;
    --image-ratio: 62.25;
    --border-radius: 15px;
}

* {
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--header-background);
}


/* Loading */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    background-color: var(--header-background);
    z-index: 1000;
    transition: .5s;
}

.overlay.show {
    opacity: 1;
    pointer-events: all;
}

.overlay .loading {
    width: 50px;
    height: 50px;
    margin: 30vh auto;
    border-radius: 50%;
    /*border: 5px solid var(--header-color);
    border-left: none;
	border-bottom-color: transparent;*/
    border: 5px solid transparent;
    border-top-color: var(--header-color);
    animation: Loading 1.5s linear infinite;
    -webkit-animation: Loading 1.5s linear infinite;
}

@-webkit-keyframes Loading {
    from {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

@keyframes Loading {
    from {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}


/* Header */

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    color: var(--header-color);
    background-color: var(--header-background);
    box-shadow: 0 0 2px black;
    z-index: 5;
}

header section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

header section>* {
    display: flex;
    /*flex: 1 1 0;*/
}

header section>div:nth-child(1) {
    justify-content: flex-start;
    flex: 1 1 0;
}

header section>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
}

header section>div:nth-child(3) {
    justify-content: flex-end;
    flex: 1 1 0;
}

header section .logo .subtitle {
    text-transform: initial;
    font-size: 8pt;
    font-weight: 600;
    color: var(--header-color-secondary);
}

header section button {
    display: none;
    align-items: center;
    height: var(--header-button-height);
    margin: 0 10px;
    padding: 4px;
    cursor: pointer;
    color: inherit;
    background: none;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}

header section button.show {
    display: flex;
}

header section button svg {
    height: 100%;
    transition: .125s;
}

header section button span {
    margin-left: 5px;
    transition: .125s;
}

header section button:hover svg {
    filter: drop-shadow(0 0 3px white);
    -webkit-filter: drop-shadow(0 0 3px white);
}

header section button:hover span {
    text-shadow: 0 0 6px white;
}

@media only screen and (max-width: 768px) {
    header section button {
        margin: 0 5px;
    }
    header section button span {
        display: none;
    }
}

header section .logo {
    font-size: 10pt;
    font-weight: 400;
    /*text-align: center;*/
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

* {
    -webkit-tap-highlight-color: transparent;
}