/* Root */
:root {
  --primary: ;
  --secondary: ;
  --light: #fff;
  --dark: #333;
  --shadow: 0, 1px, 5px rgba(104, 104, 104, 0.9);
  --max-width: 70%;
}

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

/* BASE */
html,
body {
  font-family: "Barlow", sans-serif;
  webkit-font-smoothing: antialiased;
  font-size: 62.5%;
  background: var(--light);
  line-height: 1.5;
  overflow-x: hidden;
}

h1 {
  font-size: 3.2rem;
  font-weight: bolder;
  padding-bottom: 20px;
}

h2 {
  font-size: 2.4rem;
  font-weight: bolder;
  padding-bottom: 20px;
}

h3 {
  font-size: 1.872rem;
  font-weight: bolder;
  padding-bottom: 20px;
}

p {
  margin: 0.8rem 0;
  font-size: 1.6rem;
}

b {
  margin: 0.8rem 0;
  font-size: 1.6rem;
}

div,
header,
main,
nav,
section,
article,
aside,
footer,
button,
li {
  font-size: 1.6rem;
}

a {
  color: var(--dark);
  text-decoration: none;
  font-size: 1.6rem;
}

ul {
  list-style: none;
  font-size: 1.6rem;
}

/* UTILITIES */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 3.2rem;
}

.img {
  max-width: 100%;
}

.bg-transparent {
  background-color: rgba(0, 0, 0, 0.7);
}

.shadow {
  box-shadow: var(--shadow);
}

header::before {
  content: "";
  position: fixed;
  top: -100;
  left: 0;
  width: 100%;
  height: 100px;
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.7);
}

header {
  min-height: 70vh;
  background: url("../assets/img/gallery/img8.jpg") no-repeat center center/cover;
}

header nav {
  height: 70px;
  padding-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav .logo img {
  width: 80px;
}

header nav ul {
  display: flex;
  align-items: center;
}

header nav ul li {
  padding: 0 35px;
}

header nav ul li:nth-child(2) {
  width: 15ch;
}

header nav ul li a {
  color: white;
}

header nav .btn {
  display: block;
  background-color: black;
  color: white;
  padding: 10 20;
  text-align: center;
  width: 17.63ch;
  margin-left: 100px;
}

.menu-btn {
  cursor: pointer;
  position: absolute;
  top: 40px;
  right: 20%;
  z-index: 2;
  display: none;
}

.overlapping-block {
  background-color: gray;
  min-width: 30%;
  width: 450px;
  padding: 50px 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: -100px;
}

.overlapping-block h1 {
  max-width: 18ch;
  color: white;
  text-align: center;
}

.overlapping-block a {
  display: block;
  background-color: black;
  color: white;
  width: 200px;
  padding: 10 20;
  text-align: center;
}

.image-text {
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
  padding: 3rem;
}

.image-text img {
  max-width: 300px;
  text-align: center;
  display: flex;
  justify-self: center;
  align-self: center;
}

.image-text .image-text__data {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.second-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.second-block .image-text__data {
  order: 1;
}

.second-block img {
  order: 2;
}

.team {
  padding-top: 6rem;
}

.team__title {
  text-align: center;
  font-size: 4rem;
  font-weight: 400;
}

.team__container {
  background-color: #c3c5c6;
  margin-bottom: 2rem;
}

.team__content {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: 20% 80%;
  padding: 3rem 0;
}

.team__img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 4px solid black;
  border-radius: 50%;
  position: relative;
  top: 40px;
  right: 40px;
}

.team__name {
  font-size: 3rem;
}

.werkwijze {
  padding: 5.5rem 0 5.5rem;
}

.werkwijze__title {
  text-align: center;
  font-size: 4rem;
  font-weight: 400;
}

.werkwijze__img {
  display: block;
  padding: 3rem 0 3rem;
  width: 90%;
  margin: auto;
  justify-self: center;
}

footer {
  color: white;
}

footer .topbar {
  background-color: #3e3c38;
  text-align: center;
  text-transform: uppercase;
  color: white;
  font-weight: 300;
}

footer .topbar h3 {
  padding: 9 0;
}

footer .bottombar {
  color: white;
  background-color: black;
  padding: 50 0;
}

footer .bottombar .bottombar-inner {
  width: 90vw;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
}

footer .bottombar .bottombar-inner .footer-contact {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

footer .bottombar .bottombar-inner .footer-contact .follow i {
  margin-right: 10px;
}

footer .bottombar .bottombar-inner .footer-contact-menu {
  margin: 2rem 0;
}

footer .bottombar .bottombar-inner .footer-contact-menu,
footer .bottombar .bottombar-inner .footer-contact-menu a {
  color: #b8b8b8;
  font-weight: 300;
}

footer .bottombar .bottombar-inner a {
  color: white;
}

footer .bottombar .bottombar-inner .links a {
  color: #b8b8b8;
}

footer .bottombar .bottombar-inner .footer-btn {
  background-color: #848484;
  padding: 10 20;
  border: none;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }
  .main-menu {
    display: block;
    background: rgba(51, 51, 51, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    padding: 30px;
    transform: translateX(-100%);
    transition: transform 0.5s;
  }
  .main-menu.show {
    transform: translateX(0%);
  }
  .main-menu .btn {
    display: none;
  }
  .main-menu li {
    padding: 10px;
    border-bottom: 1px solid #999;
  }
  .main-menu li:nth-child(2) {
    width: 100%;
  }
  .main-menu li:last-child {
    border: none;
  }
  .image-text {
    grid-template-columns: 1fr;
  }
  .image-text img {
    margin-bottom: 50px;
  }
  .overlapping-block {
    max-width: 400px;
  }
  .image-text__title {
    text-align: center;
  }
  .second-block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .second-block .image-text__data {
    order: 2;
  }
  .second-block img {
    order: 1;
  }
  .team__content {
    grid-template-columns: 1fr;
  }
  .team__left {
    display: flex;
    justify-content: center;
  }
  .team__img {
    position: static;
  }
  .team__right {
    margin-top: 2rem;
    padding: 0 4rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .team__name {
    text-align: center;
  }
  .grid-icons {
    grid-template-columns: 1fr;
  }
  .werkwijze__img {
    width: 100%;
  }
  .bottombar-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}
