@charset "UTF-8";
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}
td:not([align]),
th:not([align]) {
  text-align: left;
}

.is-padded-right {
  margin-right: 6rem;
}
.is-padded-right.is-larger {
  margin-right: 5rem;
}

.is-padded-left {
  margin-left: 6rem;
}
.is-padded-left.is-larger {
  margin-left: 4rem;
}

.is-padded {
  margin-right: 6rem;
  margin-left: 6rem;
}
.is-padded.is-larger {
  margin-right: 5rem;
  margin-left: 5rem;
}

.separator {
  border-top: 1px solid #fff;
}

.clear {
  clear: both;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:visited, a:active {
  text-decoration: none;
}

@font-face {
  font-family: "Goudy Heavyface";
  src: url(/assets/fonts/Goudy-Heavyface/Goudy-Heavyface.ttf), url(/assets/fonts/Goudy-Heavyface/Goudy-Heavyface.woff) format("woff");
}
.transition-cover::before,
.transition-cover::after {
  content: "";
  display: block;
  background: #aad402;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 128;
}

.transition-cover::before {
  transform: translateX(-100vw);
  transition: transform 0.5s ease;
}

html.is-leaving .transition-cover::before {
  transform: translateX(0);
}

.transition-cover::after {
  transform: translateX(100vw);
  transition: transform 0.5s ease 0.5s;
}

html.is-animating .transition-cover:after {
  transform: translateX(0);
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
    height: 8px;
  }
  20% {
    opacity: 1;
    height: 8px;
  }
  30% {
    transform: translateY(0);
    opacity: 1;
    height: 19px;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translateY(19px);
    opacity: 0;
    height: 0;
  }
  81% {
    transform: translateY(0);
    opacity: 0;
    height: 8px;
  }
  100% {
    opacity: 1;
    height: 8px;
  }
}
.placeholder {
  position: relative;
  color: #666;
  padding: 1em 0;
  text-align: center;
  background: linear-gradient(6deg, #acfeff 0%, #ffe4ab 100%);
}
.placeholder:before {
  content: "image placeholder";
  position: relative;
  top: 45%;
}

body {
  font-family: sans-serif;
  background-color: #8e7d6a;
}

#news-marquee,
#fullwidth-image,
#seo-keywords,
#public-events,
#customers,
#team-composition,
#highlights,
#subscribe-newsletter,
footer {
  margin-top: 5rem;
}

#logo-fixed {
  width: 3.1em;
  position: fixed;
  top: 2.4em;
  left: 2.7em;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.3s;
}
#logo-fixed.hide {
  opacity: 0;
}

#main-header {
  height: 7rem;
  top: 0;
  left: 0;
  right: 0;
  padding: 2.3em 2.7em 1em;
  position: absolute;
  z-index: 25;
}
#main-header .agency-logo {
  width: 14em;
}
#main-header .menu-icon {
  float: right;
  margin: 1.4em 2.8em 0 0;
}

#menu-button {
  float: right;
  margin-right: 2.5em;
  margin-top: 1.4em;
}
#menu-button::before {
  content: "";
  display: block;
  background: url("/assets/images/menu-icon.svg") no-repeat center;
  background-size: contain;
  width: 1.8rem;
  height: 1.5rem;
}

#landing {
  padding: 0 0 3.5em;
  font-size: 1rem;
  color: white;
  position: relative;
  overflow: hidden;
}
#landing .video-bg {
  width: 100%;
}
#landing .bottom-container {
  margin: 4em 2.7em 0;
}
#landing .social-links-container {
  display: inline-block;
  vertical-align: middle;
}
#landing .social-link {
  float: left;
  margin-right: 1.8em;
}
#landing .social-link:last-of-type {
  margin-right: 0;
}
#landing .separator {
  display: inline-block;
  width: 76%;
  vertical-align: middle;
  margin-left: 1em;
}
#landing .corner-text {
  display: inline-block;
  margin-left: 1em;
}

.dive-in-separator {
  position: absolute;
  top: calc(100vh - 60px);
  left: calc(50% - (107px / 2));
  text-align: center;
}
.dive-in-separator span {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  color: white;
  padding-left: 2rem;
  line-height: 40px;
}
.dive-in-separator span::before {
  display: block;
  position: absolute;
  top: -2px;
  left: 0;
  width: 24px;
  height: 40px;
  border: 2px solid #edfc52;
  border-radius: 12px;
  content: "";
}
.dive-in-separator span::after {
  display: block;
  position: absolute;
  top: 9px;
  left: 11px;
  width: 2px;
  height: 8px;
  background: #edfc52;
  border-radius: 1px;
  content: "";
  animation-name: scroll;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-delay: 2s;
}

