/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: Akkurat-Mono;
}
html {
  overflow: hidden;
  width: 100%;
}
body {
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
@font-face {
  font-family: 'Akkurat-Mono';
  font-weight: normal;
  font-style: normal;
  src: url('https://freight.cargo.site/m/C1321186811548434156907761836577/Akkurat-Mono.otf') format("opentype");
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #0F0F0F !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
h1{
  font-size:1.3rem;
  color:#E90002;
  font-family: Akkurat-Mono;
}
.box{
  width:100vw;
  height:97vh;
}
#loader{
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  justify-content: center;
align-items: center;
  background-color:#0F0F0F;
  z-index: 20;
}
@keyframes pulse {
  0% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
#loader img{
  animation: pulse 2s infinite linear;
}

#mainViewPort{
  position: fixed;
  background-color: #0F0F0F;
  width:100vw;
  height:100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
#top{
  position:absolute;
  transition: top ease 0.5s;
}
#bottom{
  position:absolute;
  bottom:-100%;
  transition: bottom ease 0.5s;
  z-index: 5;
}
#left{
  position:absolute;
  left:-100%;
}
#right{
  position:absolute;
  right:-100%;
}

.nav{
  position:relative;
  height:88vh;
  width:88vw;
}
.flag{
  position: absolute;
  top: 10px;
  width: 100%;
  color: #E90002;
  text-align: center;
}

.nav #up-nav{
  cursor: pointer;
  display:flex;
  justify-content: center;
  align-items: center;
  position:absolute;
  top:15px;
  left:0;
  right:0;
  z-index: 12;
  transition: top ease 0.5s;
}
.nav #down-nav{
  cursor: pointer;
  display:flex;
  justify-content: center;
  align-items: center;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index: 12;
  transition: bottom  ease 0.5s;
}
.nav #left-nav{
  cursor: pointer;
  display:flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
}
.nav #right-nav{
  cursor: pointer;
  display:flex;
  justify-content: center;
  align-items: center;
  position:absolute;
  right:0;
  top:0;
  bottom:0;
}
#logo{
  transition: all ease 0.5s;
  top:calc(50% - 275px );
  left:calc(50% - 275px );
}

/*--- js classes --*/
#logo.handleTop{
top:70%
}
#logo.handleRight{
left:calc(0px - 275px );
}
#logo.handleBottom{
top:-45%;
}
#logo.handleLeft{
  left:calc(100% - 275px );
}

.machin-logo{
  position: absolute;
  width:550px;
  z-index: 11;
  top: calc(50% - 275px );
  left: calc(50% - 275px);
}
.mobileNav{
  display:none;
}
.left-wiew-wrapper{
  height: 100%;
  display: flex;
  justify-content: center;
  margin-right: 320px;
  flex-direction: column;
  align-items: flex-end;
}

.arrow-up{
  content:url("data:image/svg+xml,%3Csvg width='29' height='15' viewBox='0 0 29 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.1801 0.349976L14.2601 14.27L0.350054 0.349974' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E%0A");
  color:#E90002;
  text-align: center;
  width: 100%;
  height: 15px;
}
.arrow-down{
  content:url("data:image/svg+xml,%3Csvg width='29' height='15' viewBox='0 0 29 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.349976 14.62L14.27 0.699994L28.18 14.62' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E%0A");
  color:#E90002;
  text-align: center;
  width: 100%;
  height:15px;
}
.arrow-left{
  content:url("data:image/svg+xml,%3Csvg width='15' height='29' viewBox='0 0 15 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.349976 0.350006L14.27 14.27L0.349976 28.18' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E%0A");
  color:#E90002;
  text-align: center;
  top: 50% !important;
  z-index: 5;
  height:29px;
}
.arrow-right{
  content:url("data:image/svg+xml,%3Csvg width='15' height='29' viewBox='0 0 15 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6199 28.18L0.699874 14.26L14.6199 0.350023' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E%0A");
  color:#E90002;
  text-align: center;
  height: 100%;
  width:15px;
  z-index: 5;
  top: 20vh;

}

.box .manifesto-container {
display:flex;
  height:100%;
  width:100%;
  margin-left:350px;
  justify-content: center;
  flex-direction: column;
}
.box .manifesto-container p{
  color:#E90002;
  max-width:600px;
}


/*------ video grid -----*/

.view-wrapper{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width:1000px;
  height:100%;
  margin:auto;
}
.view-wrapper button, button{
  background-color: transparent;
  color:#E90002;
  border:2px solid transparent;
  text-transform: uppercase;
  padding:15px;
}
.view-wrapper button:hover, button:hover{
  border:2px solid #E90002;
}
.view-wrapper .video-grid{
  display:flex;
  flex-wrap: wrap;
  gap:15px;
  gap:15px;
  margin:25px 0;
  height:470px;
  overflow: scroll;
  justify-content: center;
}
.view-wrapper .video-grid .video-box{
  height:230px;
  width:300px;
}
.view-wrapper .video-grid .video-box p{
  color:#E90002;
}
.view-wrapper .video-grid .video-box .video{
  height:230px;
  width:300px;
  background-color:#0F0F0F;
  overflow: hidden;

}
.view-wrapper .video-grid .video-box .video .video-title{
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity:0;
  cursor: pointer;
  text-align: center;
}
.view-wrapper .video-grid .video-box .video .video-title:hover{
  opacity:1;
}
.view-wrapper .video-grid .video-box .video .videoFile{
  background-color: #0F0F0F;
}
.view-wrapper .video-grid .video-box .video .videoFile video{
  height:230px;
  width:300px;
  object-fit: cover;

}

