* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

:root, html {
    font-size: 62.5%; /* How to use root size em's, or rem's */
}

body {
    font-family: verdana;
    font-size: 2rem;
    background-image: url("/images/blackbg.jpg");
    color: rgb(153, 243, 255);
}

main {
    margin-bottom: 220px;
}

article {
    margin-bottom: 103px;
}

article p {
    padding: 15px;
}

#logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#signature {
    margin-bottom: 8px;
}

#hello {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
}

#hero {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    background-image: url("/images/matt2.png");
    background-size: cover; background-repeat: no-repeat;
    height: 325px; width: 350px; background-position: 20% 20%;
}


header p {
    text-align: center;
    text-shadow: 0px 0px 7.5px rgb(187, 216, 169);
    font-weight: bold;
}

h2 {
    text-align: center;
}

#leftShoulder {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

#whoWe {
    padding-left: 15px;
    padding-right: 15px;
}

#whatWeDo {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px; 
}

#name {
    height: 20px;
}

#email {
    height: 20px;
}

#street {
    height: 20px;
}

#city {
    height: 20px;
}

#state {
    height: 20px;
    margin-bottom: 5px;
}

#submit {
    font-size: 2rem;
    padding: 5px;
    border-radius: 90px;
}

#clear {
    font-size: 2rem;
    padding: 5px;
    border-radius: 90px;
}

#contact {
    text-align: center;
}

#tele {
    height: 20px;
}

#message {
    height: 100px;
    width: 300px;
}

.sectban {
    text-align: center;
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 7px;
    text-align: center;
    color: rgb(153, 243, 255);
    font-size: 2rem; height: 50px;
    border-top: 2px solid rgb(187, 240, 154);
    border-bottom: 2px solid rgb(187, 240, 154);
}

.sectban::before {
        content: "";
        display: inline;  height: 20px;
        background-color: transparent;
        border-left: 60px solid rgb(187, 240, 154);
        position: relative; left: -10px; top: 2.5px;
        border-radius: 25% 100% 100% 25%;
    }

.sectban::after {
    content: "";
    display: inline;  height: 20px;
    background-color: transparent;
    border-left: 60px solid rgb(187, 240, 154);
    position: relative; left: 10px; top: 2.5px;
    border-radius: 100% 25% 25% 100%;
}

#current {
    background-color: rgb(103, 240, 18);
}

h1 {
    text-align: center;
    text-shadow: 0px 0px 7.5px rgb(187, 240, 154);
    color:rgb(153, 243, 255);
}

a {  
    text-decoration: none;
}

#nav2 {
    width: 200px;
    display: flex;
    list-style-type: none;
    flex-flow: row wrap;
    position: absolute; top: 150px; 
}

#nav2 > li {
    margin-left: auto;
    margin-right: auto;
    margin-top: 13px;
    width: 100%;
}

#nav2 > a {
    margin-left: auto;
    margin-right: auto;
}

#nav2 > li > ul {
    list-style-type: none;
    margin-top: 5px;
}

.submenu {
    width: 200px;
    position: absolute; top: 153px; left: 167px;
    display: none; border-radius: 0px 15px 15px 15px;
    background-color: rgb(187, 240, 154);
}

.submenu > li {   
    background-color: rgb(187, 240, 154);
    border-radius: 13px;
}

.submenu > li  a {
    color: black; border-radius: 5px;
    padding: 5px 10px;
}

.submenu > li > a:hover {
        -webkit-transition: background-color 500ms linear;
        color: rgb(187, 240, 154);
        border-radius: 9px;
        font-size: 2rem;
}

.submenu > li:hover {
    -webkit-transition: background-color 500ms linear;
    background-color: black;
    color: rgb(187, 240, 154);
    font-size: 2rem;
}



header nav > ul > li > a:hover + .submenu {
    display: block;
}

.submenu:hover {
    display: block;
}

.mmopen {
    position: absolute; top: 0px; left: 0px;
    display: block;
}

.mmclosed {
    position: absolute; top: -600px; left: -600px;
}

#button1 {
    background-image: url('/images/hamburgerx.png');
    background-size: 225px; height: 45px; width: 50px;
    background-position: -40px -5px;
    position: absolute; top: 120px; left: 5px; 
    background-repeat: no-repeat;
}

.chevron-right {
    transform: rotate(270deg)
}

#nav3 {
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    display: flex; width: 45%;
    list-style-type: none;
    flex-flow: row wrap;
}

