/* global */

* {
  box-sizing: border-box;
}

:root {
  --font: Montserrat, sans-serif;
  --blue: #39f;
  --green: #00b779;
  --base-font-size: 16px;
  --h1-size: 2.25rem;
  --h2-size: 2rem;
  --h3-size: 1.75rem;
  --h4-size: 1.5rem;
  --h5-size: 1.25rem;
  --h6-size: 1rem;
}

body {
  font-size: var(--base-font-size);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

html {
  scroll-behavior: smooth;
}

b, strong {
  font-family: var(--font);
}

p, label, span, small {
  font-family: var(--font);
  font-weight: normal;
  line-height: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: normal;
  line-height: normal;
}

h1 {
  border-bottom: 2px solid var(--blue);
}

label, p {
  margin: 0;
}

a {
  transition: opacity .2s;
  text-decoration: none;
  opacity: 1;
  color: var(--blue);
}

a:hover {
  opacity: .7;
}

hr {
  margin: 0;
}

i {
  font-family: 'Material Icons';
  font-size: x-large;
  font-style: normal;
  vertical-align: bottom;
}

/* #nav */

#nav {
  padding: 1rem;
  background-color: #eee;
}

#logo {
  aspect-ratio: 285/150;
  display: block;
  width: 100px;
  height: auto;
}

#nav aside a {
  font-family: var(--font);
  font-size: large;
  display: flex;
  align-items: center;
  color: #333;
  gap: 5px;
}

#navbar .collapseable {
  display: none;
}

#navbar .collapseable a {
  font-family: var(--font);
  font-size: large;
  font-weight: 400;
  line-height: 100%;
  display: flex;
  align-items: center;
  color: #333;
  gap: 5px;
}

#navbar #toggler {
  font-size: x-large;
  cursor: pointer;
}

#navbar .collapseable.expanded {
  display: flex;
  width: max-content;
}

@media screen and (min-width: 500px) {
  #navbar .collapseable {
    display: flex;
    gap: 1rem;
  }
}

@media screen and (min-width: 500px) {
  #navbar #toggler {
    display: none;
  }
}

/* nav dropdown */

#nav aside.show {
  display: flex;
}

#nav aside {
  display: none;
  align-items: center;
  flex-direction: column;
  padding-top: 10px;
  gap: 10px;
}

#nav main {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#navbar {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}

/* #main */

main > section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 4rem 2rem 6rem;
  gap: 2rem;
}

/* #landing */

#landing {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 70vh;
  background-image: url('../../assets/img/landing.webp');
  background-position: center right;
  background-size: cover;
  box-shadow: 0 0 1px black;
}

#landing > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

#landing h1 {
  margin: 0;
  padding-bottom: 1rem;
}

#landing h1, #landing h2 {
  text-align: center;
}

/* #wat */

#wat .feature {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 350px;
  padding: 0;
}

#wat > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  #wat > div {
    display: grid;
    max-width: max-content;
    margin: auto;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 5rem;
  }
}

#wat .feature > div {
  display: flex;
  gap: 1.5rem;
}

#wat svg.icon {
  align-self: center;
  flex: 1;
  width: 100%;
  height: auto;
}

/* #tarieven */

#tarieven > div > div {
  max-width: 300px;
}

#tarieven > div {
  display: flex !important;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 960px) {
  #tarieven > div {
    align-items: start;
    flex-direction: row !important;
    gap: 4rem;
  }
}

.fee .upper-section strong {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 600;
}

.fee {
  width: 100%;
  box-shadow: 0 0 1px 0 black;
}

.fee h2 {
  font-size: x-large;
  font-weight: 400;
  margin: 0;
  padding-bottom: 1rem;
  text-align: center;
}

.fee .upper-section {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  color: #222;
  background-color: white;
  gap: .5rem;
}

.fee .upper-section span {
  font-family: var(--font);
}

.fee .lower-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 1px solid #39f;
}

.fee .lower-section ul li:nth-child(odd) {
  background-color: #efefef;
}

.fee .lower-section ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.fee .lower-section ul li:nth-child(even) {
  background-color: white;
}

.fee .lower-section ul li {
  font-family: var(--font);
  font-size: 90%;
  position: relative;
  display: flex;
  align-items: center;
  padding: .6rem;
  white-space: nowrap;
  background-color: white;
}

