/* Header */
/* ////// */

main section:first-of-type p:first-of-type {
  font-family: "Dancing Script", cursive;
}

/* Hamburgermenu */

button[aria-label="toggle menu"] {
  appearance:none;
  font-size:1em;
  width:1em;
  aspect-ratio:1;
  border:none;
  background: var(--header);
  display:grid;
  align-content:center;
  scale: 0.9;
  cursor: pointer;
}

button[aria-label="toggle menu"] span {
  display:block;
  width:1.2em;
  height:.1em;
  background-color: var(--text-color);
  border-radius:.1em;
  grid-column-start:1;
  grid-row-start:1;
  transition:.3s;
}

button[aria-label="toggle menu"] span:nth-of-type(1) {
  translate:0 -.5em;
}

/* button[aria-label="toggle menu"] span:nth-of-type(2) {
  do not use empty rulesets
} */

button[aria-label="toggle menu"] span:nth-of-type(3) {
  translate:0 .5em;
}

button[aria-label="toggle menu"].is-open span:nth-of-type(1) {
  translate:0 0;
  rotate:45deg;
}

button[aria-label="toggle menu"].is-open span:nth-of-type(2) {
  scale:0 1;
}

button[aria-label="toggle menu"].is-open span:nth-of-type(3) {
  translate:0 0;
  rotate:-45deg;
}
/* Bron = hamburgermenu button klassikale oefening werkgroep 4 */

/* toggle menu */

nav ul:nth-of-type(2) {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 20em;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9em;
  background: var(--header);
  color: var(--text-color);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 4rem 1rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 5;
}

header nav:has(ul:first-of-type button[aria-expanded="true"]) > ul:nth-of-type(2) {
  transform: translateX(0);
}

nav ul:nth-of-type(2) li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

@media (width > 1000px) {
  nav {
    display: flex;
    gap: 1em;
    align-items: center;
    margin: 1em;
  }
  nav ul:nth-of-type(2) {
    position:static;
    transform: none;
    flex-direction: row;
    width: unset;
    height: unset;
    padding: 0;
    order: -1;
    box-shadow: none;
  }
  li:has(button[aria-label="toggle menu"]) {
    display: none;
  }
  nav ul:nth-of-type(2) li {
  padding: 0.5rem 0;
  border-bottom: none;
}
}


/* Nav bar */

svg {
  fill: var(--text-color);
}

nav ul:first-of-type {
  display:flex;
  gap:1em;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin: 0.7em;
  z-index: 10;
  }


nav ul:first-of-type li:nth-child(2) {
  margin-right: auto;
  margin-top: 0.5em;
  margin-left: -1.5em;
}

