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

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

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

ul {
  list-style: none;
}

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

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

p {
  margin: 10px;
}

img {
  width: 100%;
}

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

.navbar.top {
  background: transparent;
}

.navbar ul {
  display: flex;
}

.navbar .logo {
  font-weight: 400;
}
.navbar ul li a {
  display: inline-block;
  padding: 10px 10px;
  margin: 0 5px;
  text-align: center;
  color: white;
}

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

/*Hero*/

.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;
  text-align: center;
  height: 100%;
  padding: 0 20px;
}

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

.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.6);
}

.hero * {
  z-index: 10;
}

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

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

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

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

/*Cases*/

.cases img:hover {
  opacity: 0.7;
}

.cases .row .column {
  padding: 20px;
}
/*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: 10px;
  height: 40px;
  border: #f5f5f5 1px solid;
}

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

/*Footer*/

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

.footer a {
  color: white;
}

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

/*Media*/

@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-items .column .flex-grid .columns {
    flex: 100%;
    max-width: 100%;
  }

  .team img {
    width: 70%;
  }
}

/*Post*/

.post {
  padding: 50px 30px;
}

.post h2 {
  font-size: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  margin: 0 30px;
}

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

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

@media (max-width: 500px) {
  .solutions .row {
    flex-direction: column;
  }

  .cases .section-header > * {
    margin-bottom: 10px;
  }

  .section-header h2 {
    margin: 10px 0;
  }
  .section-header p {
    font-size: 0.9rem;
    width: 100%;
  }
  .cases .row .column {
    padding: 10px;
  }
  .flex-grid .column {
    flex: 1;
    max-width: 33%;
  }
  .blog .row {
    flex-direction: column;
  }
  .callback-form .row {
    flex-direction: column;
  }
  .callback-form .row .column + .column .column-2 {
    text-align: center;
  }
  .callback-form .row .column + .column .column-2 h2 {
    width: 100%;
  }
  .flex-columns .row {
    flex-direction: column;
    flex-direction: column-reverse;
  }
  .hero.blg {
    height: 150px;
  }
  .hero.blg .navbar {
    position: absolute;
  }

  .hero.blg .navbar h1 {
    color: white;
  }
  #blog-img {
    display: none;
  }
  #inner-nav {
    display: none;
  }
  .post {
    text-align: center;
  }

  #home-link {
    color: white;
  }
  .footer {
    padding: 10px 0;
    height: auto;
    font-size: 12px;
  }
  .callback-form {
    padding: 0;
  }
}