.fee .lower-section ul li::before {
  font-family: 'Material Icons';
  margin-right: .5rem;
  content: 'check';
  color: #222;
}

/* #hoe */

#hoe > article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: auto;
  margin: 0 auto;
  gap: 2rem;
}

@media (min-width: 1200px) {
  #hoe > article:last-of-type {
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  #hoe > article {
    flex-direction: row;
    margin-bottom: 5rem;
    gap: 4rem;
  }
}

#hoe > article > aside {
  flex: 2;
}

#hoe > article > main {
  flex: 1;
}

#hoe > article > aside > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  box-shadow: 0 0 1px;
}

@media (min-width: 1200px) {
  #hoe > article:nth-child(odd) {
    flex-direction: row-reverse;
  }
}

#hoe h2 {
  margin-top: 0;
}

#hoe > article > main p {
  font-size: large;
}

/* #demo */

#demo img:hover, #demo h2:hover, #demo p:hover {
  outline: dashed black;
}

#demo img, #demo h2, #demo p {
  cursor: pointer;
}

/* #gallery */

section#gallery > div {
  display: grid;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  justify-items: center;
}

@media screen and (max-width:375px) {
  section#gallery article div.render {
    zoom: .6 !important;
  }
}

section#gallery article {
  display: flex;
  align-content: center;
  align-items: center;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

section#gallery article a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  opacity: .8;
  color: black;
  gap: 1rem;
}

section#gallery article a:hover {
  opacity: 1;
}

section#gallery article h2 {
  font-family: 'Annie Use Your Telescope' !important;
  font-size: xx-large;
  line-height: normal;
  margin-bottom: 0;
  color: black;
}

section#gallery article div.render {
  display: flex;
  zoom: .75;
  align-content: center;
  align-items: flex-end;
  justify-content: center;
}

section#gallery article .marvel-device {
  position: relative;
  display: inline-block;
  -webkit-box-sizing: content-box !important;
  box-sizing: content-box !important;
}

section#gallery article .marvel-device.macbook {
  left: -2rem;
  zoom: .3;
}

section#gallery article .marvel-device.iphone8 {
  z-index: 9;
  bottom: -1rem;
  left: 1rem;
  zoom: .2;
}

section#gallery article .marvel-device .screen {
  position: relative;
  z-index: 3;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 1px;
  background: white;
  -webkit-box-shadow: 0 0 0 3px #111;
  box-shadow: 0 0 0 3px #111;
}

section#gallery article .marvel-device .top-bar, section#gallery article .marvel-device .bottom-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: black;
}

section#gallery article .marvel-device.iphone8 {
  width: 375px;
  height: 667px;
  padding: 105px 24px;
  border-radius: 56px;
  background: #d9dbdc;
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .2);
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .2);
}

section#gallery article .marvel-device.iphone8:before {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  content: '';
  border-radius: 50px;
  background: #f8f8f8;
}

section#gallery article .marvel-device.iphone8:after {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  content: '';
  border-radius: 48px;
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .1), inset 0 0 6px 3px #fff;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .1), inset 0 0 6px 3px #fff;
}

section#gallery article .marvel-device.iphone8 .home {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  width: 68px;
  height: 68px;
  margin-left: -34px;
  border-radius: 100%;
  background: #303233;
  background: linear-gradient(135deg, #303233 0%, #b5b7b9 50%, #f0f2f2 69%, #303233 100%);
}

section#gallery article .marvel-device.iphone8 .home:before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  content: '';
  border-radius: 100%;
  background: #f8f8f8;
}

section#gallery article .marvel-device.iphone8 .top-bar {
  position: absolute;
  top: 68px;
  left: 0;
  height: 14px;
  background: #bfbfc0;
}

section#gallery article .marvel-device.iphone8 .bottom-bar {
  position: absolute;
  bottom: 68px;
  left: 0;
  height: 14px;
  background: #bfbfc0;
}

section#gallery article .marvel-device.iphone8 .sleep {
  position: absolute;
  top: 190px;
  right: -4px;
  width: 4px;
  height: 66px;
  border-radius: 0 2px 2px 0;
  background: #d9dbdc;
}

section#gallery article .marvel-device.iphone8 .volume {
  position: absolute;
  z-index: 0;
  top: 188px;
  left: -4px;
  width: 4px;
  height: 66px;
  border-radius: 2px 0 0 2px;
  background: #d9dbdc;
}

