@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #FE3050;
}

body {
    font-family: 'Hind Siliguri', 'Poppins', sans-serif;
    background: #fafafa;
}

a {
    color: #FE3050;

}

button.btn {
    font-family: 'Hind Siliguri', 'Poppins', sans-serif;
}


/*enroll now custom color gradient mode */

.bg-gradient-enroll {
    background: linear-gradient(90deg, #fa0a8f, #ff9900);
    border: yellow;
    color: white;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.navbar {

    padding-top: .12rem;
    padding-bottom: .12rem;

}

.profile-pic {
    image-rendering: auto;
    image-rendering: pixelated;
    image-rendering: -webkit-optimize-contrast;
    width: 50px;
    height: 50px;
}

.header-btn {
    padding: 5px;
    border: .5px solid;
    margin: 5px;
    border-radius: 10%;
    text-align: center;
    background: #FE3050;


}

img.img-fluid.rounded-circle.profile-picture {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 90px;
    z-index: 2;
    border: 8px solid #fff;
}

.profile-card-column {
    margin-top: -8rem;
}

.username {
    font-size: 18px;
}

.primary-color {
    background: #FE3050;
    color: #fff;
}

.secondary-color {
    background: #000;
    color: #fff;
}

.secondary-color:hover {
    color: #fafafa;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.home-buttons {
    width: 70%;
}


.price {
    font-size: .8rem !important;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

#lecture_list li a {
    color: #444a70;
}

.active-video {
    background-color: #444a70;

}

.active-video a {
    color: #fff !important;
}

.display-5 {
    font-size: calc(0.5rem + 2.1vw) !important;
}

.bordered-5 {
    border-radius: 15px;
}

.category-bar {
    background: #000333;
    color: #fff;
}

.flex-category {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.fixed-category {
    position: fixed;
    width: inherit;
    top: 5rem;
    right: 2rem;
    transform: translateX(2rem);
}

/* Hero Area */
h1.hero-heading {
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 800;
    color: #FE3050;
    font-size: 3.5em;
}

.hero-text {
    font-family: 'Hind Siliguri', sans-serif;
    margin: 4rem auto;
    padding: 3.2rem;
}

p.hero-tagline {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 1.7em;
    font-weight: 600;
}

.hero-banner {
    margin-top: 3rem;
}

.home-buttons {
    width: 100%;
    padding: 1rem;
    background: #fff;
    border: none;
    border-radius: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25) !important;
    transition: all .3s ease;
}

.home-buttons a {
    text-decoration: none;
    color: #000;
}

.home-buttons:hover {
    transform: scale(1.05);
    color: var(--primary-color);
}

/*Profile Page*/

.profile-card {
    margin-bottom: 1rem;
}

.profile-card .card-header {
    background: var(--primary-color);
    color: #fff;
}

.profile-svg {
    max-height: 480px;
}

h4.text-uppercase.motication-title {
    font-weight: 700;
    color: var(--primary-color);
}

p.motivation-text {
    max-width: 560px;
    margin: 1rem auto;
}

p.motivation-footer {
    font-weight: 700;
    font-size: 17px;
}

.accordion-button:not(.collapsed) {
    background-color: #ffe6ea;
  }

  .accordion-button:not(.collapsed) {
    color: black;
  }

  .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgb(255 179 191 / 25%);
  }

  .accordion-button,
  .accordion-button::after {
    color: #FE3050;

  }

  .accordion-button {
    border-radius: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
  }

  .accordion-item:first-of-type .accordion-button,
  .accordion-item:first-of-type {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
  }

  .accordion-item:last-of-type .accordion-button.collapsed,
  .accordion-item:last-of-type {
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
  }

  .accordion-item {
    margin: 1em;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
  }

  .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-pills button {
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color);
}

.nav-link:hover {
    color: black;
}

/* Main footer styles */
@font-face {
    font-family: 'Comic Sans';
    src: url('/static/fonts/comic.ttf') format('truetype');
}

.footer {
    background: #222326;
    padding: 1em;
    text-transform: uppercase;
}

.footer a {
    text-decoration: none;
}

.footer .f-heading {
    font-family: 'Comic Sans', sans-serif;
}


.footer .box-container {
    margin-left: 5em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
    color: #fff;
}

.footer .box-container .box h3 {
    font-size: 1.4rem;
    color: #fff;
    padding: 1rem 0;
}

.footer .box-container .box a {
    display: block;
    font-size: 1rem;
    color: #fff;
    padding: 0.3rem 0;
}

.footer .box-container .box a i {
    color: var(--primary-color);
    padding-right: 0.5rem;
}

.footer .box-container .box a:hover i {
    padding-right: 2rem;
}

.footer .box-container .box .map {
    width: 100%;
}

.footer .share {
    padding: 1rem 0;
    text-align: center;
}

.footer .share a {
    height: 3rem;
    width: 3rem;
    line-height: 3rem;
    font-size: 1rem;
    color: #fff;
    background: var(--primary-color);
    margin: 0 0.3rem;
    border-radius: 50%;
}

.footer .share a:hover {
    background: black;
}

.footer .credit {
    margin-top: 2rem;
    padding: 0 1rem;
    padding-top: 2.5rem;
    font-size: 1rem;
    color: gray;
    text-align: center;
}

.footer .credit span {
    color: var(--primary-color);
}

/* footer styles end */


/* footer media qs */
@media (max-width: 500px) {
    .footer .box-container {
        display: block;
        margin-left: 0.5em;

    }

    .f-heading {
        font-size: 1.2rem;
    }

    .footer .box-container .box h3 {
        font-size: 1rem;

    }

    .footer .box-container .box a {
        font-size: 0.8rem;
    }


}

/* footer media qs ends */


@media (min-width: 1200px) {
    .lg-md-8 {
        margin: 0 8rem;
    }



}

@media (max-width: 992px) {

    h1.hero-heading {

        font-size: 1.8em;
    }

    p.hero-tagline {

        font-size: 1.1em;

    }

    .hero-banner {
        margin-top: 3rem;
    }


}

@media (max-width: 600px) {

    .btn-small {
        width: 25px;
        height: 25px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .home-buttons {
        width: 95%;
        font-size: 14px;
    }

    .hero-text {

        margin: 4rem auto;
        padding: 0;
        text-align: center;

    }

    h1.hero-heading {

        font-weight: 700;

        font-size: 2em;

    }

    p.hero-tagline {

        font-size: 1.1em;

    }

    .hero-banner {
        margin-top: -3rem;
    }

    .sm-my-5 {
        margin-top: 7rem;
    }

}



/* course card animation */
.course-card.active .card-body {
    background-color: white;
}

.course-card.active {
    .btn {
        border-radius: 0px;
    }
    
    img {
        border-radius: 0px !important;
    }
}

.course-card.active {
--border-angle: 0turn; /* For animation */
--main-bg: conic-gradient(
from var(--border-angle),
#ffffff, /* White */
#ffffff 5%, /* White */
#ffffff 60%, /* White */
#ffffff 95% /* White */
);

border: solid 4px transparent;
--gradient-border: conic-gradient(
from var(--border-angle),
transparent 25%,
#0098ff, 
var(--primary-color) 99%,
transparent
);

background: 
var(--main-bg) padding-box, 
var(--gradient-border) border-box, 
var(--main-bg) border-box; 

animation: bg-spin 3s linear infinite; 
}



@keyframes bg-spin {
to {
--border-angle: 1turn;
}
}

@property --border-angle {
syntax: "<angle>";
inherits: true;
initial-value: 0turn;
}

