@import url("https://fonts.googleapis.com/css?family=Average|Open+Sans");
* {
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #555;
  font-family: "Open Sans", sans-serif;
  font-weight: 100;
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

header,
section,
main,
footer {
  padding: 0 16px;
  max-width: 700px;
  margin: 0 auto;
}

footer {
  text-align: center;
}

a {
  color: #eee;
}
a:hover,
a:focus {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  color: #eee;
  font-family: "Average";
  font-weight: 100;
  text-align: center;
}
h1 a,
h2 a,
h3 a,
h4 a {
  text-decoration: none;
}

h1 {
  font-size: 10vw;
  margin: 64px 40px 16px;
}
@media screen and (max-width: 800px) {
  h1 {
    font-size: 3.6em;
    line-height: 1.2em;
    margin-bottom: 60px;
  }
}
@media screen and (min-width: 1400px) {
  h1 div {
    font-size: 140px;
  }
}

h2 {
  font-size: 3em;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.2em;
  color: #868686;
}

p {
  text-align: left;
}
p a:hover {
  text-decoration: strikethrough;
}

hr {
  margin: 80px 0;
  border-color: transparent;
}

ul {
  padding-left: 0;
  margin: 0;
}
ul li {
  list-style: none;
  display: block;
  margin-bottom: 16px;
  transition: 0.2s all ease;
}
ul li:hover {
  color: #777;
}

nav {
  margin-bottom: 64px;
  text-align: center;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  margin: 0 8px 16px;
}
@media screen and (max-width: 800px) {
  nav ul li a {
    margin: 0 4px;
    padding: 0;
    font-size: 0.8em;
  }
}

img {
  max-width: 100%;
}

.contain-large {
  max-width: 1400px;
}

.contain-case {
  text-align: center;
}

.contain-case > img {
  max-height: 80vh;
  margin: 0 auto;
  max-width: 90vw;
}

.contain-case > p {
  max-width: 700px;
  margin: 0 auto 32px;
}

.contain-case > h3 {
  margin-bottom: 8px;
}

.nowrap {
  white-space: nowrap;
}

.button {
  display: inline-block;
  border: solid 2px #eee;
  text-decoration: none;
  padding: 8px 16px;
  font-weight: 700;
  transition: 0.2s all ease;
}
.button:hover,
.button.active {
  background-color: #eee;
  color: #000;
}
.button.selected {
  background-color: #eee;
  color: #000;
}
.button.back {
  background-color: transparent;
  border-color: transparent;
  color: #eee;
}
/* .button.selected:hover {
  background-color: #000;
  color: #eee;
} */

.mb-logo {
  transition: 0.2s all ease;
  cursor: default;
}
.mb-logo .spin {
  cursor: pointer;
  display: inline-block;
  transition: 0.2s all ease;
}
.mb-logo:hover,
.mb-logo:focus {
  text-shadow: 3px 0px 26px rgba(255, 255, 255, 0.4);
}
.mb-logo:hover .spin,
.mb-logo:focus .spin {
  transform: rotate(15deg);
}
.mb-logo:hover .spin:hover,
.mb-logo:focus .spin:hover {
  transform: rotate(-20deg) scale(1.2);
  text-shadow: 3px 0px 26px rgba(255, 255, 255, 0.7);
}

.gallery {
  text-align: center;
}
.gallery img,
.gallery iframe {
  margin-bottom: 64px;
}

.item {
  margin-bottom: 64px;
}
@media screen and (max-width: 800px) {
  .item {
    margin-bottom: 64px;
  }
}
.item::after {
  content: "";
  display: table;
  clear: both;
}
.item .preview,
.item .info {
  float: left;
  width: 46%;
  margin: 0 2%;
  opacity: 1;
}
@media screen and (max-width: 800px) {
  .item .preview,
  .item .info {
    float: none;
    width: 92%;
    margin: 0 4%;
  }
}
.item .preview {
  text-align: center;
}
.item .info h3 {
  text-align: left;
  margin: 0;
}
.item .info h4 {
  text-align: left;
  margin: 0 0 8px 0;
}
.item .info p {
  margin-top: 0;
}

.confetti {
  width: 100%;
  height: 100%;
}

.snake-dot {
  width: 10px;
  height: 10px;
  position: absolute;
  margin-top: -5px;
  margin-left: -5px;
  z-index: 5;
}

.snake-line {
  height: 1px;
  position: absolute;
  transform-origin: 0px 0px;
  z-index: 4;
}

.instagram {
  width: 100%;
  overflow: hidden;
  overflow-x: scroll;
}

.mobile-grid {
  display: flex;
  /* margin: 0 auto; */
  align-items: flex-start;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  width: 100%;
}

.mobile-grid > img {
  max-width: 30%;
}
