/*****BASE STYLES*****/
html {
    font-size:16px;
}
body {
    color: #2b2b2b;
    font-family: 'Source Sans Pro', sans-serif; 
}

/*****GRID*****/
.full-width {
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}
.tagline {
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}
.navBar {
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}
.half-width { 
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

/*****HEADER*****/
header {
    background-position: center;
    background-size: cover;
    max-height: 300px;
    width: 100%;
}
.tagline {
    background-color: rgb(65, 99, 68);
    padding-top: 5px;
}
h1 {
    color:#bebebc;
    font-family:'Lora', serif;
    font-size: .5em;
    padding: 10px 0px 10px 25px;
}
header h1 span {
    color:  rgb(65, 99, 68);
    font-size: .05em;
}
.topnav {
    overflow: hidden;
    background-color: rgb(65, 99, 68);
    position: relative;
    align-items: end;
}

.topnav #myLinks{
    display: none;
    text-align: right;
    margin: 10px 0 10px 0;
}
.topnav #myLinks.hidden {
    display:none;
}
ul{
    list-style-type: none;
    margin:0;
    padding: 0;
    overflow:hidden;
}
.topnav a {
    color: black;
    font-size: 1.3em;
    text-decoration: none;
    display: block;
    padding: 5px 25px 5px 25px;
 }
.topnav a.icon {
    background: black;
    color:#bebebc;
    padding: 5px 10px; 
    position: absolute;
    right: 0;
    top: 0;
 }
.topnav a:hover {
    background-color: #ddd;
    color:#2b2b2b;
 }
.active {
    background-color:  rgb(187, 165, 165);
 }
.hero-image {
    background:url("../img/DBlurredSignature.jpg") no-repeat;
    opacity: 0.8;
    background-position: center;
    background-size: cover;
    position:relative;
    height:100%;
    width:100%;
    display: flex;
    justify-content:right;
    flex-flow:row wrap;
    text-align: right;
    margin-bottom:50px;
}
.hero-text {
    padding-right: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
}
@keyframes slide-left {
	0% {
		opacity: 0;
		transform: translateX(250px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}
.hero-text h3 {
    color:#202221;
    padding-right: 7%;
    animation: slide-left 2.5s ease-in 1s 1 normal forwards;
}

.hero-text h2 {
 color:#070707;
 font-family: 'Lora', serif;
 font-size: 2.2em;
 padding-right: 0%;
 width: 100%;
}
.hero-image img {
    max-width: 40%;
    animation: slide-left 2.5s ease-in 1s 1 normal forwards;
}


/*****ABOUT*****/
#about .full-width {
    padding: 50px 25px;
    margin: 50px 15px;
}
#about h2 {
    padding-left: 25px; 
}
#about p {
    color:#7f7f7f;
    font-size: 1em;
    padding-left: 25px;
    padding-right:50px;
}
#about ul {
    padding-left: 25px;
}

/*****CLIETNTS*****/
#clients {
    background-color: rgb(187, 165, 165);
    text-align: center;
    box-sizing: border-box;
    padding: 110px 70px;
    justify-content: space-around;
}

/*****SERVICES*****/
#services {
    padding: 110px 50px;
}
#services h3{
    text-align: left;
    padding: 25px 0px 10px 0px
}
#services p{
    text-align: left;
}
#services thead{
    text-align: left;
}
#services tbody{
    text-align: left;
}

/****CONTACT*****/

#contact {
    background-color:#ebebeb;
    text-align: center;
}
#contact .full-width {
    padding: 110px 0;  
}
#contact .half-width {
    padding-bottom: 110px;
}
#contact .half-width-2 {
    display:flex;
    justify-content: center; 
}
#contact h1 {
    font-family: 'Poppins', sans-serif;
    line-height:10px;
    padding:5% 0 0 0;
}
#contact h2 {
    font-family: 'Lora', serif;
    font-size: 2.1em;
    line-height:44px;
    padding: 0 25px 25px 25px;
}
#contact h3 {
    font-family: 'Lora', serif;
    font-size: 2.3em;
    line-height: 44px;
}
#contact h3 a{
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color:rgb(65, 99, 68);
}
#contact h4 {
    background-color: rgb(187, 165, 165);
    padding: 10px;
}
#contact p {
    font-family: 'Poppins', sans-serif;
    line-height:10px;
    padding:25% 0 0 0;
}
#contact a {
    font-weight: bold;
    display: block;
    text-decoration: none;
    text-align: center;
   
 }
