body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

nav {
    background-color: #8BC15B;
    height: 75px;
    width: 100vw;
    display: flex;
    align-items: center;
}

nav img {
    float: left;
    width: 13%;
    padding: 5px;
    margin-left: 50px;
    margin-top: 75px;
    border-radius: 50%;
    border: 4px solid rgb(0, 0, 0);
    background-color: white;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    width: 100%;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 8px 15px;
    margin: 0px 25px 0px 25px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

nav ul li:nth-child(4) a {
    color: white;
    background-color: black;
}

nav ul li a:hover {
    background-color: black;
    color: white;
}

header{
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
}

header h3{
    align-self: center;
    justify-self: center;
    border: solid 3px;
    border-radius: 25px;
    background-color: white;
    width: 33%;
    text-align: center;
    padding: 8px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

header h3:nth-child(1){
    justify-self: right;
    margin-right: 25px;
}

header h3:nth-child(3){
    justify-self: left;
    margin-left: 25px;

}

main {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr 0.5fr 2fr;
    grid-template-rows: 1fr 0.5fr 1fr;
    
}


main figure {
    margin: 0;
    justify-self: center;
    align-self: center;
}


main figure:nth-of-type(1) {
    grid-column-start: 1;
    grid-row-start: 1;
}

main figure:nth-of-type(2) {
    grid-column-start: 2;
    grid-row-start: 1;
}

main figure:nth-of-type(3) {
    grid-column-start: 3;
    grid-row-start: 1;
}

main figure:nth-of-type(4) {
    grid-column-start: 2;
    grid-row-start: 3;
}

main section{
    display: grid;
    margin-right: 15px;
}

main section:nth-of-type(1){
    grid-column-start: 4;
    grid-row-start: 1;
    grid-row-end: 4;
    
}

main section:nth-of-type(2){
    grid-column-start: 4;
    grid-row-start: 3;
    grid-row-end: 4; 
    border: solid 3px;
    background-color: rgb(164, 58, 58);
}

main section p {
    width: 100%;
    line-height: 24px;
    margin-right: 10px;
    margin-left: 10px;

}

main section h3{
    margin-top: 50px;
    border: solid 3px;
    border-radius: 25px;
    background: white;
    width: 33%;
    padding: 8px;
    justify-self: center;
    align-self: center;
}

footer a{
    text-decoration: none;
    color: black;
}
footer {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    background-color: #8BC15B;
    height: 75px;
    width: 100vw;
    align-items: center;
}

footer img {
    width: 50px;
    height: 50px;
    padding: 5px;
}

footer p:nth-child(1){
    margin: 10px;
    text-align: center;
}

footer p:nth-child(2){
    grid-column-start: 2;
    grid-row-start: 1;
    text-align: left;
    
}

footer img:nth-child(3){
    grid-column-start: 2;
    grid-row-start: 1;
    align-self: center;
    justify-self: center;
    margin-right: 50px;
}

footer p:nth-child(4){
    grid-column-start: 2;
    grid-row-start: 1;
    text-align: center;
    margin-left: 50px;
}

footer img:nth-child(5){
    grid-column-start: 2;
    grid-row-start: 1;
    align-self: right;
    justify-self: right;
    margin-right: 75px;
}

footer p:nth-child(6){
    grid-column-start: 2;
    grid-row-start: 1;
    text-align: right;
    margin-left: 25px;
}

footer p:nth-child(7){
    grid-column-start: 3;
    grid-row-start: 1;
    text-align: center;
    margin: 10px;
}