section#gallery article .marvel-device.iphone8 .volume:before {
  position: absolute;
  top: -78px;
  left: 2px;
  display: block;
  width: 2px;
  height: 40px;
  content: '';
  border-radius: 2px 0 0 2px;
  background: inherit;
}

section#gallery article .marvel-device.iphone8 .volume:after {
  position: absolute;
  top: 82px;
  left: 0;
  display: block;
  width: 4px;
  height: 66px;
  content: '';
  border-radius: 2px 0 0 2px;
  background: inherit;
}

section#gallery article .marvel-device.iphone8 .camera {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 100%;
  background: #3c3d3d;
}

section#gallery article .marvel-device.iphone8 .sensor {
  position: absolute;
  z-index: 3;
  top: 49px;
  left: 134px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: #3c3d3d;
}

section#gallery article .marvel-device.iphone8 .speaker {
  position: absolute;
  z-index: 3;
  top: 54px;
  left: 50%;
  width: 70px;
  height: 6px;
  margin-left: -35px;
  border-radius: 6px;
  background: #292728;
}

section#gallery article .marvel-device.iphone8.black {
  background: #464646;
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .7);
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .7);
}

section#gallery article .marvel-device.iphone8.black:before {
  background: #080808;
}

section#gallery article .marvel-device.iphone8.black:after {
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .1), inset 0 0 6px 3px #212121;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, .1), inset 0 0 6px 3px #212121;
}

section#gallery article .marvel-device.iphone8.black .top-bar, section#gallery article .marvel-device.iphone8.black .bottom-bar {
  background: #212121;
}

section#gallery article .marvel-device.iphone8.black .volume, section#gallery article .marvel-device.iphone8.black .sleep {
  background: #464646;
}

section#gallery article .marvel-device.iphone8.black .camera {
  background: #080808;
}

section#gallery article .marvel-device.iphone8.black .home {
  background: #080808;
  background: linear-gradient(135deg, #080808 0%, #464646 50%, #080808 100%);
}

section#gallery article .marvel-device.iphone8.black .home:before {
  background: #080808;
}

section#gallery article .marvel-device.macbook {
  width: 960px;
  height: 600px;
  margin: 0 auto;
  padding: 44px 44px 76px;
  border-radius: 34px;
  background: #bebebe;
}

section#gallery article .marvel-device.macbook:before {
  position: absolute;
  top: 4px;
  left: 4px;
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  content: '';
  border-radius: 30px;
  background: #1e1e1e;
}

section#gallery article .marvel-device.macbook .top-bar {
  position: absolute;
  top: 680px;
  left: -70px;
  display: block;
  width: calc(100% + 2 * 70px);
  height: 40px;
  content: '';
  border-bottom-right-radius: 90px 18px;
  border-bottom-left-radius: 90px 18px;
  background: #bebebe;
  -webkit-box-shadow: inset 0 -4px 13px 3px rgba(34, 34, 34, .6);
  box-shadow: inset 0 -4px 13px 3px rgba(34, 34, 34, .6);
}

section#gallery article .marvel-device.macbook .top-bar:before {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 24px;
  content: '';
  border-bottom: 2px solid #aaa;
  border-radius: 5px;
  background: #f0f0f0;
}

section#gallery article .marvel-device.macbook .top-bar:after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  width: 16%;
  height: 14px;
  margin-right: auto;
  margin-left: auto;
  content: '';
  border-radius: 0 0 20px 20px;
  background: #ddd;
  -webkit-box-shadow: inset 0 -3px 10px #999;
  box-shadow: inset 0 -3px 10px #999;
}

section#gallery article .marvel-device.macbook .bottom-bar {
  position: absolute;
  top: 680px;
  left: -70px;
  display: block;
  width: calc(100% + 2 * 70px);
  height: 26px;
  content: '';
  background: transparent;
}

section#gallery article .marvel-device.macbook .bottom-bar:before, section#gallery article .marvel-device.macbook .bottom-bar:after {
  position: absolute;
  top: 0;
  display: block;
  width: 80px;
  height: calc(100% - 2px);
  content: '';
}

