/**/
@import url('https://fonts.googleapis.com/css?family=Arimo|Noto+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    height: 130px;
    width: 100%;
    position: fixed;
    left: 2%;
    top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Arimo', sans-serif;
    font-size: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 99;
}

div#left {
    
    padding: 10px 0;
    display: inline;
    line-height: 1.2em;
    width: 200px;
}

div#left a {
    text-decoration: none;
    color: rgba(0,0,0,0.5);
    text-align: center 
    
}
span.font {
    font-size: 120px!important;
}


div#left a span {
    font-size:0.7em;     
}


.btns {
    font-family: 'Arimo', sans-serif;
    margin-right: 3%;
    margin-bottom: 3%;

}

.btn {
    border: none;
    width: 220px;
    height: 80px;
    position: relative;
    margin-right: 0.5vw;
    margin-bottom: 0.5vw;
    padding: 0.5vw 1vw;
    padding-right: 1.5vw;
    font-family: 'Arimo', sans-serif;
    font-size: 1.0rem;
    color: var(--inv);
    letter-spacing: 0.1vw;    
    transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
    cursor: pointer;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 150;
}

.btn:before,
.btn:after {
    content: '';
    position: absolute;
    transition: inherit;
    z-index: -1;
}

.btn:hover {
    color: var(--def);
    transition-delay: .6s;
}

.btn:hover:before {
    transition-delay: 0s;
}

.btn:hover:after {
    background: var(--inv);
    transition-delay: .4s;
}

/* From Bottom */

.from-bottom:before,
.from-bottom:after {
    left: 0;
    height: 0;
    width: 100%;
}

.from-bottom:before {
    top: 0;
    border: 1px solid var(--inv);
    border-top: 0;
    border-bottom: 0;
}

.from-bottom:after {
    bottom: 0;
    height: 0;
}

.from-bottom:hover:before,
.from-bottom:hover:after {
    height: 100%;
}

div.btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    height: 5vh;
    width: 100%;
    /*background-image: linear-gradient(-25deg, #616161 0%, #96B7C4 100%);*/
    margin-bottom: 3rem;
    --def: rgba(224,255,255, 1.0);
    --inv: rgba(47,79,79,1.0);
}

div.btns:last-child {
    margin-bottom: 0;
}

.section.js-section {
    width: 100%;
    height: 100vh;
    text-align: center;
}

.section.js-section:nth-child(even) {
    background: #eee;
}

.section.js-section:nth-child(odd) {
    background: #ccc;
}


section.grid-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 3fr;
    grid-gap: 5px;
    background-color: #fff;
    color: #444;
    border: 1px solid red;
    height: 100vh;
}
#myvideo5, #myvideo6 {
  max-width: 90%;
  height: auto;
}
article {
    background-color: #144900;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    font-size: 4vmax;
}
article.five, article.six {
    display:flex;
    align-items: middle;
    justify-content: center;
}
.one {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    background: #a5DA91;

}

.two {
    grid-row: 1 / 3;
    background: #2b6d12;
    text-align: left;
    font-size: 2vh;
    padding-top: 130%;
    font-family: 'Arimo', sans-serif;
}

dt {
    font-weight: bold;
}

dd {
    padding-left: 10px;
}


.six {
    grid-column: 4 / 5;
    background: #73b55b;
}


section.overlap article {
    display: grid;
    grid-template-columns: 1fr minmax(0, 40ch) 1fr;
    grid-template-rows: 20% 2fr auto auto 1fr;
    width: 100%;
    height: 100vh;
    background: #fff;
}

section.overlap h1 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    align-self: end;
    background: rgba(0, 0, 0, 0.2);
    color: black;
    margin: 0;
    padding: 1.4rem;
    line-height: 1.2;
    font-weight: normal;
    font-family: 'Noto Sans', sans-serif;
    text-align: left;
    z-index: 2;
    font-size: 4vh;
}

section.overlap img {
    grid-column: 1 / 3;
    grid-row: 1 / 6;
    z-index: 1;
    width: 100%;
    height: 95vh;
    object-fit: cover;
    object-position: 50% 100%;

}

section.overlap p {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
    align-self: start;
    background: rgba(255, 255, 255, 0.4);
    color: black;
    padding: 1.4rem;
    margin: 0;
    text-align: left;
    font-family: 'Noto Sans', sans-serif;
    z-index: 2;
    font-size: 3vh;
}

section.aos {
    height: 100vh;
    width: 100%;
    border: solid 2px #333;
    display: flex;
    justify-content: space-around;
    /* center horizontally */
    align-items: center;
    /* center vertically or baseline for different size*/
    overflow: hidden;
    background: rgb(0, 212, 255);
    background: linear-gradient(37deg, rgba(0, 212, 255, 1) 0%, rgba(38, 162, 217, 1) 58%, rgba(0, 0, 0, 1) 100%);
}