#projects-masonry {
  overflow: auto;
}
#projects-masonry .masonry-container {
  height: 100vh;
}
#projects-masonry .masonry-container .item {
  margin: 10px;
  height: 30vh;
  border-radius: 1rem;
  border: 2px solid transparent;
}
#projects-masonry .masonry-container .item.highlight {
  border: 2px solid #edfc52;
}

#news-marquee {
  background: #4e4b43;
  color: #aad402;
  padding: 0.3em;
  overflow: hidden;
}
#news-marquee .news-container {
  white-space: nowrap;
  display: inline-block;
  animation: marquee 30s linear infinite;
}
#news-marquee .news-item {
  display: inline-block;
  font-size: 5.6em;
  font-weight: lighter;
  white-space: nowrap;
}
#news-marquee .news-item:after {
  content: " ";
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: sub;
  background-image: url("/assets/images/lampi-lightning.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#news-marquee .news-item:last-of-type {
  color: #8e7d6a;
}

#fullwidth-image .slide {
  width: 100%;
  height: 48.1em;
  background-image: url("/assets/images/activia-background.png");
  background-repeat: no-repeat;
  background-size: cover;
}
#fullwidth-image .header-container {
  padding: 3.7em 5.8em;
}
#fullwidth-image .title {
  color: #aad402;
  font-size: 2.26em;
  font-weight: bold;
  float: left;
}
#fullwidth-image .menu {
  float: right;
  color: #fff;
  font-size: 1.1em;
}
#fullwidth-image .menu:after {
  content: " ";
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-left: 0.7em;
  background-image: url("/assets/images/green-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
}

#seo-keywords {
  background: #edfc52;
  color: #8e7d6a;
  letter-spacing: -5px;
  font-size: 3em;
  padding: 4.5rem;
  line-height: 1.4em;
  border-radius: 0 2.5rem 2.5rem 0;
  cursor: default;
}
#seo-keywords li {
  display: inline;
  transition: color 0.4s;
}
#seo-keywords li:hover {
  color: #aad402;
}
#seo-keywords li:not(:last-child):after {
  content: ",";
  color: #8e7d6a;
  margin-right: 0.3em;
}

#public-events {
  font-size: 1rem;
  background: #4e4b43;
  color: #aad402;
  padding: 2.7em 0 2.1em 0;
  border-radius: 2.5rem 0 0 2.5rem;
  padding-left: 2em;
}
#public-events .title {
  font-family: "Goudy Heavyface";
  font-size: 2.2em;
  font-weight: bold;
  writing-mode: tb-lr;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  float: left;
  margin-right: 0.5em;
}
#public-events .element {
  border-radius: 1rem;
  display: inline-block;
  margin-right: 1.9em;
  overflow: hidden;
  position: relative;
  width: 28%;
}
#public-events .element:last-of-type {
  margin-right: 0;
}
#public-events .image {
  width: 100%;
}
#public-events .hover {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
#public-events .hover:hover {
  opacity: 1;
}

#customers {
  margin: 3.7em 8.1em;
  color: #edfc52;
}
#customers .title {
  font-family: "Goudy Heavyface";
  text-align: center;
  font-size: 2.5em;
  font-weight: bold;
}
#customers .customer-logo-container {
  margin-top: 3em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  place-items: center;
  grid-row-gap: 3.5vw;
  grid-column-gap: 7vw;
}
#customers .customer-logo {
  width: 100%;
  max-width: 200px;
  /* @todo togliere con contenuti a più alta risoluzione */
  height: 7vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#team-composition {
  font-size: 1rem;
  background: #aad402;
  color: #fff;
  padding: 4.2em 0 2.8em 3.3em;
  border-radius: 2.5rem 0 0 2.5rem;
  position: relative;
}
#team-composition:before {
  position: absolute;
  font-size: 2em;
  content: "▲";
  bottom: 1.3em;
  left: 2.25em;
  color: #4e4b43;
}
#team-composition .title,
#team-composition .members-container {
  display: inline-block;
  vertical-align: top;
}
#team-composition .title {
  font-family: "Goudy Heavyface";
  font-size: 2em;
  font-weight: bold;
  writing-mode: tb-lr;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  width: 3%;
  margin-right: 2%;
}
#team-composition .members-container {
  white-space: nowrap;
  padding-bottom: 2em;
  width: 95%;
}
#team-composition .member {
  display: inline-block;
  margin: 0 0.5em;
  vertical-align: top;
  color: #4e4b43;
}
#team-composition .member:first-of-type {
  margin-left: 0;
}
#team-composition .member:last-of-type {
  margin-right: 0;
}
#team-composition .member .name,
#team-composition .member .role {
  line-height: 1.5em;
}
#team-composition .member .role {
  font-weight: bold;
}
#team-composition .member .social-links-container .social-link {
  float: left;
  margin-right: 1em;
}

