/* Document specifc styles */
* {
  margin: 0;
  padding: 0;
  font-family: Favorit;
  font-size: 14px;
}

/* font loading */
@font-face {
  font-family: Favorit;
  font-weight: normal;
  src: url(assets/fonts/FavoritTrial-Regular.woff);
}

@font-face {
  font-family: Favorit_Italic;
  font-weight: normal;
  src: url(assets/fonts/FavoritTrial-RegularIta.woff);
}

@font-face {
  font-family: Favorit;
  font-weight: bold;
  src: url(assets/fonts/FavoritTrial-Bold.woff);
}

/* Color options
 * make changegs where necessary 
 */

/* background colors for eg divs */
.bg-color-0 {
  background-color: black;
}
.bg-color-1 {
  background-color: black;
}
.bg-color-2 {
  background-color: black;
}
.bg-color-3 {
  background-color: black;
}
.bg-color-4 {
  background-color: black;
}
.bg-color-5 {
  background-color: black;
}
.bg-color-6 {
  background-color: black;
}
.bg-color-7 {
  background-color: black;
}
.bg-color-8 {
  background-color: black;
}
.bg-color-9 {
  background-color: black;
}
.bg-color-10 {
  background-color: black;
}
.bg-color-11 {
  background-color: black;
}

/* Foregroung colors, eg typography  */
.fg-color-0 {
  color: white;
}
.fg-color-1 {
  color: white;
}
.fg-color-2 {
  color: white;
}
.fg-color-3 {
  color: white;
}
.fg-color-4 {
  color: white;
}
.fg-color-5 {
  color: white;
}
.fg-color-6 {
  color: white;
}
.fg-color-7 {
  color: white;
}
.fg-color-8 {
  color: white;
}
.fg-color-9 {
  color: white;
}
.fg-color-10 {
  color: white;
}
.fg-color-11 {
  color: white;
}

html,
body {
  color: white;
  background: black;
  scroll-behavior: smooth;
}

a {
  color: white;
  text-decoration: none;
  font-size: inherit;
}

