* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
}
h1 {
  font-size: 4em;
  font-weight: 200;
  background-color: rgba(128, 0, 128, 0.5);
  padding: 0.05em 0.2em;
}
h2 {
  font-size: 1.2em;
}
h3 {
  font-size: 0.6em;
  letter-spacing: 0.2em;
  font-weight: 500;
  text-transform: uppercase;
}
p {
  font-size: 0.8em;
  line-height: 200%;
  margin: 20px 0;
  max-height: auto;
}
p > a,
p > a:hover,
p > a:visited,
p > a:active,
li > a,
li > a:hover,
li > a:visited,
li > a:active {
  color: purple;
}
.vp-background p > a,
.vp-background p > a:hover,
.vp-background p > a:visited,
.vp-background p > a:active {
  color: white;
}
.btn {
  text-decoration: none;
  border: 0;
  background-color: purple;
  color: white !important;
  border-radius: 5px;
  width: auto !important;
  height: auto !important;
  padding: 10px 15px;
  font-size: 0.8em;
  margin-bottom: 10px;
  margin-right: 10px;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10vh;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
header > * {
  margin: 40px;
}
header .logo {
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
}
header .logo a {
  color: white !important;
  text-decoration: none !important;
}
header .logo i {
  color: purple;
  margin-right: 10px;
}
header nav ul {
  list-style-type: none;
}
header nav ul li {
  float: left;
}
header nav ul li + li {
  margin-left: 20px;
}
header nav a {
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  color: white;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 1s, border 1s;
}
header nav a:hover {
  color: white;
  border-bottom: 2px solid white;
}
.vp-background {
  width: 100vw;
  height: 100vh;
  background-image: url("media/background.jpeg");
  background-size: cover;
  color: white;
}
.vp-overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Blog item specific */
.blog-item {
  width: 100vw;
  overflow-x: hidden;
  background: white;
  color: black;
}
.blog-item header .logo a {
  color: black !important;
}
.blog-item header nav a {
  color: black;
}
.blog-item header nav a:hover {
  color: black;
  border-bottom: 2px solid black;
}
.blog-item article {
  margin-top: 20vh;
  margin-bottom: 5vh;
}
.blog-item article > * {
  margin-left: 30vw;
  width: 50vw;
  margin-bottom: 20px;
}
.blog-item article > h1 {
  background-color: rgba(255, 255, 255, 0);
  padding: 0;
  color: purple;
  font-weight: 400;
  margin-bottom: 30px;
}
.blog-item article > h2 {
  display: inline-block;
  border-top: 2px solid palevioletred;
  margin-top: 10px;
  padding-top: 20px;
}
.blog-item article > ul,
.blog-item article > ol {
  padding-left: 40px;
  font-size: 0.8em;
  line-height: 200%;
}
.blog-item article > ul li,
.blog-item article > ol li {
  padding-left: 10px;
}
.blog-item article > .props {
  width: 100vw;
  margin-left: 0;
}
.blog-item article > .props > div {
  display: flex;
  flex-flow: row nowrap;
}
.blog-item article > .props .name {
  width: 30vw;
  padding-left: 20px;
  padding-right: 20px;
  text-align: right;
  text-transform: uppercase;
  font-size: 0.5em;
  line-height: 350%;
  color: palevioletred;
}
.blog-item article > .props .value {
  width: 50vw;
  font-size: 0.8em;
  line-height: 200%;
}
.blog-item article > p {
  margin-top: 0;
}
.blog-item article > p.intro {
  font-weight: 700;
}
.blog-item article > .imagebox {
  margin-top: 40px;
  margin-left: 10vw;
  width: 80vw;
}
.blog-item article > .imagebox .images {
  margin-bottom: 10px;
}
.blog-item article > .imagebox .images img {
  width: 100%;
}
.blog-item article > .imagebox .images.multiple {
  float: left;
}
.blog-item article > .imagebox .images.multiple img {
  float: left;
  width: calc(50% - 10px);
}
.blog-item article > .imagebox .images.multiple img:nth-child(2n + 2) {
  margin-left: 20px;
}
.blog-item article > .imagebox .images.multiple img:nth-child(n + 3) {
  margin-top: 20px;
}
.blog-item article > .imagebox .images.multiple:after {
  clear: both;
}
.blog-item article > .imagebox .images + p {
  color: grey;
  font-size: 0.5em;
  margin-top: 0;
}
.blog-item article > .quote {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.8em 1.2em;
}
.blog-item article > .quote p {
  font-size: 1.2em;
  color: purple;
  font-weight: 400;
  padding: 0;
  margin: 0;
}
.blog-item article > .quote p.src {
  text-transform: uppercase;
  font-size: 0.5em;
  font-style: normal;
  font-weight: 500;
  margin-top: 10px;
}
.blog-item article > .buttons .btn {
  display: inline-block;
}

/* Homepage specific */
.home {
  background-color: black;
}
.container {
  scroll-snap-type: y mandatory; /* or 'y proximity' */
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100vh;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.container::-webkit-scrollbar {
  display: none;
}
.vp-box {
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-box .list {
  width: 70vw;
  margin-left: 30vw;
  margin-right: 0;
  height: 100vh;
  padding-top: 10vh;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  justify-content: center;
}
.vp-box .list > * {
  margin-left: 0;
  margin-right: 2vw;
}
.vp-box .list h1 + .carroussel {
  margin-top: 20px;
}
.vp-box .list > p:first-child {
  margin-top: 0;
}
.vp-box .list > p,
.vp-box .list > ul {
  max-width: 50%;
}
.vp-box .list > ul {
  padding-left: 40px;
  font-size: 0.8em;
  line-height: 200%;
}
.vp-box .list > ul li {
  padding-left: 10px;
}
.carroussel {
  display: flex;
  flex-flow: row nowrap;
  overflow-x: auto;
  width: 70vw;
  scroll-snap-type: x mandatory; /* or 'x proximity' */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.carroussel::-webkit-scrollbar {
  display: none;
}
.carroussel .card {
  position: relative;
  flex-shrink: 0;
  background-color: white;
  color: black;
  width: 16.5vw; /* 2:3 */
  height: 24.75vw;
  margin-right: 0.75vw;
  scroll-snap-align: start;
  padding: 2vw;
  transition: all 0.5s;
}
.carroussel .card.blog-card {
  padding: 1.5vw;
}
.carroussel > .card a {
  text-decoration: none;
  color: black;
  display: inline-block;
  width: 100%;
}
.carroussel > .card a + a {
  margin-top: 25px;
}
.carroussel .card .rank {
  position: absolute;
  bottom: 0;
  right: 1.8vw;
  font-size: 7em;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
}
.carroussel .card .rating {
  position: absolute;
  bottom: 2vw;
  left: 1.8vw;
}
.carroussel .card h2 {
  margin-top: 20px;
  margin-bottom: 5px;
}
.carroussel .card p span {
  background-color: black;
  color: white;
  padding: 3px 6px;
}
.carroussel .card .imgbox {
  position: relative;
  width: 100%;
  padding-top: 100%;
  margin-bottom: 20px;
}
.carroussel .card .imgbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  max-width: 100%;
  max-height: 100%;
}
.carroussel-nav {
  margin-top: 1vw;
}
.carroussel-nav a {
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 100%;
  border: 2px solid white;
  width: 48px;
  text-align: center;
  display: inline-block;
  transition: all 1s;
}
.carroussel-nav a:hover {
  background-color: white;
  color: black;
}
.rating {
  margin-top: 10px;
  font-size: 0.8em;
}
.rating > i {
  color: purple;
}

/* (landscape tablets, small desktops) */
@media (max-width: 1200px) {
  header .logo {
    font-size: 1.2em;
    letter-spacing: 0.3em;
  }

  header nav a {
    font-size: 0.55em;
  }

  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 0.8em;
  }
  h3 {
    font-size: 0.45em;
  }
  p {
    font-size: 0.7em;
  }
  .blog-item article > ul,
  .blog-item article > ol,
  .vp-box .list > ul {
    font-size: 0.7em;
    padding-left: 20px;
  }
  .blog-item article > .imagebox {
    margin-top: 20px;
  }

  .vp-box .list {
    width: calc(100vw - 40px);
    margin-left: 40px;
  }
  .vp-box .list > p,
  .vp-box .list > ul {
    max-width: 75%;
  }

  .carroussel {
    width: calc(100vw - 40px);
  }
  .carroussel .card {
    width: 18.2vw; /* 4:7 */
    height: 31.85vw;
  }
  .carroussel .card .rank {
    font-size: 5.5em;
  }
}
/* (portrait tablets) */
@media (max-width: 992px) {
}
/* (landscape phones) */
@media (max-width: 767px) {
  header > * {
    margin: 20px;
  }
  header nav {
    display: none;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 0.9em;
  }
  .vp-box .list {
    margin-left: 20px;
    width: calc(100vw - 20px);
    justify-content: flex-start;
    padding-top: 12.5vh;
  }
  .carroussel {
    width: calc(100vw - 20px);
  }
  .vp-box .list > * {
    margin-right: 5vw;
  }
  .vp-box .list > p,
  .vp-box .list > ul {
    max-width: 100%;
  }

  .carroussel .card {
    width: 60vw; /* 3:5 */
    height: 95vw;
    padding: 5vw;
    margin-right: 5vw;
  }
  .carroussel .card .rating {
    bottom: 5vw;
    left: 5vw;
  }
  .blog-item article {
    margin-top: calc(10vh + 20px);
  }
  .blog-item article > *,
  .blog-item article > .props,
  .blog-item article > .imagebox {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100vw - 40px);
  }
  .blog-item article > .props {
    margin-left: 20px;
  }
  .blog-item article > .props > div {
    display: block;
    margin-bottom: 20px;
  }
  .blog-item article > .props .name,
  .blog-item article > .props .value {
    width: calc(100vw - 40px);
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    line-height: 100%;
    margin-bottom: 10px;
  }

  .blog-item article > .imagebox .images img,
  .blog-item article > .imagebox .images.multiple img {
    float: none;
    width: 100%;
    margin-left: 0;
  }
  .blog-item article > .imagebox .images img:nth-child(n + 2),
  .blog-item article > .imagebox .images.multiple img:nth-child(n + 2) {
    margin-top: 20px;
  }
  .blog-item article > .imagebox .images.multiple img:nth-child(2n + 2) {
    margin-left: 0;
  }

  .blog-item article > .quote p {
    font-size: 0.8em;
  }
}
/* (portrait phones) */
@media (max-width: 576px) {
}

/* smartphones, touchscreens */
@media (hover: none) and (pointer: coarse) {
  body {
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  .carroussel-nav {
    display: none;
  }
}
/* stylus-based screens */
@media (hover: none) and (pointer: fine) {
  /* ... */
}
/* Nintendo Wii controller, Microsoft Kinect */
@media (hover: hover) and (pointer: coarse) {
  /* ... */
}
/* mouse, touch pad */
@media (hover: hover) and (pointer: fine) {
  /* ... */
}
