
.carousel_wrapper{
  position: relative;
  left: 0px;
  width: 100%;
  aspect-ratio: 3;
  min-height: 350px;
  overflow:hidden;
}

.carousel_box{
  width:100%;
  height: 100%;
  position:absolute;
  background:red;
  font-size:25px;
  line-height:1.1em;
  text-align:center;
  z-index: inherit !important;
  cursor: default !important;
  background-color: transparent;
}

.carousel_boxes{
  position:relative;
  left:-100%;
  top: 0px;
  width: 100%;
  height: 100%;
}

.carousel_navigation{
  position: absolute;
  top: 50%;
  width: 3%;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel_navigation svg{
  transition: 0.2s all;
}

.carousel_navigation svg:hover{
  transform: scale(1.2);
}

.carousel_arrow_left{
  right: 1%;
}

.carousel_arrow_right{
  left: 1%;
}


.carousel_dots{
  position: absolute;
  left: 50%;
  bottom: 10px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.carousel_dots div{
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0px 4px 0px 4px;
  border-radius: 100%;
  background-color: #ffffff;
}

.carousel_content_container{
  width: 30%;
  margin: 40px auto 0 auto;
  height: calc(100% - 100px);
  position: relative;
  color: #ffffff;
  
  /*padding: 20px;*/
  border-radius: 10px;

  display: flex;
  justify-content: center;
  align-content: center;
  align-items:center;
  flex-direction: column;

}

.carousel_content_container bento-fit-text{
  position: relative;
  width: 100%;
  left: 0;
  top: 0;
  padding: 0;
  font-family: Open Sans, sans-serif;
  font-weight: 400;
  /*padding: 20px;*/
  box-sizing: content-box;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items:center;
  flex-direction: column;
  border-radius: 10px;
  /*background: radial-gradient(100% 5568.89% at 0 0, #544bc9 0, #a44bc9 100%), #544bc9;*/
  /*background-color: #336699;*/
}

.carousel_content_container bento-fit-text div{
  padding-bottom: 0.3em;
  line-height: 1.2em;
  text-shadow: 0 2px 10px #000000;
  padding: auto 40px auto 40px;
}

.carousel_border{
  background-color: rgba(57, 16, 92, 0.8);
  border: 6px solid rgba(163, 74, 199, 0.8);
  outline: 12px solid rgba(57, 16, 92, 0.8);
  padding: 2%;
  /*margin: 12px auto;*/
  border-radius: 10px;
  text-shadow: none !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.cta{
  display: table;
  font-family: Open Sans, sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: #544bc9;
  background-color: #ffd346;
  padding: 0.5em 1em;
  line-height: 1.2em;
  background-color: #ffd346;
  border-radius: 10px;
  margin: 0.5em auto 0 auto;
  will-change: transform;
}

.carousel_bg, .carousel_desktop, .carousel_mobile{
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.carousel_overlay{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.carousel_mobile{
  display: none;
}

.youtube_container{
  position: absolute !important;
  width: 100%;
  /*height: 600px;*/
  aspect-ratio: 3;
  
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items:center;

  overflow: hidden;

}

.player{
  position: absolute;
  width: 100%;
  height: 600%;
  pointer-events: none; 
}


.vimeo_video{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}




.vimeo_video {
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  pointer-events: all;
}

.vimeo_video iframe {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  /*aspect-ratio: 0.5;*/
  /*
  min-width: 100%;
  min-height: 100%;*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.youtubeMobile, .vimeo_mobile{
  display: none !important;
}

.video_desktop{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video_mobile{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
  object-position: center;
}


@media only screen and (max-width: 1000px) and (min-aspect-ratio: 16/9){
.carousel_wrapper{
  aspect-ratio: 2.2;
  min-height: 350px;
}
.carousel_content_container{
  width: 40%;
}

}


@media screen and (max-width: 768px) and (orientation: portrait){
.carousel_desktop{
  display: none;
}

.carousel_mobile{
  display: block;
}

.video_desktop{
  display: none;
}

.video_mobile{
  display: block;
}

.carousel_wrapper{
  aspect-ratio: inherit;
  height: calc(100vh - 320px);
  min-height: 300px;
}

.carousel_content_container{
  width: 68%;
}

.carousel_border{
  padding: 6%;
}

.carousel_navigation{
  width: 8%;
}

.youtube_container{
  height: 100%;
  aspect-ratio: inherit !important;
  
}

.player{
  /*width: auto;*/
  width: 100000% !important;
  height: 10000% !important;
  aspect-ratio: 3.0 !important;
  transform: scale(0.01);
}

.youtubeMobile, .vimeo_mobile{
  display: flex !important;
}

.youtubeDesktop, .vimeo_desktop{
  display: none !important;
}


.vimeo_video iframe {
  box-sizing: border-box;
  width: 1000% !important;
  height: 100% !important;
  /*aspect-ratio: 0.5;*/
  /*
  min-width: 100%;
  min-height: 100%;*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


}