section#gallery article .marvel-device.macbook .bottom-bar:before {
  left: 0;
  background: #f0f0f0;
  background: -webkit-gradient(linear, left top, right top, from(#747474), color-stop(5%, #c3c3c3), color-stop(14%, #ebebeb), color-stop(41%, #979797), color-stop(80%, #f0f0f0), color-stop(100%, #f0f0f0), to(#f0f0f0));
  background: linear-gradient(to right, #747474 0%, #c3c3c3 5%, #ebebeb 14%, #979797 41%, #f0f0f0 80%, #f0f0f0 100%, #f0f0f0 100%);
}

section#gallery article .marvel-device.macbook .bottom-bar:after {
  right: 0;
  background: #f0f0f0;
  background: -webkit-gradient(linear, left top, right top, from(#f0f0f0), color-stop(0%, #f0f0f0), color-stop(20%, #f0f0f0), color-stop(59%, #979797), color-stop(86%, #ebebeb), color-stop(95%, #c3c3c3), to(#747474));
  background: linear-gradient(to right, #f0f0f0 0%, #f0f0f0 0%, #f0f0f0 20%, #979797 59%, #ebebeb 86%, #c3c3c3 95%, #747474 100%);
}

section#gallery article .marvel-device.macbook .camera {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 100%;
  background: #3c3d3d;
}

/* #footer */

footer ul, footer ul li a {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 0;
  padding-left: 0;
  gap: 5px;
}

@media (min-width: 480px) {
  #footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

#footer > div:last-of-type {
  position: relative;
}

#footer > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer li {
  font-family: var(--font);
  display: flex;
  align-items: end;
  justify-content: space-between;
}

#footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #efefef;
}

footer ul {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  padding-left: 0;
  gap: .8rem;
}

#footer > div > div {
  display: flex;
  flex: 1;
}

#footer #up:hover, #landing #down:hover {
  animation-name: rubberBand;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

@keyframes rubberBand {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale3d(1.25, .75, 1);
  }
  40% {
    transform: scale3d(.75, 1.25, 1);
  }
  50% {
    transform: scale3d(1.15, .85, 1);
  }
  65% {
    transform: scale3d(.95, 1.05, 1);
  }
  75% {
    transform: scale3d(1.05, .95, 1);
  }
  100% {
    transform: scale(1);
  }
}

/* page templates */

#templates a {
  display: block;
  max-width: max-content;
  box-shadow: 0 0 1px black;
}

#templates span {
  font-family: var(--font);
}

#templates article {
  display: flex;
  flex-direction: column;
  width: max-content;
  padding: 1rem;
  text-align: center;
  gap: 1rem;
}

#templates img {
  max-width: 300px;
  aspect-ratio: 4/3;
}

@media (min-width: 460px) {
  #templates img {
    max-width: 450px;
  }
}

.render .marvel-device.macbook .screen img {
  width: 960px;
  height: 600px;
  aspect-ratio: 16/10;
}

.render .marvel-device.iphone8 .screen img {
  width: 375px;
  height: 667px;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
}

/* support */

aside, article {
  box-sizing: border-box;
}

.feature > div > p {
  flex: 4;
}

.cta {
  font-family: var(--font);
  font-size: larger;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
  color: white;
  border: none;
  border-radius: 20px;
  background-color: var(--green);
}

.fee .lower-section ul li.extra::before {
  content: 'check';
}

#gallery small {
  font-family: var(--font);
}

section > p {
  max-width: 600px;
}

#plan h3 {
  margin-top: 0;
}

#order main > section {
  display: flex;
  align-items: start;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

/* templates */

#templates {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  place-items: center;
}

@media (min-width: 460px) {
  #templates {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
  }
}

#templates a {
  transition: opacity .2s;
  opacity: 1;
}

#templates a:hover {
  opacity: .7;
}

div.row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.radios {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .radios {
    flex-direction: row;
  }
}

/* #contact */

#me {
  border-radius: 100%;
  width: 200px;
  height: auto;
  aspect-ratio: 1/1;
  box-shadow: 0 0 1px black;
}

#contact .field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#contact form {
  display: flex;
  flex-direction: column;
  width: 300px;
}

#contact form fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

#contact input, #contact textarea {
  padding: 0;
  border: none;
  box-shadow: 0 0 1px black;
  font-size: large;
}

body > main > section:nth-child(even) {
  background-color: #efefef;
  box-shadow: none;
}

#contact p {
  position: relative;
  font-family: 'Montserrat';
  line-height: 150%;
  font-size: large;
  font-weight: 500;
  padding: 1rem;
  background-color: lightgrey;
  border-radius: 20px;
  width: 300px;
}

