/* ==========================================================================

  levis.css
  
/* ========================================================================= */



/*-------------------------------- Animations ------------------------------*/

/* This page uses:
 *  - Scrollmagic, https://daneden.github.io/animate.css/
 *  - Animate CSS, which comes with a series of built-in css animations. 
 *    Reference: https://daneden.github.io/animate.css/
 * Note that links to both frameworks are included in the page header.
 *  
 */
 
.faded {  
    opacity: 0;
}

.invisible {
    visibility: hidden;
}

.paralax-bg {
    background-attachment: fixed;
}

/*----------------------------------- Colors ------------------------------*/ 

  
  
  
  
  

/*----------------------------------- Library  -----------------------------*/
.img-styled {
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    border-radius: 4px;
    margin: 0 auto 60px;
}

/*----------------------------------- Intro ------------------------------*/ 

.title-container {
  display: flex;
  width: 100%;
  justify-content: center;  
  background-image: linear-gradient(to right,rgba(171,28,28,0) 0%,rgba(171,28,28,0.9) 50%,rgba(171,28,28,0.90) 70%,rgba(171,28,28,0) 100%),url("https://www.bitovi.com/hubfs/levis-casestudy/levis-bg.png"),url("https://www.bitovi.com/hubfs/levis-casestudy/levis-bg-2.png");
  background-repeat: no-repeat,no-repeat,no-repeat;
  background-position: left top,center left,bottom right;
  background-size: 100% 100%, auto 100%, auto 65%;
  background-attachment: absolute;
  color: #fff;
  overflow: hidden;
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #ab1c1c;
}

.title-intro {
  display: flex;
  width: 100%;
  max-width: 970px;
  padding-top: 80px;
}


.title-intro h1 {
  font-size: 6em;
  font-weight: 200;
  margin: 0;
  color: #FFF;
}
.title-intro h2 {
  margin: 0;
  margin-top: 40px;
  line-height: 1.5em;
  color: #FFF;
}
.title-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
  padding-right: 40px;
}
.title-img {
  display: flex;  
  flex-shrink: 0;
  width: 100%;
  max-width: 260px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 20px rgba(0,0,0,0.2);  
}
.title-img img {
  width: 100%;
  height: 100%;
}

@media ( max-width: 992px ) {
   .title-img {
       display: none;
   } 
}
@media ( max-width: 768px ) {
    .title-container {
        background-image: linear-gradient(to right,rgba(171,28,28,0) 20%,rgba(171,28,28,1) 100%),url("https://www.bitovi.com/hubfs/levis-casestudy/levis-bg.png");
        background-repeat: no-repeat, no-repeat;
        background-position: top left, center center;
        background-size: auto auto, cover;
    }
    .title-intro h1 {
        font-size: 3.2em;
    }
    .title-intro h2 {
        font-size: 1.4em;
        margin-top: 10px;
    }
}
/*----------------------------------- Page Rows ------------------------------*/ 

