:root {
    --primary-color: #036419 !important;
    --secondary-color: #444;
    --overlay-color: rgba(0,0,0,0.0);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

h1, h2, h3, h4 {
    line-height: 1.3;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%;
}

.cover-img {
    width: 100%;
    height: 100%;
}

#image {
    height: 500px;
    width: 400px;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

/* Navbar be with two even columns */
.navbar {
    font-size: 1.2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.navbar .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.navbar .logo {
    font-size: 2rem;
}

.navbar .nav {
    justify-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav a {
    padding: 0 1rem;
}

.navbar .nav a:hover {
    color: #fdfdfd;
}

/* Section A */
.section-a {
    margin: 2rem 0;
    /*background: url(../images/Improved_Kienyeji.jpg);*/
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.section-a .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3rem;
    align-items: center;
    justify-content: center;
}

.section-a h1 {
    font-size: 4rem;
    color: var(--primary-color);
}

.section-a p {
    margin: 1rem 0;
}

/* Section B */

.section-b {
    position: relative;
   
    height: 600px;
}

.section-b-inner {   
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 860px;
    padding: 5rem 0;
}

.section-b-inner h2 {
    font-size: 5rem;
    margin-top: 1rem;
}

.section-b-inner h3 {
    font-size: 2rem;
}

.section-b-inner p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Section C */
.section-c .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.section-c .gallery img,
.section-c .gallery a {
    width: 100%;
    height: 100%;
}


/* Footer */

.section-footer {
    background-color: #036419 !important;
    color: #fff;
    padding: 4rem 0;
}

.section-footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
}

.section-footer h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-footer h3 {
    margin-bottom: 0.7rem;
}

.section-footer a {
    line-height: 1.9;
    color: #fff;
}

.section-footer a > i {
     margin-right: 0.5rem;
}

/* Email form submition*/
.email-form {
    width: 100%;
    display: inline-block;
    background-color:#00ff15;
    position: relative;
    border-radius: 20px;
    line-height: 0;
    margin-top: 1rem;
}

.email-form .form-control {
    display: inline-block;
    border: 0;
    outline: 0;
    font-size: 1rem;
    color: black;
    background-color: transparent;
    font-family: inherit;
    margin: 0;
    padding: 0 3rem 0 1.5rem;
    width: 100%;
    height: 45px;
    border-radius: 20px;
}

.email-form .submit {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background-color: #eee;
    font-size: 1rem;
    text-align: center;
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    color: #333;
    cursor: pointer;
    border-radius: 0 20px 20px 0;
}

/* Utilities*/

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 30px;
}

.btn:hover {
    background: #fa0000;
    color: #fff;
    text-decoration: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--overlay-color);
}

.logo {
    cursor: pointer;
    width: 250px;
    height: 50px;
}

.brand {
    cursor: pointer;
    width: 160px;
    height: 70px;
}

/* Calendar Syles */

.calendar {
            font-family: Arial;
            font-size: 12px;
            width: 100%;
        }

        table.calendar {
            margin: auto;
            border-collapse: collapse;
        }

        .calendar .days td {
            width: 80px;
            height: 80px;
            padding: 4px;
            border: 1px solid #999;
            vertical-align: top;
            background-color: #DEF;
        }

        .calendar .days td:hover {
            background-color: #fff;
        }

        .calendar .highlight {
            font-weight: bold;
            color: #00f;
        }

/* Downloads Style */
.file-box{
    width: 24%;
    padding: 1%;
    float: left;
}

.box-content{
    box-shadow: 0 2px 4px  0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    background-color: #f1f1f1;
    padding: 0.01em 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin: 0;
}

.box-content h5{
    font-size: 18px;
    font-weight: 400;
    margin: 10px 0;
}

.box-content .preview{
    width: 100%;
    height: 220px;
    margin: 20px 0; 
}

.preview embed{width: 100%; height: 220px;}

.box-content .dwn{
    font-size: 16px;
    color: #fff !important;
    border: none;
    display: inline-block;
    outline: 0;
    padding: 6px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none !important;
    color: #fff;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;    
}

.dwn:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

/*Backlink below the Footer */
.promotion {
    background-color: #FFFFFF;
    height: 5px;
    font-size: 18px;
}

.promotion .promotion-content {
    height: 10px;
}

/* Media Queries for 700px and below */

@media(max-width: 700px){

    .section-a .container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-a .container div:first-child{
        order: 2;
    }

    .section-a .container div:last-child{
        order: -1;
    }

    .section-a img{
        width: 100%;
        margin: auto;
    }

    .section-b-inner h2{
        font-size: 3.5rem;
    }

    .section-b {
        display: none;
    }


    .section-c .gallery{
        grid-template-columns: repeat(2, 1fr);
    }

    /*.section-c .gallery a:first-child{
        grid-row: 1/1;
        grid-column: 1/1;
    }

    .section-c .gallery a:nth-child(2){
        grid-row: 2/2;
        grid-column: 2/4;
    }*/

    .section-c .gallery a:last-child{
        display: none;
    }

    .section-footer{
        padding: 2rem 0;
    }

    .section-footer .container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-footer div:nth-child(2),
    .section-footer div:nth-child(3){
        display: none;
    }

    .logo {
        cursor: pointer;
        width: 150px;
        height: 60px;
    }
}