/*---------------------------------------*/
/* # SETTINGS (variables)                */
/*---------------------------------------*/
:root {
  --color-white: #ffff;
  --color-white-transparent: rgba(255, 255, 255, 0.5);
  --color-off-black: #2d2d2d;
  --color-off-black-transparent: rgba(45, 45, 45, 0.1);
  --color-blue: #1b65ce;
  --color-grey: #f4f4f4;
  --fw-bold: 600;
}
/*---------------------------------------*/
/* # GENERIC                             */
/*---------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  min-height: 100%;
  height: auto;
  scroll-behavior: smooth;
  font-family: sans-serif;
  background-color: var(--color-white);
}
/*---------------------------------------*/
/* # ELEMENTS (HTML)                     */
/*---------------------------------------*/
ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}

aside a {
  text-align: center;
  position: fixed;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  bottom: 0;
}
/*---------------------------------------*/
/* # COMPONENTS (UI)                     */
/*---------------------------------------*/
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
}

.navigation-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navigation-item {
  font-weight: var(--fw-bold);
  color: var(--color-off-black);
}

.navigation-list {
  display: none;
}

.navigation-logo {
  width: auto;
  height: 1.7rem;
}

.navigation-hamburger-img {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.navigation-hamburger-checkbox {
  display: none;
}

/* Parent is html element "nav", selecteer de sibling (broertje/zusje) */
.navigation-hamburger-checkbox:checked ~ .navigation-slideout {
  transform: translateX(0%);
}

.navigation-slideout {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  position: absolute;
  width: 100%;
  transform: translateX(-100%);
  transition: all 0.2s ease-in;
}

/* > = selecteer alle kinderen van de parent van het type "a" */
.navigation-slideout > a {
  padding: 1rem 0 1rem 1rem;
  border-top: 1px solid var(--color-off-black-transparent);
}

.header {
  background-image: url("../images/ben10.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 8rem 4rem;
  color: var(--color-white);
}

.header-content p:first-of-type {
  color: var(--color-white-transparent);
}

.header-content p:last-of-type {
  font-weight: var(--fw-bold);
}

.header-content a {
  padding: 1rem 1.5rem;
  width: fit-content;
}

.partners {
  background-color: var(--color-grey);
  margin: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner-logo {
  width: auto;
  height: 3rem;
}

.partners-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.partners-content p {
  font-size: 14px;
}

.partners-content span {
  font-size: 12px;
  font-weight: var(--fw-bold);
}

.partners-content span {
  color: var(--color-blue);
  text-transform: uppercase;
}

.form {
  display: flex;
  align-items: center;
  width: 100%;
}

.form-input {
  border-radius: 0;
  border: none;
  padding: 0.5rem 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.form-submit {
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  flex: 0 0 auto;
}

.tutorial {
  margin: 2rem 2rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.tutorial-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 2rem;
  width: 250px;
}

.tutorial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.tutorial-item span {
  background-color: var(--color-off-black);
  color: var(--color-white);
  padding: 0.5rem 0.8rem;
  border-radius: 50%;
  width: fit-content;
}
/*---------------------------------------*/
/* # OBJECTS (layout structures)         */
/*---------------------------------------*/

/*---------------------------------------*/
/* # UTILITIES (reusable)                */
/*---------------------------------------*/
.button {
  text-transform: uppercase;
  background-color: var(--color-blue);
  color: var(--color-white);
}
/*---------------------------------------*/
/* # MEDIA                               */
/*---------------------------------------*/
@media (min-width: 768px) {
  .navigation-hamburger-img,
  .navigation-slideout {
    display: none;
  }

  .navigation-list {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  aside a {
    display: none;
  }

  .partners {
    padding: 2rem;
  }

  .partner-logo {
    height: 5rem;
  }

  .form {
    width: 300px;
  }

  .tutorial {
    margin: 2rem;
  }

  .tutorial-content {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }
}
/*---------------------------------------*/
/* # TOOLS (mixins)                      */
/*---------------------------------------*/

/*---------------------------------------*/
/* # LIBRARIES                           */
/*---------------------------------------*/
