* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.mobile-padding {
    padding: 0 20px;
}

img.logo {
    max-width: 365px;
    margin: 20px auto;
}

nav {
    display: flex;
    background: #4a164e;
    margin-bottom: 1px;
}

nav li {
    list-style-type: none;
}

nav li a {
    display: block;
    color: #FFF;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding: 20px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0);
    transition: background .5s;
}

nav li a:hover {
    background: rgba(255, 255, 255, .1);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    top: 40px;
    left: 0px;
    width: 225px;
    background: #4a164e;
    padding: 0;
}

.dropdown li a {
    width: 100%;
    padding: 10px 20px;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.intro-text {
    color: #333;
    line-height: 1.3;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
    padding: 50px 100px;
}

footer {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid #999;
}

.footer-main {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 5px;
}

.page-header {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: #333;
    padding: 50px 20px;
}

.page-text {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.25;
    padding: 0 100px;
}

.ministry1 {
    display: grid;
    grid-template-columns: 40% auto;
    grid-gap: 40px;
    padding-bottom: 50px;
    box-shadow: 0px 6px 6px -6px rgba(0, 0, 0, .65), 0px 12px 20px -10px rgba(0, 0, 0, .20);
    margin-bottom: 50px;
}

.no-shadow {
    box-shadow: none;
}

.ministry2 {
    display: grid;
    grid-template-columns: auto 40%;
    grid-gap: 40px;
    padding-bottom: 50px;
    box-shadow: 0px 6px 6px -6px rgba(0, 0, 0, .65), 0px 12px 20px -10px rgba(0, 0, 0, .20);
    margin-bottom: 50px;
}

.ministries img {}

.ministry-description {
    font-family: 'Roboto', sans-serif;
    font-size: 2vw;
    line-height: 1.5;
    font-weight: 300;
    padding-right: 15%;
    padding-left: 20px;
}

.board-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 100px;
    padding: 0 20px;
}

.board-member {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.board-member img {
    border: 1px solid #999;
    box-shadow: 0px 6px 10px -3px rgba(0, 0, 0, .4);
}

.board-info {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

.board-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.board-details {
    line-height: 1.4;
}

.contact-greeting {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

.form-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.form-control::placeholder {
    color: #CCC;
}

input.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #999;
    border-radius: 0;
    margin-bottom: 10px;
}

textarea.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    display: block;
    width: 100%;
    height: 125px;
    padding: 10px;
    border: 1px solid #999;
    border-radius: 0;
    margin-bottom: 10px;
}

button.form-control {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    display: block;
    color: #FFF;
    border: solid 1px #4a164e;
    background: rgba(101, 36, 106, .8);
    padding: 15px 25px;
    cursor: pointer;
    transition: all .3s;
}

button.form-control:hover {
    background: rgba(101, 36, 106, 1);
}

#close-menu {
    display: none;
}

@media screen and (min-width:1200px) {
    .ministry-description {
        font-size: 24px;
    }
}

@media screen and (max-width:760px) {
    .slide-out {
        left: 0 !important;
    }

    #open-menu {
        position: absolute;
        left: 10px;
        top: 10px;
        width: 25px;
        padding: 10px;
        box-sizing: content-box;
    }

    .hamburger {
        width: 100%;
        height: 2px;
        margin-bottom: 4px;
        background: #333;
        pointer-events: none;
    }

    #close-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        height: 25px;
        width: 25px;
        right: 10px;
        top: 10px;
        padding: 10px;
        box-sizing: content-box;
    }

    .x-bar1,
    .x-bar2 {
        position: absolute;
        background: #FFF;
        height: 2px;
        width: 25px;
        pointer-events: none;
    }

    .x-bar1 {
        transform: rotate(45deg);
    }

    .x-bar2 {
        transform: rotate(-45deg);
    }

    nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        width: 240px;
        padding-top: 50px;
        height: 100vh;
        z-index: 9;
        transition: all .3s;
    }
    
    .has-dropdown > a {
        display: none;
    }

    .dropdown {
        position: relative;
        display: block;
        z-index: 1;
        top: 0px;
        left: 0px;
        width: auto;
        background: none;
        padding: 0;
        margin: 0;
    }
    
    .dropdown li a {
        padding: 20px;
    }
    
    img.logo {
        width: 65%;
    }

    .intro-text,
    .page-header,
    .page-text {
        padding: 20px;
    }

    .ministry1,
    .ministry2 {
        display: flex;
        flex-direction: column;
    }

    .ministry2 {
        flex-direction: column-reverse;
    }

    .ministry-description {
        font-size: 18px;
        padding: 20px;
    }

    .board-members {
        grid-template-columns: 1fr;
        grid-gap: 50px;
    }
}