@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda/PeydaFaNumWeb-Regular.woff2") format("woff2"),
         url("../fonts/Peyda/PeydaFaNumWeb-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/Peyda/PeydaFaNumWeb-SemiBold.woff2") format("woff2"),
         url("../fonts/Peyda/PeydaFaNumWeb-SemiBold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
} 

body, span, p, a, address, u, ul, li, pre {
    font-family: 'Peyda';
    font-weight: normal;
}
h1, h2, h3, h4, h5, h6, strong, b {
    font-family: 'Peyda';
    font-weight: bold;
}
select option{font-family:'Peyda',Tahoma!important}

/*header*/
a:hover {
	color: var(--secondary-color);
}
body{
    background-color: var(--bg-color);
}

#nav .dropdown-menu , #nav .dropdown-item:hover {
    background-color: var(--black-color);
}
#nav .dropdown-item {
    color: var(--white-color);
}
#nav .dropdown-item:hover {
    color: var(--secondary-color);
}

#nav .dropdown-item {
    text-align: right;
}
#nav .navbar-nav .nav-item > * {
    color: var(--white-color);
    font-size: 14px;
}
#nav .navbar-nav .nav-item > .dropdown-menu * {
    padding: 3px 10px;
    font-size: 13px;
}

#nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
}
#nav .dropdown .dropdown-menu {
    margin-top: 0;
}


/*main*/
.height-box {
	min-height: 90svh;
}

.box-video p {
    font-size: 1.2rem;
}

.about-note-box {
    border: 1px solid var(--secondary-color);
    background: var(--secondary-opacity-color);
}

.slider-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 20rem;
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary-opacity-color-2);
    transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 0 0 2rem rgba(245, 158, 11, 0.15), 0 0.75rem 4rem rgba(250, 166, 26, 0.45);
}

.slider-play img {
    width: 8rem;
    height: 8rem;
    transition: transform 0.35s ease;
    filter: brightness(0) invert(1);
}

.slider-play:hover {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 4rem rgba(245, 158, 11, 0.15), 0 0.75rem 10rem rgba(250, 166, 26, 0.45);
}

.slider-play:hover img {
    transform: scale(1.05);
}

.slider-subject {
	background: linear-gradient(0deg,rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.95) 100%);
	height: 100%;
}
.banner-subject {
	background: linear-gradient(-90deg,rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
	height: 100%;
}
.blur-subject {
    height: 100%;
    padding: 0 25px;
}
.blur-subject::before {
	--hover-strength: 0;
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient( to left, rgba(8, 53, 104, calc(0.2 * var(--hover-strength))) 10%, rgba(8, 53, 104, calc(0.1 * var(--hover-strength))) 20%, rgba(8, 53, 104, 0) 90% );
	z-index: 1;
	/* border-radius: 20px; */
	transition: --hover-strength 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.blur-subject::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	backdrop-filter: blur(50px);
	-webkit-backdrop-filter: blur(50px);
	/* border-radius: 20px; */
	mask-image: linear-gradient( to left, rgb(0, 0, 0) 0%, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0) 60% );
	transition: backdrop-filter 0.6s ease;
}
.blur-subject > .container {
	position: relative;
	z-index: 1;
}

.cardSwiper img {
    /* height: 250px; */
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.categorySwipers img {
    aspect-ratio: 9 / 5;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
	background-color: var(--secondary-opacity-color);
    color: var(--white-color);
	border-radius: 50%;
	padding: 8px;
    transform: rotate(180deg);
}
.swiper-button-next {
	left: auto;
	right: var(--swiper-navigation-sides-offset,-30px);
}
.swiper-button-prev {
	left: var(--swiper-navigation-sides-offset,40px);
	right: auto;
}


/* #playPauseBtn {
    background: var(--secondary-opacity-color);
  position: relative;
  z-index: 4;
  color: var(--secondary-color)
} */


.btn-custom {
    background: var(--secondary-opacity-color);
    color: var(--secondary-color)
}
.btn-custom.active , .btn-custom:hover {
    background: var(--secondary-color);
    color: var(--black-color)
}

.btn-subcategory {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-opacity-color-2);
}
.btn-subcategory.active, .btn-subcategory:hover {
    background: var(--secondary-color);
    color: var(--black-color)
}

.btn-tags {
    background: transparent;
    color: var(--secondary-color);
    border: 1px dashed var(--secondary-opacity-color-2);
}
.btn-tags.active, .btn-tags:hover {
    background: var(--secondary-color);
    color: var(--black-color)
}

.box-subject .btn-custom {
	/* margin-left: 8rem !important; */
}

.share-btn {
  position: absolute;
  top: 0;
  right: 100px; 
}
#share-btn {
  position: absolute;
  top: 0;
  right: 100px;
}

