/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: border-box;
}
body {
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  color:#fff;
}
figure,
section,
header {
  margin: 0;
}
section,
header {
  padding: 20px;
}
h1 {
  font-weight: 900;
  font-style: italic;
  font-size: 5em;
  margin: 20px 0 20px 0;
  line-height: 0.9;
}
h2 {
  font-size: 2em;
  font-weight: 600;
  margin: 20px 0 20px 0;
  line-height: 1.2;
}
p, ul, ol {
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.4;
}
header p {
  font-size: 1.8em;
  line-height: 1.2em;
  font-weight: 400;
  margin: 0 0 20px 0;
}

@media (min-width: 900px) {
  h1 {
    font-size: 12em;
    margin: 20px 0 60px 0;
    line-height: 0.78;
  }
  h2 {
    font-size: 2em;
    font-weight: 800;
    font-style: italic;
  }
  header p {
    font-size: 2em;
  }
  header ul {
    font-size: 1.2em;
  }
  p, ul, ol {
    font-size: 1em;
    font-weight: 400;
  }
}
@media (min-width: 1281px) {
  h1 {
    font-size: 16em;
  }
}

/* Horizontal List */

.menu--horizontal {
  list-style-type: none;
	padding-left: 0;
}
.menu--horizontal > li {
  display: inline;
  position: relative;
	padding-left: 12px;
  font-weight: 400;
}
.menu--horizontal > li:first-child {
	border-left: 0 none;
  padding-left: 0;
}
.menu--horizontal > li:before {
  position: absolute;
  content: '';
  left: 20px;
  top: 10px;
  height: 70%;
  width: 0;
  border-radius: 5px;
  background-color: #ee8894;
  transition: width ease-out 0.15s;
}
.menu--horizontal li:hover:before {
  width: 90%;
}
.menu--horizontal a {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  color: transparent;
  font-size: 0px;
  padding-left: 30px;
  text-decoration: none;
  z-index: 5;
}
.menu--horizontal a:hover {
  /*color: #ee8894;*/
}
.menu--horizontal .icon--twitter {
  background: url('../images/social/if_twitter.svg') left 2px / 35px 35px no-repeat transparent;
}
.menu--horizontal .icon--dribbble {
  background: url('../images/social/if_dribbble.svg') left 2px / 33px 33px no-repeat transparent;
}
.menu--horizontal .icon--linkedin {
  background: url('../images/social/if_linkedin.svg') left 2px / 35px 35px no-repeat transparent;
}
.menu--horizontal .icon--contact {
  background: url('../images/social/if_office.svg') left 1px / 40px 40px no-repeat transparent;
}

@media (min-width: 900px) {
  .menu--horizontal > li {
    margin-right: 10px;
  	/*border-left: 1px solid #fff;*/
  }
  .menu--horizontal a {
    width: auto;
    height: auto;
    font-size: 1em;
    color: #fff;
    padding-left: 30px;
  }
  .menu--horizontal .icon--twitter,
  .menu--horizontal .icon--dribbble,
  .menu--horizontal .icon--linkedin {
    background-size: 20px 20px;
  }
  .menu--horizontal .icon--contact {
    background-size: 23px 23px;
  }
}

/* Grid */

.grid {
  width: 100%;
}
.cell__header,
.cell__text {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  padding: 30px;
  min-height: 100vh;
}
.cell__header {
  background: radial-gradient(75vw at top center, #D90F25, transparent),
  radial-gradient(35vw at 250px top, #B77D0F, transparent),
  radial-gradient(40vw at right 250px, #7B0A74, transparent),
  #050102;
}
.cell__text {
  background-color: #040102;
  text-align: left;
}
.cell__text:after {
  position: absolute;
  content: ">";
  display: block;
  width: 60px;
  height: 60px;
  padding: 15px 0 0 5px;
  bottom: -25px;
  right: calc(50% - 25px);
  transform: rotate(90deg);
  border-radius: 50%;
  background-color: #0A0102;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.8em;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  transition: right ease-out 0.2s;
}
.cell__text a {
  font-size: 1.2em;
  font-weight: 300;
  color: #fff;
}
.cell__text a:hover {
  text-decoration: none;
}
.cell__image {
  background-color: #333;
}
.cell__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.2s linear;
}
.cell__image img:hover {
  opacity: 0.75;
}

@media (min-width: 900px) {
  .cell__header,
  .cell__text {
    min-height: auto;
    padding: 20px;
  }
  .cell__text:after {
    right: -25px;
    bottom: auto;
    transform: none;
  }
  .cell__text:hover:after {
    right: -30px;
  }
}
@media (min-width: 1281px) {
  .cell__header,
  .cell__text {
    padding: 80px;
  }
}

/*** Grid ***/

@media (min-width: 900px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 33vh;
  }
  .cell__header.row-2 {
    grid-row: span 3;
  }
  .col-2 {
    grid-column: span 2;
  }
  .col-3 {
    grid-column: span 3;
  }
  .row-1 {
    grid-row: span 1;
  }
  .row-2 {
    grid-row: span 2;
  }
}
@media (min-width: 1200px) {

}
@media (min-width: 1600px) {
  .cell__header.row-2 {
    grid-row: span 2;
  }
  .grid {
    grid-auto-rows: 50vh;
  }
}

.dynamic-content {
  display:none;
}