@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins&display=swap');

:root[data-theme="light"] {
  --text: #010204;
  --background: #dce7f9;
  --primary: #0d4ebf;
  --secondary: #c7d8f5;
  --accent: #2361cd;
  --invert: #fbfcfe;
  --white: #fbfcfe;
  --black: #010204;
}

:root[data-theme="dark"] {
  --text: #fbfcfe;
  --background: #061123;
  --primary: #4081f2;
  --secondary: #0a1b38;
  --accent: #3270dc;
  --invert: #010204;
  --white: #fbfcfe;
  --black: #010204;
}



body,
html {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text);
  font-family: poppins;
  transition: background-color 1s;
}



a {
  text-decoration: none;
  color: var(--text);
}


header {
  /* remove this line to return the header back to original */
  /* position: fixed;
  z-index: 4; */


  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  padding: 10px;
  color: var(--text);

}

header h1 {
  margin: 20px;
  font-size: 1.6em;
}

/* Hamburger Container */

:root {
  --bar-width: 30px;
  --bar-height: 4px;
  --bar-gap: 6px;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--bar-gap) * 2)
}

.hamburgerContainer {
  margin: 20px;
  width: max-content;
  display: none;

}

.hamburger-menu::before,
.hamburger-menu input,
.hamburger-menu::after {
  content: "";
  height: var(--bar-height);
  width: var(--bar-width);
  background-color: var(--text);
  border-radius: 100px;
  transform-origin: left center;
  transition: 0.2s ease-in-out;
  z-index: 5;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu input:focus-visible,
.hamburger-menu:has(input:focus-visible)::after {
  border: 1px solid var(--invert);
  box-shadow: 0 0 0 1px var(--text);
}

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);
  display: flex;
  flex-direction: column;
  gap: var(--bar-gap);
  width: max-content;
  cursor: pointer;
}

.hamburger-menu input {
  appearance: none;
  margin: 0;
  padding: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)+.popup-container {
  display: flex;
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}


@keyframes popup {
  0% {
    transform: scale(0);
    opacity: 0;
    backdrop-filter: blur(0);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    backdrop-filter: blur(10px);
  }
}



.popup-container {
  animation: popup 0.3s ease-in-out;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  width: 100%;
  height: 100vh;
  z-index: 4;
  align-items: center;
  justify-content: center;
}

.popup-menu {
  background-color: var(--background);
  border-radius: 25px;
  padding: 10px;
  width: max-content;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 50px var(--primary);
  z-index: 5;
  font-size: 1.5rem;
}

.popup-menu nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.popup-menu a:hover {
  color: var(--primary);
}


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


.hero-container {
  position: relative;
  min-height: 100vh;
}

.hero-container h1 {
  margin: 0;
}

.hero-text-container {
  --font-size: 4.25rem;
  position: absolute;
  top: 0;
  z-index: 2;
  margin: 20px;
  padding: 24px;
  font-family: 'Bebas Neue', Bold;
  font-size: var(--font-size);
  line-height: calc(1.6*var(--font-size));
  text-shadow: 2px 4px var(--secondary);
  max-height: 80vh;
}

#hero-cta {
  font-family: 'Bebas Neue', Bold;
  padding: 20px;
  font-size: 2rem;
  box-shadow: 6px 6px var(--secondary);
}

#nav-cta {
  padding: 10px;
  box-shadow: 4px 4px var(--text);
}


#hero-cta:hover {
  transform: translate(6px, 6px);
  box-shadow: 0 0 30px var(--primary);
}

#nav-cta:hover {
  transform: translate(6px, 6px);
  box-shadow: none;
}



.cta {
  font-size: 20px;
  background-color: var(--accent);
  outline: none;
  border: none;
  border-radius: 20px;
  transition: 0.4s;
}

.instagram {
  font-size: 20px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 4px 4px var(--text);
  transition: transform 0.4s, box-shadow 0.4s;
}

.instagram:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 var(--text), -10px 10px 30px -10px #fdf497, -10px -10px 30px -10px #fd5949, #285AEB 20px -7px 30px -10px, #d6249f 20px 7px 30px -8px;
}


/* NIET PERMANTENT */
.shoe-container {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.turned-shoe {
  display: none;
}


footer {
  display: flex;
  justify-content: space-around;
  margin: 40px;
  padding: 20px;
  border-radius: 25px;
  background-color: var(--secondary);
}

.sub-section {
  display: flex;
  justify-content: space-around;
  margin: 40px;
}

.sub-section div {
  margin: 20px;
  padding: 20px;
  border-radius: 25px;
  background-color: var(--secondary);
  transition: box-shadow 0.5s;
}

.story-sustainability:hover {
  box-shadow: 0 0 50px #0074ba;
}

.story-value:hover {
  box-shadow: 0 0 50px #12f39e;
}

.story-speed:hover {
  box-shadow: 0 0 50px #ff822d;
}

.sub-section h1 {
  text-align: center;
}

section {
  margin: 40px;
}


.line {
  width: 10px;
  height: max;
  background-color: var(--secondary);
  border-radius: 25px;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.column p,
a {
  margin: 10px;
}



/* zonder deze query is de schoen veel te groot bij 4:3 desktop schermen */
@media only screen and (min-width : 1600px) {
  .shoe-container img {
    max-height: 80%;
  }

}

@media (orientation: landscape) {
  #me-container {
    display: block;
  }

  #ss-container {
    display: none;
  }
}

@media (orientation: portrait) {

  #me-container {
    display: none;
  }

  #ss-container {
    display: block;
  }

  .clean-shoe {
    display: none;
  }

  aside {
    display: flex;
  }

  .turned-shoe {
    display: block;
    height: 80vh;
  }

  .sub-section {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    margin: 20px;
  }

  .line {
    width: 100%;
    height: 2px;
  }

  .hero-text-container {
    --font-size: 3rem;
  }

  header {
    font-size: 0.8rem;
    justify-content: flex-start;
  }

  header h1 {
    margin: 10px;
  }

  .top-nav {
    display: none;
  }

  .hamburgerContainer {
    display: flex;

  }

  #hero-cta {
    padding: 10px;
  }

  footer {
    margin: 10px;
  }
}

#text-container {
  background-color: var(--primary);
  border-radius: 25px;
  padding: 25px;
}

#me-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.image-container {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* W3 schools automatic slideshow */

.mySlides {
  display: none;
  flex-direction: column;
  align-items: center;
}

img {
  vertical-align: middle;
}

#ss-container {
  margin-bottom: 20px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 2em;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}