@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,300");
@import url("https://fonts.googleapis.com/css?family=Arimo:400,700");

html {
    background-color: #fff;
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    min-width: 300px;
    overflow-x: hidden;
    /*overflow-y: scroll;*/
    text-rendering: optimizeLegibility;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.video-cell {
    float: left;
    display: block;
    position: relative;
    /*padding: 10px;*/
    /*overflow: hidden;*/
}

.video-animation {
    transition: width 0.6s, transform 0.6s;
    -moz-transition: width 0.6s, -moz-transform 0.6s;
    -webkit-transition: width 0.6s, -webkit-transform 0.6s;
    -o-transition: width 0.6s, -o-transform 0.6s;

}

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

/*#add-cell {*/
/*    position: fixed;*/
/*    right: 10px;*/
/*    top: 50px;*/
/*    z-index: 2;*/
/*}*/

.video-panel {
    position: relative;
}

.back-video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.right-bottom-panel {
    position: fixed;
    right: 30px;
    bottom: 20px;
    width: 300px;
    height: 100px;
    z-index: 1;
}

.right-bottom-panel img {
    width: 100%;
}

.videos-panel {
    position: relative;
}

.videos-panel .left-video-panel {
    width: 20%;
    float: left;
}

.videos-panel .right-video-panel {
    width: 80%;
    float: left;
}

.videos-panel .side-video-cell {
    padding: 10px;
}

.videos-panel .side-video-cell video {
    width: 100%;
    height: auto;
    border: 2px solid #ffffff;
}


/*===============================  animations for each video  ===============================*/

.animation_first_item {
    width: 556px;
    height: 130px;
    position: absolute;
    left: 160px;
    bottom: 180px;
    overflow: hidden;
}

.animation_first_item:after {
    content: "";
    width: 556px;
    height: 130px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #ff5126 url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/2933/name.svg) no-repeat center center;
}

.animation_second_item {
  width: 50%;
  height: 20%;
  position: absolute;
  left: 20px;
  bottom: 20px;
  overflow: hidden;
  -webkit-transform-origin: right;
  transform-origin: right;
  float: left;
}

.animation_second_item:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6) url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/2933/title.svg) no-repeat center center;
  background-size: contain;}

.run-animation #bug {
    opacity: 0;
    -webkit-animation: bug 6s ease forwards;
    animation: bug 6s ease forwards;
}

.run-animation .animation_first_item {
    width: 0;
    -webkit-animation: animation_first_item 6s ease forwards;
    animation: animation_first_item 6s ease forwards;
}

.run-animation .animation_second_item {
    width: 0;
    -webkit-animation: animation_second_item 5.5s 0.5s ease forwards;
    animation: animation_second_item 5.5s 0.5s ease forwards;
}

@-webkit-keyframes bug {
    0%,
    2%,
    100% {
        opacity: 0;
    }
    20%,
    80% {
        opacity: 0.4;
    }
}

@keyframes bug {
    0%,
    2%,
    100% {
        opacity: 0;
    }
    20%,
    80% {
        opacity: 0.4;
    }
}

@-webkit-keyframes animation_first_item {
    0% {
        width: 0px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        float: right;
    }
    2% {
        width: 0px;
    }
    8% {
        width: 556px;
    }
    95% {
        width: 556px;
        float: right;
    }
    100% {
        width: 0;
        -webkit-transform: translateX(50px);
        transform: translateX(50px);
    }
}

@keyframes animation_first_item {
    0% {
        width: 0px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        float: right;
    }
    2% {
        width: 0px;
    }
    8% {
        width: 556px;
    }
    95% {
        width: 556px;
        float: right;
    }
    100% {
        width: 0;
        -webkit-transform: translateX(50px);
        transform: translateX(50px);
    }
}

