/* Document specifc styles */
* {
  margin:0;
  padding:0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
}

/* Color options
 * make changegs where necessary 
 */

 /* background colors for eg divs */
.bg-color-0 { background-color:#000; }
.bg-color-1 { background-color: #fff; }
.bg-color-2 { background-color: #ffff; }
.bg-color-3 { background-color:#090; }
.bg-color-4 { background-color:#06c; }
.bg-color-5 { background-color:#f0f; }
.bg-color-6 { background-color:#808; }
.bg-color-7 { background-color:#f69d3c; }
.bg-color-8 { background-color:#f00; }
.bg-color-9 { background-color:#a00; }
.bg-color-10 { background-color:#ebf8e1; }
.bg-color-11 { background-color:#3f87a6; } 

/* Foregroung colors, eg typography  */
.fg-color-0 { color:#000; }
.fg-color-1 { color:#fff; }
.fg-color-2 { color:#ffff; }
.fg-color-3 { color:#7E7E7E; }
.fg-color-4 { color:#06c; }
.fg-color-5 { color:#f4f; }
.fg-color-6 { color:#909; }
.fg-color-7 { color:#f69d3c; }
.fg-color-8 { color:#f00; }
.fg-color-9 { color:#a00; }
.fg-color-10 { color:#ebf8e1; }
.fg-color-11 { color:#3f87a6; } 




html, 
body {
  color: #1a1a25;
  background:#ffff;
  scroll-behavior: smooth;
}

a {
  color: #1a1a25;
  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 100px 0px #fff;
  box-shadow: 0px 100px 0px #fff;
}

main .landing .landing-title {
background-color: #000000;
}
 
main .landing .landing-title,
main .landing .landing-image {
  width: 65%;
  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 {
    align-content: flex-end;
    width : 35%;
  padding: 0px;
}

main .landing .landing-title h2 {
   color: #FFFFFF;
  font-size: calc(2rem + 2vw);
  line-height: calc(3rem + 2vw);
  font-weight: 400;
  width:80%;
  margin: 80px 0 0 0;
}

main .landing .landing-title h3 {
  color:#FFFFFF;
  font-size: calc(0.1rem + 1vw);
  line-height: calc(1.0rem + 0.4vw);
  font-weight:200;
  width:60%;
  margin: 70px 0 100px 0;
}

main .landing .landing-title p {
    color: #FFFFFF;
  font-size: 1.5rem;
  margin: 50px 0;
    font-weight: 100;
  max-width:600px;
}
/* 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:500;
  font-size: 1.5rem;
}

main article p {
    font-weight:200;
  font-size: 2rem; 
}

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;
font-weight: 300;
}

main article .quote {
  font-family: serif;
  font-size: 3.0rem;
  line-height: 3.5rem;
  font-weight: 300;
  font-style: italic;
  text-align: center;
  margin:auto;
}

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

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

main section.video {
  height:1080px;
  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 1.0s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 1.0s 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 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

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

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

ul.references li figcaption {
  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 + 3.2vw);
  width:70%;
  max-width: 800px;
  margin:20px;
  top: 10px;
}

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

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

/* 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-bottom-xxs {vertical-align: bottom}

.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;
}

.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;
}

/* Slideshow container */
.slideshow-container {
  max-width: 500px;
  position: relative;
    object-fit:scale-down;
    overflow: hidden;
  margin: auto;
}

.slideshow-container2 {
  max-width: 960px;
  position: relative;
    object-fit:scale-down;
    overflow: hidden;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.postion {
align-content: center
}
/* 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: 1.0rem;
  }

  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: 1.0rem;
  }

  main article .layout-1 {
    font-size: 2.0rem;
    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: 2.0rem;
    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;
  }

}

