/*GENERIC*/

* {
  box-sizing: border-box;
}

/*
Kleuren:

WIT
Vrede
Rust
Helderheid

PAARS 
Royaal
Creativiteit
Opbeuren

BLAUW
Vertrouwen
Stabiliteit
Intelligentie
Logisch redeneren
  --primary-color: #4030E8;

*/
:root {
  --primary-color: #fabb02;
  --primary-color-bg: #312135;
  --breakpoint-medium: 1024px;
  --breakpoint-large: 1440px;
}

html,
body {
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Open Sans";
  font-weight: 300;
  scroll-behavior: smooth;
}

body {
  position: relative;
}

h1,
h2,
h3 {
  font-family: "Prosto One";
}

h1 {
  margin: 2rem 0;
  font-size: 2rem;
}

h2 {
  margin: 0.5rem 0 1rem 0;
}

h3 {
  margin: 0;
}

a {
  text-decoration: none;
  font-weight: 600;
  color: black;
}

section {
  padding: 2rem 0;
}

button {
  outline: 0;
  border: 0;
  background: none;
  padding: 0;
  font-family: "Open Sans";
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

a.btn {
  cursor: pointer;
}

.button-group {
  margin-top: 1.5rem;
}

.close-button::after {
  display: inline-block;
  content: "\00d7";
  font-size: 3rem;
  padding: 0 1rem;
}

.color--primary {
  color: var(--primary-color);
}

.background--primary {
  background-color: var(--primary-color-bg);
}

.gradient-background {
  background: radial-gradient(
    at 50% 50%,
    var(--primary-color-bg) 0%,
    white 60%
  );
}

.duo-gradient-background {
  background: radial-gradient(at 20% 65%, rgba(64, 48, 232, 0.6) 0%, white 40%),
    radial-gradient(at 70% 45%, rgba(22, 99, 199, 0.6) 0%, white 50%);
  background-blend-mode: multiply;
  background-size: 150% 100%;
  background-position: 50% 0%;
}

button.primary,
a.primary {
  background-color: var(--primary-color);
  color: black;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
}

button:disabled,
a.disabled {
  cursor: default;
  opacity: 0.8;
  pointer-events: none;
}

button.secondary {
  padding: 1rem 1.5rem;
  box-shadow: 0px 0px 0px 2px black inset;
}

button.primary,
button.secondary,
a.primary {
  transform: skew(-20deg);
  display: inline-block;
  transition: padding-right 0.2s ease-out, margin-right 0.2s ease-out;
}

button.primary:hover,
button.secondary:hover,
a.primary:hover {
  padding-right: 2rem;
  margin-right: -0.5rem;
}

button.primary span,
button.secondary span,
a.primary span {
  transform: skew(20deg);
  display: inline-block;
}

.font-secondary {
  font-size: 1.25rem;
}

.flex {
  display: flex;
}

.gap-2 {
  gap: 2rem;
}

.j-end {
  justify-content: flex-end;
}

.centered {
  text-align: center;
}

.right {
  text-align: right;
}

.right-sm {
}

.ml-sm {
  margin-left: 1rem;
}

.mr-sm {
  margin-right: 1rem;
}

.p-md {
  padding: 1.5rem;
}

.mt-md {
  margin-top: 1.5rem;
}

.mb-lg {
  margin-bottom: 2rem;
}

.mw-smd {
  max-width: 720px;
}

.mw-md {
  max-width: 1024px;
}

.align-middle {
  margin: 0 auto;
}

ul {
  list-style: none;
}

.full-width {
  margin-left: -1rem;
  margin-right: -1rem;
}

.full-width-sm {
  margin-left: -1rem;
  margin-right: -1rem;
}

.subtitle {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 0.5rem;
}

#wrapper {
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0 16px;
}

#wrapper.overlay:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

@media only screen and (min-width: 1024px) {
  section {
    padding: 4rem 0;
  }

  h2 {
    font-size: 2rem;
  }

  .centered-md {
    text-align: center;
  }

  .right-md {
    text-align: right;
  }

  .full-width-sm {
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (min-width: 1440px) {
  h2 {
    font-size: 2.5rem;
  }
}

/*HEADER*/

header {
  position: fixed;
  align-items: center;
  width: 100%;
  left: 0;
  top: 0;
  padding: 1rem;
  background: var(--primary-color);
  z-index: 2;
}

header a:hover:not(:has(img)) {
  opacity: 0.4;
}

.logo,
#logo-left {
  width: 160px;
  z-index: 3;
}

#logo-left img {
  width: 100%;
}

.burger-menu {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 24px;
  z-index: 3;
}

.bar {
  width: 100%;
  height: 4px;
  background-color: black;
  transition: 0.25s all ease-in;
}

.vr {
  width: 1px;
  background-color: black;
  flex: 0 0 1px;
}

.burger-menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6.5px, 0.5rem);
}

.burger-menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6.5px, -0.5rem);
}

.burger-menu.active .bar:nth-child(2) {
  width: 0;
}

