html, body {
   height: 100%;
   width: 100%;
}
body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items:flex-start;
    margin: 0;
    padding: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3rem;
    color: #212529;
    text-align: left;
}
.container {
   display: grid;
   grid-template-areas:
       "header"
       "main"
       "footer";
   grid-template-columns: 1fr;
   grid-template-rows: auto 1fr auto;
   width: 100%;
   min-height: 100%;
   /* gap: 1rem; */
   margin: 0 1rem;
}
.container-inner {
    display: grid;
    grid-template-areas:
      "header"
      "layout-b"
      "mobile-layout"
      "footer";
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    width: 100%;
    min-height: 100%;
    /* grid-gap: 1rem; */
    margin: 0 1rem;

    /* grid-row-gap: 10px;
    grid-column-gap: 10px;
    height: 100vh;
    margin: 0; */
}
.container-inner-b {
    display: grid;
    grid-template-areas:
      "header"
      "layout-b"
      "footer";
    grid-template-columns: 1fr;
    /* grid-template-rows: auto 80% auto; */
    grid-template-rows: auto 1fr auto;
    width: 100%;
    min-height: 100%;
    /* grid-gap: 1rem; */
    margin: 0 1rem;
}
.header {
    /* background-color: bisque; */
    grid-area: header;
    display: grid;
    /* grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr; */
    /* padding-top: 1rem; */
    /* margin-top: 1rem; */
}
.header > a {
  text-decoration: none;
}
.logo {
   grid-row: 1 / 2;
   grid-column: 1 / 2;
   justify-self: flex-start;
   align-self: flex-start;
   padding-top: 1rem;
}
.logo-title {
  color: #212529;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.4rem;
}
.job-title {
  color: rgba(38,41,46,.65);
  line-height: 1.2rem;
  padding-top: 0.4rem;
}
.nav {
   grid-row: 1 / 2;
   grid-column: 2 / 3;
   justify-self: flex-end;
   align-self: center;
}

/* navigition */
.header nav {
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  overflow:auto;
  z-index: 100;
}
.header nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 170px;
  transition: all 0.3s ease-in-out;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.header nav ul li {
  -webkit-transform: translateY(50px);
          transform: translateY(50px);
  opacity: 0;
  line-height: 1.5em;
  padding-bottom: 1.5em;
}
.header nav ul li a {
  /* display: block;*/
  font-size: 2.5rem; 
  font-weight: bold;
  text-decoration: none;
  padding: 20px 0;
  text-align: center;
  /* color: rgba(255, 255, 255, 0.6); */
  color: #cfd5db;
  transition: all 0.2s ease-in-out;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}
.header nav ul li a:hover {
  color: rgba(255, 255, 255, 1);
}

.toggle-btn {
  display: block;
  position: fixed;
  z-index: 101;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
}
.toggle-btn .bar {
  width: 30px;
  height: 2px;
  margin: 7px auto;
  background-color: #000;
  transition: all 0.3s ease-in-out;
  /* box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.3); */
}
.toggle-btn .bar:nth-child(2) {
  width: 20px;
}

#toggle:checked ~ nav {
  opacity: 1;
  visibility: visible;
}
#toggle:checked ~ nav ul {
  top: 70px;
}
#toggle:checked ~ nav ul ul{
  top: 0;
}
#toggle:checked ~ nav ul li {
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  opacity: 1;
}
#toggle:checked ~ nav ul li:nth-child(1) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.1s;
}
#toggle:checked ~ nav ul li:nth-child(2) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.2s;
}
#toggle:checked ~ nav ul li:nth-child(3) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.3s;
}
#toggle:checked ~ nav ul li:nth-child(4) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.4s;
}
#toggle:checked ~ nav ul li:nth-child(5) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.5s;
}
#toggle:checked ~ nav ul li:nth-child(6) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.6s;
}
#toggle:checked ~ nav ul li:nth-child(7) {
  transition: all 0.3s cubic-bezier(0.6, 0, 0.8, 1.5) 0.7s;
}
#toggle:checked + label.toggle-btn .bar {
  background-color: #fff;
}
#toggle:checked + label.toggle-btn .bar:nth-child(2) {
  -webkit-transform: translateX(50px);
          transform: translateX(50px);
  opacity: 0;
}
#toggle:checked + label.toggle-btn .bar:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(45deg);
          transform: translateY(10px) rotate(45deg);
}
#toggle:checked + label.toggle-btn .bar:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
          transform: translateY(-8px) rotate(-45deg);
}
/* end of navigation */


