/* external css: flickity.css */

* { box-sizing: border-box; }

body { font-family: sans-serif; }

.carousel {
  background: black;
  background: #F7FAFC;
}

.carousel-cell {
  width: 70%;
  height: 200px;
  /* flex-box, center image in cell */
  display: -webkit-box;
  display: -webkit-flex;
  display:         flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
}

.carousel-cell img,video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  /* dim unselected */
  opacity: 0.7;
  -webkit-transform: scale(0.85);
          transform: scale(0.85);
  -webkit-filter: blur(2px);
          filter: blur(2px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
          transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}

/* brighten selected image */
.carousel-cell.is-selected img,video {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-filter: none;
          filter: none;
}

@media screen and ( min-width: 768px ) {
  .carousel-cell {
    height: 400px;
  }
}

@media screen and ( min-width: 960px ) {
  .carousel-cell {
    width: 30%;
  }
}

/* buttons, no circle */
.flickity-prev-next-button {
  width: 60px;
  height: 60px;
  background: transparent;
  opacity: 0.6;
}
.flickity-prev-next-button:hover {
  background: transparent;
  opacity: 1;
}
/* arrow color */
.flickity-prev-next-button .arrow {
  fill: white;
}
.flickity-prev-next-button.no-svg {
  color: white;
}
/* closer to edge */
.flickity-prev-next-button.previous { left: 0; }
.flickity-prev-next-button.next { right: 0; }
/* hide disabled button */
.flickity-prev-next-button:disabled {
  display: none;
}

/* ----------------------------------------------------------------------------------- */


/* body::-webkit-scrollbar {
    width: 1em;
}
   
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
} */

body::-webkit-scrollbar {
    width: 0.8em;
}
   
body::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); */
    background: #F9FAFB; /* gray-50 */
}

body::-webkit-scrollbar-thumb {
    background-color: #2563EB; /* blue-600 */
    /* outline: 1px solid slategrey; */
    border-radius: 2rem;
}

/* ----------------------------------------------------------------------------------- */

html{
    scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

.ytb-container{
    width: 100vw;
}

.img-highlight {
    width: 100vw;
    height: 40vh;
}

.hero-video {
    height: 40vh;
}

.map{
    width: 100%;
    height: 40vh;
}

.contact-img {
    height: 25vh;
}

@media (min-width: 1024px) {
    
    .ytb-container{
        width: 90%;
        margin-left: 5%;
    }

    .img-highlight {
        width: 50vw; 
        height: 50vh;
    }

    .hero-video {
        height: 50vh;
    }
    
    .map{
        width: 100%;
        height: 60vh;
    }

    .contact-img {
        height: 50vh;
    }
}
