@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --curly-font: "Cormorant Garamond", serif;
  --dark-blue: #000e67;
  --light-blue: #54758a;
  --yellow: #f0b323;
  --bright-blue: #0032a0;
  --deep-blue: #2e364a;
  --gray: #00000070;
}

.wrap{
    flex-wrap: wrap;
  }

body {
  font-family: "Montserrat", sans-serif;
}

main{
    position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

.flex-class {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-class {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

ul {
  list-style: none;
}


.header{
    background-color:#257aa4;
    width: 100%;
    padding: 50px 100px;
}

.header-content{
    width: 60%;
}

.header .course-name{
    font-size: 35px;
    font-weight: 700;
    color: #fff;
    margin-top: 20px;
}

.header .course-discription{
    width: 100%;
    color: #fff;
    line-height: 30px;
    font-size: large;
    margin-top: 10px    ;
}

.header .creator{
    color: #fff;
    margin-top: 20px;
    text-decoration: underline;
}

.header .additional-features{
    justify-content: flex-start;
    margin-top: 20px;
}

.header .additional-features .card{
    margin-right: 30px;
}

.header .additional-features .card .text{
    color: #fff;
}

.header .additional-features .card img{
    margin-right: 10px;
}

.header .tag{
    display: inline;
    background-color: #d4d4d450;
    padding: 8px;
    color: #fff;
    border-radius: 10px;
    font-size: small;
}

.course-card{
    position: absolute;
    top: 60px;
    right: 100px;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    box-shadow: 3px 3px 20px 10px #00000030;
}

.course-card .main-img{
    width: 400px;
}   

.course-card .detials{
    padding: 20px;
}

.prices{
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 20px;
}
.course-card .prices .main-price , .mobile-course-card .right .main-price {
    font-size: xx-large;
    font-weight: 700;
}

.course-card .prices .cut-price  ,.mobile-course-card .right .cut-price {
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 600;
    color: #444444;
}

.course-card .prices .discount , .mobile-course-card .right .discount{
    color: #444444;
    margin-left: 10px;
}

.course-card .btns-holder  , .mobile-course-card .right .btns-holder{
    align-items: stretch;
    margin-top: 20px;
}

.btns-holder button{
    border: none;
    outline: none;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: small;
    transition: 0.3s ease;
}

.btns-holder .top .cart{
    width: 80%;
   height: 50px;
   margin-right: 10px;
   background-color: #fff;
   border: 1px solid #000;
}

.btns-holder .top .cart:hover{
    background-color: #f8f8f8;
}

.btns-holder .top .wishlist{
    width: 20%;
    height: 50px;
    background-image: url(../assests/new_home_page/heart2.svg);
    background-size: 30px;
    background-color: #fff;
    border: 1px solid #000;
}

.btns-holder .top .wishlist:hover{
    background-color: #f8f8f8;
}

.btns-holder .buy-btn{
    width: 100%;
    height: 50px;
    margin-top: 10px;
    background-color: #54b3e2;
    color: #fff;
}

.btns-holder .buy-btn:hover{
    background-color: #0088cc;
}

.bestprice{
    background-image: linear-gradient(600deg, #89f7fe 0%, #66a6ff 100%);
    display: inline;
    padding: 8px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
}

.sub-heading{
    margin: 20px 0;
    font-weight: 700;
}

.features .card{
    justify-content: flex-start;
    margin-bottom: 10px;
}

.features .card img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.what-you-learn{
    margin: 50px;
    width: 50%;
    border: 1px solid #444444;
    padding: 20px;
}



.what-you-learn .box-heading{
    font-size: x-large;
    font-weight: 700;
    margin-bottom: 10px;
}

.what-you-learn .cards{
    width: 100%;
}

.what-you-learn .card{
    padding: 5px;
    margin: 10px 0;
    align-items: flex-start;
    justify-content: flex-start;
}


.what-you-learn .card img{
    margin-right: 5px;
}

.what-you-learn .card .text{
    font-size: small;
    font-weight: 400;
}

.mobile-course-card{
    display: none;
}

.mobile-course-card .left , .mobile-course-card .right{
    width: 100%;
}

.mobile-course-card .right{
    padding: 30px;
}

.mobile-course-card .left img{
    width: 100%;
}

.mobile-course-card{
    flex-direction: column;
}

.what-you-learn .left , .what-you-learn .right{
    min-width: 250px;
    width: 50%;
}
.mobile-course-card .btns-holder{
    max-width: 400px;
}


@media only screen and (max-width:1130px){
    .course-card{
        right: 50px;
    }
}


@media only screen and (max-width:1070px){
    .course-card{
        right: 50px;
    }

    .header{
        padding-left: 30px;
    }
}

@media only screen and (max-width:1090px){
    .what-you-learn .left , .what-you-learn .right{
        width: 100%;
    }
}

@media only screen and (max-width:1000px){
    .course-card{
        right: 50px;
    }

    .header{
        padding-left: 30px;
    }

    .header .header-content .course-discription{
        line-height: 28px;
        width: 80%;
    }

   
}

@media only screen and (max-width:900px){
    .course-card{
        display: none;
    }

    .header-content{
        width: 100%;
    }

    .header .header-content .course-discription{
        line-height: 28px;
        width: 100%;
    }

    .mobile-course-card{
        display: flex;
    }

    .what-you-learn{
        width: 90%;
        margin: 20px auto;
    }

    .what-you-learn .left , .what-you-learn .right{
        width: 50%;
    }
}

@Media only screen and (max-width:610px){
    .what-you-learn .left , .what-you-learn .right{
        width: 100%;
    }
}

@media only screen and (max-width:490px){
    .header{
        padding: 20px;
    }

    .header .course-name{
        font-size: 32px;
    }
}
