/*
Created at: 09/05/2022
Created by Furkan Özhalep
*/
/*
    Section CSS
*/
#hero{
    background-image: url("/view/images/hero-background.webp");
}

.section-header{
    margin: 15px 0;
}
.section-header h1{
    width: 100%;
}
.hero-button{
    transition: opacity .1s ease-in-out;
}
.hero-button:hover{
    opacity: .7;
}

/*
    Content Sales Card
*/

.content-sales-card{
    position: relative;
    background-color: #ffffff;
    height: calc(100% - 25px);
    min-height: 500px;
    width: 350px;
    box-shadow: 0 0 5px rgb(0 0 0 / 11%);
    border-radius: 0.50rem;
    overflow: hidden;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    -webkit-transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.content-sales-card .sales-content{
    position: relative;
}
.content-sales-card p,.content-sales-card ul,.content-sales-card ol{
    color: var(--paragraf);
}

.content-sales-card.hover-top:hover{
    z-index: 1;
    box-shadow: 0 0 30px 0 rgba(82,63,10,.15);
}
.content-sales-card.hover-zoom:hover{
    z-index: 1;
    transform: scale(1.025);
    box-shadow: 0 0 30px 0 rgba(82,63,10,.15);
}

.content-sales-card .image-box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.content-sales-card .image-box img:first-child{
    height: 100%;
    width: 100%;
    filter: blur(5px);
}
.content-sales-card .image-box .display{
    position: absolute;
    max-width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 100%;
    height: auto;
    width: auto;
    -o-object-fit: cover;
    object-fit: cover;

}



.content-sales-card .sales-title{
    font-size: 1.25rem;
    min-height: 48px;
    color: var(--sales-card-title);
    text-align: center;
}
.content-sales-card .sales-body{
    position: relative;
    color: var(--sales-card-content);
    font-size: 14px;
    line-height: 24px;
    padding: 24px;
}
.content-sales-card .sales-body ul,.content-sales-card .sales-body ol{
    list-style: disc!important;
}
.content-sales-card .sales-body ul li,.content-sales-card .sales-body ol li{
    display: list-item;
    margin: 5px 0 5px 20px;
}
.content-sales-card .sales-prices {
    margin-top: 1.75rem;
}
.content-sales-card .sales-prices .price{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--tema_acik2);
    font-size: 24px;
    font-weight: 700;
}
.content-sales-card .sales-prices .price .discount-price{
    display: flex;
    color: var(--tema_acik2);
    opacity: .5;
    text-decoration: line-through black;
    font-size: 16px;
    margin-right: 12px;
    font-weight: 700;
}
.content-sales-card .sales-prices .price-information{
    text-align: end;
    color: #d17c25;
    font-size: 12px;
}

