/* Fonts */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic|Patua+One);

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

html, body {
    height: 100%;
    margin: 0;
}


body {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

main article {
    height: 100%;
    display: grid;
    grid-template-rows: auto auto auto;
}


/* Your CSS goes here  */

 #bg {
    background-image: url('images/grass.jpg');
    display: grid;
    grid-gap: 5em;
}


header {
    text-align: center;
    background-color: rgba(1, 0, 0, 0.5);
    margin-top: 0;
    padding: 1em;
}


header h1 {
    font-weight: bold;
    color: white;
}

header h2 {
    color: #CCAA65;
    font-weight: bold;
}

nav,h2 {
    margin-top: 1em;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 1em;
}

nav a {
    color: white;
}

nav a:hover {
    color: #8EBB8E;
    text-decoration: overline;
    transition: color 300ms, text-decoration 300ms;
}

.intro {
    padding: 1em;
}

.intro h2 {
    text-align: center;

}


.container {
    display: flex;
    justify-content: center;
}

.intro figure {
    padding: .4em;
    display: inline-block;
    border-radius: 200px;
    background-color: #D9BF8C;
}

.intro figure img {
    border-radius: 200px;
}

.intro h2 {
    margin-bottom: 1em;
}

main {
    background-image: url('images/bg.jpg');
}

main p {
    color: #004600;
}

p {
    text-shadow: 1px 1px 1px white;
}

.services {
    margin: 1em;
    padding: 1em;
    background-color: white;
    opacity: .7;
    border-radius: 15px;
}

.services h2 {
    text-align: center;
}

.services h3, .services ul, .services li, .services p {
    margin: 0;
}

.services li {
    margin: 1em;
}

.contact {
    padding: 1em;
    background-color: #36492B;
    color: #D9BF8C;
    text-align: center;
}

.contact h2 {
    font-weight: bold;
}

.social-icons,h3{
    margin: 1em;
}

footer {
    background-color: #102B0D;
    padding: 1em;
    color: #D9BF8C;
    text-align: center;
}

@media only screen and (min-width : 768px) {
    body {
        font-size: 18px;
    }
    header h1 {
        font-size: 3em;
    }
    nav ul {
        gap: 5em;
    }

    .intro {
        padding: 5em;
    }



}
 
