/* Importing the Open Sans from Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

/* Reset the default styling */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


/* Setting body styling */

body {
    font-family: 'Open Sans', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
}


/* Setting ul */

ul {
    list-style: none;
}


/* Setting a */

a {
    color: #333;
    text-decoration: none;
}


/* Setting H1 and H2 */

h1,
h2 {
    font-weight: 300;
    font-weight: 1.2;
}


/* Setting p */

p {
    margin: 10px 0px;
}


/* Setting img */

img {
    width: 100%;
}


/* Navbar Styling */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #333;
    color: #fff;
    width: 100%;
    height: 70px;
    padding: 0px 30px;
    opacity: 0.8;
    position: fixed;
    top: 0px;
    transition: 0.5s;
}

.navbar.top {
    background: transparent;
}

.navbar a {
    color: #fff;
    padding: 10px 20px;
    margin: 0px 5px;
}

.navbar a:hover {
    border-bottom: 2px solid #28a745;
}

.navbar .logo {
    font-weight: 400;
}

.navbar ul {
    display: flex;
}


/* Header Section Styling */

.hero {
    background: url('../images/home/showcase.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    color: #fff;
}

.hero .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero .content h1 {
    font-size: 55px;
}

.hero .content p {
    font-size: 23px;
    max-width: 600px;
    margin: 20px 0px 30px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero * {
    z-index: 10;
}

.hero.blog {
    background: url('../images/home/blog.jpg') no-repeat center center/cover;
    height: 40vh;
}


/* Icons */

.icons {
    padding: 30px;
}

.icons h3 {
    font-weight: bold;
    margin-bottom: 15px;
}

.icons i {
    background-color: #28a745;
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 15px;
}


/* Cases */

.cases img:hover {
    opacity: 0.7;
}


/* Teams */

.team img {
    border-radius: 50%;
}


/* Callback form */

.callback-form {
    width: 100%;
    padding: 20px 0px;
}

.callback-form label {
    display: block;
    margin-bottom: 5px;
}

.callback-form .form-control {
    margin-bottom: 15px;
}

.callback-form input {
    width: 100%;
    padding: 4px;
    height: 40px;
    border: #f5f5f5 solid 1px;
}

.callback-form btn {
    padding: 12px 0px;
    margin-top: 20px;
}

.callback-form input:focus {
    outline-color: #28a745;
}


/* Footer */

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 200px;
}

.footer a {
    color: #fff;
}

.footer>.social>* {
    padding-right: 30px;
}

.footer a:hover {
    color: #28a745;
}


/* Mobile */

@media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: 120px;
        padding: 20px;
    }
    .navbar a {
        padding: 10px 10px;
    }
    .flex-items {
        flex-direction: column;
    }
    .team img {
        width: 70%;
    }
    .hero .content h1,
    .hero .content p {
        margin: 5px;
    }
}

.post {
    padding: 50px 30px;
}

.post h2 {
    font-size: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: #ccc solid 1px;
}

.post .meta {
    margin-bottom: 30px;
}

.post img {
    width: 300px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px;
}