@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&amp;family=Roboto:wght@300;400;500;700;900&amp;display=swap");

.course{
    border-radius: 15px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .2);
    display: flex;
    max-width: 100%;
    overflow: hidden;
    width: 750px;
    /* position: absolute; */
    /* top: 50%; */
    left: 50%;
    margin-top: 60px;
    position: relative;
    transform: translate(-50%,-50%);
    /* display: flex; */

}
.course h6{
    opacity: .6;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: black;
}
.course h2{
    letter-spacing: 1px;
    margin: 10px 0;
    color: black;
}
.course h1{
    color: rgb(124, 124, 124);
}
.preview{
    background-image: url(./home.jpg);
    color: #fff;
    padding: 30px;
    width: 250px;
    position: relative;
}
.preview a{
    color: #000000;
    font-size: 12px;
    opacity: .6;
    margin-top: 30px;
    text-decoration: none;
}
.info{
    padding: 30px;
    position: relative;
    width: 100%;
    background-color: #fafafa;
}
.progress-wrapper{
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: right;
    width: 150px;
}
.progress{
    background: #ddd;
    border-radius: 5px;
    height: 5px;
    width: 100%;
}
.progress::after{
    content: '';
    border-radius: 5px;
    background: #2f1394;
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 56%;
}
.progress-text{
    font-size: 10px;
    letter-spacing: 1px;
    opacity: .6;
}
.info p{
    font-size: 12px;
    font-weight: bold;
}
.bt{
    background: #122686;
    border: 1px solid transparent;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    position: absolute;
    bottom: 30px;
    right: 30px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .4s ease-in-out;
    font-weight: bold;
    border-radius: 20px;
}
.bt:hover{
    background: #fff;
    color: #fcc41a;
    /* border: 1px solid #fcc41a; */
    transform: scale(1.05);
}
@media(max-width: 768px){
    .course{
        flex-direction: column;
        width: 90%;
    }
    .preview{
        width: 100%;
    }
    .preview h2{
        margin: 10px 0 0 ;
    }
    .preview a{
        margin-top: 10px;
    }
    .info h2{
        margin-top: 20px;
    }
    .info p{
        margin-bottom: 50px;
    }
    .bt{
        padding: 10px 15px;
        /* float: right; */
        font-size: 14px;
    }
    
}
