@font-face {
  font-family: 'Untitled Serif', Times, serif;
  /* src: url('webfont.eot'); /* IE9 Compat Modes */
  src: 
   /* url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/dev/frattale/site/assets/fonts/untitled-serif-web-regular.woff2') format('woff2'), /* Super Modern Browsers */
   /*     url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
    /*    url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
    /*    url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

/* animation */

@-webkit-keyframes imagery-up {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-50px); }
}
@-moz-keyframes imagery-up {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-50px); }
}
@-o-keyframes imagery-up {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-50px); }
}
@keyframes imagery-up {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-50px); }
}

* {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo,
.slogan,
.info,
.address,
.members {
  opacity: 0;
}

.in .logo,
.in .slogan,
.in .info,
.in .address,
.in .members {
  opacity: 1;
  transition: opacity 3s;
}

:root {
  --padding: 0;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: -apple-system, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: black;
  font-size: 1.05vw;
  height: -webkit-fill-available;
}

img {
  width: 100%;
}
body {
  padding: var(--padding);
  margin: 0 auto;
  color: white;
  height: 100vh;
  overflow: hidden;
  min-height: -webkit-fill-available;
}
li {
  list-style: none;
}

p {
  margin:  0;
  margin-bottom: 1em;
}

a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.bg img {
  width: 100%;
}

.bg.move img {
  transform: translate3d(0,0,0);
  -webkit-animation: imagery-up 20s 0s 1 ease-out forwards;
  -moz-animation:    imagery-up 20s 0s 1 ease-out forwards;
  -o-animation:      imagery-up 20s 0s 1 ease-out forwards;
  animation:         imagery-up 20s 0s 1 ease-out forwards;
}

.container {
  position: fixed;
  top:  0;
  left:  0;
  right:  0;
  bottom:  0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-block {
  display: flex;
  flex-direction: column;
  margin:  auto;
  align-content: center;
  justify-content: center;
  text-align: center;
}

.top {
  position: relative;
  z-index: 9;
  top:  0;
  height:  100%;
  display: flex;
}

.logo {
  width: 316px;
  margin: auto;
  margin-bottom:  2vh;
  z-index: 9;
}

.logo svg path {
  fill: white;
}

.slogan {
  width: 60vw;
  text-align: center;
  font-family: 'Untitled Serif';
}

.footer {
  width:  100vw;
  box-sizing: border-box;
  align-self: flex-end;
  display: flex;
  transform:  translate(0,0);
}

.footer section {
  display: flex;
}

.members {
  box-sizing: border-box;
  width: 50vw;
  padding-left:  5vw;
}

.members .logos {
  display: flex;
  flex-wrap: wrap;
  width:  80%;
  align-items: center;
}

.members a {
  display: block;
  width:  15%;
  margin-right:  5%;
}

.members a:last-child {
  margin-right:  0;
}

.members img {
  display: block;
  max-width:  100%;
  max-height:  50px;
}

.info, .address {
  width: 22vw;
  height: 20vh;
}

.info {
  padding-right:  3vw;
}

.info {
  left: 50vw;
}

.address {
  left: 75vw;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  line-height: inherit;
}

h1 {
  font-size: 1.9rem;
}

h2, p {
  font-size: 1rem;
  line-height: 1.3em;
}


@media screen and (min-width: 1501px) {
  html {
    font-size: 17px;
  }

  .logo {
    width: 350px;
    top: calc(50vh - 250px);
  }

  .slogan {
    width: 1000px;
  }

  .info, .address {
    width: 400px;
  }

  .address {
    left: calc(50vw + 500px);
  }

}


@media screen and (max-width: 1100px) {
  html {
    font-size: 13px;
  }

  .logo {
    width: 180px;
    top: calc(50vh - 150px);
  }

  .slogan {
    width: 80vw;
  }

  h1 {
    font-size: 1.6rem;
  }

}

@media screen and (max-width: 760px) {

  .logo {
    width: 160px;
    top: 20vh;
  }

  .slogan {
    width: calc(100vw - 20px);
    top: calc(20vh + 105px);
  }

  .info, .address {
    width: calc(50vw - 20px);
  }

  h1 {
    font-size: 1.5rem;
  }

  .footer {
    padding: 0 20px;
    flex-direction: column-reverse;
  }

  .members {
    width: 100%;
    padding: 0;
    margin-bottom: 1em;
  }

  .members .logos {
    width:  100%;
  }

}

@media screen and (max-aspect-ratio: 15/10) {

  .bg img {
    width: auto;
    height: 110vh;
  }

}

@media screen and (max-aspect-ratio: 15/10) and (max-width: 600px) {

  .bg img {
    width: auto;
    height: 110vh;
    margin-left: -50%;
  }

}

@media screen and (max-height: 500px) {

  html {
    font-size: 12px;
  }

  .logo {
    width: 120px;
    top: 20px;
  }

  .slogan {
    top: 100px;
  }

  .info,
  .address {
    height: auto;
  }


}