.content-sales-card .card-badge{
    position: absolute;
    top: 20px;
    left: -40px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    background-color: #00c900;
    transform: rotate(-40deg);
    padding: 4px 0;
    text-align: center;
    width: 140px;
}
.content-sales-card .card-badge.card-badge-red{
    background-color: #c90017;
}
.content-sales-card .card-badge.card-badge-blue{
    /*background-color: #1a8fe3;*/
    background: linear-gradient(130deg, #1a8fe3, #6610f2);
}


.content-sales-card:hover .sales-buttons{
    transition: opacity 0.5s ease-in-out;
    display: flex;
}
.content-sales-card .sales-buttons{
    z-index: 1;
    backdrop-filter: blur(2px);
    display: none;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 15px;
}
.content-sales-card .sales-buttons a{
    width: 50%;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    margin-right: 5px;
    transition: background-color .3s ease-in-out,color .3s ease-in-out;
    height: 50px;
}
.content-sales-card .sales-buttons .preview{
    border: 2px solid var(--tema_acik);
    color: var(--tema_acik);
}
.content-sales-card .sales-buttons .preview:hover,.content-sales-card .sales-buttons .buy:hover{
    border-color: var(--tema);
    background-color: var(--tema);
    color: white;
}
.content-sales-card .sales-buttons .buy{
    border: 2px solid var(--tema_acik);
    background-color: var(--tema_acik);
    color: white;
}
.content-sales-card .sales-buttons .sales-information{
    color: #f37933;
}


/*
    Promotion
 */
.promotion-wrap{
    position: relative;
    margin: 150px 0 150px 0;
}
.promotion-wrap .promotion-box{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
}
.promotion-wrap .promotion h1{
    color: white;
}
.promotion-wrap .promotion p{
    color: rgba(255,255,255,.7);
}

/*
    Hero Section
*/

.hero {
    display: block;
    box-sizing: border-box;
    height: 60vh;
    margin-bottom: 80px;
    margin-top: -30px;
    /*background-color: var(--tema);*/
    /*background: linear-gradient(to right,var(--tema),var(--tema_koyu2));*/
    /*clip-path: ellipse(150% 75%  at 50% 20%);*/
}

/*
    Swiper Hero
*/

.swiper-container-hero {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.swiper-container-hero .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-container-hero .swiper-wrapper{

}

.swiper-container-hero .swiper-pagination {
    position: absolute;
    bottom: 10px;
    right: 47%;
    width: auto !important;
    left: auto !important;
    margin: auto;
}
.swiper-container-hero .swiper-pagination-bullet {
    padding: 0px 0px;
    border-radius: 5px;
    width: 10px;
    height: 10px;
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    color:#000;
    opacity: 1;
    background: rgba(0,0,0,0.2);
    transition: 0.5s
}
.swiper-container-hero .swiper-pagination-bullet-active {
    width: 40px;
    background: #fff;
}
.swiper-container-hero .hero{
    display: flex;
}

.swiper-container-hero .hero-1{
    display: flex;
}

.swiper-container-hero .hero-reverse{
    display: flex;
}

.swiper-container-hero .content-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    gap: 10px;
}

.swiper-container-hero .content-container h1,.swiper-container-hero .content-container h2{
    color: #fff;
    font-size: 32px;
}

.swiper-container-hero .content-container p{
    color: #ccc;
    font-weight: 600;
}

.swiper-container-hero .image-container{
    width: 60%;
    padding: 0 20px
}

.swiper-container-hero .image-container img{
    width: 100%;
    object-fit: contain;
}

.swiper-container-hero .swiper-show-normal{
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-container-hero .swiper-show-reverse{
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
    Swiper Container
 */


.swiper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide {
    width: 400px;
    height: 400px;
}

.swiper-slide:nth-child(2n) {

}

.swiper-slide:nth-child(3n) {
}

.swiper-pagination{

}

.slide-heading{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.slide-sub{
    text-align: center;
    margin-bottom: 40px;
    color: grey;

}
/*
    Content Heading
*/
.heading{
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

.course-wrapper{
    margin: 0;
    margin-top: 20px;
    margin-bottom: 40px;
}

.course-button button{
    background: #9C27B0;
    width: 100px;
    height: 40px;
    border-radius: 10px 10px 10px 10px;
    color: white;
    font-weight: 600;
    font-size: 12px;
}



/* Populer Ürünler Kard Dizaynı*/
.popular-cards{
    display: flex;
    flex-direction: column;
    height: 400px;
    width: 300px;
    background-image: url("https://www.reyhangoc.com/wp-content/uploads/2018/01/mtel-physics-practice-study-guide_170719_large.jpg");
    border-radius: 20px 20px 20px 20px;
}

.popular-cards .subpart{
    position: absolute;
    display: flex;
    flex-direction: column;
    bottom: 0;
    height: 250px;
    width: 300px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0px 0px 20px 20px;
}

.popular-cards .subpart2{
    position: absolute;
    display: flex;
    bottom: 350px;
    height: 150px;
    width: 300px;
    background: rgba(255, 255, 255, 0.2);
}

.popular-cards .lesson-title{
    margin-top: 10px;
    margin-left: 10px;
    font-weight: 5060;
    text-align: center;
    color: #9C27B0;
}

.popular-cards .count-span{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: -3px;
}

.popular-cards .student-count{
    margin-top: -5px;
    text-align: center;
}

.popular-cards .icon{
    margin-left: 10px;
    font-size: 1rem;
    color: green;
}

.popular-cards li{
    margin-top: 3px;
    list-style-type: none;
    font-weight: 500;
    color: grey;
    text-align: center;
}

.popular-cards .pricing{
    text-align: center;
    color: rgb(53, 53, 53);
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.popular-cards .add-to-cart{
    position: absolute;
    bottom: 0;
    width:300px;
    height: 40px;
    border-radius: 0px 0px 20px 20px;
    background: linear-gradient(130deg, #6610f2, #9C27B0);
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.popular-cards:hover {
    filter: drop-shadow(0 0 0.50rem #9C27B0);
}


@media (max-width: 1024px){

    .swiper{
        width: 100%;
    }

    .hero{
        display: block;
        box-sizing: border-box;
        height: 60vh;
        /*background-color: #1a8fe3;*/
        /*clip-path: ellipse(150% 60%  at 50% 20%);*/
    }
    .hero-section img{
        left: 0;
        right: 0;
        text-align: center;
        top: 150px;
        margin-left: auto;
        margin-right: auto;
        position: absolute;
        max-height: 250px;
        width: 250px;
    }
}
@media (max-width: 820.99px){
    .swiper-container-hero .image-container{
        width: 100%;
        max-height: 200px;
        object-fit: contain;
    }

    .swiper-show-normal{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .swiper-container-hero .swiper-show-reverse{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .swiper-container-hero .hero:nth-child(2){
        flex-direction: column-reverse;
    }

    .swiper-container-hero .content-container h1{
        line-height: 30px;
        font-size: 24px;
    }

    .swiper-container-hero .content-container{
        width: 80%;
    }

    .swiper-container-hero .hero{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .swiper-container-hero .hero-1{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .swiper-container-hero .hero-reverse{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .swiper-container-hero .swiper-pagination{
        right: 40%;
    }

    .hero{
        display: block;
        box-sizing: border-box;
        height: 70vh;
        /*background-color: #9C27B0;*/
        /*clip-path: ellipse(150% 75%  at 50% 20%)*/
    }
}
.partnersSwiper{
    padding-bottom: 12px!important;
}
.partnersSwiper .swiper-slide{
    width: 64px;
    height: 64px;
}
.partnersSwiper .swiper-slide .image{
    position: relative;
    height: 110px;
    background-color: #fafafa;
    width: 110px;
    padding: 12px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.partnersSwiper .swiper-slide .image img{
    height: auto;
    width: auto;
}
.partnersSwiper .swiper-slide .image:after {
    display: block;
    border-radius: 9999px;
    content: '';
    width: 102%;
    height: 102%;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    background-image: conic-gradient(#9C27B0, #fff, #9C27B0, #fff, #9C27B0);
    animation: spin 5s linear infinite;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.egitim-card{
    cursor: pointer;
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    /*box-shadow: 0 0 10px rgba(0,0,0,.2);*/
    position: relative;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.egitim-card:hover{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.egitim-card .egitim-resim{
    width: 100%;
    border-radius: 12px;
}

.egitim-card .egitim-content{
    position: absolute;
    z-index: 1;
    bottom: 15px;
    left: 15px;
    text-align: left;
    padding: 0!important;
}
.egitim-card .egitim-content .title{
    font-weight: bolder;
    font-size: 20px;
    color: white;
}
.egitim-card .egitim-content .description{
    font-size: 16px;
    font-weight: 400;
    color: white;
}

.swiper{
    padding: 24px 0!important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none!important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 18px!important;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: 50%;
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    height: 32px!important;
    width: 32px!important;
    border-radius: 50%;
    text-align: center;
    color: var(--tema)!important;
    font-weight: bolder;
}

.video-wrapper{
    box-shadow: 0 0 12px rgb(0 0 0 / 20%)!important;
    overflow: hidden!important;
    border-radius: 6px!important;
}


.yorum-item{
    text-align: center;
}
.yorum-item .yorum-card{
    border-radius: 12px;
    height: 220px;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
    overflow: hidden;
}
.yorum-item .yorum-name{
    font-weight: bolder;
    font-size: 20px;
    padding: 12px 0;
}
.yorum-item .yorum-desc{
    font-weight: 300;
    line-height: 20px;
}
.yorum-item .yorum-card .card-video{
    height: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: -webkit-gradient(linear,left top,right top,from(var(--egitim_color_acik)),to(var(--egitim_color_koyu)));
    background-image: -webkit-linear-gradient(left,var(--egitim_color_acik),var(--egitim_color_koyu));
    background-image: linear-gradient(90deg,var(--egitim_color_acik),var(--egitim_color_koyu));
}
.yorum-item .yorum-card .card-video.play-button::after{
    content: "";
    position: absolute;
    cursor: pointer;
    background-image: url("../../images/play-button.png");
    background-repeat: no-repeat;
    background-size: 64px 64px;
    background-position: center;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: background-color .3s ease-in;
    background-color: rgba(0,0,0,.2);
}
.yorum-item .yorum-card .card-video.playing::after{
    content: "";
    position: absolute;
    background-image: url("../../images/sound-on.svg");
    background-repeat: no-repeat;
    background-size: 32px 32px;
    background-position: center;
    height: 32px;
    width: 32px;
    bottom: 16px;
    left: 16px;
}
.yorum-item .yorum-card .card-video.playing.muted::after{
    background-image: url("../../images/sound-off.svg");
}
.yorum-item .yorum-card .card-video.play-button:hover::after{
    background-color: rgba(0,0,0,.1);
}
.yorum-item .yorum-card .card-video video{
    min-height: 100%;
    min-width: 100%;
}



.egitim-card{
    position: relative;
    background-color: white;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: transform .2s ease;
    margin-bottom: 25px;
}

.egitim-card .button-container-card{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: -20px;
    z-index: 2;
}
.egitim-card .button-container-card a{
    width: 100%;
    display: block;
}

.egitim-card .button-container-card .basket{
    cursor:pointer;
    height:40px;
    width: 100%;
    background:linear-gradient(90deg,var(--color_acik),var(--color));
    border-radius: 10px;
    color: white;
}

.egitim-card:hover{
    transform: scale(1.05);
}
.egitim-card a{
    height: 91%;
    display: flex;
    flex-direction: column;
}
.egitim-card .egitim-resim{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}
.egitim-card .egitim-resim img{
    width: 90%;
    border-radius: 20px;
    margin-top: 20px;
}

.egitim-card .egitim-resim-anasayfa img{
    width: 100%;
    border-radius: 20px;
    margin-top: 0px;
}

.egitim-card .egitim-content{
    padding: 20px;
}
.egitim-card .egitim-content .creator{
    color: #7e7e7e;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}
.egitim-card .egitim-content .title{
    font-size: 18px;
    height: 24px;
    font-weight: 600;
    margin: 0;
    color: var(--color);
}

.egitim-card .egitim-content .title-anasayfa{
    font-size: 18px;
    height: 24px;
    font-weight: 600;
    margin: 0;
    color: #FFFFFF;
}

.egitim-card .egitim-content ul{
    padding: 0 16px;
    margin-top: -10px;
}

.egitim-card .egitim-content ul li{
    list-style-type: disc;
    font-weight: 200;
}

.egitim-card .egitim-content ul li::before{

}

.egitim-card .egitim-content ul li+li {
    margin-top: 10px;
}

.egitim-card .egitim-footer{
    display: flow-root;
    padding: 10px 20px;
    position: relative;
    color: white;
    font-size: 15px;
    font-weight: 300;
    margin-top: -50px;
}
.egitim-card .prices .price{
    font-weight: 600;
    color: white;
    margin-left: 5px;
    font-size: 18px;
}
.egitim-card .prices .discount-price{
    color: #dadada;
    text-decoration: line-through;
    font-size: 16px;
}