body{
    font-family: 'Inter','Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    background-color: #f4f4f4;
     
    
}

.center{
    text-align: center;
    align-self: center;
    display: block;
        
}
/* global */
.container{
    width: 88%;
    margin:auto;
    overflow: hidden;
}


ul{
    margin: 0;
    padding: 0;
}

.dark{
    padding: 15px;
    background: #35424a;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* header */
header{
    background: black;
    color: #ffffff;
    padding-top: 15px;
    min-height: 70px;
    border-bottom: black 3px solid;
}

header a{
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}


header li{
    float: left;
    display: inline;
    padding: 5px 20px 5px 20px; /*top right botton left*/
}

header #branding{
    float: left;
    padding: 5px;

}

header #branding h1{
    margin: 0;
    color: turquoise;
}

header nav{
    float: right;
    margin-top: 10px;
}

header a:hover{
    color: turquoise;
    font-weight: bold;
    font-size: 20px;
}

/* showcase */
#showcase{
    min-height: 200px;
    background:url('../img/alibababg.avif') no-repeat;
    background-size: cover;
    text-align: center;
    background-color: dimgrey;
    color: white;
    border-bottom: silver 3px solid;
}

#showcase h1{
    margin-top: 65px;
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

#showcase p{
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* newsletter */
#newsletter{
    padding: 10px;
    color: #ffffff;
    background: #35424a;
}

#newsletter h1{
    float: left;
}

#newsletter form{
    float: right;
    margin-top: 15px;

}

#newsletter input[type="email"]{
    padding: 4px;
    height: 25px;
    width: 250px;
}

.button_1{
    height: 37px;
    background: #e8491d;
    border: 0;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffffff; 
    font-family: 'Segoe UI', Tahoma, sans-serif;
            font-size: 81.25%;
}

/* boxes */
#boxes{
    margin-top: 20px;
    background-color: var(--text-color);
}

#boxes .box{
    float: left;
    width: 30%;
    text-align: center;
    padding: 1px;
    
    border-radius: 10px;
    margin: 5px;
    box-shadow: 0,2,4,rgba(0,0,0,0.2),0,8,20,rgba(0,0,0,0.5);
}

.box-image{
    object-fit: cover;
}

#person .box{
    float: left;
    width: 30%;
    text-align: center;
    padding: 10px;
}

/* sidebar */

aside#sidebar{
    float: right;
    width: 30%;
    margin-top: 10px;
}

/* article */

article#main-col{
    float: left;
    width: 65%;
}

.page-title{
    text-align: justify;
    color: black;
    font-size: 25px ;
}

/* courses */

#courses{
    margin-top: 20px;
}

#courses .course{
    float: left;
    width: 30%;
    text-align: center;
    padding: 10px;
}

#courses .text{
    color: #ffffff;
    

}
  
.middle {
transition: .5s ease;
opacity: 0;
}

.course:hover .middle {
opacity: 1; 

}

#courses .title{
    color: #e8491d;
    text-align: center;
    font-size: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

footer{
    padding: 10px;
    color: #ffffff;
    background: grey;
    text-align: center;
}
.rate{display: none;}
/* media-query */
@media(max-width: 768px){
    header #branding,
    header nav,
    header nav li,
    #newsletter h1,
    #newsletter form,
    #boxes .box,
    #person .box,
    article#main-col,
    .main aside#sidebar,
    #courses .title,
    #courses .course{
        float: none;
        text-align: center;
        width: 100%; 
         
    } 
    .rate {
        margin-left: 10%;
         
        text-align: center; 
        display:none;
       }
    header{
        padding-bottom: 20px;
    }
    #showcase{
        min-height: 350px;
    }
    #showcase h1{
        margin-top: 40px;
        font-size: 40px;
    }
    #showcase p{
        font-size: 30px;
    }

    .main .page-title{
        text-align: center;
    }

    #newsletter h1{
        margin-top: 5px;
        margin-bottom: 5px;
    }
    #newsletter form input[type="email"]{
        width: 100%;
        margin-bottom: 5px;
    }
    #newsletter button{
        display: block;
        width: 100%;
    }
    #courses .course .middle{
        align-items: center;
    }
    #courses .course .text{
        width: 200px;
        margin: auto;
    }

    #courses .course img{
        height: 150px;
        width: 150px;
    }

    footer p{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #courses .title{
        font-size: 40px;
    }
}

#textlabel{
    font-family: inherit;
    font-size:25; 
} 

.section {
      background-color: var(--text-color);
      padding: 40px;
      margin: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    h2 {
      color: #333;
      font-size: 28px;
      margin-bottom: 20px;
    }

    .course {
      display: flex;
      margin-bottom: 20px; 
     
    }  
    .course:hover{
        border: 1px solid orange; 
        border-radius: 3px;
    }

    .course-image {
      flex: 0 0 120px;
      margin-right: 20px;
    }

    .course-image img {
      width: 100%;
      height: auto;
      border-radius: 5px;
    }

    .course-details {
      flex: 1;
    }

    .course-title {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .course-description {
      color: #666; 
      float: left;
    }

    .course-link {
      display: inline-block;
      margin-top: 10px;
      color: #007bff;
      text-decoration: none;
      font-weight: bold;
    }