body {
    background-color: #ffffff;
}

.text-gray {
    color: #999;
}

*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0 100px;
    background-image: linear-gradient(to left, #0000007a, #000000),url(../images/circuit/circuit-banner.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: right;
    background-color: black;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.banner .content {
    max-width: 50%;
    padding: 45px 0;
}

.btn-darkness {
    color: #4f4f4f;
    background-color: #ededed00;
    border-color: #090909;
    border-radius: 9px;
    border-bottom: solid 4px;
}

.btn-darkness:hover {
    color: #4f4f4f;
    background-color: rgba(237, 237, 237, 0.15);
    border-color: #090909;
    transition: .1s border-bottom ease;
    border-bottom: solid 1px;
}

.banner .content h2{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 2.5em;
    letter-spacing: 0.1em;
    color: #fff;
}

.banner .content h2 span {
    font-weight: 800;
}

.play {
    position: relative;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 1.2em;
}

.play img {
    margin-right: 10px;
    max-width: 50px;
}

.sci {
    position: absolute;
    display: flex;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sci li {
    list-style: none;
}

.sci li a {
    text-decoration: none;
}

.sci li a img{
    filter: invert(1);
    transform: scale(0.6);
}

.slide {
    position: absolute;
    bottom: 50px;
    left: calc(50% - 250px / 2);
    width: 250px;
    height: 150px;
    background: url(../test/20190826866898.jpg);
    background-size: cover;
    cursor: pointer;
    animation: animate 25s linear infinite;
}

@keyframes animate {
    0%,100% {
        background-position: top;
    }
    45%,55% {
        background-position: bottom;
    }
}

.trailer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}

.btn-container {
    margin-top: 15px;
}

.trailer.active {
    visibility: visible;
    opacity: 1;
}

.trailer video {
    max-width: 900px;
    outline:  none;
}

.trailer .close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    filter: invert(1);
    max-width: 32px;
}

.media-icon {
    font-size: 30px;
    color: #ffffff;
    padding: 11px;
}

.media-icon:hover {
    color: #f8f8f8;
}


/* Timeline Part */
.main-timeline{
    font-family: 'Poppins', sans-serif;
    position: relative;
}
.main-timeline:before{
    content: '';
    width: 5px;
    height: 100%;
    border-left: 5px dashed #fff;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 1;
}
.main-timeline:after{
    content: '';
    display: block;
    clear: both;
}
.main-timeline .timeline{
    width: calc(50% + 25px);
    padding: 0;
    margin: 0 0 0 50px;
    float: right;
    position: relative;
}
.main-timeline .timeline-content{
    color: #6c6c6c;
    padding: 15px 60px 15px 75px;
    border-top: 3px solid #2e2e2e;
    display: block;
    position: relative;
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after{
    content: '';
    background: linear-gradient(to bottom, #2e2e2e,#2e2e2e);
    height: 100%;
    width: 50px;
    position: absolute;
    left: 0;
    top: 0;
}
.main-timeline .timeline-content:after{
    background: #2e2e2e;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    left: auto;
    right: 0;
    top: -6px;
}
.main-timeline .timeline-icon{
    color: #414141;
    font-size: 40px;
    text-shadow: 0 0 5px rgba(0,0,0,0.1);
    position: absolute;
    top: 20px;
    right: 0;
}
.main-timeline .title{
    color: #dd2424;
    font-family: Rajdhani, sans-serif;
    font-size: 23px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}
.main-timeline .description{
    font-size: 14px;
    letter-spacing: 1px;
    text-align: justify;
    color: black;
    margin: 0;
}
.main-timeline .timeline:nth-child(even){
    margin: 0 50px 0 0;
    float: left;
}
.main-timeline .timeline:nth-child(even) .timeline-content{ padding: 15px 70px 15px 60px; }
.main-timeline .timeline:nth-child(even) .timeline-content:before{
    left: auto;
    right: 0;
}
.main-timeline .timeline:nth-child(even) .timeline-content:after{
    right: auto;
    left: 0;
}
.main-timeline .timeline:nth-child(even) .timeline-icon{
    right: auto;
    left: 0;
}
.main-timeline .timeline:nth-child(4n+2) .timeline-content:before{
    background: linear-gradient(to bottom,#2e2e2e,#2e2e2e);
}
.main-timeline .timeline:nth-child(4n+2) .title{ color: #dd2424; }
.main-timeline .timeline:nth-child(4n+3) .timeline-content:before{
    background: linear-gradient(to bottom,#2e2e2e,#2e2e2e);
}
.main-timeline .timeline:nth-child(4n+3) .title{ color: #dd2424; }
.main-timeline .timeline:nth-child(4n+4) .timeline-content:before{
    background: linear-gradient(to bottom,#2e2e2e,#2e2e2e);
}
.main-timeline .timeline:nth-child(4n+4) .title{ color: #dd2424; }
@media screen and (max-width:767px){
    .main-timeline:before{
        transform: translateX(0);
        left: 22px;
    }
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(even) .timeline-content{
        padding: 15px 60px 15px 70px;
    }
    .main-timeline .timeline:nth-child(even) .timeline-content:before{
        right: auto;
        left: 0;
    }
    .main-timeline .timeline:nth-child(even) .timeline-content:after{
        right: 0;
        left: auto;
    }
    .main-timeline .timeline:nth-child(even) .timeline-icon{
        left: auto;
        right: 0;
    }
}
@media screen and (max-width:567px){
    .main-timeline .title{ font-size: 18px; }
}

/* Timeline Part */



@media (max-width: 991px) {

    .banner {
        padding: 100px 50px;
    }
    .banner .content h2 {
        font-weight: 400;
        font-size: 2em;
        letter-spacing: 0.05em;
    }
    .banner .content p {
        font-size: 1em;
    }
    .slide {
        position: relative;
        bottom: initial;
        left: 0;
        width: 250px;
        height: 150px;
        margin: 20px 0;
    }

    .sci {
        position: absolute;
        top: initial;
        right: initial;
        margin-top: 40px;
        transform: translateY(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .sci li {
        list-style: none;
        margin: 0 5px;
    }

    .trailer video {
        max-width: 90%;
        outline: none;
    }
}