@font-face {
  font-family: 'laliqueregular';
  src: url('../fonts/lalique-webfont.woff2') format('woff2'),
       url('../fonts/lalique-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

body,
main {
  background-color: #212529;
}

h1 {
  font-family: 'laliqueregular';
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    font-size: 4vw;
    display:block;
    background: red;
    background: -webkit-linear-gradient(left, orange , yellow, green, cyan, blue, violet);
    background: -o-linear-gradient(right, orange, yellow, green, cyan, blue, violet);
    background: -moz-linear-gradient(right, orange, yellow, green, cyan, blue, violet);
    background: linear-gradient(to right, orange , yellow, green, cyan, blue, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: .1em;
}

.fs-5 {
  font-size: 2rem!important;
}

#bear-carousels h2 {
  position: absolute;
  z-index: 2;
  text-align: center;
  padding:6px 0 0 20px;
  font-size: 1rem;
}

#bear-preview {
  position: relative;
  /* padding: 16px 0 0 16px; */
  margin: 16px 0 0 0;
}

#bear-preview .card {
  width: 100%;
  position: absolute;
  top: 0;
  border:0;
}

#bear-preview .card.hidden img {
  opacity: 0;
}

#bear-preview .card img {
  width:100%;
  height:auto;
}

.carousel-item.active > div:first-child {
  border:1px solid white;
  border-radius:3px;
}

#bear-preview .card {
  background-color:transparent;
}

.save-my-bear {
  margin:16px 0 0 0;
}

.save-my-bear .btn {
  width:100%;
}

#bear-carousels .form-check {
  position: absolute;
    z-index: 3;
    margin: 30px 0 0 60px;
    padding: 0;
}

.carousel-item .card {
  background-color:#363d43;
}

#finishedBear,
#finishedBearTall {
  width:100%;
  height:auto;
}

.carousel.slide.off {
  opacity:35%;
}

.carousel.slide.off .carousel-item.active > div:first-child {
  border: 0;
}

#exampleModal p.small {
  margin-bottom: 0.25rem;
  color: #63676b;
}



@media (max-width: 767px) {
  /* .carousel-inner .carousel-item > div {
      display: none;
  }
  .carousel-inner .carousel-item > div:first-child {
      display: block;
  } */

  .row.title,
  #bearPreviewWrapper {
    background-color:rgba(0,0,0,.5);
  }

  .row.title {
  position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100%;
    margin:0;
  }


  body {
    padding-top:296px;
  }

  .save-my-bear .btn {
    width:auto;
    margin:0 0 0 14px;
  }

  .title h1 {
    font-size: 6vw;
    margin:0;
    padding:10px 0 4px 0;
    
    /* height: 250px; */
    /* padding-bottom:260px; */
  }
  .container.my-3 {
    padding:0;
  }

  .carousel.slide {
    padding:0;
  }

  #bear-preview {
    width:56%;
    margin: auto;
  }

  .save-my-bear {
    width: auto;
    margin: auto;
  }

  #bearPreviewWrapper {
    position: fixed;
    top: 54px;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 230px;
    display: table;
    padding:14px;
  }

  #bearPreviewWrapper > div {
    display:table-cell;
    /* padding:16px; */
  }


}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

@media (max-width: 575px) {
  
  .title h1 {
    font-size: 8vw;
  }
}

/* medium and up screens */
@media (min-width: 768px) {
  
  .carousel-inner .carousel-item-end.active,
  .carousel-inner .carousel-item-next {
    transform: translateX(25%);
  }
  
  .carousel-inner .carousel-item-start.active, 
  .carousel-inner .carousel-item-prev {
    transform: translateX(-25%);
  }
}

@media (min-width: 2046px) {
  
  .title h1 {
    font-size: 3vw;
  }
}



.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
transform: translateX(0);
}
