* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: rgb(58, 58, 58);
    color: white;
    font-family: Helvetica Neue, Helvetica, Arial;
    margin: 0;
    padding: 0;
}

/* HEADER */

header {
    background-color: black;
    background-image: url(images/header.jpg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 1000px;
    padding: 20px;
    text-align: center;        
}

header a {
    color: rgb(168, 99, 73);
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 0 0 0 0;
}

nav ul {
    margin: 50px;
    padding: 0;
    list-style-type: none;
    font-size: 40px;
}

nav li {
    display: inline-block;
    background-color:black;
    border-radius: 3px;
    padding: 0 5px 0 0; 
}

nav a:hover {
    background-color: rgb(101, 98, 94);
}

/* FEATURES */

.features {
    background: rgb(143, 129, 129);
    color: rgb(77, 52, 52);
    padding: 20px;
    display: flex;
    flex-direction: row;
}

.features figure {
    margin: auto;
    width: 400px;
    text-transform: uppercase;
    text-align: center;
    color: black;
}

.features figure img {
    border: 1px solid white;
    border-radius: 50%;
    width: 400px;
    box-shadow: black 0 0 10px; 
}

.maternal {
    padding: 500px 0 0;
    color:white;
    background-size: 50px;
    border-radius: 20px 0 20px 0;
    background-color: transparent;
    text-align: center;
    border: 3px;
}
.maternal h1 {
    color: blue;
}

/* ANC Visits */

.ANC figure {
    margin: auto;
    width: 400px;
    text-transform: uppercase;
    text-align: center;
    color: black;
}

.ANC figure img {
    border: 1px solid white;
    border-radius: 50%;
    width: 400px;
    box-shadow: black 0 0 10px;
}
.ANC {
    align-items: center;
    /*background: black;*/
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    height: 500px;
    justify-content: center;
    margin: 0;
    max-width: 1920px;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    text-align: center;
    width: 100%;    
}

.anc{
    display: block;  
    height: auto;
    position: absolute;
    transform: translate(-50%, -50%, -50%);
    width: 100%;
    z-index: -1;
}

/*FOOTER  */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    background-color:black;
    padding: 4rem 0 4rem 0;
}
.footer {
    width: 80;
    height:20vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}
.footer-heading {
    display: flex;
    flex-direction: column;
    margin-right: 4rem;
}

.footer-heading h2 {
    margin-bottom: 2rem;
}
.footer-heading a {
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-heading a:hover{
    color: red;
    transition: 0.3 ease-out;
}

.foot-email-form h2 {
    margin-bottom: 2rem;
}
#footer-email {
    width: 250;
    height: 40px;
    border-radius: 4px;
    outline: none;
    border: none;
    padding-left: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#footer-email::placeholder {
    color:#b1b1b1;
}

#footer-email-btn {
    width: 100px;
    height: 40px;
    border-radius: 4px;
    background-color: #f9423d;
    outline: none;
    border: none;
    color: white;
    font-size: 1rem;
}
#footer-email-btn:hover {
    cursor: pointer;
    background-color: #337af1;
    transition: all o.4 ease-out;
}

@media screen and (max-width: 1150px) {
    .footer {height:50vh;}
    .foot-email-form {
        margin-top: 40rem;
    }
}