section.aos article {
    font-size: 2vh;
    text-align: left;
    font-family: 'Noto Sans', sans-serif;
    background: rgba(0, 0, 0, 0.2);
    color: black;
    margin: 0 40px;
    0;
}

section:nth-child(odd)#articulation {
    background-color: transparent;
}

section.aos#articulation {
    /*background-image: url(../images/bg-parallax.jpg);
     
    transition-duration: 0ms;*/

}

.swiper-container {
    width: 100%;
    height: 100vh;
}

.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
}

.swiper-slide .title {
    font-size: 41px;
    font-weight: 300;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    padding: 10px;

}

.swiper-slide .subtitle {
    font-size: 21px;
    background: rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    padding: 10px;
}

.swiper-slide .text {
    font-size: 14px;
    max-width: 400px;
    line-height: 1.3;
    color: #fff;

}

.swiper-slide {
    font-size: 18px;
    color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}


/* Menu */
/* Style the navigation menu */
.mobilenav {
    position: fixed;
    width: 100%;
    height: 100px;

}

.topnav {
    overflow: hidden;
    background-color: rgba(0,0,0,0.2);
    position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
    display: none;
}

/* Style navigation menu links */
.topnav a {
    color: white;
    padding: 7px 10px;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Style the active link (or home/logo) */
.active {
    background-color: #4CAF50;
    color: white;
}

/* === Footer ==== */
footer {
	background: rgba(255,255,255, 0.4);
    position: fixed;
    bottom: 0;
    right: 0;
	color:#fff;
	display:flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-start;
	width:100%;
	min-height: 15vh;
	height: auto;
	padding: 20px;
	font-family: 'Arimo', sans-serif;
    z-index:99;
    font-size:1em;
}

footer aside {
	width:100%;
	margin:10px;
}

footer aside h2 {
	margin-bottom:10px;
}
footer aside:nth-child(2) h2 {
	margin-bottom:10px;
    color: rgba(0,0,0,0.5);
}

footer .foot a {
	display:block;
	color:#fff;
	text-decoration: none;
	margin-bottom: 6px;
}

footer .footsocial a {
	display:block;
	color: rgba(0,0,0,0.5);
	text-decoration: none;
	margin-bottom: 6px;
}


footer .foot a:hover, footer .footsocial a:hover {
	color:#ADFF2F;
}

footer form {
	display:flex;
	justify-content: flex-start;
	align-items: flex-start;
}

footer form input[type="email"] {
	height:43px;
	border-top:solid 1px #ced4da;
	border-left:solid 1px #ced4da;
	border-bottom:solid 1px #ced4da;
	border-right:none;
	padding: 10px;
	background:white;
	font-size:16px;
	color:#fff;
	outline:none;
}
footer form input[type="submit"] {
	background:#6B8E23;
	border:1px solid transparent;
	outline:none;
	height:43px;
	padding: 10px 15px;
	color:#fff;
	font-size:18px;
	cursor: pointer;
	transition: all .3s;
}

footer form input[type="submit"]:hover {
	background-color: deeppink;
}

/* mobile */
@media screen and (max-width: 768px) {
    .container {
        display: none;

    }

    section.grid-1 {
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    section.grid-1 article.one {
        flex: 1 1 auto;
    }

    section.grid-1 article.two {
        padding-top: 9%;
        flex: 1 1 auto;

    }

    section.grid-1 article.three {
        display: none;

    }

    section.grid-1 article.four {
        display: none;

    }

    section.grid-1 article.five {
        flex: 1 1 auto;

    }

    section.grid-1 article.six {
        flex: 1 1 auto;

    }
    section.overlap h1, section.overlap p{
        font-size: 2.5vh;
    }
    .mobilenav {
        z-index: 110;
    }

    #five {
        display: none;
    }
    div#three section.aos {
        display:flex;
        flex-direction: column;
    }
    section.aos article {
        color:white;
    }
    section.aos {
        /*padding-top: 30%;*/
    }
}


/* tablet*/
@media screen and (min-width: 768px) {
    nav.topnav {
        display: none;
    }

    #myvideo {
        min-width: 100%;
    }

    #five {
        height: auto;
    }
}

/* All but except large desktop view */
@media screen and (max-width: 973px) {
    div#left {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        font-size: 1.3vw;
    }
    footer{
        display: none;
    }
}

@media screen and (min-width: 974px) {
    div#left {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        font-size: 1.3vw;
    }
    footer aside {
		width:20%;
	}
}

@media screen and (min-width: 1400px) {
    div#left {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        font-size: 1.2vw;
    }
}