.row-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
}
.row-container h3 {
  margin: 0;
  margin-bottom: 40px;
}
.row-container h4 {
  margin: 0;
  margin-bottom: 40px;
  line-height: 1.6em;
  font-weight: 400;
}
.row-container p {
  margin-bottom: 40px;
}
.row-container p:last-child {
  margin-bottom: 0;
}
.dash-bg {
  position: relative;
}
.dash-bg:before {
  content: '';
  position: absolute;
  background: #000;
  top: 0;
  right: 40%;
  width: 100%;
  height: 70px;
  z-index: -9999;
  transform: rotate(-35deg);
}
.dash-bg:after {
  content: '';
  position: absolute;
  background: #ab1c1c;
  bottom: 0;
  left: 40%;
  width: 100%;
  height: 70px;
  z-index: -9999;
  transform: rotate(-35deg);
}
.row-bg {
  display: flex;
  flex-direction: column;  
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  z-index: -9;
}
.row-bg img {
  width: 100%;
  height: auto;
  filter: blur(40px);
  opacity: 0.5;
  transform: scale(1.2);
}
.row-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 970px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.row-dark {
  color: #fff;
}
.row-dark img {
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.row-split {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}
.row-body .row-content {
  display: flex;
  flex-direction: column;
  max-width: 60%;
  flex-basis: 60%;
  padding-right: 80px;
}
.row-body .row-img {
  display: flex;
  flex-direction: column;
  max-width: 40%;
  flex-basis: 40%;
  align-items: flex-end;
  justify-content: center;
}
.row-body .row-img img {
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  max-width: 280px;
}

@media ( max-width: 768px ) {
    .row-split {
        flex-direction: column;
    }
    .row-body .row-content {
        max-width: 100%;
        flex-basis: 100%;
        padding-right: 0
    }
    .row-body .row-img {
        max-width: 100%;
        align-items: center;
        margin-top: 40px;
    }
}
@media ( max-width: 480px ) {
    .row-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/*------------------------------ Colored Backgrounds ------------------------------*/
.gray-bg {
  background: #f2f2f2;
}
.primary-bg {
  background: #ab1c1c;
  color: #fff;
}
.primary-bg h3,
.row-dark h4 {
   color: #fff; 
}
.gradient-bg {
  background: #f2f2f2;
  background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
}


/*------------------------------ Product Images ------------------------------*/
.product-images-container {
    display: flex;
    margin: 50px 0;
}

.product-images-container .product-images--levis,
.product-images-container .product-images--dockers {
    position: relative;
}

.product-images-container .product-images--levis .product-image {
    padding-left: 50px;
    padding-right: 50px;
}

.product-images-container .product-images--dockers .product-image {
    padding-top: 50px;
    padding-right: 50px;
}

.product-images-container .logo {
    padding: 20px;
    position: absolute;
    background: white;
}

.product-images-container .logo-levis {
    width: 130px;
    bottom: 35px;
    left: 0;
}

.product-images-container .logo-dockers {
    width: 137px;
    right: 0;
    bottom: -36px;

}

@media screen and (max-width: 481px) {
    .product-images-container {
        flex-direction: column;
        align-items: center;
    }
    .product-images-container .product-images--levis .product-image, 
    .product-images-container .product-images--dockers .product-image {
        padding: 0;
    }
    .product-images-container .product-images--levis {
        margin-bottom: 50px;
    }
    .product-images-container .logo-levis,
    .product-images-container .logo-dockers {
        bottom: 0;
    }
    
}

#levis-product,
#dockers-product {
    animation-duration: 1.5s;
}

#dockers-product {
    animation-delay: 0.5s;
}

/*------------------------------ Values Logos ------------------------------*/

p.logos { /*depreciated */
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}
p.logos img { /*depreciated */
  max-height: 70px;
  width: auto;
}

.values-logos {
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto; 
  align-items: center;
  margin-bottom: 20px;
}
.values-logos img {
  max-height: 70px;
  width: auto;
}

@media ( max-width: 768px ) {
    .values-logos {
        flex-direction: column;
    }
}

/*------------------------------ Open Source Quote ------------------------*/