.mobile-nav {
  position: fixed;
  z-index: 2;
  background-color: white;
  transform: translateX(100%);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 4rem 1rem 1rem 1rem;
  transition: transform 0.25s ease-in;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav.active {
  transform: translateX(0%);
}

.mobile-nav a {
  font-size: 1.5rem;
  padding: 1rem 0;
  display: block;
  color: black;
  border-bottom: 1px solid black;
}

.mobile-nav ul {
  padding: 0;
}

.mobile-nav ul:first-child {
  margin-top: 4rem;
}

.mobile-nav ul:first-child li:first-child a {
  border-top: 1px solid black;
}

.mobile-nav .socials {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.socials a {
  border: 0;
}

#desktop-menu {
  display: none;
  width: 100%;
  margin: 0 auto;
}

#desktop-menu ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
}

#desktop-menu ul li {
  flex: 1;
  display: flex;
}

#desktop-menu a {
  color: black;
  font-weight: 600;
}

#desktop-menu li:last-of-type a,
#desktop-menu li:nth-last-child(2) a {
  margin-left: auto;
}

@media only screen and (min-width: 1024px) {
  #mobile-menu,
  #logo-left,
  #mobile-menu-button {
    display: none;
  }

  #desktop-menu {
    display: block;
  }

  .logo {
    width: 240px;
  }
}

/*MAIN*/

#banner {
  padding-top: 3rem;
  display: flex;
  flex-direction: column-reverse;
}

#banner img {
  width: 100%;
}

#banner div {
  padding: 0 0 0 1rem;
  flex: 1;
}

#about-me {
  gap: 2rem;
  flex-direction: column;
}

#about-me img {
  display: none;
}

#about-training {
  flex-direction: column;
  border-top: 2px solid black;
  align-items: stretch;
}

#about-training ul {
  padding-left: 0;
}

#about-training li::before,
.popup-content li::before {
  content: "";
  display: inline-block;
  background-image: url("diamond.svg");

  background-size: contain;
  width: 0.75rem;
  height: 0.75rem;
}

#about-training p {
  flex: 1;
  min-width: 0;
  /* text-wrap: pretty; */
  align-self: center;
}

#intro-quote {
  padding: 4rem 1rem;
  background-color: black;
  color: white;
}

#intro-quote q {
  display: block;
}

.logo-icon {
  height: 3rem;
  margin: 2rem auto 0 auto;
  color: var(--primary-color);
  display: block;
}

.training {
  margin-bottom: 2rem;
}

.training img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale();
}

.card {
  position: relative;
  top: 75%;
  padding: 1.5rem;
  background-color: white;
  z-index: 1;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.2s ease-out;
}

.card:hover {
  box-shadow: 0px 4px 48px rgba(0, 0, 0, 0.4);
}

@media only screen and (min-width: 1024px) {
  #banner {
    padding-top: 6rem;
    display: flex;
    flex-direction: row;
  }

  #banner img {
    width: 60%;
    height: calc(100vh - 6rem);
    object-fit: cover;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  }

  #banner div {
    padding: 12rem 0 0 4rem;
    flex: 1;
  }

  #about-me {
    gap: 2rem;
    flex-direction: row;
  }

  #about-me img {
    display: block;
    width: auto;
    height: 20rem;
    margin-top: 14px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  }

  #about-training {
    gap: 2rem;
    flex-direction: row;
    border-top: 0;
    padding-top: 0;
  }

  .training {
    display: grid;
    grid-template-rows: 3fr 2fr 2fr 1fr;
    grid-template-columns: repeat(3, 1fr);
  }

  .training:nth-of-type(odd) {
    margin-right: 3rem;
  }

  .training:nth-of-type(even) {
    margin-left: 3rem;
  }

  .training img {
    height: 500px;
  }

  .training:nth-of-type(odd) img {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .training:nth-of-type(even) img {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  .training .card {
    top: unset;
    margin-top: unset;
    padding: 3rem;
    align-self: baseline;
  }

  .training:nth-of-type(odd) .card {
    grid-row-start: 2;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 4;
  }

  .training:nth-of-type(even) .card {
    grid-row-start: 2;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #banner-title {
    font-size: 2.5rem;
    left: unset;
    right: 0rem;
    top: 12rem;
  }

  footer {
    padding: 8rem 3rem;
  }

  footer ul {
    gap: 2rem;
  }
}

@media only screen and (min-width: 1440px) {
  #banner-title {
    font-size: 3rem;
    left: unset;
    right: 20%;
    top: 9rem;
  }

  .banner-stamp {
    top: 1rem;
    right: unset;
    left: 2rem;
    height: 130px;
  }

  #banner a {
    left: 30%;
  }
}

/*FOOTER*/

footer {
  background-color: black;
  padding: 5rem 3rem;
}

footer a {
  color: var(--primary-color);
  display: block;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0;
}

footer li {
  align-self: center;
}

@media only screen and (min-width: 1024px) {
  footer ul {
    gap: 4rem;
  }
}

@media only screen and (min-width: 1440px) {
  footer ul {
    gap: 6rem;
  }
}

/*POPUP*/

.popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: white;
  overflow: auto;
  z-index: 3;
  transition: all 0.25s ease-in;
}

.popup-content {
  position: relative;
  margin: 3rem;
  max-width: 768px;
  background: transparent;
  z-index: 0;
}

.popup-content ul {
  padding-left: 1rem;
}

.bg-diamond {
  position: absolute;
  left: 50%;
  width: 100%;
  top: 30%;
  opacity: 0.2;
}

.hideleft {
  transform: translateX(-100%);
}
