*{
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', sans-serif;

}
.header{
    background-image: linear-gradient(rgba(13, 22, 94, 0.544), rgba(13, 22, 94, 0.544)), url("images/background-img.jpg");
    background-position: 50% 25%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%; /*might cause viewport problems*/
    height: 100vh;
    margin: 0 auto;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 15px;
}
.nav-links ul li a:hover{
    color: grey;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: grey;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;    
}
.hero-btn-cntc{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 5px 34px;
    font-size: 10px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn-cntc:hover{
    border: 1px solid grey;
    background: white;
    transition: 1s;
}
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    line-height: 1.2;
}
.text-box h1{
    font-size: 70px;
    color: white;
    font-weight: 500;
}
.text-box h1 .h1color {
    color: green;
    
}
.text-box p{
    margin: 10px 0 50px;
    font-size: 25px;
    color: rgb(196, 196, 196);
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 12px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid grey;
    background: grey;
    transition: 1s;
}
nav .fa{
    display: none;
}

@media(max-width: 700px){
    .header {
        background-image: linear-gradient(rgba(13, 22, 94, 0.544), rgba(13, 22, 94, 0.544)), url("images/background-img.jpg");
        background-position: 50% 25%;
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;/*might cause viewport problems*/
        height: 100vh;
        margin: 0 auto;
    }
    nav img{
        width: 100px;
    }
    .text-box{
        top: 50%;
        text-align: center;
        line-height: 1.5;
    }
    .text-box h1{
        font-size: 28px;
        font-weight: 500;
    }
    .text-box p{
        margin: 10px 0 5px;
        font-size: 12px;
        color: rgb(179, 179, 179);
    }
    .hero-btn{
        font-size: 8px;
    }
    .nav-links ul li{
        display: block;  
    }
    .nav-links{
        position: fixed;
        background: #0a0a36;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200;
        text-align: left;
        z-index: 2;
        transition: 0.5s;

    }
    nav .fa{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 20px;
}}

