@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300;400;500;600;700;800&family=Noto+Serif:wght@400;700&display=swap');

/* demo styles */
*, *:after, *:before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    
}

.jarallax-keep-img {
    position: relative;
    z-index: 0;
    
}
.jarallax-keep-img > .jarallax-img {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    z-index: -100;
}


.wrapper {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
    scroll-padding: 10px;
}

.jarallax {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.jarallax p {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    max-width: 65%;
    margin: auto;
    display: table-cell;
    vertical-align: middle;
    padding: 0 1%;
    text-align: center;
    position: absolute;
    bottom: 15%;
}

/* scrollmagic test */

.box
{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
}

.box2
{
    position: relative;
    width: 110%;
    min-height: 100vh;
    padding: 100px;
    object-fit:cover;
}

.box3
{
    position: relative;
    width: 110%;
    min-height: 100vh;
    padding: 100px;
}

.box4
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

.box5
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

.box6
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

.box7
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

.box8
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

.box9
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

.box10
{
    position: relative;
    width: 100%;
    min-height: 110vh;
}

/* end scrollmagic*/

body {
    font-family: 'Noto Serif', serif;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.first-letter {
    float: left;
    font-size: 8.5rem;
    line-height: 1;
    font-weight: bold;
    margin-right: 9px;
}

h1 {
    font-size: 2.5rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 900;
}
h2 {
    font-size: 30px;
}
h4 {
    font-size: 1.1rem;
    font-family: 'Merriweather Sans', sans-serif;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 300;
}
p {
    margin-top: 0;
    margin-bottom: 10px;
}
p ~ p,
p ~ div {
    margin-top: 15px;
}

small {
    font-size: 75%;
    color: #606060;
}
a, a:visited, a:hover, a:focus {
    color: inherit;
}
a:hover, a:focus {
    color: #4f4f4f;
}

hr {
    height: 3.5rem;
    border-width: 0;
}


.jarallax-keep-img.demo-float-left {
    margin-right: 15px;
    margin-left: -60px;
}
.jarallax-keep-img.demo-float-right {
    margin-left: 15px;
    margin-right: -60px;
}

@media screen and (max-width: 600px) {
    .jarallax-keep-img.demo-float-left,
    .jarallax-keep-img.demo-float-right {
        margin-right: 0;
        margin-left: 0;
        float: none;
    }
}

/* Video */

.video-container2 {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container2 iframe, .video-container2 object, .video-container2 embed {
	position:absolute;
	top:0;
	left:30px;
	right:30px;
	width:90%;
	height:90%;
}

/* hero block */
.demo-table {
    display: table;
    width: 100%;
    height: 600px;
    background-color: rgba(39, 35, 51, 0.6);
    color: #fff;
}
.demo-table-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}


/* gap */
.demo-gap {
    padding: 1% 15%;
    overflow: hidden;
}
.demo-gap h1,
.demo-gap h2,
.demo-gap h3 {
    text-align: center;
}
.demo-gap .container {
    max-width: 800px;
    margin: 0 auto;
}
.demo-gap-half {
    display: table;
    width: 100%;
}
.demo-gap-half > div {
    display: table-cell;
    width: 50%;
}
.demo-gap-half .demo-gap-1 .jarallax,
.demo-gap-half .demo-gap-2 .jarallax {
    padding-top: 56.25%;
    min-height: 0;
    height: 0;
}
.demo-gap-half .demo-gap-1 .jarallax {
    padding-top: 112.5%;
}

/* Demo Content */
.demo-content {
    background-color: #f7f7f7;
    padding: 80px;
}


/* Float */
.demo-float-left {
    float: left;
}
.demo-float-right {
    float: right;
}


/* Carousel */
.demo-carousel {
    background-color: rgb(39, 35, 51);
}
.demo-carousel .demo-carousel-item {
    width: 33.33%;
    min-height: 300px;
}
@media screen and (max-width: 780px) {
    .demo-carousel .demo-carousel-item {
        width: 50%;
    }
}
@media screen and (max-width: 400px) {
    .demo-carousel .demo-carousel-item {
        width: 100%;
    }
}


/* Mobile */
@media screen and (max-width: 500px) {
    .demo-gap,
    .demo-content {
        padding: 10%;
    }
}