.headline {
   /* background-color: blueviolet; */
   grid-row: 2 / 3;
   grid-column: 1 / span 2;
   justify-self: center;
   align-self: center;
   padding: 1.2rem 0;
   text-align: center;
}
.headline span span {
    font-weight: lighter;
}
.headline span {
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 2.5rem;
    color: #4A4A4A;
}
.main {
    /* background-color: aqua; */
    grid-area: main;
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); */
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1rem;
    grid-auto-flow: row dense;
    justify-self: center;
    list-style: none;
    /* margin: 1em auto; */
    padding: 0;
    width: 100%;
}
.main-b {
    grid-area: main;
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    grid-gap: 1rem;
    grid-auto-flow: dense;
    list-style: none;
    /* margin: 1em auto; */
    padding: 0;
    width: 100%;
}
/* .main li {
   border: 1px solid #ccc;
} */
.main li.square {
    grid-column-end: span 2;
}
.main li img,
.main li video {
    display: block;
    object-fit: cover;
    width: 100%;
    height: auto;
}
.inner-grid img {
    /* box-shadow: 0px 0px 50px 0px  rgba(0,0,0,0.2); */
    border-width: thin;
    border-style: solid;
    border-color: rgba(0, 0, 0, .1);
    max-width: 100%;
}
.desktopLayout {
    display: none;
}
.mobileLayout {
    grid-area: mobile-layout;
    display: flex;
    justify-content: center;
    padding: 1rem 0 0;
}
.layout-b {
    /* background-color: aqua; */
    grid-area: layout-b;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.layout-b > .inner-grid {
    padding: 0 0 1rem;
}
.layout-b > .inner-grid:nth-child(2) {
    padding-top: 1rem;
}
.layout-b > .inner-grid.text {
    text-align: center;
    width: 80%;
}
.layout-b > .inner-grid.text.about {
  text-align: left;
  line-height: 1.5em;
  /* width: 80%; */
}
.layout-b > .inner-grid.text.about > p {
  padding-bottom: 1em;
}
/* .layout-b > .inner-grid.text.about > p:last-child {
  padding-top: .5em;
  padding-bottom: 0em !important;
} */
.layout-b > .inner-grid > img {
    width: 60rem; 
}
.layout-b > .inner-grid > video {
  width: 30rem; 
}
.layout-b > .inner-grid > video.hor {
  width: 65rem; 
  border: 1px solid #d0d5da;
}
.layout-b > .inner-grid > img.w40 {
    width: 40rem; 
}
img, video, .inner-grid > p {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0;
}
.note {
    padding: 0 0 1rem !important;
}
iframe {
    padding-top: 1rem;
}
a {
    color: rgba(207, 213, 219, 1);
    text-decoration: underline;
}
a:hover {
    color: rgba(207, 213, 219, 0.7);
}
.note a {
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
}
.note a span{
  border-bottom: 1px dotted;
  border-color: rgba(0, 0, 0, 1);
  margin-right: .5rem;
}
.note a:hover {
  color: rgba(0, 0, 0, 0.7);
}
.note a:hover span{
  border-color: rgba(0, 0, 0, 0.7);
}
.footer {
    /* background-color: brown; */
    grid-area: footer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.copy,
.social {
    padding-bottom: 1rem;
}
.copy {
    /* background-color: blueviolet; */
}
.smaller {
    font-size: smaller;
}
.faded {
    color: rgba(38,41,46,.65);
}
.pickout {
  font-weight: bold;
  color: rgba(207, 213, 219, 0.7);
}
.social {
    /* background-color: aqua; */
    white-space: nowrap;
}
ul.social li {
    font-size: 1.3rem;
    display: inline;
    list-style: none;
    padding: 0 0 0 0.5rem;
}
.social a {
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
}
.social a:hover {
  color: rgba(0, 0, 0, 0.7);
}
.box-column {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: flex-start;
  flex-direction: column;
}
.box-row {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
}
.box-item video {
  text-align: center;
  width: 30rem;
}
/* .box-row .box-item:nth-child(2n) video */
.box-row .box-item:nth-child(2n) img {
  width: 36rem; /*for equal heights of left and right image both*/
}
.box-item {
  flex-basis: auto;
  margin-bottom: 1rem;
}
.box-row .box-item:nth-child(1) {
    margin-right: 1rem;
}
.box-row:nth-last-child(1) {
    margin-bottom: -1rem !important;
}
.visible {
  display: none;
}
/*===========================================
    Change page background / Blackout class
=============================================*/
[class~="blackout"] body {
  background-color: #000;
  color: #cfd5db;
}
[class~="blackout"] .logo-title {
  color: #cfd5db;
}
[class~="blackout"] .job-title {
  color: rgba(207,213,219,.65);
}
[class~="blackout"] .headline span {
  color: #cfd5db;
}
[class~="blackout"] .note a {
  color: rgba(207, 213, 219, 1);
}
[class~="blackout"] .note a span{
  border-color: rgba(207, 213, 219, 1);
}
[class~="blackout"] .note a:hover {
  color: rgba(207, 213, 219, 0.7);
}
[class~="blackout"] .note a:hover span{
  border-color: rgba(207, 213, 219, 0.7);
}
[class~="blackout"] .social a {
  color: rgba(207, 213, 219, 1);
}
[class~="blackout"] .social a:hover {
  color: rgba(207, 213, 219, 0.7);
}
[class~="blackout"]  .toggle-btn .bar {
  background-color: #cfd5db;
}
/*========================
    Sexy Hovers / Common Styles
==========================*/
[class*="image-effect"] .caption h3 {
  font-size: 1.5rem;
}
[class*="image-effect"] .caption p {
  font-size: 1rem;
  text-transform: none;
  margin: 0;
}
/* [class*="image-effect"] img {max-width: 100%;vertical-align: middle;border: 0;} */
[class*="image-effect"] img {
  display: flex;
  align-self: center;
  max-width: 100%;
  border: 0;
}
[class*="image-effect"] video {
  display: flex;
  align-self: center;
  max-width: 100%;
  border: 0;
}
.link-wrap div {display: inline-block;}
.link-wrap .uk-icon-link, .link-wrap .uk-icon-link:focus, .link-wrap .uk-icon-link:hover {color: inherit;}

/*========================
    Image Effect #1
==========================*/
.tc-image-effect1 {
  position: relative;
  overflow: hidden;
  border-width: thin;
  border-style: solid;
  border-color: rgba(0, 0, 0, .1);
}
/*.tc-image-effect1 img {-webkit-transform: scale(1.5) translateY(0);transform: scale(1.5) translateY(0);-webkit-transition: all .4s ease-in-out;transition: all .4s ease-in-out;}*/
.tc-image-effect1 img {-webkit-transform: scale(1.0) translateY(0);transform: scale(1.0) translateY(0);-webkit-transition: all .4s ease-in-out;transition: all .4s ease-in-out;}
.tc-image-effect1 video {-webkit-transform: scale(1.0) translateY(0);transform: scale(1.0) translateY(0);-webkit-transition: all .4s ease-in-out;transition: all .4s ease-in-out;}
/*.tc-image-effect1:hover img {-webkit-transform: scale(1.5) translateY(-12px);transform: scale(1.5) translateY(-12px);}*/
.tc-image-effect1:hover img {-webkit-transform: scale(1.1) translateY(-12px);transform: scale(1.1) translateY(-12px);}
.tc-image-effect1:hover video {-webkit-transform: scale(1.1) translateY(-12px);transform: scale(1.1) translateY(-12px);}
.tc-image-effect1 .caption {
  position: absolute;
  bottom: calc(50%);
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  z-index: 10;
  text-align: center;
  width: 100%;
}
.tc-image-effect1:after {position: absolute;content: '';height: 100%;width: 100%;background-color: rgba(0, 0, 0, 0.8);-webkit-transition: opacity .25s ease-in-out;transition: opacity .3s ease-in-out;opacity: 0;top: 0;}
.tc-image-effect1:hover:after {opacity: 1;}
.tc-image-effect1 .caption h3 {
  color: #fff;
  margin-bottom: 8px;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;opacity: 0;
  line-height: 1.5rem;
}
.tc-image-effect1 .caption p {
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  color: rgba(255,255,255,1);
  opacity: 0;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  padding: 0 1rem;
}
.tc-image-effect1:hover .caption h3,
.tc-image-effect1:hover .caption p {
  opacity: 1;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
/* .tc-image-effect1 .link-wrap {position: absolute;top: calc(50% - 30px);right: 50%;transform: translateX(50%) translateY(-50%);z-index: 10;}
.tc-image-effect1 .link-wrap a {display: inline-block;height: 40px;width: 40px;line-height: 40px;background-color: rgba(255,255,255,0.2);text-align: center;color: #fff;font-size: 14px;opacity: 0;border-radius: 50%;-webkit-transition: all .5s ease-in-out;transition: all .5s ease-in-out;}
.tc-image-effect1 .link-wrap a:first-child {-webkit-transform: translateY(-30px);transform: translateY(-30px);margin-right: 5px;}
.tc-image-effect1 .link-wrap a:last-child {-webkit-transform: translateY(-60px);transform: translateY(-60px);}
.tc-image-effect1:hover .link-wrap a {opacity: 1;-webkit-transform: translateY(0px);transform: translateY(0px);}
.tc-image-effect1 .link-wrap a:hover {background-color: rgba(255,255,255,0.4);} */
li > a {
  text-decoration: none;
}
.tc-image-effect1 h3:hover{
  color: rgba(255, 255, 255, 0.7);
}

/*========================
    Accordion
==========================*/
.accordion .accordion-item {
  border-bottom: 1px solid rgba(207, 213, 219, 0.3);
}
.accordion .accordion-item button[aria-expanded='true'] {
  border-bottom: 1px solid rgba(207, 213, 219, 0.7);
}
.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: rgba(207, 213, 219, 1);
  font-size: inherit;
  font-weight: normal;
  border: none;
  background: none;
  outline: none;
  /* padding-bottom: 1; */
}
.accordion button:hover, .accordion button:focus {
  cursor: pointer;
  color: rgba(207, 213, 219, 0.7);
}
.accordion button:hover::after, .accordion button:focus::after {
  cursor: pointer;
  color: rgba(207, 213, 219, 0.7);
  border: 1px solid rgba(207, 213, 219, 0.7);
}
.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
}
.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 1em;
  right: 0;
  width: 1.5em;
  height: 1.5em;
  /* border: 1px solid;
  border-radius: 22px; */
}
.accordion button .icon::before {
  display: block;
  position: absolute;
  content: '';
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: '';
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}
.accordion button[aria-expanded='true'] {
  color: coral;
  /* padding-bottom: 1em; */
}
.accordion button[aria-expanded='true'] .icon::after {
  width: 0;
}
.accordion button[aria-expanded='true'] + .accordion-content {
  opacity: 1;
  max-height: 9em;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content {
  opacity: 0;
  max-height: 0;
  overflow: scroll;
  -webkit-transition: opacity 200ms linear, max-height 200ms linear;
  transition: opacity 200ms linear, max-height 200ms linear;
  will-change: opacity, max-height;
}
.accordion .accordion-content p {
  font-size: 1rem;
  font-weight: normal;
  /* margin: 2em 0; */
}
.accordion {
  padding-bottom: 2em;
}

/*========================
    Smile Effect #1
==========================*/
.smile:hover {
  -webkit-animation: roll 3s infinite !important;
  animation: roll 3s infinite !important;
  -webkit-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
  color: coral;
}
/*========================
    Responsive iFrame & Scroll Blocks
==========================*/
.scrollable-block-bg {
  padding-top: 2rem;
  background-image: url('img/browser_top_frame.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #000000;
} 
@media (max-width: 768px) {
  .scrollable-block-bg {
    padding-top: 1rem;
  }
}
.scrollable-block-bg_mobile {
  max-width: 375px;
  padding-top: 2rem;
  background-image: url('img/browser_top_frame_mobile.svg');
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #000000;
} 
.scrollable-block {
  max-width: 1200px;
  height: 600px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.scrollable-block_tall {
  max-width: 1200px;
  height: 800px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.scrollable-block_mobile {
  max-width: 375px;
  height: 600px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.responsive-block {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}
.responsive-block iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}
/*========================
    Responsive & Adaptive
==========================*/
@media (min-width: 576px) {
    .container-inner {
        grid-template-areas:
        "header header"
        "layout-b layout-b"
        "desktop-layout mobile-layout"
        "footer footer";
        grid-template-columns: 3fr 1fr;
        grid-template-rows: auto 1fr auto;
        grid-gap: 0 1rem;
        margin: 0 1rem;
    }
    .main {
        padding: 1rem 0;
    }
    /* .container-inner-b {
        grid-gap: 1rem;
    } */
    .header {
        /* background-color: bisque; */
        grid-area: header;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .desktopLayout {
        grid-area: desktop-layout;
        display: flex;
        justify-content: flex-start;
        /* margin-left: 1rem; */
        padding: 2rem 0 1rem;
    }
    .mobileLayout {
        grid-area: mobile-layout;
        display: flex;
        justify-content: flex-end;
        /* margin-right: 1rem; */
        padding: 2rem 0 1rem;
    }
    .mobileLayout .inner-grid .note {
        display: none;
    }
    .layout-b > .inner-grid.text {
        width: 65%;
    }
    .layout-b > .inner-grid:nth-child(2) {
        padding: 2rem 0;
    }
    .note {
        padding: 1rem 0 0 !important;
    }
    .copy,
    .social {
        padding-bottom: 0rem;
    }
    .visible {
      display: block;
    }
    /* .accordion button .accordion-title {
      padding: 1em 3em 1em 0;
    } */
}
@media (min-width: 1200px) {
    .desktopLayout {
        grid-area: desktop-layout;
        display: flex;
        justify-content: center;
    }
    .mobileLayout {
        grid-area: mobile-layout;
        display: flex;
        justify-content: flex-start;
        /* margin-right: 1rem; */
    }
    
}
@media (max-width: 768px) {
    .main {
        grid-template-columns: repeat(4, 1fr);
    }
    .box-row {
        display: block;
    }
    .box-item {
        flex-basis: auto;
        /* margin: 0 0.5rem 0.5rem; */
    }
    .box-item video {
      text-align: center;
      width: 20rem;
    }
    .layout-b > .inner-grid > video {
      width: 20rem; 
    }
    .layout-b > .inner-grid > video.hor {
      width: 25rem; 
      border: 1px solid #d0d5da;
      margin-bottom: 1em;
    }
    .header nav ul {
      padding: 0 10px;
      width: 90%;
    }
}
@media (max-width: 420px) {
    .main {
        grid-template-columns: repeat(2, 1fr);
    }
}
