* {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-attachment: fixed;
    margin: 0px;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#purplebar {
    background-color: #8C65A6;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
}

header {
    background-color: #8C65A6;
    grid-column: 2 / 5;
    grid-row: 1 / 2;
    text-align: left;
}

header h1 a {
    color: #D7FFD2;
    font-size: 2rem;
    text-decoration: none;
}

nav {
    background-color: #8C65A6;
    grid-column: 5 / 8;
    grid-row: 1 / 2;
    font-weight: bold;
}

nav a {
    display: block;
    color: #dddddd;
    text-align: center;
    padding: 1rem 0rem;
    text-decoration: none;
}

nav a:hover {
    background-color: rgb(106, 66, 143);
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    padding: 0px;
    margin: 0px;
    align-items: stretch;
}

nav ul li {
    width: 100%;
    padding: 18px;
    margin: 0px;
}

main {
    display: block;
    background-color: white;
    grid-column: 2 / -2;
    grid-row: 3 / 4;
    color: #8C65A6;
}

#index1 {
    background-image: url("images/index1comp.jpg");
    height: 420px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1 / -1;
    grid-row: 2 / 3;
}

#index2 {
    background-image: url("images/index2comp.jpg");
    height: 240px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#index3 {
    background-image: url("images/index3comp.jpg");
    height: 240px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#index4 {
    background-image: url("images/index4comp.jpg");
    height: 240px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#socialmedia {
    background-image: url("images/socialmediacomp.png");
    height: 95px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

h2 {
    background-color: #D7FFD2;
    color: #8C65A6;
    height: 44px;
    margin: 0px;
}


main h2 {
    text-align: center;
    padding: 1rem 0rem;
}
.square {
    float: left;
    width: 50%;
    padding: 3rem;
}

.clear {
    clear: both;
}

footer {
    background-color: white;
    font-style: italic;
    text-align: center;
    grid-column: 2 / -2;
    grid-row: 4 / 5;
}