html {
    min-height: 100vh;
    /* overflow-x: hidden; */
	scroll-behavior: smooth;
}

body {
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;

    min-width: 320px;
    min-height: calc(100vh - 160px);
	overflow-x: hidden;
    position: relative;
	padding-bottom: 260px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

/* COLOR SCHEME */
/* #fefefe */
/* #5e5e5e */

.titanic {
    float: none;
}

.toTopButtonContainer {
	width: 60px;
	height: 60px;
	position: fixed;
	z-index: 2;
}
.toTopButton {
	width: 60px;
	height: 60px;
	position: fixed;
	right: 20px;
	bottom: 45px;
	background-color: white;
	padding: 10px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	border-radius: 50%;
	border: solid black 2px;
	cursor: pointer;
	display: none;
	/* z-index: 2; */
}
.toTopButton > img {
	height: 100%;
	-webkit-transform: rotate(180deg);
	        transform: rotate(180deg);
}
.toTopButton:hover::before {
	content: "To top";
	position: absolute;
	background-color: #7a7a7a;
	width: 70px;
	text-align: center;
	padding: 10px;
	top: -50px;
	border-radius: 500px;
	font-weight: bolder;
	color: white;
	z-index: 2;
	left: calc(50% - 45px);
}
.toTopButton:hover::after {
	content: "";
	position: absolute;
	background-color: #7a7a7a;
	width: 20px;
	height: 20px;
	-webkit-transform: rotate(45deg);
	        transform: rotate(45deg);
	top: -30px;
	z-index: 1;
	left: calc(50% - 10px);
}

.loader {
    background-color: #fefefe;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

.loading {
    display: inline-block;
    margin: 5em;
    border-width: 30px;
    border-radius: 50%;
    -webkit-animation: spin 0.5s linear infinite;
    animation: spin 0.5s linear infinite;
    border-style: double;
    border-color: #444 #fff #fff;
}

.out {
    -webkit-transform: translate(0, -150vh);
    transform: translate(0, -150vh);
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

header .headerLogo {
    border-radius: 15px;
    height: 80px;
}

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background: url("/img/hero.png"); */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))),
        url("/img/hero_low.png");
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("/img/hero_low.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-attachment: fixed;
}

header.small {
    height: 140px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))),
        url("/img/hero_low.png");
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url("/img/hero_low.png");
    background-size: cover;
    background-position: center;
}

.menuToggle {
    display: none;
}

a,
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.headerContainer {
    width: 80%;
    max-width: 800px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    top: 30px;
    /* position: fixed;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 2;
	width: 100%;
	padding: 20px; */
}

.center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10px;
}

.restrain {
    width: 80%;
    max-width: 800px;
}

footer {
    height: 100px;
    background-color: #5e5e5e;
    position: absolute;
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
    overflow: hidden;
    color: white;
    left: 0px;
	bottom: 0px;
}

.footerInfo {
    display: block;
}

.footerInfo > p {
    margin: 0px;
    /* white-space: wrap; */
}

footer > .restrain {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.spacer {
    height: 8rem;
}

.onlyMobile {
    display: none;
}

@media (max-width: 800px) {
    body {
        min-width: 320px;
        padding-bottom: 350px;
	}

	.onlyMobile {
        display: initial;
	}

	.toTopButtonContainer {
		display: none;
	}

	.spacer {
        height: 22rem;
	}

    header .headerLogo {
        position: relative;
        margin-top: 25px;
        height: 70px;
        left: -20px;
    }

    footer {
		height: 130px;
    }
    footer > .restrain {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}
