:root {
  --kleur-primair: #ee3124;
  --kleur-primair-licht: #fc4e41;
  --kleur-primair-donker: #dc271a;
  --kleur-secondair: #96bf3d;
  --zwart: #000;
  --zwart-alpha: rgba(0, 0, 0, 0.3);
  --wit: #fff;
  --schaduw-groen: 1rem 1rem 0rem var(--kleur-secondair);
}

* {
  margin: 0;
  padding: 0;
}
*, *::before, *::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
}

@keyframes introRemove {
  to {
    height: 0;
    display: hidden;
    opacity: 0;
    transform: scale(0) translateY(-20rem);
  }
  0% {
    transform: scale(1) translateY(0rem);
    height: 100%;
  }
  100% {
    transform: scale(1) translateY(-20rem);
    height: 0;
  }
}
@keyframes slideIn {
  0% {
    transform: translateX(-10%);
  }
  100% {
    transform: translateX(0);
  }
}
/* --- Layout --- */
body {
  position: relative;
}

/* ---header---*/
.header {
  background-color: var(--kleur-secondair);
  width: 100%;
  padding: 2rem 3rem;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  z-index: 1;
}
@media only screen and (max-width: 77.5em) {
  .header {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}
.header_logo {
  width: 10rem;
  grid-column: 2;
  justify-self: center;
}
@media only screen and (max-width: 77.5em) {
  .header_logo {
    grid-column: 1/-1;
  }
}
.header nav {
  grid-column: 3;
  justify-self: end;
  align-self: end;
}
@media only screen and (max-width: 77.5em) {
  .header nav {
    grid-column: 1/-1;
    align-self: center;
    justify-self: center;
  }
}
.header nav li {
  list-style-type: none;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
}
@media only screen and (max-width: 77.5em) {
  .header nav li {
    font-size: 1rem;
  }
}
.header nav li a {
  color: var(--kleur-primair);
  text-decoration: none;
}

/*---Portfolio---*/
.portfolio {
  width: 90vw;
  margin: 0 auto;
  overflow: hidden;
  /*Grid*/
  display: grid;
  grid-template-columns: repeat(12, minmax(3rem, 1fr));
  grid-template-rows: max-content;
  grid-auto-flow: row dense;
  gap: 1rem;
  padding: 1rem;
}
@media only screen and (min-width: 77.5em) {
  .portfolio {
    grid-template-columns: repeat(12, minmax(3rem, 1fr));
  }
}
@media only screen and (max-width: 77.5em) {
  .portfolio {
    grid-template-columns: repeat(6, minmax(3rem, 1fr));
  }
}
@media only screen and (max-width: 42.5em) {
  .portfolio {
    grid-template-columns: repeat(3, minmax(3rem, 1fr));
  }
}
.portfolio_content {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.portfolio_content_inhoud {
  width: 100%;
  height: 100%;
  border: none;
}
.portfolio_content_clickElement {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.portfolio_content_clickText {
  display: none;
  visibility: hidden;
  padding: 2rem;
  background-color: bisque;
}
.portfolio_content_vierkant {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 42.5em) {
  .portfolio_content_vierkant {
    grid-column: 1/-1;
  }
}
.portfolio_content_vierkant_click {
  grid-column: span 6;
}
.portfolio_content_staand {
  grid-column: span 3;
  grid-row: span 1;
}
@media only screen and (max-width: 42.5em) {
  .portfolio_content_staand {
    grid-column: 1/-1;
  }
}
.portfolio_content_staand_click {
  grid-row: span 3;
}
.portfolio_content_liggend {
  grid-column: span 6;
  grid-row: 1fr;
  min-height: 40rem;
}
@media only screen and (max-width: 42.5em) {
  .portfolio_content_liggend {
    grid-column: 1/-1;
  }
}
.portfolio_content_liggend_click {
  grid-column: span 6;
  grid-row: span 2;
}
.portfolio_content_overMij {
  /*Column grote*/
  grid-column: span 3;
  grid-row: span 2;
  /*Rest*/
  position: relative;
  background-color: var(--kleur-secondair);
}
.portfolio_content_overMij_img {
  -o-object-fit: cover;
     object-fit: cover;
}
.portfolio_content_overMij_tekst {
  position: absolute;
  bottom: 0rem;
  background-color: var(--wit);
  padding: 1rem;
  margin: 1rem;
}
.portfolio_content_bodymovin_tekst {
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 2vh;
  background-color: var(--kleur-secondair);
  color: var(--kleur-primair);
}
.portfolio_content_banners {
  height: 100%;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
}
.portfolio_content_banners iframe {
  min-height: 420px;
  height: 100%;
}
@media only screen and (max-width: 52.5em) {
  .portfolio_content_banners {
    grid-column: 1/-1;
    min-height: 600px;
  }
}
.portfolio_content_categorie {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  /*Animation*/
  transition: all 3000ms;
  /*Losse categorie elementen*/
}
.portfolio_content_categorie_element {
  position: relative;
  display: flex;
  gap: 0.3rem;
}
.portfolio_content_categorie_element:hover .portfolio_content_categorie_text {
  display: block;
  visibility: visible;
  animation: slideIn 0.15s ease-in;
}
.portfolio_content_categorie_text {
  display: none;
  visibility: hidden;
}
.portfolio_content_magazine {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}
@media only screen and (max-width: 52.5em) {
  .portfolio_content_magazine {
    grid-column: span 3;
    min-height: 40vh;
  }
}
@media only screen and (max-width: 42.5em) {
  .portfolio_content_magazine {
    grid-column: 1/-1;
    min-height: 60vh;
  }
}
.portfolio_content_magazine iframe {
  width: 100%;
  width: 100%;
}

/*---RekenTool---*/
.rekentool {
  display: flex;
  justify-content: center;
  width: 100%;
}
.rekentool a {
  transform: scale(1);
  text-decoration: none;
  text-align: center;
  transition: transform 200ms ease-out;
  font-size: 5rem;
  text-transform: uppercase;
  margin: 5rem auto;
  padding: 2rem;
}
.rekentool a:link, .rekentool a:visited {
  color: var(--kleur-primair);
  font-weight: 500;
}
.rekentool a:hover {
  transform: scale(1.1);
  color: var(--kleur-primair-donker);
  font-weight: 900;
}

.content_body_container_iframeContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: all 300ms ease;
}

/*---Footer---*/
.footer {
  width: 100%;
  padding: 1rem;
  background-color: var(--kleur-secondair);
  color: var(--kleur-primair);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.footer p {
  margin: 0 auto;
  width: 100%;
}
.footer_ps {
  font-weight: 400;
}

/*---Algemene voorwaarden---*/
.algemeneVoorwaarden_text {
  padding: 5rem 10rem;
  margin: 0 auto;
  max-width: 100rem;
}
.algemeneVoorwaarden_text div {
  margin: 2rem auto;
}
.algemeneVoorwaarden_text div p {
  margin-bottom: 1rem;
}
.algemeneVoorwaarden_text div p span {
  margin-left: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.backToTop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--kleur-primair-donker);
  padding: 2rem;
  border-radius: 100rem;
  color: #fff;
  text-decoration: none;
}