.custom_glide_container {
  background-color: black;
  height: 100vh;
}

.custom_carousel_container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: auto;
}

.custom_carousel_container .custom_carousel_item {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom_carousel_container .custom_carousel_item:nth-child(1) {
  order: 2;
  height: 60%;
}

.custom_carousel_container .custom_carousel_item:nth-child(2) {
  height: 40%;
  order: 1;
}

.custom_glide_container .glide__slide {
  position: relative;
}

.custom_carousel_image_bg {
  position: absolute;
  width: 100vw;
  height: auto;
  z-index: 99;
  right: 100%;
  top: 5%;       
  transform: translateY(-5%); 
}

.custom_carousel_item .custom_carousel_title {
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
  color: white;
}

.custom_carousel_item .custom_carousel_subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
  margin-top: 1.3rem;
  text-align: center;
  margin-bottom: 0;
}

.custom_carousel_features {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  margin-top: 1.3rem;
}

.custom_carousel_features .custom_carousel_features_item {
  display: flex;
  width: 33.3%;
  flex-direction: column;
  align-items: start;
  font-size: 1.1rem;
  font-weight: 500;
}

.custom_carousel_features .custom_carousel_features_item:nth-child(1) {
  border-right: solid 2px #0056b3;
}

.custom_carousel_features .custom_carousel_features_item:nth-child(2) {
  border-right: solid 2px #0056b3;
}

.custom_carousel_features_item .custom_carousel_features_title {
  color: white;
  margin-bottom: 0;
  margin-top: 1px;
  font-size: .9rem;
}

.custom_carousel_features_item .custom_carousel_features_description {
  margin-bottom: 0;
  margin-top: 1px;
  font-size: .8rem;
  color: white;
}

.custom_carousel_buttons {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.3rem;
}

.custom_carousel_buttons .custom_carousel_btn {
  width: 100%;
  padding: .8rem;
  border-radius: 0;
  font-weight: 400;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  background-color: rgba(255, 255, 255, 0.322);
  text-align: center;
}

.custom_carousel_buttons .custom_carousel_btn:active,
.custom_carousel_buttons .custom_carousel_btn:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
  border-color: #0056b3;
  color: white;
}

@media (min-width: 768px) {
  .custom_glide_container {
    height: 75vh;
  }

  .custom_carousel_container {
    flex-direction: column;
  }

  .custom_carousel_container .custom_carousel_item {
    width: 100%;
    height: 100%;
  }

  .custom_carousel_image_bg {
    width: 70vw;
    height: auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .custom_carousel_item .custom_carousel_title {
    font-size: 3.5rem;
    text-align: left;
  }

  .custom_carousel_item .custom_carousel_subtitle {
    font-size: 1.3rem;
    margin-top: 3rem;
    text-align: left;
  }

  .custom_carousel_features {
    gap: .5rem;
    margin-top: 3rem;
    justify-content: center;
  }

  .custom_carousel_features .custom_carousel_features_item {
    padding: .2rem;
    align-items: start;
  }

  .custom_carousel_features_item .custom_carousel_features_title {
    font-size: 1.2rem;
    color: white;
  }

  .custom_carousel_features_item .custom_carousel_features_description {
    font-size: .9rem;
    color: white;
  }

  .custom_carousel_buttons {
    margin-top: 3rem;
    flex-direction: row;
    gap: .2rem;
  }

  .custom_carousel_buttons .custom_carousel_btn {
    width: 33.3%;
    padding: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
  }

}

@media (min-width: 1024px) {
  .custom_glide_container {
    height: 55vh;
  }

  .custom_carousel_container {
    flex-direction: row;
  }

  .custom_carousel_container .custom_carousel_item {
    width: 100%;
    height: 100%;
  }

  .custom_carousel_container .custom_carousel_item:nth-child(1) {
    order: 1;
    height: 100%;
  }

  .custom_carousel_container .custom_carousel_item:nth-child(2) {
    order: 2;
    height: 100%;
  }

  .custom_carousel_image_bg {
    width: 50vw;
    height: auto;
    top: auto;
    bottom: 0;
    transform: none;
  }
}

/* glide core */

.glide {
  position: relative;
  width: 100%;
  box-sizing: border-box
}

.glide * {
  box-sizing: inherit
}

.glide__track {
  overflow: hidden
}

.glide__slides {
  position: relative;
  width: 100%;
  list-style: none;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  touch-action: pan-Y;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.glide__slides--dragging {
  user-select: none
}

.glide__slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  white-space: initial;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent
}

.glide__slide a {
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none
}

.glide__arrows {
  -webkit-touch-callout: none;
  user-select: none
}

.glide__bullets {
  -webkit-touch-callout: none;
  user-select: none
}

.glide--rtl {
  direction: rtl
}

.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  color: white;
  text-transform: uppercase;
  padding: 9px 12px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
  opacity: 1;
  cursor: pointer;
  transition: opacity 150ms ease, border 300ms ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
  font-weight: 800;
}

/* glide theme */
.glide__arrow:focus {
  outline: none
}

.glide__arrow:hover {
  border-color: white
}

.glide__arrow--left {
  left: 2em
}

.glide__arrow--right {
  right: 2em
}

.glide__arrow--disabled {
  opacity: 0.33
}

.glide__bullets {
  position: absolute;
  z-index: 2;
  bottom: 2em;
  left: 50%;
  display: inline-flex;
  list-style: none;
  transform: translateX(-50%)
}

.glide__bullet {
  background-color: rgba(255, 255, 255, 0.5);
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 300ms ease-in-out;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  margin: 0 0.25em
}

.glide__bullet:focus {
  outline: none
}

.glide__bullet:hover,
.glide__bullet:focus {
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0.5)
}

.glide__bullet--active {
  background-color: white
}

.glide--swipeable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab
}

.glide--dragging {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing
}