@font-face {
    font-family: "kiona";
    src: url("/static/fonts/Kiona-Regular.ttf");
}

* {
    color: #101a0b;
    font-family: 'Lato', sans-serif;
}

body {
	margin: 0;
    padding: 0;
    line-height: normal !important;
    background: url("/static/imgs/background_1080.jpg") no-repeat;
}

@media only screen and (orientation: landscape) and (min-aspect-ratio: 8/5) and (min-height: 522px) {
    body {
        background-size: cover;
    }
}

@media only screen and (orientation: portrait) {
    body {
        background: url("/static/imgs/background_half_1080.jpg") no-repeat;
    }

    @media (min-width: 551px) {
        body {
            background-position: 0 -200px;
        }
    }

    @media (min-width: 471px) and (max-width: 550px) {
        body {
            background-position: -80px -200px;
        }
    }

    @media (min-width: 391px) and (max-width: 470px) {
        body {
            background-position: -130px -200px;
        }
    }

    @media (max-width: 390px) {
        body {
            background-position: -180px -200px;
        }
    }

}

@media only screen and (min-height: 1081px) {
    body {
        background: url("/static/imgs/background.jpg") no-repeat;
    }
}

@media only screen and (min-height: 1081px) and (orientation: portrait) {
    body {
        background: url("/static/imgs/background_half.jpg") no-repeat;
    }
}

p.first {
	padding-top: 10px;
}

p.last {
	padding-bottom: 10px;
}

div.page-container {
    background-color: #f2ece3;
    background-image: url("/static/imgs/paper-3.png");
    margin-top: 15%;
}

h1 {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgb(55, 87, 20);
    font-weight: 400;
    font-family: kiona;
    color: white;
    line-height: 1;
    width: 60vw;
    background-color: rgba(55, 87, 20, 0.45);
    margin: 0 0 0 40vw;
    font-size: 8vw;
}

@media only screen and (max-width: 382px) {
    h1 {
        font-size: 15.5vw;
    }
}

@media only screen and (min-width: 383px) and (max-width: 750px) {
    h1 {
        font-size: 60px;
    }
}

@media only screen and (min-width: 501px) and (max-width: 639px) {
    h1 {
        margin-left: 20vw;
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    h1 {
        margin-left: 0;
        width: 100%;
    }
}

div.spacer {
    width: 100%;
    height: 250px;
}

div.homepage-container {
    height: auto;
    position: absolute;
    bottom: 0;
}

@media only screen and (max-height: 660px), (orientation: portrait) and (max-aspect-ratio: 79/128) {
    div.homepage-container {
        height: 345px;
        position: relative;
        bottom: auto;
    }
}

div.homepage-title {
    width: 100%;
    background-color: rgba(55, 87, 20, 0.75);
}

div.homepage-title> h1 {
    text-align: center;
    margin: 0 0 0 0;
    width: 100%;
    background: none;
}

@media only screen and (max-width: 899px) {
    div.homepage-title> h1 {
        font-size: 72px;
    } 
}

div.homepage-title> h3 {
    text-align: center;
    width: 100%;
    background: none;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgb(55, 87, 20);
    font-weight: 400;
    font-family: kiona;
    color: white;
    font-size: 3vw;
    margin-bottom: 0;
    margin-top: auto;
}

@media only screen and (max-width: 1599px) {
    div.homepage-title> h3 {
        font-size: 48px;
    } 
}

div.content {
    padding-top: 2em;
    padding-bottom: 2em;
    width: 80%;
	margin-left: auto;
	margin-right: auto;
    color: #202020;
    text-align: justify;
    text-justify: inter-word;
}

input, textarea {
    background-color: #fff !important;
}

label {
    font-family: kiona !important
}

@media only screen and (max-width: 1899px) {
    div.content, label {
        font-size: 14pt !important;
    }
}

@media only screen and (min-width: 1900px) {
    div.content, label {
        font-size: 1.0vw !important;
    }
}

div.fader {
    height: 25px;
    background: none;
    background-image: linear-gradient(to bottom, #5a515b, transparent);
}

div.video-container {
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1px 2px;
    padding-bottom: 56.25%;
    height: auto;
    overflow: hidden;
    position: relative;
    background: #fff;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    border-radius: .28571429rem;
    border: 1px solid rgba(34,36,38,.15);
}

iframe.video {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