/* Tagline */
.background-1{
    min-height: 50vh;
    width: 100%;
    background-color: #0a0a360f;
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.tagline{
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 10px;
}
.tagline h1{
    font-size: 45px;
    font-weight: 500;
    
}
.tagline h2{
    font-size: 35px;
    font-weight: 500;
    padding-top: 80px;
    color: #0a0a36;
}
h3{
    text-align: center;
    font-size: 25px;
    font-weight: 300;
    margin: 10px 0;
}
p{
    color: grey;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 0px;

}
.p-box{
    margin: auto;
    width: 70%;
    text-align: center;
}
.row{
    margin-top: 0%;
    display: flex;
    justify-content: space-between;
}
.tagline-col{
    flex-basis: 49%;
    background: none;
    border-radius: 10px;
    margin-bottom: 0%;
    padding: 0px 0px;
    box-sizing: border-box;
}
.tagline-col p{
    color: grey;
}
.tagline-hero-btn{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    padding: 12px 34px;
    font-size: 12px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.tagline-hero-btn:hover{
    border: 1px solid #0a0a36;
    background: #0a0a36;
    color: white;
    transition: 1s;
}
/* .tagline-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    transition: 0.5s;
} */
@media(max-width: 700px){
    .tagline{
        padding-top: 50px;
    }
    .p-box{
        margin: auto;
        width: 100%;
        text-align: center;
    }
    .row{
        margin-top: 0%;
        flex-direction: column;
    }
    .tagline h1{
        font-size: 25px;
    }
    h3{
        text-align: center;
        font-size: 20px;
        font-weight: 300;
        margin: 10px 0;
    }
    .tagline h2{
        font-size: 20px;
        font-weight: 500;
        padding-top: 20px;
    }
    p{
        font-size: 12px;
    }
    .tagline-col{
        margin-bottom: 5%;
    }
    .tagline-hero-btn{
        font-size: 8px;

    }
}

/* Blog */
.background-2{
    min-height: 50vh;
    width: 100%;
    background-color: #0a0a36;
    background-image: linear-gradient(rgba(13, 22, 94, 0.544), rgba(13, 22, 94, 0.544)), url(images/phnom-penh.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.blog{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
.blog h1{
    font-size: 45px;
    font-weight: 500;
}
.blog h2{
    font-size: 35px;
    font-weight: 500;
    color: white;
}
h3{
    text-align: center;
    font-size: 25px;
    font-weight: 300;
    margin: 10px 0;
    color: white;
}
p{
    color: rgb(217, 216, 216);
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 20px;

}
.p-box{
    margin: auto;
    width: 70%;
    text-align: center;
}
.row{
    margin-top: 2%;
    display: flex;
    justify-content: space-between;
}
.blog-col-1{
    flex-basis: 31%;
    background: #F4F6F7;
    background-image: linear-gradient(rgba(1, 3, 10, 0.5), rgba(4,9,30,0.5)), url(images/field-cultivation.jpg);
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 0px;
    box-sizing: border-box;
    min-height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}
.blog-col-2{
    flex-basis: 31%;
    background: #F4F6F7;
    background-image: linear-gradient(rgba(1, 3, 10, 0.5), rgba(4,9,30,0.5)), url(images/water-supply.jpg);
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 0px;
    box-sizing: border-box;
    min-height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    
}
.blog-col-3{
    flex-basis: 31%;
    background: #F4F6F7;
    background-image: linear-gradient(rgba(1, 3, 10, 0.5), rgba(4,9,30,0.5)), url(images/river-environment.jpg);
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 0px;
    box-sizing: border-box;
    min-height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    
}
.blog-col-4{
    flex-basis: 31%;
    background: #F4F6F7;
    background-image: linear-gradient(rgba(1, 3, 10, 0.5), rgba(4,9,30,0.5)), url(images/flood.jpg);
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 0px;
    box-sizing: border-box;
    min-height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}
.blog-col-5{
    flex-basis: 31%;
    background: #F4F6F7;
    background-image: linear-gradient(rgba(1, 3, 10, 0.5), rgba(4,9,30,0.5)), url(images/forest.jpg);
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 0px;
    box-sizing: border-box;
    min-height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}
.blog-col-6{
    flex-basis: 31%;
    background: #F4F6F7;
    background-image: linear-gradient(rgba(1, 3, 10, 0.5), rgba(4,9,30,0.5)), url(images/urban-planning.jpeg);
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 20px 0px;
    box-sizing: border-box;
    min-height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;

}

.blog-col-1:hover{
    box-shadow: 0 0 30px 0px white;
    transition: 0.5s;
}
.blog-col-2:hover{
    box-shadow: 0 0 30px 0px white;
    transition: 0.5s;
}
.blog-col-3:hover{
    box-shadow: 0 0 30px 0px white;
    transition: 0.5s;
}
.blog-col-4:hover{
    box-shadow: 0 0 30px 0px white;
    transition: 0.5s;
}
.blog-col-5:hover{
    box-shadow: 0 0 30px 0px white;
    transition: 0.5s;
}
.blog-col-6:hover{
    box-shadow: 0 0 30px 0px white;
    transition: 0.5s;
}

@media(max-width: 700px){
    .background-2{
        background-attachment: fixed;
    }
    .blog{
        padding-top: 50px;
    }
    .p-box{
        margin: auto;
        width: 100%;
        text-align: center;
    }
    .row{
        margin-top: 0%;
        flex-direction: column;
    }
    .blog h1{
        font-size: 25px;
    }
    .blog h2{
        font-size: 25px;
    }
    .blog-col-2{
        margin-top: 10%;
    }
    .blog-col-3{
        margin-top: 10%;
    }
    .blog-col-4{
        margin-top: 10%;
    }
    .blog-col-5{
        margin-top: 10%;
    }
    .blog-col-6{
        margin-top: 10%;
    }
    h3{
        text-align: center;
        font-size: 20px;
        font-weight: 300;
        margin: 10px 0;
    }
    p{
        font-size: 12px;
    }
    .blog-col{
        margin-bottom: 5%;
    }
}

/* ---- */
.services{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.services h1{
    font-size: 45px;
    font-weight: 500;
}
.services h2{
    font-size: 35px;
    font-weight: 500;
    color: black;
}
.services h3{
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin: 10px 0;
    color: black;
}
.services p{
    color: grey;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 20px;

}
.services-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: center;
}
.services-col img{
    width: 100%;
    border-radius: 10px;
}
@media(max-width: 700px){
    .services{
        padding-top: 50px;
    }
    .services h2{
        font-size: 25px;
    }
}

/* Blog */
.background-3{
    min-height: 30vh;
    width: 100%;
    background-color: #0a0a36;
    /* background-image: linear-gradient(rgba(1, 3, 10, 0.4), rgba(4,9,30,0.4)), url(images/satellite-image.jpg); */
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.tagline-2{
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 10px;
}
.tagline-2 h2{
    text-align: center;
    font-size: 35px;
    font-weight: 500;
    padding-top: 80px;
    color: white;
}



/* ---- */
.posts{
    width: 70%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
.posts h1{
    font-size: 45px;
    font-weight: 500;
}
.posts h2{
    font-size: 35px;
    font-weight: 500;
    color: black;
}
.posts h3{
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
    color: black;
}
.posts p{
    text-align: left;
    color: grey;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 20px;

}
.item{
    width: 90%;
    margin: auto;
}
.posts-col{
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: center;
}
.posts-col img{
    width: 100%;
    border-radius: 10px;
}
.tagline-hero-btn-1{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid black;
    padding: 12px 34px;
    font-size: 12px;
    background: #0a0a36;
    position: relative;
    cursor: pointer;
}
.tagline-hero-btn-1:hover{
    border: 1px solid #0a0a36;
    background: white;
    color: #0a0a36;
    transition: 1s;
}

@media(max-width: 700px){
    .posts{
        padding-top: 50px;
    }
    .posts h2{
        font-size: 25px;
    }
    .posts h3{
        text-align: center;
    }
    .posts p{
        text-align: center;    
    }
    .tagline-hero-btn-1{
        font-size: 8px;
    }
}


/* Footer */
.container-footer{
	max-width: 1500px;
    margin-left: 20%;
    padding-top: 0px;
    
}
.row-footer{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
	background-color: #0a0a36;
    padding: 70px 0;
}
.footer p{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 500;
    text-align: center;
    color: white;
    font-size: 15px;
}
.footer-col{
   width: 22%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #bbbbbb;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: absolute;
	height: 40px;
	width: 40px;
	background-color: #3b5998;
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
    padding: 10px;
	border-radius: 10%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
    }
    .footer p{
        font-size: 12px;
    }

}
@media(max-width: 574px){
  .footer-col{
    padding: 0 0px;
    width: 100%;
}
.footer-col h4{
	font-size: 15px;
}
.footer-col ul li a{
	font-size: 12px;
}