#contact ul {
     display: flex;
     justify-content: center;
     list-style: none;
     padding: 0;
     align-items: center;
 }
#contact ul li {
    padding: 0 5% 0 5%;
}
#contact img {
    width: 30px;
    text-align:center;
}
#contact img#personal-img {
    margin-bottom: 10px;
    padding: 5px 0px 10px 5px;
    width: 80%;
}
#contact .calendly {
    padding: 5px; 
    width:100%;
}

/*****FOOTER*****/
footer {
    margin-top: 30px;
    margin-bottom: 60px;
}
footer p {
    font-family: 'Poppins', sans-serif;
    line-height:10px;
    padding:5% 0 0 0;
    text-align: center;
}
footer ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    align-items: center;
}
footer ul li {
   padding: 0 1% 0 1%;
}
footer img {
    width: 30px;
    text-align:center;
}
footer img#Wyant-Notary-img3 {
    width: 50px;
    display: block;
    padding-bottom: 20%;
    border: none;
}

/*---------- TABLET ------------*/
@media only screen and (min-width:768px) and (max-width:1199px){
     /***GRID***/
    .half-width {
        float:left;
        width: 50%;
     }
    /***HEADER***/
    header {       
        max-height: 450px;
    }
    .navBar {
        display: hidden;
    }
    /***SERVICES***/
    #services {
        text-align: center;
        width: 100%;
    }
    #services .full-width {
        display: flex;
        justify-content: center;
        flex-flow:row wrap;
        align-items: center;
    }
    #services img {
        width: 100%;
    }
    #services h3 {
        padding-left: 0;
        padding-right: 0;
        text-align: left;
        width:100%;
    }
    #services p {
        padding-left: 0;
        padding-right: 0;
        width:100%;
    }

    /***CONTACT***/
    #contact h2 {
        font-size: 3em;
        padding: 40px 0 30px 0;
        line-height: 55px;
    }
    #contact h1 {
        line-height: 44px;
    }   
   
    #contact img#Wyant-Notary-img {
        width: 100px;
        text-align: center;
    }
    #contact img {
        width: 30px;
        text-align:center;
    }
    #contact .calendly { 
        padding: 5px; 
        width:80%;
    }
}

/*--------- DESKTOP -----------*/
@media only screen and (min-width: 1200px) {
    
    /***GRID***/
    .full-width {
        width: 100%;
    }
    .half-width {
       float:left;
       width: 50%;
    }
    .third-width {
        float:left;
        width: 30%;
    }

    /***HEADER***/
    header {
       max-height:600px;
    }
    nav {
        padding: 10px 10px 5px 10px;
    }
    header h2 {
        font-size: 2.8em;
        line-height: normal;
    }
    header h2 span {
        font-size: 2.5em;
    }

    /***SERVICES***/
    #services .full-width {
        display: flex;
        justify-content:space-between;
        flex-flow:row wrap;
    }

    /***CONTACT***/
    #contact h2 {
        font-size: 3em;
        padding: 40px 0 30px 0;
        line-height: 55px;
    }
    #contact h1 {
        line-height: 44px;
    }
    #contact img {
        width: 40px;
    }
    #contact img#personal-img {
        margin: 5px 0px 10px 5px;
        padding: 5px;
        width: 65%;
        border: 2px solid #c49075;
    }
    #contact .calendly {
       /* border: 2px solid #c49075;*/
        padding: 5px; 
        width:80%;
    }
}