#nav3 > li {
    margin-left: auto;
    margin-right: auto;
}

#nav3 > a {
    margin-left: auto;
    margin-right: auto;
}

.gallcontain {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.button {
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    color: black;
    background-color: rgb(153, 243, 255);
    padding: 5px;
    border-radius: 5px;
    margin-top: 8px;
}

.button:hover {
    -webkit-transition: background-color 400ms linear;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    color: rgb(153, 243, 255);
    background-color: black;
    padding: 5px;
}

nav {
    text-align: center;
}

.buttlink {
    background-color: rgb(187, 240, 154);
    color: black;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 90px;
    font-size: 2rem;
}

.buttlink:hover {
    -webkit-transition: background-color 400ms linear;
    background-color: black;
    color: rgb(187, 240, 154);
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 90px;
    font-size: 2rem;
}

label {
    display: inline-block;
    width: 100px;
    text-align: left;
}

#connecting {
    position: absolute; bottom: 0px; left: 0px;
    width: 400px;
    margin-bottom: 20px;
}

#connect {
    display: flex;
    width: 230px;
    margin-left: auto;
    margin-right: auto;
}

#connect a {
    margin: 2.5px;
}

#copyright {
    position: absolute; bottom: 0px; right: 20px;
    text-align: right;
}

#copyright::before {
    content: "";
    display: block; width: 50px; height: 20px;
    background-color: transparent;
    border-left: 5px solid rgb(187, 240, 154);
    border-top: 5px solid rgb(187, 240, 154);
    position: relative; left: -8px; top: 20px;
}

#copyright::after {
    content: "";
    display: block; width: 50px; height: 20px;
    background-color: transparent;
    border-right: 5px solid rgb(187, 240, 154);
    border-bottom: 5px solid rgb(187, 240, 154);
    position: relative; left: 133px; bottom: 18px;
}

footer {
    position: relative;
}

/*--------------------------------------------------contact page-----------------------------------------------------------*/

.contactForms {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 120px;
}

#contactUs {
    margin-left: auto;
    margin-right: auto;
}

#rightShoulder {
    margin-left: auto;
    margin-right: auto;
}

/*-------------------------------------------------------About Me Page-----------------------------------------------------------------*/
#story {
    width: 75%;
    text-indent: 60px;
}

#websites {
    width: 75%;
    margin-left: auto;
    text-indent: 60px;
}

#link {
    color:rgb(103, 240, 18);
}

@media screen and (max-width: 800px) {

    #connecting {
        width: 375px;
        position: absolute; bottom: -200px; left: 20px;
    }

    #copyright {
        position: absolute; bottom: -200px; right: 100px;
    }

    #whatWeDo {
        width: 80%;
    }

    #state {
        margin-bottom: 5px;
    }

    .sectban {
        display: none;
    }

    .sectban2 {
        display: block;
    }

    #hero {
        background-size: 100%;
        background-position: center;
        width: 80%; height: 50vh;
    }

    #story {
        width: 75%;
        text-indent: 60px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #websites {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-indent: 60px;
    }
}

@media screen and (max-width: 650px) {
    #connecting {
        width: 375px;
        position: absolute; bottom: -150px; left: 20%;
    }

    #copyright {
        position: absolute; bottom: -200px; right: 38%;
    }
}

@media screen and (max-width: 550px) {
    #button1 {
        position: absolute; top: 60px; left: 5px; 
    }

    #connecting {
        width: 375px;
        position: absolute; bottom: -150px; left: 15%;
    }

    #copyright {
        position: absolute; bottom: -200px; right: 35%;
    }
}

@media screen and (max-width: 470px) {
    #button1 {
        position: absolute; top: 80px; left: 5px; 
    }
    #connecting {
        width: 375px;
        position: absolute; bottom: -200px; left: 0px;
    }

    #copyright {
        position: absolute; bottom: -250px; right: 84px;
    }
}

@media screen and (max-width: 410px) {
    #button1 {
        position: absolute; top: 100px; left: 13px; 
    }
    #connecting {
        width: 375px;
        position: absolute; bottom: -200px; left: 0px;
    }

    #copyright {
        position: absolute; bottom: -250px; right: 84px;
    }
}

@media screen and (max-width: 370px) {
    #button1 {
        position: absolute; top: 95px; left: 5px; 
    }
    #connecting {
        width: 375px;
        position: absolute; bottom: -200px; left: 0px;
    }

    #copyright {
        position: absolute; bottom: -250px; right: 84px;
    }
}