@-webkit-keyframes animation_second_item {
    0% {
        width: 0px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    2% {
        width: 0px;
    }
    12% {
        width: 70%;
    }
    95% {
        width: 70%;
    }
    100% {
        width: 0;
        -webkit-transform: translateX(30%);
        transform: translateX(30%);
    }
}

@keyframes animation_second_item {
    0% {
        width: 0px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    2% {
        width: 0px;
    }
    12% {
        width: 70%;
    }
    95% {
        width: 70%;
    }
    100% {
        width: 0;
        -webkit-transform: translateX(30%);
        transform: translateX(30%);
    }
}


/*================================== end  animations for each video ==========================*/

/* effect-1 */
.effect-1 {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    color: #111111;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    transform-origin: left top;
}

.effect-1 h1 {
    font-weight: 700;
    font-size: 6rem;
    letter-spacing: 0.2rem;
    margin: 0;
}

.effect-1 .muted-text {
    color: rgba(0, 0, 0, 0.3);
}

.effect-1 .visible-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.effect-1 .visible-text > span {
    opacity: 0;
    display: inline-block;
}

@media only screen and (max-width: 1000px) {
    .effect-1 h1 {
        font-size: 4rem;
    }
}

/* effect-2 */
.effect-2 {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    line-height: 1;
    left: 0;
    top: 150px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*********************
    * Animation 1
    *********************/
    /*********************
    * Animation 2
    *********************/
    /*********************
    * Animation 3
    *********************/
    /*********************
    * Animation 4
    *********************/
    /*********************
    * Animation 5
    *********************/
}

.effect-2 .animation {
    width: 14em;
    height: 4em;
    margin: 1em auto;
    position: absolute;
    display: none;
}

.effect-2 .arimo {
    font-family: Arimo;
}

.effect-2 .red {
    color: #cf4c4e;
}

.effect-2 .white {
    color: white;
}

.effect-2 .light {
    font-weight: 300;
}

.effect-2 .bold {
    font-weight: 700;
}

.effect-2 .mask {
    overflow: hidden;
    position: relative;
}

@keyframes animation-1-slash {
    0% {
        opacity: 0;
        transform: translate3d(6em, 0, 0);
    }
    25% {
        opacity: 0;
        transform: translate3d(6em, 0, 0);
    }
    45% {
        opacity: 1;
    }
    50% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-1-text-1 {
    0% {
        left: -100%;
    }
    45% {
        left: -100%;
    }
    65% {
        left: 0;
    }
}

@keyframes animation-1-text-2 {
    0% {
        left: -100%;
    }
    55% {
        left: -100%;
    }
    75% {
        left: 0;
    }
}

.effect-2 .animation-1 div {
    position: absolute;
}

.effect-2 .animation-1 > div:first-child {
    font-size: 3em;
    top: -0.13em;
    animation: 4s cubic-bezier(0.19, 0.76, 0.32, 1) infinite alternate both animation-1-slash;
}

.effect-2 .animation-1 > div:nth-child(2), .effect-2 .animation-1 > div:nth-child(3) {
    font-size: 1.5em;
    height: 1em;
    width: 5em;
}

.effect-2 .animation-1 > div:nth-child(2) div, .effect-2 .animation-1 > div:nth-child(3) div {
    animation: 4s cubic-bezier(0.19, 0.76, 0.32, 1) infinite alternate both;
}

.effect-2 .animation-1 div:nth-child(2) {
    top: 0;
    left: 0.9em;
}

.effect-2 .animation-1 div:nth-child(2) div {
    animation-name: animation-1-text-1;
}

.effect-2 .animation-1 div:nth-child(3) {
    top: 0.8em;
    left: 0.5em;
}

.effect-2 .animation-1 div:nth-child(3) div {
    animation-name: animation-1-text-2;
}

@keyframes animation-2-name {
    0% {
        transform: translate3d(0, 100%, 0);
    }
    30% {
        transform: translate3d(0, 100%, 0);
    }
    60% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-2-title {
    0% {
        transform: translate3d(0, -100%, 0);
    }
    30% {
        transform: translate3d(0, -100%, 0);
    }
    60% {
        transform: translate3d(0, 0, 0);
    }
}

.effect-2 .animation-2 {
    text-align: center;
}

.effect-2 .animation-2 > div {
    width: 100%;
    height: 1em;
}

.effect-2 .animation-2 > div div {
    position: absolute;
    width: 100%;
}

.effect-2 .animation-2 > div:first-child {
    font-size: 1.8em;
}

.effect-2 .animation-2 > div:first-child div {
    animation: 3s ease-out infinite alternate both animation-2-name;
}

.effect-2 .animation-2 > div:last-child {
    font-size: 1.1em;
}

.effect-2 .animation-2 > div:last-child div {
    animation: 3s ease-out infinite alternate both animation-2-title;
}

@keyframes animation-3-left {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    30% {
        transform: translate3d(100%, 0, 0);
    }
    60% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-3-right {
    0% {
        transform: translate3d(-100%, 0, 0);
    }
    30% {
        transform: translate3d(-100%, 0, 0);
    }
    60% {
        transform: translate3d(0, 0, 0);
    }
}

.effect-2 .animation-3 > div {
    display: inline-block;
    width: 50%;
    height: 1em;
}

.effect-2 .animation-3 > div:first-child {
    font-size: 1.4em;
    text-align: right;
    letter-spacing: 1px;
}

.effect-2 .animation-3 > div:first-child div {
    animation: 3.2s ease-out infinite alternate both animation-3-left;
}

.effect-2 .animation-3 > div:last-child {
    font-size: 1.5em;
    line-height: 1.15;
    letter-spacing: -1px;
}

.effect-2 .animation-3 > div:last-child div {
    animation: 3.2s ease-out infinite alternate both animation-3-right;
}

@keyframes animation-4-stroke {
    0% {
        transform: translate3d(0, -100%, 0);
    }
    30% {
        transform: translate3d(0, -100%, 0);
    }
    60% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-4-text {
    0% {
        transform: translate3d(0, -100%, 0);
    }
    50% {
        transform: translate3d(0, -100%, 0);
    }
    80% {
        transform: translate3d(0, 0, 0);
    }
}

.effect-2 .animation-4 > div {
    display: inline-block;
    vertical-align: middle;
}

.effect-2 .animation-4 > div div {
    animation: 3s ease-out infinite alternate both;
}

.effect-2 .animation-4 > div:first-child {
    font-size: 1.8em;
}

.effect-2 .animation-4 > div:first-child div {
    animation-name: animation-4-text;
}

.effect-2 .animation-4 > div:last-child div {
    width: 0.38em;
    height: 1.4em;
    background-color: #cf4c4e;
    animation-name: animation-4-stroke;
}

@keyframes animation-5-bottom-right {
    0% {
        transform: translate3d(-100%, 96%, 0);
    }
    8% {
        transform: translate3d(-100%, 96%, 0);
    }
    30% {
        transform: translate3d(0, 96%, 0);
    }
    38% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-5-top {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    38% {
        transform: translate3d(100%, 0, 0);
    }
    58% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-5-bottom-left {
    0% {
        transform: translate3d(-98%, -100%, 0);
    }
    58% {
        transform: translate3d(-98%, -100%, 0);
    }
    64% {
        transform: translate3d(-98%, 0, 0);
    }
    84% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-5-text-name {
    0% {
        transform: translate3d(0, 100%, 0);
    }
    25% {
        transform: translate3d(0, 100%, 0);
    }
    45% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animation-5-text-title {
    0% {
        transform: translate3d(0, -100%, 0);
    }
    35% {
        transform: translate3d(0, -100%, 0);
    }
    55% {
        transform: translate3d(0, 0, 0);
    }
}

.effect-2 .animation-5 {
    text-align: center;
    height: 2.5em;
}

.effect-2 .animation-5 svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.effect-2 .animation-5 line {
    stroke-width: 4px;
    stroke: #cf4c4e;
}

.effect-2 .animation-5 div,
.effect-2 .animation-5 .clip-path {
    animation: 3.1s ease-out infinite alternate both;
}

.effect-2 .animation-5 .bottom-right,
.effect-2 .animation-5 .right {
    clip-path: url(#mask-bottom-right);
}

.effect-2 .animation-5 .top {
    clip-path: url(#mask-top);
}

.effect-2 .animation-5 .bottom-left,
.effect-2 .animation-5 .left {
    clip-path: url(#mask-bottom-left);
}

.effect-2 .animation-5 #mask-bottom-right > .clip-path {
    animation-name: animation-5-bottom-right;
}

.effect-2 .animation-5 #mask-top > .clip-path {
    animation-name: animation-5-top;
}

.effect-2 .animation-5 #mask-bottom-left > .clip-path {
    animation-name: animation-5-bottom-left;
}

.effect-2 .animation-5 > div:nth-child(2) {
    font-size: 1.5em;
    padding-top: 0.4em;
}

.effect-2 .animation-5 > div:nth-child(2) div {
    animation-name: animation-5-text-name;
}

.effect-2 .animation-5 > div:nth-child(3) {
    font-size: 0.9em;
    letter-spacing: 0.7px;
    margin-top: 0.2em;
}

.effect-2 .animation-5 > div:nth-child(3) div {
    animation-name: animation-5-text-title;
}

/*# sourceMappingURL=style.css.map */