.view-wrapper .video-grid .video-box .video .videoFile h1{
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;}
.view-wrapper .video-grid .video-box .video .active-video{
  position: fixed;
  top:0;
  left:0;
  bottom:0;
  right:0;
  display:flex;
  justify-content: center;
  align-items: center;
  z-index:10;
  background-color: #0F0F0F;
}
.view-wrapper .video-grid .video-box .video .active-video video{
  height:80vh;
  width:80vw;

}
.view-wrapper .video-grid .video-box .video .absoluteWrapper{
  position:relative;
  top:0;
  bottom:0;
  left:0;
  right:0;
}
.view-wrapper .video-grid .video-box .video .video-cover-img{
  height:230px;
  width:100%;
  object-fit: cover;
  cursor: pointer;
}
#directBtn.active-tab{
  border:1px solid #E90002;
}
.buttons button{
  width:100px;
}
#editBtn.active-tab{
  border:1px solid #E90002;
}
.closeVideo{
  display:none;
}
.bottom-view-wrapper{
  width:100%;
  height:100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bottom-view-wrapper p, .bottom-view-wrapper a{
  color:#E90002;
  text-align: center;
  text-decoration: none;
}
.bottom-view-wrapper .unlock-pswd{
  height:60px;
  width:400px;
  background-color: #E90002;
  display:flex;
  justify-content: center;
  align-items: center;
  margin-top:25px;
}
.bottom-view-wrapper .unlock-pswd p{
  color:#000000;
  text-transform: uppercase;
}
#passCode , #error, #success{
  display: none;
}
/*--- passcode css----*/
.flex-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 800px) {
  .flex-box {
    padding: 25px;
  }
}

.passcode-area {
  margin-top: 50px;
  text-align: center;
}
.passcode-area > input {
  background-color: #fff;
  border: 2px solid #d6d6d6;
  border-radius: 4px;
  padding: 0;
  margin: 25px 6px 0;
  width: 65px;
  height: 65px;
  text-align: center;
  font-size: 32px;
  line-height: 1.29;
  text-transform: uppercase;
  background-clip: padding-box;
}
.passcode-area > input:nth-child(3) {
  margin-right: 25px;
}
@media only screen and (max-width: 450px) {
  .passcode-area > input:nth-child(3) {
    margin-right: 6px;
  }
}
.passcode-area > input:focus {
  -webkit-appearance: none;
  border: 2px solid skyblue;
  outline: 0;
  box-shadow: 0px 0px 3px rgba(131,192,253,0.5);
}

.tab {
  display: none;
}

.active-tab {
  display: block;
}
.active-tab-btn{
  border:2px solid #E90002;
}
.home-footer{
  display:flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom:10px;
  left:15px;
  right:15px;
  z-index:6;
}
.home-footer p{
  color:#E90002;
  text-transform: uppercase;

}
.nav-wrapper{
  width:100%;
  height:100%;
  position:relative;
}
#how-to{
  cursor: pointer;
}
#how-to:hover{
  font-weight: 700;
}
#how-to-img{
  z-index: 15;
  position: fixed;
  top: calc(50% - 235px);
  left: calc(50% - 350px);
}
.reel-wrapper video{
  height:500px;
}
@media only screen and (max-width: 900px) {
  p{

    font-size: 12px;
  }
.nav{
  height:50vh;
}
  .mobileNav{
    display:block;
    width: 400px;
    position: absolute;
    height: 400px;
    margin: auto;
    top: calc(50% - 200px);
    left: calc(50% - 200px );
  }
  #logo{
    position: absolute;
    width:340px;
    z-index:1;
    top: calc(50% - 170px );
    left: calc(50% - 170px);
  }
  .nav .desktopNav#up-nav,.nav .desktopNav#down-nav,.nav .desktopNav#left-nav
  , .nav .desktopNav#right-nav{
    display:none !Important;
  }
  .reel-wrapper video{
    height:350px;
    width:350px;
  }
  .nav #up-nav{
    justify-content: flex-start;

  }
  .nav #down-nav{
    justify-content: flex-end;
    left: calc(100% - 15px);
    width: 21px;
height:21px;
  }
  .nav #right-nav{
   z-index: 5;

  }
  .nav #left-nav{
    align-items: flex-end;
    top:auto !Important;
