@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;
  max-width: 1000px;
  text-align: left;
}

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 5px;
}

.navbar a:hover {
  border-bottom: #006a4e 4px solid;
}

.navbar ul {
  display: flex;
}

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

.hero #navbar {
  z-index: 1;
}

/* Header */
.hero {
  background: url("../img/about-image-main.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.3);
}

.hero * {
  z-index: 1;
}

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

.content {
  gap: 1rem;
  margin: 7rem 0 0 0;
  z-index: 11;
}

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

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

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

.flex-content {
  text-align: left;
}

.cases {
  background-color: #f7f0e6;
}

.cases img:hover {
  opacity: 0.7;
}

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

/*Archive Items*/

.adaptable-sidebar {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-evenly;
}

.card {
  width: 45%;
  padding: 0.3rem;
  margin: 1rem;
  background-color:#fff;
}

.card p {
  text-emphasis-style:bold;
}

.archive-items {
  display: grid;
  grid-template-columns: 4fr, 1fr;
}

.archives-nav {
  background-color: #f7f0e6;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
 justify-content: center;
 justify-content: space-around;
}


a :hover{
  color: #ee6c6c;

}

.current {
  color: #fff;
  background-color: #006a4e;
  border-radius: 10%;
  padding: 0.3rem;
}
/*Contact*/
.contact {
  width:100%;
}

hr {
  min-height: 1rem;
  background-color: #006a4e ;
}

.contact i {
  color: #006a4e;
}

/* 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: #f5f5f5 1px solid;
}

.callback-form input:focus {
  outline-color: #006a4e;
}

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

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #006a4e;
}

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

.copyright p {
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    background: url("../img/about-image-mobile.jpg") no-repeat center
      center/cover;
    height: 100vh;
    position: relative;
    color: #fff;
  }


  .navbar {
    flex-direction: column;
    height: 170px;
    padding: 20px;
  }

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

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

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


  .card {
    width: 99%;
    padding: 0.3rem;
    margin: 1rem;
    background-color:#fff;
  }

  .column .column-2 .contact-info {
    display: flex;
    justify-content: space-between;
  }

  .team img {
    width: 70%;
  }

  .flex-grid .column img {
    height: unset;
  }
}