#highlights {
  display: flex;
  padding: 1rem 0;
}
#highlights .highlight {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  margin-left: 3rem;
  width: 100%;
}
#highlights .highlight:first-of-type {
  margin-left: 0;
}
#highlights .highlight:hover {
  border: 1px solid #edfc52;
}

#subscribe-newsletter {
  background: #fff;
  color: #8e7d6a;
  padding: 4.5rem 6rem;
  border-radius: 1rem;
  overflow: hidden;
}
#subscribe-newsletter h3 {
  font-family: "Goudy Heavyface";
  color: #8e7d6a;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 0.3em;
}
#subscribe-newsletter img {
  width: 23vw;
  height: 22vw;
  float: right;
  box-shadow: 26px 26px #edfc52;
  transform: translate(-2em, -4em);
  margin-bottom: -2em;
}
#subscribe-newsletter h5 {
  display: inline-block;
  color: #4e4b43;
  font-size: 3.5em;
}
#subscribe-newsletter form {
  margin-top: 1.8rem;
}
#subscribe-newsletter input[type=text] {
  background: #f6ede3;
  color: #4e4b43;
  border: none;
  border-radius: 1rem;
  font-style: italic;
  font-size: 1.7rem;
  padding: 0.8rem 1.3rem;
  width: 22rem;
}
#subscribe-newsletter input[type=submit] {
  background: none;
  color: #aad402;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  padding: 0.8rem 1.3rem;
}
#subscribe-newsletter input[type=submit]:hover, #subscribe-newsletter input[type=submit]:active {
  text-decoration: underline;
  cursor: pointer;
}

footer {
  color: #fff;
  padding: 0 2rem;
}

#footer-content .line {
  margin: 3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#footer-content #reach-out {
  font-size: 1em;
}
#footer-content #reach-out label {
  cursor: pointer;
  color: #eeff27;
  font-weight: bold;
}
#footer-content #reach-out label:hover {
  text-decoration: underline;
}
#footer-content .social-links-container {
  display: flex;
}
#footer-content .social-links-container .social-link {
  flex: 0 1 auto;
  margin-left: 3.5rem;
}
#footer-content #colored-brand {
  font-size: 1.5rem;
}
#footer-content #colored-brand img {
  vertical-align: middle;
}
#footer-content #footnotes {
  text-align: right;
}
#footer-content #contacts-switch {
  display: none;
}
#footer-content #contacts-switch:checked + address.contacts {
  max-height: 200vh;
}
#footer-content address.contacts {
  font-style: normal;
  text-align: center;
  font-size: 1.2em;
  overflow: hidden;
  max-height: 0;
  transition: max-height 1s;
}
#footer-content address.contacts .greetings {
  font-size: 1.8em;
}
#footer-content address.contacts .physical-address,
#footer-content address.contacts .label {
  margin-top: 2em;
}
#footer-content address.contacts a {
  font-weight: bold;
  color: #edfc52;
}
#footer-content address.contacts a.mail {
  font-style: italic;
}

.portfolio {
  background: #4e4b43;
}
.portfolio #landing {
  position: absolute;
  background: transparent;
  z-index: 15;
}
.portfolio + footer {
  position: relative;
  z-index: 10;
  background: #4e4b43;
  padding: 1.5rem 6rem 0;
  margin: 0;
  overflow: hidden;
}
.portfolio + footer .separator {
  display: none;
}
.portfolio .image-showcase {
  display: flex;
  position: relative;
  background: #4e4b43;
  z-index: 10;
  margin-bottom: 110vh;
  /* window size left to the text */
}
.portfolio .main-image {
  flex: 1;
  margin-top: 8rem;
  position: relative;
}
.portfolio .main-image .image-container {
  position: absolute;
  width: 100%;
  height: 100%;
  clip: rect(0, auto, auto, 0);
  clip-path: border-box;
}
.portfolio .main-image img {
  max-width: 50%;
  position: fixed;
  bottom: 0;
  left: 0;
}
.portfolio .side-images {
  flex: 1;
  display: flex;
  position: relative;
}
.portfolio .side-images:before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 20vw;
  height: 100%;
  background: #aad402;
  z-index: -1;
}
.portfolio .side-images .panel {
  width: 22vw;
  position: relative;
}
.portfolio .side-images .left.panel {
  left: -4.5rem;
  margin-top: 8rem;
}
.portfolio .side-images .right.panel {
  left: -3rem;
  margin-top: 15rem;
}
.portfolio .side-images li {
  line-height: 0;
  margin-bottom: 1.5rem;
}
.portfolio .description {
  position: fixed;
  height: 100vh;
  padding: 0 6rem 10vh;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  background-color: #8e7d6a;
  color: white;
}
.portfolio .description p {
  margin-bottom: 1em;
}
.portfolio .description h4 {
  font-weight: bold;
}
.portfolio .description .text-container,
.portfolio .description .small-boxes-container {
  flex: 1;
}
.portfolio .description .text-container {
  margin: 30vh 0 0;
}
.portfolio .small-boxes-container {
  display: flex;
  justify-content: space-between;
  margin: 5vh 0;
}
.portfolio .small-box {
  flex: 0 1 15vw;
}