nav button[aria-label="toggle menu"] {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

nav ul:first-of-type li svg {
  scale: 0.9;
  margin-top: 0.1em;
  cursor: pointer;
}

/* zoekbalk */

input[type="search"] {
	width:2em;
	height: 2em;
	transition:.5s;
	background-color: var(--background-color);
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23504239' fill-rule='evenodd' clip-rule='evenodd' d='m10.795 9.984.013.007.045.05a1 1 0 0 0-.058-.057Zm-.038-.02.001-.003.005.002.018.011-.024-.01ZM4.942 1.522c.116-.017.232-.033.35-.042a6.55 6.55 0 0 1 .817-.002c.19.02.373.063.56.105.157.036.315.075.47.123.27.091.543.181.807.285.152.059.298.147.437.23.137.08.273.163.408.247a2.491 2.491 0 0 1 .5.43c.093.107.185.213.274.324.099.128.192.262.279.4.17.262.318.538.46.816.091.19.164.387.239.583.079.21.145.422.195.64.043.26.058.52.075.782.019.273.03.544.018.816-.055.394-.175.775-.301 1.152a3.742 3.742 0 0 1-.162.39 3.95 3.95 0 0 1-.23.397 8.13 8.13 0 0 1-.426.532c-.077.09-.149.182-.226.27a3.238 3.238 0 0 1-.245.252c-.107.082-.216.16-.329.233-.134.085-.264.178-.4.26-.261.154-.525.302-.798.436a7.798 7.798 0 0 1-.74.279c-.251.078-.51.135-.767.185a5.004 5.004 0 0 1-1.066.055 3.55 3.55 0 0 1-.811-.166 8.45 8.45 0 0 1-.602-.244 6.138 6.138 0 0 1-.617-.33c-.2-.133-.39-.28-.569-.44a7.764 7.764 0 0 1-.497-.502 5.676 5.676 0 0 1-.456-.608 9.89 9.89 0 0 1-.371-.635A4.185 4.185 0 0 1 .86 7.83a3.316 3.316 0 0 1-.056-.46 5.872 5.872 0 0 1 .005-.493 9.15 9.15 0 0 1 .349-1.694c.1-.27.215-.536.353-.793.154-.286.318-.564.497-.837.147-.206.299-.407.472-.597.165-.18.352-.344.539-.505a6.29 6.29 0 0 1 .536-.397c.196-.13.394-.257.605-.362a1.41 1.41 0 0 1 .186-.064l.595-.106Zm8.89 11.057c-.108-.1-.225-.19-.332-.29-.09-.083-.174-.173-.265-.256-.22-.203-.46-.385-.694-.576a15.91 15.91 0 0 1-.486-.409c-.136-.121-.265-.25-.4-.37l-.14-.127c-.096-.138-.26-.249-.39-.338-.057-.04-.112-.084-.169-.125a1.45 1.45 0 0 0-.133-.09.648.648 0 0 0-.05-.034l-.01-.008.05-.064c.158-.202.297-.418.418-.645.117-.225.198-.466.28-.704.142-.422.281-.847.311-1.291.03-.449-.025-.897-.046-1.345a3.923 3.923 0 0 0-.12-.749c-.053-.208-.133-.411-.21-.612l-.108-.282a4.127 4.127 0 0 0-.178-.378 12.19 12.19 0 0 0-.316-.579c-.104-.176-.207-.352-.322-.52a4.555 4.555 0 0 0-.393-.491 3.461 3.461 0 0 0-.51-.49 6.69 6.69 0 0 0-.622-.39c-.182-.105-.366-.213-.562-.294C8.227 1.035 8.004.98 7.79.91a7.016 7.016 0 0 0-.827-.22c-.15-.029-.3-.055-.448-.078a2.46 2.46 0 0 0-.392-.029 12.087 12.087 0 0 0-.662.033c-.196.019-.39.05-.582.093-.154.03-.31.06-.465.092-.19.04-.268.077-.446.155-.084.037-.186.08-.316.164-.056.028-.112.06-.166.093a7.934 7.934 0 0 0-1.145.826c-.164.14-.326.284-.473.441-.156.17-.3.35-.433.54a8.676 8.676 0 0 0-1 1.851 6.087 6.087 0 0 0-.219.739c-.115.48-.187.969-.212 1.462-.011.223.003.447.026.67.014.13.045.266.077.392.03.122.066.24.103.361.075.24.194.473.31.696a6.378 6.378 0 0 0 1.24 1.736 5.6 5.6 0 0 0 .538.483c.22.167.451.317.69.46.193.115.398.211.604.3.245.105.494.199.75.272.218.062.445.11.672.129.26.022.528.044.79.03 1.014-.058 2.01-.383 2.883-.877.207-.117.41-.237.607-.368.22-.144.442-.28.637-.456.068-.062.131-.127.194-.193.025.027.053.05.084.072a.73.73 0 0 0 .077.054c.064.052.123.114.187.164.058.045.114.091.17.136l.06.047c.043.034.076.062.135.09l.01.004c.231.205.452.421.69.62.18.149.362.3.55.44.12.089.242.178.355.275.117.1.228.208.34.313.134.126.264.253.399.378.195.179.528.143.699-.047a.474.474 0 0 0-.05-.675Z'%3E%3C/path%3E%3C/svg%3E");
	background-size:1.3em 1.3em;
	background-repeat:no-repeat;
	background-position:.25em center;
  border: none;
  border-radius: 2px;
  padding-left: 2em;
  padding-right: 0;
  cursor: pointer;
}

input:focus {
	width:12em;
  background-color: var(--accent2);
  cursor:text;
  outline: none;
}

@media (min-width: 1000px) {
  input[type="search"] {
    width: 100%;
    background-color: var(--accent2);
  }
  li:has(input[type="search"]) {
    flex-grow: 1;
    max-width: 20em;
  }
  nav ul:nth-of-type(1) {
    display: contents;
  }
  nav ul:nth-of-type(1) li:nth-of-type(2) {
    order: -2;
  }
  nav ul:first-of-type li:nth-child(2) {
  margin-left: 0;
}
}

@media (min-width: 1200px) {
  input[type="search"] {
    width: 100%;
    background-color: var(--accent2);
  }
}



/* Section 1 landing */
/* ///////////////// */

main section:first-of-type {
  background: url('https://assets.sostrenegrene.com/cdn-cgi/image/height=700,width=500,quality=100,format=webp,fit=cover,gravity=0.5x0.5/media/poqcxasp/websize_hero_sostrene-grene_christmas-2542c_021.jpg')
              center / cover no-repeat;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  position: relative;
}

main section:first-of-type h2 {
  color: var(--title-color);
  font-size: 4rem;
  font-weight: 500;
  order:2;
  margin-top: 0;
}

main section:first-of-type p:first-of-type {
  order:1;
  color: var(--title-color);
  font-size: 3rem;
  transform: rotate(-5deg);
  margin-bottom: 0.5em;
  margin-top: 1.5em;
}

main section:first-of-type a {
  order:3;
  margin-top:4em;
  margin-bottom: 2em;
  text-decoration: none;
  background-color: var(--accent1);
  padding: 0.7em 1em;
  border-radius: 2px;
  font-weight:500;
  font-size: 0.9em;
  color: var(--text-color);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

main section:first-of-type a::after {
  background-image: url('../images/glitter-2-svgrepo-com.svg');
  background-size: contain;
  content: "";
  width: 2em;
  height: 2em;
  margin-left: 1em;
}
/* zelf icoontje gemaakt want die van de site werkte niet, bron: https://www.svgrepo.com/svg/477652/glitter-2 */

main section:first-of-type a:hover {
  transform: scale(1.1);
}



/* Section 2 populair */
/* ////////////////// */

main section:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main section:nth-of-type(2) h2 {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 2.5em;
}

main section:nth-of-type(2) p {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
}

main section:nth-of-type(2) a {
  text-decoration: none;
}

main section:nth-of-type(2) ul {
  margin-top: 1em;
  display: grid;
  gap: 0.5em;
  grid-template-columns: repeat(3, minmax(120px, 10px));
}

main section:nth-of-type(2) li {
  display: flex;
  text-align: center;
}

main section:nth-of-type(2) img {
  background-color: var(--accent2);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

main section:nth-of-type(2) img:hover {
  transform: scale(1.1);
}

/* schalen naast elkaar op grote schermen */
@media (min-width: 768px) {
  main section:nth-of-type(2) ul {
    grid-template-columns: repeat(4,120px);
  }
}

@media (min-width: 1024px) {
  main section:nth-of-type(2) ul {
    grid-template-columns: repeat(5,120px);
  }
}

@media (min-width: 1280px) {
  main section:nth-of-type(2) ul {
    grid-template-columns: repeat(6,120px);
  }
}



/* Section 3 trending */
/* ////////////////// */

main section:nth-of-type(3) h2 {
  anchor-name: --heading;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 400;
  margin-top: 2.5em;
  text-align: left;
  margin-left: 1em;
  order: 2;
}

main section:nth-of-type(3) ul {
  display: flex;
  gap: 20px;
  padding: 1em;

  list-style-type:"";
  overflow-x:auto;
  scroll-snap-type:x mandatory;
	scroll-behavior:smooth;
  overscroll-behavior-x:contain;
  anchor-name: --carousel;
}

main section:nth-of-type(3) ul {
  &::scroll-button(*) {
    position: fixed;
    position-anchor: --heading;
    position-visibility: always;
    		
		margin-top:1em;
		
		height:2em;
  }

  &::scroll-button(right) {
    position-area: center right;
    content: '→' / 'Next';
		
		justify-self:end;
    margin-right: 25px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
  }

  &::scroll-button(left) {
    position-area: center right;
    content: '←' / 'Previous';
		
		justify-self:start;
    margin-right: 65px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
   }
}
/* bron: carousel voortgangsgesprek 3, product cards ervan gemaakt */

main section:nth-of-type(3) li {
	width: 14.5em;
	height: auto;
	
	flex-shrink: 0;
	
	scroll-snap-align: center;
}

main section:nth-of-type(3) img {
  width: 100%;
  order: 1;
}

/* product cards */

main section:nth-of-type(3) a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "img img"
    "h3 h3"
    "p button2";
  text-decoration: none;
  color: var(--text-color);
  position: relative;
  padding: 0.5em;
  gap: 0;
}

main section:nth-of-type(3) a img {
  grid-area: img;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

main section:nth-of-type(3) a h3 {
  grid-area: h3;
  font-size: 0.8rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin: 1em 0 0;
}

main section:nth-of-type(3) a p {
  grid-area: p;
  font-size: 0.7rem;
  font-family: "Noto Sans", sans-serif;
  font-weight: 350;
  margin: 0;
  align-self: center;
}

/* winkelmand button */

main section:nth-of-type(3) a button:nth-of-type(2) {
  grid-area: button2;
  justify-self: end;
  align-self: center;
  background-color: var(--background-color);
  border: none;
  border-radius: 2px;
  padding: 0.4em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

main section:nth-of-type(3) a button:nth-of-type(2):hover {
  transform: scale(1.2);
}

/* like button */

main section:nth-of-type(3) a button:first-of-type {
  position: absolute;
  top: 1em;
  right: 1em;
  place-items: center;
  background: var(--accent1);
  border: none;
  border-radius: 2px;
  padding-top: 0.8em;
  padding-left: 0.8em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

main section:nth-of-type(3) a button:first-of-type:hover {
  transform: scale(1.1);
}

main section:nth-of-type(3) ul::-webkit-scrollbar {
  display: none;
}
/* bron: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar */

@media (min-width: 1200px) {
  main section:nth-of-type(3) h2 {
    text-align: center;
    margin: 3em auto 1em auto;
  }

  main section:nth-of-type(3) ul {
    justify-content: center;
    gap: 1.5em;
  }

  main section:nth-of-type(3) ul::scroll-button(left),
  main section:nth-of-type(3) ul::scroll-button(right) {
    display: none;
  }

  main section:nth-of-type(3) li {
    width: 18em;
  }
}



/* Section 4 vind inspiratie */
/* ///////////////////////// */

main section:nth-of-type(4) h2 {
font-weight: 400;
font-size: 1.5rem;
text-align: left;
order:2;
margin-top:0;
}

main section:nth-of-type(4) p:first-of-type {
  order:1;
  font-size: 2rem;
  margin-bottom: 0;
  margin-top: 0;
}

main section:nth-of-type(4) p:last-of-type {
  order:4;
}

main section:nth-of-type(4) {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  position: relative;
}

main section:nth-of-type(4) img {
  order: 3;
  max-width: 700px;
}

main section:nth-of-type(4) a {
  order: 5;
  text-decoration: none;
  padding: 0.7em 1em;
  border-radius: 2px;
  border: 1px solid var(--text-color);
  font-weight:500;
  color: var(--text-color);
  text-transform: uppercase;
  width: fit-content;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

main section:nth-of-type(4) a:hover {
  background-color: var(--text-color);
  color: var(--text-color2);
}

@media (min-width: 800px) {
  main section:nth-of-type(4) {
    text-align: center;
    gap: 1rem;
  }

  main section:nth-of-type(4) h2,
  main section:nth-of-type(4) p,
  main section:nth-of-type(4) a,
  main section:nth-of-type(4) img {
    margin: 0 auto;
  }

  main section:nth-of-type(4) img {
    max-width: 60vw;
    height: auto;
  }

  main section:nth-of-type(4) p {
    max-width: 60vw;
    height: auto;
  }

  main section:nth-of-type(4) a {
    margin-top: 1rem;
  }
}



/* Section 5 week voor week */
/* ////////////////// */

main section:nth-of-type(5) img {
  width: 20em;
  margin: 1em;
}

main section:nth-of-type(5) {
  background-color: var(--accent2);
  padding: 1em 1.5em;
  margin-top: 1em;
}

main section:nth-of-type(5) li {
  list-style-type: none;
  position: relative;
  margin-bottom: 1em;
}

main section:nth-of-type(5) li:nth-of-type(2) img {
  margin-top: 2.55em;
}

main section:nth-of-type(5) li:nth-of-type(3) img {
  margin-top: 1.4em;
}

main section:nth-of-type(5) h2 {
  text-align: start;
  font-weight: 400;
  margin-right: 3em;
  anchor-name: --heading2;
}

main section:nth-of-type(5) h3 {
  font-weight: 600;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 0;
}

main section:nth-of-type(5) p {
  font-weight: 300;
  font-size: 0.8em;
  margin-left: 1.5em;
  margin-right: 1.5em;
  margin-bottom: 0;
}

main section:nth-of-type(5) ul {
	margin:0;
	padding:0;
  gap: 2em;
	list-style-type:"";
	
	display:flex;
	overflow-x:auto;
	
	scroll-snap-type:x mandatory;
	scroll-behavior:smooth;
	
	overscroll-behavior-x:contain;
	
	font-size:1em;
}

main section:nth-of-type(5) ul {
  &::scroll-button(*) {
    position: fixed;
    position-anchor: --heading2;
    position-visibility: always;
    		
		margin-top:1em;
		
		height:2em;
  }

  &::scroll-button(right) {
    position-area: center right;
    content: '→' / 'Next';
		
		justify-self:end;
    margin-right: 25px;
    margin-bottom:-1.3em;
    background-color: var(--accent2);
    color: var(--text-color);
    border: none;
    cursor: pointer;
  }

  &::scroll-button(left) {
    position-area: center right;
    content: '←' / 'Previous';
		
		justify-self:start;
    margin-right:65px;
    margin-bottom:-1.3em;
    background-color: var(--accent2);
    color: var(--text-color);
    border: none;
    cursor: pointer;
  }
}

main section:nth-of-type(5) a {
  text-decoration: none;
  padding: 0.3em;
  padding-left: 0.6em;
  padding-right: 0.6em;
  background-color: var(--text-color2);
  position: absolute;
  top: 21.3em;
  right: 1.5em;
  place-items: center;
  color: var(--text-color);
  border-radius: 2px;
  font-size: 1.5em;
  transition: transform 0.2s ease, background 0.2s ease;
}

main section:nth-of-type(5) a:hover {
  transform: scale(1.1);
}

main section:nth-of-type(5) li {
	width:22em;
	height:auto;
	background-color: var(--background-color);
	
	flex-shrink:0;
	
	scroll-snap-align:center;
}
/* bron: weer carousel uit voortgangsgesprek 3, aangepast */

main section:nth-of-type(5) ul::-webkit-scrollbar {
  display: none;
}
/* bron: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar */


@media (min-width: 1000px) {
  main section:nth-of-type(5) h2 {
    text-align: center;
    margin: 0 auto 1em auto;
  }

  main section:nth-of-type(5) ul {
    justify-content: center;
    gap: 1.5em;
  }

  main section:nth-of-type(5) ul::scroll-button(left),
  main section:nth-of-type(5) ul::scroll-button(right) {
    display: none;
  }
}



/* Section 6 ontdek */
/* //////////////// */

main section:nth-of-type(6) ul {
	margin:0;
	padding:0;
	list-style-type:"";
	
	display:flex;
	overflow-x:auto;
	
	scroll-snap-type:x mandatory;
	scroll-behavior:smooth;
	
	overscroll-behavior-x:contain;
	
	font-size:1em;

  justify-content: center;
	
	anchor-name: --carousel;
}

main section:nth-of-type(6) ul {
  &::scroll-button(*) {
    position: fixed;
    position-anchor: --carousel;
    position-visibility: always;
    font-family: "Material Symbols Outlined";
		
		margin-top:1em;
		
		height:2em;
  } 
}

main section:nth-of-type(6) li {
	width:10em;
	height:auto;
	
	flex-shrink:0;
	
	scroll-snap-align:center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

main section:nth-of-type(6) img {
  width: 9.5em;
}

@media (min-width: 768px) {
  main section:nth-of-type(6) img {
  width: 12em;
}

main section:nth-of-type(6) li {
  width: 13em;
}
}

@media (min-width: 1200px) {
  main section:nth-of-type(6) img {
  width: 14em;
}

main section:nth-of-type(6) li {
  width: 15em;
}
}

main section:nth-of-type(6) a {
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 600;
  text-underline-offset: 3px;
  margin-bottom: 5em;
  transition: background 0.2s ease, transform 0.2s ease;
}

main section:nth-of-type(6) a:hover {
  transform: scale(1.1);
}

main section:nth-of-type(6) h2 {
  font-weight: 400;
  font-size: 0.8em;
  margin-top: 5em;
  margin-bottom: 2em;
}

main section:nth-of-type(6) p {
  font-weight: 400;
  font-size: 1.1em;
  margin-top: 1em;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-align: center;
}

main section:nth-of-type(6) ul::-webkit-scrollbar {
  display: none;
}



/* Section 7 nieuwsbrief */
/* ///////////////////// */

main section:nth-of-type(7) h2 {
  order: 2;
  font-weight: 400;
  font-size: 1.5em;
  margin: 4em;
  margin-bottom: 1em;
  margin-top: 0;
  color: var(--footer);
  background-color: var(--title-color);
}

main section:nth-of-type(7) {
  background: url('https://assets.sostrenegrene.com/cdn-cgi/image/format=webp/media/st0huiep/sostrenegrene_christmas2025_11.jpg') left / cover no-repeat;
  position: relative;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

main section:nth-of-type(7) form {
  background-color: var(--title-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 1.5em;
}

main section:nth-of-type(7) img {
  order: 1;
}

main section:nth-of-type(7) .naast-elkaar {
  order: 3;
}

main section:nth-of-type(7) input[type="email"] {
  background-color: var(--accent3);
  border: none;
  padding: 1em;
  padding-right: 10em;
  color: var(--accent4);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  border-radius: 2px;
}

main section:nth-of-type(7) input[type="submit"] {
  background-color: var(--accent4);
  border: none;
  padding: 0.7em 1em;
  color: var(--title-color);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1em;
  border-radius: 2px;
  cursor: pointer;
}

main section:nth-of-type(7) .checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  order: 4;
  max-width: 400px;
}

main section:nth-of-type(7) .checkbox-container input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  border-color: var(--accent4);
}

main section:nth-of-type(7) .checkbox-container label {
  margin: 0;
  font-size: 0.7em;
  font-weight: 600;
  display: flex;
  align-items: start;
  gap: 1em;
  color: var(--accent4);
}

main section:nth-of-type(7) p {
  order: 5;
  font-size: 0.7em;
  max-width: 400px;
  color: var(--accent4);
}



/*    footer nav    */

/* Section 1 linkjes nav*/
/* //////////////////// */

footer section:first-of-type h2 {
  color: var(--text-color);
  text-align: left;
  font-size: 0.7em;
  font-weight: 500;
  margin: 3.5em;
  margin-bottom: 0;
}

footer section:first-of-type a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.7em;
}

footer section:first-of-type ul {
  display: grid;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin-left: 2.5em;
  margin-bottom: 3em;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  footer section:first-of-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    margin-left: 8em;
    margin-right: 5em;
  }

  footer section:first-of-type h2:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  footer section:first-of-type ul:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
  }
}



/* Section 2 footer nav */
/* //////////////////// */

footer section:last-of-type {
  background-color: var(--footer);
  margin: 0;
  padding: 0;
}

footer section:last-of-type h2 {
  color: var(--title-color);
}

footer section:last-of-type p {
  color: var(--title-color);
  text-align: center;
  padding-bottom: 1em;
}

footer section:last-of-type details {
  border-bottom: 1px solid #ccc;
  padding: 1em;
  margin-left: 1em;
  margin-right: 1em;
  max-width: 25em;
  display: block;
  margin: 1em auto 0;
}

footer section:last-of-type details:first-of-type {
  padding-top: 4em;
}

footer section:last-of-type summary {
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  font-weight: 300;
  color: var(--title-color);
}

footer section:last-of-type details li {
  cursor: pointer;
  text-decoration: none;
  list-style: none;
  margin-left: -1em;
}

footer section:last-of-type a {
  font-family: "Noto Sans", sans-serif; 
  text-decoration: none;
  color: var(--title-color);
}

footer section:last-of-type p {
  font-family: "Noto Sans", sans-serif; 
  font-weight: 300;
  font-size: 0.8em;
  margin: 5em;
  color: var(--title-color);
}

footer section:last-of-type p:first-of-type {
  margin-top: 0;
  margin-bottom: 1em;
}

footer section:last-of-type p:last-of-type {
  color: var(--title-color);
  margin-bottom: 1em;
}

footer section:last-of-type h2 {
  margin-top: 3em;
  font-weight: 400;
}

footer section:last-of-type img {
  display: block;
  margin: 0 auto;
  height: 10em;
}

footer section:last-of-type > a {
  display: block;
  width: max-content;
  margin: 1em auto 0;
  text-align: center;
  padding: 0;
  font-size: 0.8em;
  font-weight: 300;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

footer {
  margin: 0;
  padding: 0;
  border: 0;
}