z-index: 4;
    height:21px;
  }
  .view-wrapper{
    width:auto;
    justify-content: flex-end;
  }
  .view-wrapper .video-grid {
    width:95vw;
    height: calc(100vh - 75px);
    overflow: scroll;
gap:10px;
    justify-content: center;
margin:15px 0 0 0;
  }
  .view-wrapper .video-grid .video-box{
    height:auto;
width:100%;
  }
  .view-wrapper .video-grid .video-box .video{
    height:230px;
    width:100%;
  }
  .view-wrapper .video-grid .video-box .video .video-cover-img{
    height:230px;
    width:100%;
  }
  #up-nav{
    content:url("data:image/svg+xml, %3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.585388 20.505V0.819175L20.2642 0.826246' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E");
  }
  #down-nav{
content:url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0.494972V20.1808L0.321219 20.1738' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E");
  }
  #left-nav{
 content:url("data:image/svg+xml,%3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.505 20H0.819168L0.826239 0.321219' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E");
  }
  #right-nav{
 content:url("data:image/svg+xml, %3Csvg width='21' height='21' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.49498 0.585388H20.1808L20.1738 20.2642' stroke='%23E90002' stroke-miterlimit='10'/%3E%3C/svg%3E");
  }
  #logo.handleRight {
    left: -10px;
    top: 110%;
  }
  .arrow-up {
    display:none !Important;
transform: rotate(-180deg);
  }
.arrow-down{
  bottom: -40%;
  transform: rotate(-90deg);
  left:50% !Important;
}
  .arrow-right{
    transform: rotate(0deg);
    right: 50% !important;
    top: 50% !important;
    display:none !Important;
  }
  .arrow-left{
   display:none !important;
  }
  .box .manifesto-container{
    margin-left:20%;
    justify-content: flex-start;
    margin-top: 25px
  }
  .box .manifesto-container p{
    max-width: 230px;
    height: 560px;
    overflow: scroll;

  }
  .bottom-view-wrapper {
  width:auto;
  }
  .bottom-view-wrapper .unlock-pswd{
    width:300px;
  }
  .home-footer {
    align-items: center;
    position: absolute;
    bottom: 0px;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 15px;
  }
  #logo.handleBottom {
    top: -90%;
z-index: 6;
  }
  #logo.handleLeft {
    left:0px;
    top:110%;
  }
  #logo.handleTop{
  top: 110%;
    z-index:6;
}
  .left-wiew-wrapper{
    margin-right:0 !important;
  }
  .reel-wrapper{
    margin:auto;
  }


    .passcode-area > input {

      margin: 15px 0;
      width: 35px;
      height: 35px}

    .manifesto-container h1{
      font-size: 24px;
    }
    #top{
      z-index: 5;
    }
  #how-to-img {

    top: calc(50% - 100px);
    left: calc(50% - 150px);
  }
  #how-to-img img{
      width:300px;
    }
  .view-wrapper .video-grid .video-box .video .active-video video {
    height: 30vh;
    width: 90vw;
  }
  .arrow-down{
    display:none !Important;
  }
  .box{
    height:99vh;
  }
  .view-wrapper button, button{
    padding: 5px 15px;
  }
}

@media only screen and (max-width: 400px){
  .mobileNav {
    display: block;
    width: 300px;
    position: absolute;
    height: 300px;
    margin: auto;
    top: calc(50% - 150px);
    left: calc(50% - 150px );
  }
  .video-title.visible {
    opacity: 1 !Important;
  }
}
#menu-mobile-list{
display: inline-flex;
    position: fixed;
    background:#0F0F0F;
    z-index: 10;
    height: 320px;
  width:320px;
}
#menu-mobile-list>div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin:auto;
}

@media only screen and (max-width: 800px) {
  #mainViewPort{
    height:100vh;
  }
  @supports (-webkit-touch-callout: none) {
    #mainViewPort{
      height:calc(100vh - 6rem);
      background-color: red;
    }
    .box {
      height: calc(99vh - 6rem);
    }
    .view-wrapper .video-grid {
      height: calc(100vh - 14rem);
    }
    .home-footer{
      bottom:30%;
      z-index: 15;
    }
  }

}


/*--- big screens --- */
@media only screen and (min-width: 1700px)  {
  h1{
    font-size: 2rem;
  }
  .machin-logo{
    width:700px;
  }
  #logo {
    transition: all ease 0.5s;
    top: calc(50% - 350px );
    left: calc(50% - 350px );
  }
  #logo.handleRight {
    left: calc(0px - 400px );
  }
  .box .manifesto-container{
    margin-left:30rem;
  }
  .reel-wrapper video {
    height:60rem;
  }
  .view-wrapper .video-grid .video-box,.view-wrapper .video-grid .video-box .video{
    width:400px;
    height:400px;
  }
  .view-wrapper .video-grid .video-box .video .video-cover-img{
    height:400px;
  }
  .view-wrapper .video-grid{
    height:800px;
  }
  .view-wrapper {
  width:1500px;
  }
  }