.production {
  color: #fff;
}
.production .landing-image {
  margin-bottom: 2em;
  width: 100%;
}
.production > .wrapper:after {
  content: "";
  display: block;
  clear: both;
}
.production .main-content {
  width: 67%;
  float: left;
  padding: 1.5em;
  gap: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
}
.production .main-content .item {
  border-radius: 2rem;
}
.production .main-content .item-wide {
  grid-column-end: span 2;
}
.production .main-content .item-tall {
  grid-row-end: span 2;
}
.production .sidebar {
  width: 33%;
  float: right;
  font-size: 1rem;
  padding-left: 2em;
}
.production .sidebar .widget .title {
  color: #edfc52;
  font-weight: bold;
  margin: 2em 0 1em;
}
.production .nav {
  margin-top: 5em;
  margin-bottom: 5em;
  padding: 2em;
}
.production .nav .nav-button {
  font-size: 2em;
  font-weight: bold;
  color: #edfc52;
}
.production .nav .nav-button.next {
  float: right;
}
.production .nav .nav-button.previous {
  float: left;
}
.production .nav:after {
  content: "";
  display: block;
  clear: both;
}
.production footer {
  margin-top: 6em;
}

@media all and (orientation: portrait) {
  html {
    font-size: 2.3vw;
  }

  .is-padded {
    margin-right: 3rem;
    margin-left: 3rem;
  }

  #news-marquee,
#fullwidth-image,
#seo-keywords,
#public-events,
#customers,
#team-composition,
#hightlights,
#subscribe-newsletter,
footer {
    margin-top: 3rem;
  }

  #main-header {
    padding: 1.8em 1.4em;
  }

  #menu-button {
    margin-right: 1em;
    margin-top: 0.7em;
  }

  #landing .corner-text {
    position: absolute;
    top: 2.7em;
    right: 5.5em;
  }
  #landing .separator {
    display: none;
  }
  #landing .bottom-container {
    margin-left: 1.7em;
  }
  #landing .social-links-container {
    position: absolute;
    top: 50%;
  }
  #landing .social-link {
    float: none;
    line-height: 3.2;
  }
  #landing .social-link img {
    width: 2em;
  }

  .dive-in-separator {
    display: none;
  }

  #projects-masonry {
    margin-left: 1rem;
  }

  #news-marquee .news-item {
    font-size: 3.6em;
  }

  #fullwidth-image .slide {
    height: 50vh;
  }

  #seo-keywords {
    letter-spacing: -1px;
    font-size: 1.8em;
    padding: 1.5em;
  }

  #public-events .element {
    width: 50vw;
  }

  #customers {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 0;
  }
  #customers .customer-logo-container {
    justify-content: space-evenly;
  }
  #customers .customer-logo {
    width: 6.5em;
  }

  #team-composition {
    margin-left: 2rem;
  }
  #team-composition .title {
    margin-right: 7%;
  }
  #team-composition .members-container {
    width: 90%;
  }
  #team-composition .member img {
    max-height: 30vh;
  }

  #highlights {
    margin-top: 2rem;
  }
  #highlights .highlight {
    width: 30vw;
  }

  #subscribe-newsletter {
    padding: 3rem;
  }
  #subscribe-newsletter img {
    width: 50%;
    height: auto;
    float: none;
    display: block;
    box-shadow: 1em 1em #edfc52;
    transform: none;
    margin-bottom: 2em;
  }
  #subscribe-newsletter h5 {
    width: auto;
  }
  #subscribe-newsletter h5 br {
    display: none;
  }

  footer.is-padded {
    margin: 0;
  }
  footer.is-padded .separator {
    display: none;
  }
  footer.is-padded .line:first-of-type {
    flex-direction: column-reverse;
    font-size: 1.5rem;
  }
  footer.is-padded #footer-content .contacts {
    font-size: 1.5em;
  }

  #footer-content .social-links-container {
    width: 50vw;
    justify-content: space-between;
    margin-bottom: 1.5em;
  }
  #footer-content .social-links-container .social-link {
    flex: 0 1 auto;
    margin: 0;
  }
  #footer-content .social-links-container .social-link img {
    width: 2em;
  }

  #colored-brand img {
    width: 1em;
  }
}