/* 
1. Default and Reset styles
- 1.1 Input Elements
2. Global elements
- 2.1 Header
- 2.2 Logo
- 2.3 Buttons
- 2.4 Navigation
- 2.5 Social Elements
- 2.6 Images
3. Fonts and Headings
4. Banner
- 4.1 SignUp Form
5. Content Elements
- 5.1 Icons
- 5.2 Parallax Elements
- 5.3 Divider
6. Landing Page Sections
- 6.1 Features
- 6.2 Testimonials
- 6.3 Gallery
- 6.4 Video
- 6.5 Clients
- 6.6 Pricing Table
7. Footer */

@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,600,700&display=swap');
*, *:before, *:after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #111;
    transition: all 0.2s ease-in-out 0s;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: #111;
    margin: 0;
    padding: 0;
    background: #F0F0F0;
    cursor: crosshair;
}

#wrapper {
    width: 80%;
    margin: 0 auto;
    top: 4.5rem;
    position: relative;
}

.nav {
    margin: 0;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.07);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #F5F5F5;
}

.logo {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    padding: 1rem !important;
}

.logo a {
    color: #31AF91;
}

header {
    /* height: 71px !important; */
    overflow: visible;
    width: 100%;
    text-align: center;
    /* position: absolute */
    position: relative;
}

header h2 {
    font-size: 14px;
    font-weight: bold;
    color: #ccc;
    letter-spacing: 2px;
    padding-bottom: 0;
}

header h3 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
}

.mid-heading {
    width: 100%;
    height: 20px;
    text-align: center;
}

.mid-heading:after {
    background: #31AF91;
    content: "";
    display: block;
    width: 30px;
    height: 5px;
    margin-top: 30px;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.post {
    background: #fff;
    padding: 25px 0 25px 0;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.07);
    transition: all 0.2s ease-in-out 0s;
    position: relative;
    border: 5px solid #fff
}

.post p {
    transition: all 0.2s ease-in-out 0s;
}

.post:hover, .post>a:hover p {
    border-color: #31AF91;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* grid-template-columns: 1fr 1fr 1fr; */
    justify-items: center;
    grid-gap: 20px;
}

.posts .post img {
    width: 100%;
    height: 100%;
}

.post-sub {
    font-style: italic;
    color: #ccc;
    margin: 0 0 2px 0;
}

/* footer */

footer {
    background: #fff;
    margin-top: 160px;
    width: 100%;
    height: 120px;
    line-height: 120px;
}

footer p {
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    color: #999;
    margin-bottom: 0 !important;
}

img {
    max-width: 100% !important;
}

/* Scrollbar */

/* width */

::-webkit-scrollbar {
    width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

/* Handle */

::-webkit-scrollbar-thumb {
    background: #babac0;
    border-radius: 10px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a5;
    /* border:4px solid #f4f4f4 */
}

/* Social Media */

.social {
    position: fixed;
    top: 36%;
    left:0;
    margin: 0;
    padding: 0;
    box-shadow: 1px 2px 10px 0 rgba(0,0,0,.4);
    border-radius: 2px;
     background: #fff;
    /* perspective: 1000px */
}
.social ul{
    list-style: none;
}
.social li{
    text-align: center;
    
}
.social li a {
    display: block;
    height: 50px;
    width: 50px;
    /* background: #222; */
    font-size: 1.2rem;
    color: #333;
    -webkit-font-smoothing: antialiased;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    transition: background .5s ease .300ms
}

/* Media Queries */
@media(max-width: 784px){
    .social{
        display: none;
    }
}