body, html{
    font-size: 100%;
    font-family: "Helvetica", sans-serif;
    margin:0;
    padding:0;
}

h1 {
    color: rgb(80, 86, 72);
}

section {
    height: 100vh;
    padding-top: 60px;
}


#table1 {
    width: 1000px;
    line-height: 30px;
    text-align: justify;
    text-indent: 50px;
}

#intro{
    vertical-align: bottom;
}

#sechome {
    background-color: white;
}

#secres {
    background-color: rgb(224, 224, 224);

}

#sectech {
    background-color: white;
}

#seclinks {
    background-color: rgb(224, 224, 224);
}

#seccontact {
    background-color: white;
}

#secmore {
    background-color: rgb(224, 224, 224);
}


/* Sticky Position Code Goes Here */
nav {
    /* position: sticky;
       top: 0; */
    position: fixed;
    top:0; left:0; right:0;

}



/* End Sticky  */

nav ul{
    list-style: none;
    padding:0;
    background:rgb(62,64,59);
}

nav ul li a{
    color:#ddd;
    text-decoration: none;
    padding: .8rem 1rem;
    display: block;
    line-height: 1;
}
nav ul li{
    border-bottom: 1px dotted #ddd;
}
/*styling logo*/

nav div:first-child{
    background: rgb(62,64,59);
}
nav div:first-child h1{
    line-height: 0;
    padding: .8rem 0rem;
    text-align: center;
}
nav div:first-child img{
    filter: contrast(0);
}

nav div:first-child h1, nav ul{
    margin:0;
}

/*Styling for larger devices*/

table {
    width: 600px;
    margin: 0 auto;
}





@media only screen and (min-width: 30em){
    nav{
        display: flex;
        justify-content: space-between;
        background: rgb(62,64,59);
        align-items: center;
    }

    nav ul{
        display: flex;
        align-items: center;
        background:none;
        flex-wrap: wrap;
    }
    nav div:first-child h1{
        padding: 0;
        margin:0 1rem;
    }
    nav div:first-child img{
        height: 40px;

    }
    nav ul li{
        border-bottom:none;
        flex: 1 0 auto;
        position: relative;
    }
    nav ul li a{
        padding:1.2rem 1rem;
    }
    nav ul li a::before, nav ul li a::after{
        content: "";
        position: absolute;
        bottom:0;
        right: 0;
        width:0%;
        height: 2px;
        background: white;
        transition: .2s width ease-in-out;
    }

    nav ul li a::before{
        left:0;
    }

    nav ul li a:hover::after,nav ul li a:hover::before{
        width: 50%;
    }

}
