@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap");
:root {
  --primary-color: #c44b4b;
  --secondary-color: #ffb03a;
  --light-color: #dee1e9;
  --dark-color: #333;
  --max-width: 1100px;
  --light-font: #fdfdfd;
}

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

body {
  font-family: "Open Sans", sans-serif;
  background: var(--light-color);
  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: var(--light-color);
  opacity: 0.8;
  width: 100%;
  /* this is common height for a navbar */
  height: 70px;
  position: fixed;
  top: 0px;
  padding: 0 30px;
  transition: 0.5s ease-in;
}

.navbar a:hover {
  border-bottom: var(--secondary-color) 2px solid;
}

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

.navbar a.current {
  border-bottom: var(--primary-color) 2px solid;
}

.navbar a.current:hover {
  color: white;
}

.navbar ul {
  display: flex;
}

#navbar img {
  height: 50px;
  width: 120px;
}

.navbar.top {
  background: transparent;
}

.success {
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  background-color: #333;
  color: var(--light-color);
}

/* Header */
.hero {
  background: url("/img/dog/grizz.missed.png") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: white;
}

.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: 40px;
}

.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-color: rgba(0, 0, 0, 0.4);
}

.hero * {
  z-index: 10;
}

.hero.blog {
  background: url(../images/dog/apollo.couch.jpg) no-repeat center center/cover;
  height: 30vh;
}

/* About */
#about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  text-align: center;
  padding: 2rem 6rem;
}

/* Icons */
.icons {
  padding: 30px;
  background-color: var(--light-color) !important;
}

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

.icons i {
  background-color: var(--secondary-color);
  color: #333;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
}

.cases img:hover {
  opacity: 0.7;
}

/* Blog */

#blog .column-1 img {
  min-height: 500px;
}

/* solutions */
.solutions img {
  min-height: 500px;
}

/* Team */

#team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 2rem 6rem;
}

#team img {
  max-height: 250px;
  max-width: 200px;
}

.founder img {
  background: url(../images/dog/grizz.wet.jpg) no-repeat center center/cover;
  height: 30vh;
}

.FounderLink:hover {
  opacity: 0.5;
}

/* Callback form */
.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: var(--light-color) 1px solid;
}

.callback-form input:focus {
  outline-color: var(--primary-color);
}

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

/* Post */
.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;
  height: 180px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 30px;
}

/* footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
  color: var(--light-color) !important;
}

.footer a {
  color: var(--light-color);
}

.footer a:hover {
  color: var(--secondary-color);
}

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

/* 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%;
  }

  .hero {
    background: url("/img/dog/grizz.missed.small.png") no-repeat center
      center/cover;
    height: 100vh;
    position: relative;
    color: var(--light-color);
  }

  #team {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  /* Blog */

  #blog .column-1 img {
    min-height: 300px;
  }

  /* solutions */
  .solutions img {
    min-height: 200px;
  }
}

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

  .navbar a {
    padding: 8px 8px;
    margin: 0 1px;
  }

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

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

  .hero {
    background: url("/img/dog/grizz.missed.small.png") no-repeat center
      center/cover;
    height: 100vh;
    position: relative;
    color: var(--light-color);
  }

  #team {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  /* Blog */

  #blog .column-1 img {
    min-height: 300px;
  }

  /* solutions */
  .solutions img {
    min-height: 200px;
  }
}