b,
i {
  font-size: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

header {
  top: 0;
  width: 100%;
  position: fixed;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  transition: top 0.3s;
  font-size: 1.5rem;
}

footer {
  width: 100%;
  bottom: 0;
  position: fixed;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  transition: bottom 0.3s;
  font-size: 1.5rem;
}

header a,
footer a {
  color: inherit;
  font-size: inherit;
}

header .left,
header .right,
footer .left,
footer .right {
  margin: 20px 20px;
  font-size: inherit;
}

header .right {
  text-align: right;
}

/* Start Landing page
 * first thing the reader sees 
 */

main .landing {
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  -moz-box-shadow: 0px 50px 80px rgb(0, 0, 0, 0.3);
  box-shadow: 0px 50px 80px rgb(0, 0, 0, 0.3);
}

main .landing .landing-title {
  background-image: radial-gradient(ellipse at 50%, black, transparent),
                    radial-gradient(ellipse at 75%, black, transparent),
                    radial-gradient(ellipse at top, white, transparent),
                    radial-gradient(ellipse at bottom, white, transparent);
}

main .landing .landing-title,
main .landing .landing-image {
  width: 50vw;
  height: 100vh;
  overflow: hidden;
  object-fit: cover;
}

main .landing .landing-image img {
  width: 100%;
  display: grid;
  object-fit: cover;
  height: 100vh;
}

main .landing .landing-title {
  padding: 0 0px;
}

main .landing .landing-title h2 {
  font-size: calc(3rem + 4vw);
  line-height: calc(3rem + 4vw);
  font-weight: 500;
  width: 100%;
  margin: 120px 0 0 0;
}

main .landing .landing-title h3 {
  font-size: calc(1rem + 1vw);
  line-height: calc(1rem + 1vw);
  font-weight: 700;
  width: 60%;
  margin: 80px 0 120px 0;
}

main .landing .landing-title p {
  font-size: 2rem;
  margin: 50px 0;
  max-width: 750px;
}
/* End Landing page */

/* Start: Text and Image Blocks, articles
 *
 * details that the reader will see.
 * there are 2 text formats:
 layout-1, larger typography more eye-catching 
 layout-2, smaller typography, should be used to elaborate more on subject
 */

main article {
  padding: 40px 20px 120px 20px;
}

main article h2 {
  font-weight: 600;
  font-size: 1.5rem;
}

main article p {
  font-size: 2.5rem;
}

main article .layout-1 {
  margin: 120px 0 120px 20vw;
  max-width: 960px;
}

main article .layout-2 {
  margin: 20px 0 20px 0;
  max-width: 1280px;
}

main article .layout-3 {
  margin: 120px 0 20px 20vw;
}

main article .layout-3 p {
  font-size: 1.5rem;
  max-width: 640px;
}

main article .row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

main article .column {
  margin-right: 40px;
}

main article p.column {
  font-size: 1.5rem;
}

main article .quote {
  font-family: Favorit_Italic;
  font-size: 3rem;
  line-height: 3.5rem;
  font-weight: 400;
  text-align: left;
  margin: auto;
}

main article figure {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}

main article figure img {
  width: 100%;
  height: 100%;
}

main section.video {
  height: 120px;
  overflow: hidden;
}

/* Start: Text and Image Blocks, articles */

/* Start: Gallery 
 * list of images max 3 in a row depending on width 
 * of browser window or device used.
 */

main section .gallery {
  max-width: 1440px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
  margin: auto;
}

main .gallery figure {
  flex-grow: 1;
  flex-basis: 400px;
  margin: 20px;
}

main .gallery figcaption {
  margin: 10px 0 0 0;
  font-size: 0.9rem;
}

main .gallery figure img {
  width: 100%;
  height: 100%;
  min-width: 320px;
  max-width: 680px;
  -moz-transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

main .gallery figure img:hover {
  -moz-box-shadow: 20px 20px 30px rgb(0, 0, 0, 0.3);
  box-shadow: 20px 20px 30px rgb(0, 0, 0, 0.3);
  transform: scale(1.15, 1.15);
}

/* End: Gallery */

ul.references {
  color: #fff;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

ul.references li {
  color: #fff;
  width: 27vw;
  min-width: 300px;
  margin: 0 80px 40px 0;
  font-size: 1.5rem;
}

ul.references li figure img {
  color: #fff;
  width: 100%;
  height: 100%;
  max-width: 300px;
}

ul.references li figcaption {
  color: #fff;
  margin-top: 10px;
  font-size: 1.5rem;
  max-width: 300px;
}

.full-image {
  width: 100%;
  display: grid;
  position: relative;
}

.full-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.full-image .detail {
  position: absolute;
  font-size: calc(20px + 4vw);
  width: 70%;
  max-width: 800px;
  margin: 20px;
  top: 10px;
}

.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 80px;
}

.min-height-100 {
  min-height: 100vh;
}

.max-height-50 {
  max-height: 50vh;
}

.min-height-80 {
  min-height: 80vh;
}

/* Helper classes */

.m-bottom-l {
  margin-bottom: 120px;
}
.m-bottom-m {
  margin-bottom: 80px;
}
.m-bottom-s {
  margin-bottom: 40px;
}
.m-bottom-xs {
  margin-bottom: 20px;
}

.m-top-l {
  margin-top: 120px;
}
.m-top-m {
  margin-top: 80px;
}
.m-top-s {
  margin-top: 40px;
}
.m-top-xs {
  margin-top: 20px;
}

.p-bottom-l {
  padding-bottom: 120px;
}
.p-bottom-m {
  padding-bottom: 80px;
}
.p-bottom-s {
  padding-bottom: 40px;
}
.p-bottom-xs {
  padding-bottom: 20px;
}

.shadow-l {
  -moz-box-shadow: 0px 50px 100px rgb(0, 0, 0, 0.25);
  box-shadow: 0px 50px 100px rgb(0, 0, 0, 0.25);
}
.shadow-m {
  -moz-box-shadow: 0px 20px 40px rgb(0, 0, 0, 0.25);
  box-shadow: 0px 20px 40px rgb(0, 0, 0, 0.25);
}

.shadow-s {
  -moz-box-shadow: 0px 10px 20px rgb(0, 0, 0, 0.25);
  box-shadow: 0px 10px 20px rgb(0, 0, 0, 0.25);
}

.image-l {
  max-width: 1440px;
}

.image-m {
  max-width: 960px;
}

.image-s {
  max-width: 640px;
  display: inline-block;
}

.anything-probes-images {
  margin: 120px 0 120px 20vw;
}

.play {
  border-radius: 20px;
  width: 20px;
  height: 20px;
  border: 1px solid black;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  margin-left: 10px;
  padding: 5px;
}

/* Media Queries (mobile, portrait)
 * media query specific styles, these styles are changed and apply 
 * when the website is used on a mobile device in portrait mode. 
 */

@media only screen and (orientation: portrait) and (min-device-width: 375px) {
  header .left,
  header .right,
  header {
    font-size: 1rem;
  }

  main .landing {
    flex-wrap: wrap;
  }

  main .landing .landing-title,
  main .landing .landing-image {
    width: 100vw;
    height: auto;
  }

  main .landing .landing-image {
    height: 100vh;
  }

  main article {
    padding: 20px;
  }

  main article h2 {
    font-weight: 500;
    font-size: 1rem;
  }

  main article .layout-1 {
    font-size: 2rem;
    margin: 100px 0 100px 0;
  }

  main article .layout-3 {
    margin: 40px 0 20px 0;
    max-width: 1024px;
  }

  main article .quote {
    font-family: serif;
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: left;
  }

  main article .row {
    flex-direction: column;
  }

  main article p.column {
    width: 100%;
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 640px;
  }

  main section .gallery {
    padding: 120px 0px;
  }

  main .gallery figure {
    margin: 20px 0px;
  }

  ul.references li {
    width: 70vw;
  }
}
