* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
body {
    background-color: rgb(247, 243, 243);
}
/* -------------navbar section   -------- */
.header {
   background:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url("./img/background.jpg");
   height: 40vh;
   background-position: center;
   background-repeat:no-repeat;
   width: 100%;
   position: relative;
  
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
}
nav .logo img {
    width: 150px;
}
nav ul li {
    display: inline-block;
    margin: 0px 15px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(210, 203, 203);
    font-size: 12px;
    transition: all 1s;
}

ul li a::after{
    content: '';
    width: 0%;
    display: block;
    background-color:red;
    height: 2px;
    transition: all 1s;
    margin-top:5px;
}
ul li a:hover {
    color:rgb(226, 5, 112);
}
ul li a:hover::after {
    width:100%;
    
}

/* ------------header-content -------------- */

/* .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
} */
.header-content h1 {
    color: white;
    font-size: 25px;
    text-align: center;
    margin: 50px  0px;
}


/* ---------------- course section start -------------  */


.row{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 50px auto;
}
.left {
    width: 64%;
}
.left h3 {
    margin: 10px 0px;
}

.left p {
    margin: 25px 0px;
    font-size: 13px;
    word-spacing: 2px;
    line-height: 15px;
    text-align: justify;
}
.right {
    width :30%;
}
.right h3 {
    text-align: center;
    margin: 20px 0px;
    background-color: tomato;
    color: white;
    font-size: 13px;
    padding: 7px 0px;
}
.course-row {
    margin: 10px 0px;
}
.course-row p {
    display: inline-block;
    font-size: 12px;
    width: 48%;
}
.r {
    text-align: right;
}

/* --------------- comment box ------------  */
.comment-box {
    padding: 10px 20px;
    border: 1px solid #cdcdcd;
}
.comment-box input {
    width: 100%;
    margin: 10px 0px;
    height: 25px;
    border: 1px solid #cdcdcd;
    padding: 10px;
    font-size: 12px;
    background: #d9d9d9;
}
.comment-box textarea {
    width: 100%;
    margin: 20px 0px;
    height: 120px;
    border: 1px solid #cdcdcd;
    padding: 10px;
    font-size: 12px;
    background: #d9d9d9;
}
.comment-btn {
    display: inline-block;
    margin-left:10px;
}
.comment-btn button {
    padding: 10px 20px;
    font-size: 9px;
    color: red;
    border: 1px solid red;
    background: transparent;
}
.header{
    overflow: hidden;
}
@media (max-width:750px) {
    .header-content h1 {
        font-size: 23px;
    }
    nav .logo img {
        margin: 20px;
    }
    nav {
        align-items: normal;
        padding: 0px;
    }

    nav ul {
        position: absolute;
        width: 200px;
        background-color: rgb(253 112 112);
        z-index: 2;
        top: 0;
        right: -200px;
        height: 100vh;
        transition: all 1s;
    }
    nav ul li{
        display: block;
        margin: 25px 35px;
    }
    nav ul li a {
        color :white;
        font-size:15px;
    }
    .bi-list {
        display: block;
        color: white;
        margin: 20px;
    }
    .bi-x-circle {
        display: block;
        color:white;
        margin: 20px;
    }
}