.open-source-quote {
    background-image: url("https://www.bitovi.com/hubfs/levis-casestudy/levis-open-source.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.open-source-quote blockquote {
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 0;
    color: white;
    font-size: 26px;
}

/*----------------------------- Flow --------------------------------------*/ 

.flow {
    display: flex;
    flex-wrap: wrap;
    font-size: 22px;
}
.flow .column {
    width: 50%;
    display: flex;
    flex-direction: column;
}
.flow .row {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.flow .box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 80px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 20px 30px;
    text-align: center;
    line-height: 1.5;
    visibility: visible;
}
.flow .box--header {
    border-bottom: 2px solid #a8a8a8;
}

.flow .box--arrow:after {
    position: absolute;
    right: calc(50% - 15px);
    bottom: -15px;
    content: "";
    border-style: solid;
    display: block;
    height: 0;
    width: 0;
    border-width: 15px 15px 0 15px;
}
.flow .box--double {
    min-height: 190px;
}


/* step 1 */
.flow .box--step1 {
    background-color: #a8a8a8;
    color: #fff;
}
.flow .box--step1.box--arrow:after {
    border-color: #a8a8a8 transparent;
}


/* step 2 */
.flow .box--step2 {
    background-color: #e4e4e4;
}
.flow .box--step2.box--arrow:after {
    border-color: #e4e4e4 transparent;
}


/* step 3 */
.flow .box--step3 {
    background-color: #333;
    color: #fff;
}
.flow .box--step3.box--arrow:after {
    border-color: #333 transparent;
}


/* step 4 */
.flow .box--step4 {
    background-color: #ab1c1c;
    color: #fff;
}
.flow .box--step4.box--arrow:after {
    border-color: #ab1c1c transparent;
}


/* step 5 */
.flow .box--step5 {
    background-color: #fff;
    border: 2px solid #ab1c1c;
    color: #ab1c1c;
}

@media ( max-width: 768px ) {
    .flow {
        font-size: 18px;
    }
}
@media ( max-width: 480px ) {
    .flow .column {
        width: 100%;
    }
    .flow .box--arrow.mobile-box:after {
        display: none;
    }
}

/* Animation */

.animate-box {
    animation-duration: 1.5s;
}

.animate-box.show-box-1 {
    animation-delay: 0.2s;
}
.animate-box.show-box-2 {
    animation-delay: 0.5s;
}
.animate-box.show-box-3 {
    animation-delay: 0.9s;
}
.animate-box.show-box-4 {
    animation-delay: 1.2s;
}
.animate-box.show-box-5 {
    animation-delay: 1.5s;
}
.animate-box.show-box-6 {
    animation-delay: 1.9s;
}
.animate-box.show-box-7 {
    animation-delay: 2.1s;
}
.animate-box.show-box-8 {
    animation-delay: 2.4s;
}
.animate-box.show-box-9 {
    animation-delay: 2.8s;
}
.animate-box.show-box-10 {
    animation-delay: 3s;
}
.animate-last-box {
    animation-delay: 3.2s;
}

/*---------------------------- Team with Levi's Sign  ----------------------*/

.levis-sign {
    background-image: url("https://www.bitovi.com/hubfs/levis-casestudy/levis-3-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*---------------------------- Levi's Mobile Images -------------------------*/
.levis-mobile-images {
    margin-top: 100px;
    position: relative;
}
.levis-mobile-images img {
    position: absolute;
}

.levis-mobile-images .levis-mobile-1 {
    top: 0;
    right: 0;
}
.levis-mobile-images .levis-mobile-2 {
    top: 100px;
    right: 40px;
    z-index: 1;
}
.levis-mobile-images .levis-mobile-3 {
    top: 200px;
    right: 80px;
    z-index: 2;
}
.levis-mobile-images .levis-mobile-4 {
    top: 300px;
    right: -40px;
    z-index: 3;
}

.levis-mobile {
    animation-duration: 2s;
}

.levis-mobile-2 {
    animation-delay: 1s;
}
.levis-mobile-3 {
    animation-delay: 2s;
}
.levis-mobile-4 {
    animation-delay: 3s;
}

@media screen and (max-width: 481px) {
    .levis-mobile-images img {
        position: initial;
        margin-bottom: 40px;
    }
}

/*---------------------------- Click N Collect Map --------------------------*/

.levis-map {
    background-image: url("https://www.bitovi.com/hubfs/levis-casestudy/levis-map.jpg");
    background-color: #ab1c1c;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


/*---------------------------- Stripped Background --------------------------*/

.stripped-bg {
    background: repeating-linear-gradient(-45deg, #333, #333 100px, #fff 100px, #fff 1200px); 
    box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.18);
    background-attachment: fixed;
}
.overlay-bg {
    background: rgba(255, 255, 255, 0.8);
    opacity: 1.5;
    padding: 80px 40px;
}
@media ( max-width: 1200px ) {
    .stripped-bg {
        background: none;
    }
}

.levis-styleguide-container {
    position: relative;
    margin-bottom: 40px;
}
.levis-styleguide-container .levis-style-guide-code {
    position: absolute;
    top: 35%;
    width: 66%;
    right: -5%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/*---------------------------- Web Container ------------------------------*/
p.web-container {
  position: relative;
}
p.web-container img {
  border-radius: 4px;
  width: 100%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);  
}
p.web-container .top-image {
  position: absolute;
  right: -5%;
  bottom: 10%;
  width: 50%;
  height: auto;
}
p.image-container {
  display: flex;
  flex-direction: column;
  align-self: center;
  max-width: 600px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}
.bottom-line {
  border-bottom: 2px solid rgba(0,0,0,0.1);
  
/*--------------------- Media Queries ------------------------------*/ 

@media screen and (max-width: 768px) {
  .row-split {
    flex-direction: column;
  }
  .row-body .row-content {
    flex-basis: 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .row-body .row-img {
    flex-basis: 100%;
    max-width: 100%;
    align-items: center;
    margin-top: 40px;
  }
}

