* {
    box-sizing: border-box;
}

body {
    margin:0px;
}

                                                                    /* Start of Navigation Bar */
nav {
    font-weight: bold;
}

nav ul {
    margin: 0px 20%;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav ul li {
    width: 100%;
}

nav a {
    color: #FFF;
    display: block;
    text-align: center;
}

nav a:hover {
    color:black;
}

.navbar {
    background-color:#FD6D32;
    grid-row: 2 / 3;
    grid-column: 1 / -1;
    padding:10px;
    position:sticky;
    top:0;
}
                                                                    /* End of Navigation Bar  */


a {
    text-decoration:none;
}

h1 {
    text-align:center;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px,auto);
    grid-template-columns:  minmax(0px, 1fr) repeat(6, minmax(0px, 200px)) minmax(0px, 1fr);
}

.header_info {
    grid-row: 1 / 2;
    grid-column: 1 / -1;
    padding:10px;
    
}

.header_info > h2 {
    margin:0;
}

.homelogo {
    grid-row: 1 / 2;
    grid-column: 3/ 7;
}

img {
    width:100%;
    height:100%;
}

.slideshow_container {
    background-color:rgba(0,0,0,0.8);
    grid-row: 3 / 4;
    grid-column: 1 / -1;
    height: 644px;
    max-width:100%;
    position:relative;
} 
                                                                    /* Start of Meet Matt  */

.meetmatt {
    grid-row: 4 / 5;
    grid-column: 2 / 8;
}

#matt {
    background-image:url(matt.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    float: right;
    margin-left:2rem;
    height:559px;
    width:600px;
}

#profilehero {
    max-height:100%;
    max-width:100%;
}

#box {
    width:50%;
    /*border: 3px solid #000;*/
    padding:0 40px 40px 40px;
    float: right;
}

#button {
    margin-top:40px;
    width: 50%;
    background-color: #FD6D32;
    color:#fff;
    font-weight:bold;
    text-align:center;
    font-size:2rem;
}

#bio {
    margin-top:10px;
    width: 50%;
    color:#5f5f61;
    font-weight:bold;
    font-size:2rem;
    padding:10px 10px 10px 40px;
}
                                                                    /* End of Meet Matt  */


hr.solid {
    grid-column: 2 / 8;
    grid-row: 5 / 6;
    border: 4px solid #FD6D32;
    border-radius: 5px;
    margin:0px;
}

hr.solid2 {
    grid-column: 2 / 8;
    grid-row: 8 / 9;
    border: 4px solid #FD6D32;
    border-radius: 5px;
    margin:20px 0 0 0;
}

                                                                    /* Services section flex-containers */
.services {
    grid-row: 6 / 7;
    grid-column: 2 / 8;
    padding:10px;
}

.services_flex_container {
    display: flex;
    align-items:center;
    justify-content: space-around; 
    flex-wrap:wrap;
    padding: 5px;
}

.flex-item {
    width: 275px;
    height: 200px;
    margin:10px;
    transition: 0.3s ease;
}

.image {
    opacity: 1;
    display: block;
    width:100%;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition:.8s ease;
    opacity: 0;
    transform:translate(0,-118px);
    text-align:center;
}

.flex-item:hover .image {
    opacity:0.3;
}

.flex-item:hover .middle {
    opacity: 1;
}

.text {
    color: #5f5f61;
    font-size: 30px;
    text-decoration: none;
}

.serv_desc {
    text-align:center;
    font-size:20px;
}
                                                                    /* End Services flex-container */

                                                                    /* Footer styling */
.footer_container {
    background-color:#FD6D32;
    grid-row: 10 / 11;
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 10px 0;
    text-align: center;
}