@import "https://fonts.googleapis.com/css?family=Dosis:300,400,500,600,700";
header:after, #timeline .timeline-item:after, header:before, #timeline .timeline-item:before {
    content: '';
    display: block;
    width: 100%;
    clear: both;
}
:root {
    --story-main-color: #ffdbee;
}

h1, h2, h3, h4 {
    font-family: "Dosis", arial, tahoma, verdana;
    font-weight: 500;
}
.project-name {
    text-align: center;
    padding: 10px 0;
}
header .logo > span {
    color: var(--story-main-color);
    font-weight: 300;
}
header .social {
    float: right;
}
header .social .btn {
    font-family: "Dosis";
    font-size: 14px;
    margin: 10px 5px;
}
#timeline {
    width: 100%;
    margin: 30px auto;
    position: relative;
    padding: 0 10px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
#timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: var(--story-main-color);
    left: 50%;
    top: 0;
    position: absolute;
}
#timeline:after {
    content: "";
    clear: both;
    display: table;
    width: 100%;
}
#timeline .timeline-item {
    margin-bottom: 50px;
    position: relative;
}
#timeline .timeline-item .timeline-icon {
    background: var(--story-main-color);
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 50%;
    overflow: hidden;
    margin-left: -30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}
#timeline .timeline-item .timeline-icon svg {
    position: relative;
    top: 14px;
    left: 14px;
}
#timeline .timeline-item .timeline-content {
    width: 45%;
    background: #fff;
    padding: 20px;
    -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#timeline .timeline-item .timeline-content h2 {
    padding: 15px;
    font-size: 24px;
    background: var(--story-main-color);
    color: #fff;
    margin: -20px -20px 0 -20px;
    font-weight: 300;
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}

#timeline .timeline-item .timeline-content:before {
    content: '';
    position: absolute;
    left: 45%;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid var(--story-main-color);
}
#timeline .timeline-item .timeline-content.right {
    float: right;
}
#timeline .timeline-item .timeline-content.right:before {
    content: '';
    right: 45%;
    left: inherit;
    border-left: 0;
    border-right: 7px solid var(--story-main-color);
}
.inline_icon{
    height: auto;
    width: 40px;
    padding-top: 10px;
}
.btn.btn-pink{
    text-decoration: none;
    border: 2px solid var(--env-inside-color);
    color: whitesmoke !important;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    transition: background 0.3s ease;
    -webkit-box-shadow: 2px 2px 0 var(--env-lid-color);
    -moz-box-shadow: 2px 2px 0 var(--env-lid-color);
    -ms-box-shadow: 2px 2px 0 var(--env-lid-color);
    box-shadow: 2px 2px 0 var(--env-lid-color);
}

.btn.btn-pink:hover{
    box-shadow: none;
    background: transparent;
    color: var(--env-inside-color) !important;
    top: 2px;
    left: 2px;
    -webkit-box-shadow: 2px 2px 0 transparent;
    -moz-box-shadow: 2px 2px 0 transparent;
    -ms-box-shadow: 2px 2px 0 transparent;
    box-shadow: 2px 2px 0 transparent;
}

#our-story-title {
    font-size: 13vmin;
    color: #7e7e7e;
}

@media screen and (max-width: 1000px) {
    #timeline {
        margin: 30px;
        padding: 0px;
        width: 90%;
    }
    #timeline:before {
        left: 0;
    }
    #timeline .timeline-item .timeline-content {
        width: 90%;
        float: right;
    }
    #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
        left: 10%;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid var(--story-main-color);
    }
    #timeline .timeline-item .timeline-icon {
        left: 0;
    }
}

.story-img {
    display: block;
    width: 100%;
}

#story-bg-1 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 20vh;
    background:url('/img/story/story1-1.jpg');
    animation: story-bg-1 30s linear infinite forwards;
}
#story-bg-3 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 30vh;
    background:url('/img/story/story3-1.jpg');
    animation: story-bg-3 45s linear infinite forwards;
}
#story-bg-4 {
    height: 40vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background:url('/img/story/story4-1.jpg');
    animation: story-bg-4 60s linear infinite forwards;
}

@keyframes story-bg-1 {
    0%, 100% {
        background:url('/img/story/story1-1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    40% {
        background:url('/img/story/story1-1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    50% {
        background:url('/img/story/story1-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    90% {
        background:url('/img/story/story1-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
  }

  @keyframes story-bg-3 {
    0%, 100% {
        background:url('/img/story/story3-1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    16% {
        background:url('/img/story/story3-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }
    32% {
        background:url('/img/story/story3-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    50% {
        background:url('/img/story/story3-3.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }
    66% {
        background:url('/img/story/story3-3.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    83% {
        background:url('/img/story/story3-1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
  }

  @keyframes story-bg-4 {
    0%, 100% {
        background:url('/img/story/story4-1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    12% {
        background:url('/img/story/story4-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }
    25% {
        background:url('/img/story/story4-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }
    37% {
        background:url('/img/story/story4-3.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    50% {
        background:url('/img/story/story4-3.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    63% {
        background:url('/img/story/story4-4.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }
    75% {
        background:url('/img/story/story4-4.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }
    88% {
        background:url('/img/story/story4-1.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
  }