.box-subject .swiper-button-next, .box-subject .swiper-button-prev {
	width: 28px !important;
	height: 28px !important;
	margin-top: -27px;
    position: relative;
    transform: rotate(0deg);
}
.box-subject .swiper-button-next {
    left: 0;
    right: auto;
}
.box-subject .swiper-button-prev {
    right: 0;
    left: auto;
}

.box-subject-cat {
    position: relative;
}
.box-subject-cat::before {
	content: "";
	width: 2px;
	height: 75%;
	border-radius: 5rem;
	background-color: var(--secondary-color);
	position: absolute;
	right: 0;
	top: 17%;
}

.sec-banner img {
    /* max-height: 250px; */
    object-fit: fill;
}


.card-picture::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  height: 30%;
  width: 100%;
}
.video-icons {
	width: 2rem !important;
	height: 2rem !important;
	min-width: 2rem !important;
	min-height: 2rem !important;
	position: absolute;
	bottom: 10px;
	left: 10px;
    z-index: 1;
}

.video-duration {
	position: absolute;
	bottom: 10px;
	left: calc(10px + 2rem + 6px);
	z-index: 1;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 2rem;
}

.video-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-inline-start: auto;
    flex-direction: row-reverse;
}

.video-meta img {
	width: 2rem;
	height: 2rem;
	min-width: 2rem;
	min-height: 2rem;
}

.video-meta span {
	color: var(--white-color);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
}

.about-page h2 , .about-page h3 , .about-page h4 {
    margin-bottom: 2rem;
}

/*media*/
@media (max-width: 991px) {

    .headr-video {
        position: relative;
    }

    #nav.navbar-collapse {
        background: var(--black-color);
        padding: 10px;
        border-radius: 10px;
        z-index: 3;
        position: absolute;
        top: 45px;
        width: calc(100% - 30px);
    }

    #nav .navbar-nav .nav-link {
        border-radius: 5px;
        padding: 5px;
    }
  
    #nav .navbar-nav .nav-link:hover {
        background-color: var(--bg-color);
    }
    
    #nav .navbar-nav {
        width: 100%;
    }
    
    #nav .navbar-nav .nav-item {
        width: 100%;
    }

    #searchCollapse {
        position: absolute;
        left: 0;
        width: 90%;
        top: 65px;
    }

    
}

@media (max-width: 767px) {
    .height-box {
        min-height: 85svh;
    }

    video {
    width: 100%;
    height: 30svh;
    object-fit: cover;
    }
    .banner-top {
    width: 100%;
    height: 55svh;
    object-fit: cover;
    }
    #aparat-wrapper , .h_iframe-aparat_embed_frame > span , iframe , #aparat-wrapper .banner-top {
    width: 100%;
    height: 55svh !important;
    object-fit: cover;   
    }

    #accordionExample p {
        font-size: 1.3rem;
        line-height: 1.4;
    }


    .sec-banner {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .bannerSwiper {
        width: 100%;
        overflow: hidden;
    }

    .bannerSwiper .swiper-slide {
        width: 100%;
    }

    .line-seperator {
        position: relative;
    }
    .line-seperator::after {
        content: "";
        width: 50px;
        height: 2px;
        background-color: var(--text-lite-color);
        border-radius: 5rem;
        position: absolute;
        right: 20px;
        bottom: 20px;
    }


    .slider-play {
    width: 10rem;
    height: 10rem;
    box-shadow: 0 0 0 1rem rgba(245, 158, 11, 0.15), 0 0.75rem 2rem rgba(250, 166, 26, 0.45);
}

.slider-play img {
    width: 4rem;
    height: 4rem;
}

.slider-play:hover {
    box-shadow: 0 0 0 2rem rgba(245, 158, 11, 0.15), 0 0.75rem 5rem rgba(250, 166, 26, 0.45);
}

}

@media (min-width: 768px) {

    video {
    width: 100%;
    height: 50svh;
    object-fit: cover;
    }
    .banner-top {
    width: 100%;
    height: 50svh;
    object-fit: fill;
    }
    #aparat-wrapper , .h_iframe-aparat_embed_frame > span , iframe , #aparat-wrapper .banner-top {
    width: 100%;
    height: 50svh !important;
    object-fit: fill;   
    }

}

@media (min-width: 992px) {


    video {
    width: 100%;
    height: 100svh;
    object-fit: fill;
    }
    .banner-top {
    width: 100%;
    height: 110svh;
    object-fit: fill;
    }
    #aparat-wrapper , .h_iframe-aparat_embed_frame > span , iframe , #aparat-wrapper .banner-top {
    width: 100%;
    height: 110svh !important;
    object-fit: fill;   
    }
    .slider-subject-in {
        position: relative;
        bottom: 10svh;
    }


    .headr-video {
        position: absolute;
        z-index: 4;
    }

    #nav.navbar-collapse {
        background: transparent !important;
    }
}
