
/******************* site wide*****************/
* {
    font-family: "Josefin Sans", sans-serif;
    box-sizing: border-box;
}

h1{
    margin: 1rem 10px;
    color: #3D405B;
}


/******************* header *****************/

header{
    display: grid;
    grid-template-columns: 24px auto 44px;
    padding: 5px 0 5px 10px;
    align-items: end;
    border-bottom: solid 1px #ddd;
    column-gap: 8px;
}


header img {
    display: block;
    width: 100%;
    height: auto;
    padding-bottom: 5px;
}

header span {
    font-size: 1.2rem;
    color: #3d405b;
}



/******************* hamburger navigation *****************/


.hamburger {

    background: none;
    border: none;
    color: #3d405b;
    cursor: pointer ;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.hamburger::before{
    content: "\2630";
    font-size: 2rem;
}

.hamburger.show::before{
    content: "\00D7";

}


/******************* nav navigation *****************/


.navigation{
    display: none;
}

.navigation.show {
  display: block;
}

.navigation ul {
    list-style:  none;
    margin: 0;
    padding: 0;
}

.navigation a {
    display: block;
    padding: .8rem 10px;
    color: #3d405b;
    text-decoration: none;
    border-bottom: solid 1px #ddd;
}


.navigation li.current {
    background-color: #eee;
}
.navigation a:hover{
    background-color: #e07a5f ;
}


h1 {
    margin-left: 10px;
}


/** ******************** foooter  **/


footer {
    background-color: #eee;
    padding: 1rem 10px;
    text-align: center;

}


.Social {
    display: flex;
    justify-content: center;
    column-gap: 8px;

}

.Social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: #ccc solid 1px;
    border-radius: 22px;
}

.Social img {
    width: 22px;
    height: 22px;
}


.Social a:hover {
    background-color: #ddd;
}


/******************* main *****************/

h2{
    margin: 1rem 10px;
    color: #3D405B;
}


/******************buttons***************/
.filter-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.course-card.completed {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}

.course-card.pending {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.course-title {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    flex: 1;
}

.course-credits {
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
}

.course-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
}

.course-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.tech-badge {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-status {
    font-weight: bold;
    font-size: 0.9em;
}

.course-status.completed {
    color: #28a745;
}

.course-status.pending {
    color: #ffc107;
}

.course-certificate {
    font-size: 0.8em;
    color: #6c757d;
}










