@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
  height: 100%;
  overflow: hidden;
  position: relative;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background-color: #444;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  background-image: url('../images/bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

body.dark .modal-content {
    background-color: transparent;
}

body.dark .modal-content .modal-header,
body.dark .modal-content .modal-body,
body.dark .modal-content .modal-footer {
	border-color: #424242;
	color: #fff;
}



body.dark .modal-content .modal-header .modal-title,
body.dark .modal-content .modal-body p,
body.dark .modal-content .modal-body h1,
body.dark .modal-content .modal-body h2,
body.dark .modal-content .modal-body h3,
body.dark .modal-content .modal-body h4,
body.dark .modal-content .modal-body h5,
body.dark .modal-content .modal-footer p,
body.dark .modal-content .modal-footer h1,
body.dark .modal-content .modal-footer h2,
body.dark .modal-content .modal-footer h3,
body.dark .modal-content .modal-footer h4,
body.dark .modal-content .modal-footer h5{
	color: #fff;
}

body.dark .form-control {
	background-color: #282d36;
	border-color: #282d36;
	color: #fff;
}


.modal-body img{
    width: 100%;
    border-radius: 10px;
}

.modal-body iframe{
    width: 100%;
    border-radius: 10px;
}

.modal-body h3{
  border-bottom: 1px solid #ffffff73;
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight:800;
}

.modal-body p{
    font-size: 13px;
    line-height: 20px;
    font-weight:500;
}

.modal-content {
    border: 0;
    /*background-color: rgb(0 0 0 / 35%);*/
    /*backdrop-filter: blur(60px);*/
    /*-webkit-backdrop-filter: blur(60px);*/
    /*border-radius: 24px;*/
}

.modal .btn-close {
  background: transparent url('../images/close.png') center center/100% auto no-repeat;
  padding: 0;
  position: absolute;
  right: 14px;
  top: -52px;
  width: 68px;
  height: 46px;
  cursor: pointer;
  opacity: 1;
  font-size: 21px;
  text-decoration: none;
  box-shadow: none !important;
}

.modal.fade.zoom:not(.show) .modal-dialog {
    transform: scale(0.8);
}

.bg_2 {
    position: absolute;
    height: 300vh;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: rotate_zoom_animation 8s infinite linear;
}

@keyframes rotate_zoom_animation {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

.modal-backdrop{
    opacity: 1 !important;
    background-color: rgb(0 0 0 / 54%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}


/*Slider Classes*/
.cascade-slider_container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.cascade-slider_slides {
  height: 100%;
  display: flex;
  align-items: center;
}

.cascade-slider_item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.3);
  transition: all 1.2s ease;
  opacity: 0;
  z-index: -1;
  aspect-ratio: 9/16;
  text-align: center;
  cursor: pointer;
}

.cascade-slider_item.next {
  left: 50%;
  transform: translateX(-140%) scale(0.6);
  filter: brightness(85%);
  opacity: 1;
  z-index: 1;
  filter: brightness(0.5);
  pointer-events: none;
}

.cascade-slider_item.prev {
  left: 50%;
  transform: translateX(40%) scale(0.6);
  filter: brightness(85%);
  opacity: 1;
  z-index: 1;
  filter: brightness(0.5);
  pointer-events: none;
}

.cascade-slider_item.now {
  left: 50%;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 5;
}

.cascade-slider_arrow {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 5;
}

.cascade-slider_arrow-left {
  left: 20px;
}

.cascade-slider_arrow-right {
  right: 20px;
  transform: scaleX(-1) translateY(-50%);
}

.cascade-slider_arrow-left img {
  height: 40px;
  left: 40px;
}

.cascade-slider_arrow-right img {
  height: 40px;
  left: 40px;
}

.cascade-slider_nav {
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.cascade-slider_dot {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 1px solid #4196EF;
  margin: 3px;
  transition: all 0.5s;
  background: none;
  list-style: none;
  cursor: pointer;
  border-radius: 50px;
}

.cascade-slider_dot:hover {
  background: #2c8fab;
}

.cascade-slider_dot.cur {
  background: #2c8fab;
  width: 17px;
  height: 17px;

}

/*Profile card classes*/
.card {
  color: #243C82;
  width: 350px;
  border-radius: 20px;
  transition: all 1s 0s;
  position: relative;
}

.photo {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.photo img {
  width: 100%;
  position: relative;
  z-index: 1;
  left: 0;
  transition: left 1s;
}

img.photo-hover {
  position: absolute;
  width: 98.4%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
  transition: left 1s;

}

.cascade-slider_item.now:not(.clicked) .photo:hover img {
  left: -40%;
}

.cascade-slider_item.now:not(.clicked) .photo:hover img.photo-hover {
  left: 40%;
}

.cascade-slider_item.next.clicked,
.cascade-slider_item.now.clicked .photo img {
  left: -150vw;
}

.cascade-slider_item.prev.clicked,
.cascade-slider_item.now.clicked .photo img.photo-hover {
  left: 150vw;
}

@media (min-width: 480px) and (max-width: 680px) {
  .cascade-slider_slides {
    transform: translateY(-10px);
  }

  .cascade-slider_item {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.3);
    transition: all 1s ease;
    opacity: 0;
    z-index: -1;
    text-align: center;
  }

  .cascade-slider_item.next {
    transform: translateX(-90%) scale(0.3);
    filter: brightness(70%);
    opacity: 1;
    z-index: 1;
  }

  .cascade-slider_item.prev {
    left: 50%;
    transform: translateX(-10%) scale(0.3);
    filter: brightness(70%);
    opacity: 1;
    z-index: 1;
  }

  .cascade-slider_item.now {
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    opacity: 1;
    z-index: 5;
  }

  .cascade-slider_arrow-left img {
    height: 30px;
    left: 30px;
  }

  .cascade-slider_arrow-right img {
    height: 30px;
    left: 30px;
  }

  .cascade-slider_nav {
    display: none;
  }
}

@media (max-width: 480px) {
    
    .modal .btn-close {
        width: 52px;
        top: -45px;
    }
    
    .modal.fade .modal-dialog {
        margin-top: 50px;
    }
  .cascade-slider_slides {
    transform: translateY(-16px);
  }

  .cascade-slider_item {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.25);
    transition: all 1s ease;
    opacity: 0;
    z-index: -1;
    text-align: center;
  }

  .cascade-slider_item.next {
    left: 50%;
    transform: translateX(-80%) scale(0.4);
    filter: brightness(70%);
    opacity: 1;
    z-index: 1;
  }

  .cascade-slider_item.prev {
    left: 50%;
    transform: translateX(-20%) scale(0.4);
    filter: brightness(70%);
    opacity: 1;
    z-index: 1;
  }

  .cascade-slider_item.now {
    left: 50%;
    transform: translateX(-50%) scale(0.75);
    opacity: 1;
    z-index: 5;
  }

  .cascade-slider_arrow-left{
    left: 4px;
  }

  .cascade-slider_arrow-right{
    right: 4px;
  }

  .cascade-slider_arrow-left img {
    height: 30px;
    left: 30px;
  }

  .cascade-slider_arrow-right img {
    height: 30px;
    left: 30px;
  }

  .cascade-slider_nav {
    display: none;
  }
}