* {
    font-family: Jost, sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    font-size: 18px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
	background-color: #FFFFFF;
}

h1 {
    font-size: 1.6rem;
    margin: 0 0 1.6rem 0;
}

h2 {
    font-size: 1.4rem;
    margin: 0 0 1.4rem 0;
}

h3 {
    font-size: 1.2rem;
    margin: 0 0 1.2rem 0;
}

a { color: #FFF; }

.container-small {
    max-width: 800px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

header {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url("../img/intro.jpg");
    background-size: cover;
    background-position: center center;
}

header .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding-bottom: 20px;
    max-width: 350px;
}

header .arrow-down {
    cursor:pointer;
    width: 50px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    animation: bounce 1s infinite;
}


header nav {
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #eeeeee;
}

header nav a {
    text-decoration: none;
    margin: 0 0 0 2rem;
    color: #000;
}
header nav a:hover {
    text-decoration: underline;
}
.loaded header .logo { opacity: 1; }

footer {
    color: #FFF;
    background-color: #083a5b;
}

#lightbox {
    padding: 2rem;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(100,100,100,0.5);
    display: none;
}

.input-group {
    display: block;
    margin: 0.5rem 0;
}

.input-group.input-group-checkbox {
    display: table;
}


.input-group.input-group-checkbox:first-child {
    width: 40px;
}

.input-group input[type=text], .input-group textarea {
    font-size: 1rem;
    display: block;
    background-color: #FFFFFF;
    width: 100%;
    border: 0;
    padding: 0.5rem 1rem;
}

.input-group textarea {
    height: 100px;
    resize: none;
}

.btn-group button {
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    border: 0;
}

.btn-group button:hover, .btn-group button:active {
    background-color: #eeeeee;
}

.content-image {
    max-width: 100%;
}

.animated {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.animated.in-view {
    opacity: 1;
}

@keyframes bounce {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

#lightbox {
    visibility: hidden;
    display: flex;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: scroll;
    padding: 2vh 5vw;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.lightbox-opened {
    overflow-y: hidden;
}

body.lightbox-opened #lightbox {
    visibility: visible;
    opacity: 1;
}

#lightbox .lightbox-main {
    position: relative;
    margin: auto;
    background-color: #FFFFFF;
    width: 100%;
    max-width: 1200px;
    min-height: 100px;
}

#lightbox .lightbox-close {
    font-size: 30px;
    color: #000000;
    text-decoration: none;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1em;
}

#lightbox .lightbox-content {
    padding: 60px 20px 20px;
    transition: height 1s linear;
}

.ajax-form-loaded {
    opacity: 0.5;
}

.ajax-form .input-group.error input[type=text], .ajax-form .input-group.error textarea {
    background-color: #FFAAAA;
}

.ajax-form .input-group-checkbox.error {
    color: #FF4444;
}

.success-message { display: none; color: #44FF44; }
.ajax-form-success .success-message { display: block; }

.error-message { display: none; color: #FF4444; }
.ajax-form-error .error-message { display: block; }