* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
    overflow-x: hidden;
}

.buttons-container {
    position: absolute;
    top: 10vh;
    left: 5vw;
    z-index: 2;
}

h4 {
    margin-bottom: .5rem;
}

.inner {
    margin-bottom: 2rem;
    display: flex;
}

button {
    background-color: #e9e9e9;
    box-shadow: inset 0px 4px 8px #e2e2e2;
    border: #fdfdfd 2px solid;
    color: #555;
    /* background-color: #777;
    box-shadow: inset -4px 4px 8px #666;
    border: #555 2px solid; 
    color: #f5f5f5;*/
    height: 3rem;
    width: 3rem;
    border-radius: 4rem;
    transition: .3s linear;
    cursor: pointer;
    /* margin-right: 5vw;
    margin-left: 5vw; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: .5rem;
    cursor: pointer;
}

button:hover {
    box-shadow: inset 0px 4px 8px #d2d2d2;
    /* box-shadow: inset -4px 4px 8px #555; */
  }

  .active {
    box-shadow: inset 0px 4px 8px #b2b2b2 !important;
  }

  .film-container {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    transition: .3s linear;
}

.films {
    width: 100vw;
    overflow: hidden;
}

#position-video {
    border-right: .25rem solid #555;
}

#position {
    top: 0;
    left: 0;
}

#position.position-only {
    width: 100%;
}

#momentum.position-only {
    transform: translateX(50vw);
}

#momentum {
    top: 0;
    left: 50vw;
}

.film-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: #FC4120;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  