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

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

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

ul {
    list-style: none;
}

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

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

p {
    margin: 10px 0;
}

img {
    width: 100%;
   
}


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

.navbar.top{
    background: transparent;
}

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


    
.navbar ul {
    display: flex;
}



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

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

.navbar ul li a .current{
    background: #fff;
}

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

.hero .content, .blog .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 20px;
}

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

.blog .content h1 {
    font-size: 40px;
    margin-top: 60px;
    padding-top: 20px;
}

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

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

.hero * {
    z-index: 10;
}

/* Icons */
.icons {
    padding: 30px;
    
}

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

.icons i {
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Cases */
.cases img:hover {
    opacity: 0.7;
}
/* Team */
#team img {
    border-radius: 50%;
}
/* Callback */
.callback-form {
    width: 100%;
    padding: 20px 0;
}
.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 1px solid;
}

.callback-form input:focus {
    outline-color: #28a745;
}
.callback-form .btn {
    padding: 12px 0;
    margin-top: 20px;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 150px;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #28a745;
}
.footer .social > * {
    margin-right: 30px;
}

/* Blog */
.blog {
    background: url("../images/home/blog.jpg") no-repeat center center/cover;
    height: 30vh;
    position: relative;
    color: #fff;
}
.blogs .avatar, 
.post .avatar {
    margin-top: 10px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.post .avatar,
.post h1,
.post .writing,
.btns .btn {
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.post .author {
    margin-top: 20px;
}

.post .pic {
    height: 120px;
    width: 160px;
    border-radius: 60%;
}

.post .pictures {
    text-align: center;
}



.blogs .flex-container, 
.post .flex-container {
    display: flex;
}

.flex-container .author {
    padding-left: 10px;
}


 
  
/* Mobile */
@media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: 120px;
        padding: 20px;
    }

    .navbar a {
        padding: 10px 10px;
        margin: 0 3px;
    }

    .flex-items {
        flex-direction: column;
    }

    .flex-columns .column, .flex-grid .column {
        flex: 100%;
        max-width: 100%;
    }

    .team img {
        width: 70%;
    }

    .team .section-header {
        margin-top: 575px;
        padding-top: 5px;
    }
}

@media(max-width: 414px) {
    .team .section-header {
        margin-top: 450px;
        padding-top: 5px;
    }
}
/* Request Call-Back */

/* This is what I coded.  It also worked but I'm changing to include flexbox */
/* #navbar{
    padding: 20px 0 0 20px;
    background: rgb(12, 12, 12);
    overflow: auto;
    opacity: 0.9;
}
#navbar .logo {
    float: left;
    color: #fff;
}

#navbar ul li {
    float: right;
}

#navbar ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    color: #fff;
} 
.hero .content {
    text-align: center;
    padding-top: 140px;
    color: #fff;
}
.content p{
    padding-bottom: 20px;
}
.box {
    float: left;
    padding: 20px;
    width: 33%;
    text-align:  center;
}

*/