body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.heading {
    text-align: center;
    margin-bottom: 30px;
    span{
        color: #28a745;
    }
}

.course-table {
    width: 100%;
    border-collapse: collapse;
}

.course-table td {
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
}

.course-table td:first-child {
    text-align: left;
}

.course-table th{
    border: 1px solid #ddd;
    padding: 15px 20px;
    font-size: 20px;
    text-align: center;
    background-color: #f4f4f4;
}

.input-field {
    width: 70%;
    padding: 10px 15px;
    font-size: 18px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.input-field::placeholder{
    color: #b7b7b7;
    text-align: center;
}

.input-field:focus{
    outline: 2px solid #ddd;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 18px;
    transition: 0.37s;
}

.submit-button:hover {
    background-color: #218838;
    transition: 0.37s;
}

.result-text {
    text-align: center;
    font-size: 2em;
    span{
        color: #218e3a;
    }
}

.footer {
    text-align: center;
    margin-top: 20px;
    a{
        text-decoration: none;
        color: #1aa039;
    }
}

/*------------------------------------------------------------------*/

.front_link {
    color: #28a745;
    text-decoration: none;
    font-size: 25px;
}

.front_head {
    display: flex;
    align-items: center;
    justify-content: center;
    div,h1{
        text-align: left;
        padding-right: 10px;
    }
}

.front_heading {
    text-align: left;
    margin-bottom: 30px;
    span{
        color: #28a745;
    }
}

.logo_icon {
    height: 75px;
}

.course-list {
    width: 100%;
    border-collapse: collapse;
}

.course-list td {
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
}

.course-list th{
    border: 1px solid #ddd;
    padding: 15px 20px;
    font-size: 20px;
    text-align: center;
    background-color: #f4f4f4;
}

.front_dis {
    height: 90vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* ------------------------ RESPONSIVE CSS ------------------------ */

@media only screen and (max-width: 768px) {
    body {
        padding: 0px;
    }

    .container {
        max-width: 100%;
        margin: auto;
        padding: 15px;
        box-shadow: none;
    }

    .heading {
        font-size: 22px;
    }
    
    .course-table td {
        padding: 13px 8px;
        font-size: 14px;
    }
    
    .course-table th{
        padding: 13px 8px;
        font-size: 17px;
    }

    .input-field {
        width: 80%;
        padding: 13px 5px;
        font-size: 14px;
        border-radius: 3px;
        border: none;
        background-color: #f7f7f7;
    }
    
    .result-text {
        text-align: center;
        font-size: 1.5em;
        span{
            color: #218e3a;
        }
    }

    /* --------------------------------------------- */

    .front_link {
        color: #28a745;
        text-decoration: none;
        font-size: 25px;
    }
    
    .front_head {
        display: flex;
        align-items: center;
        justify-content: center;
        div,h1{
            text-align: left;
            padding-right: 10px;
            font-size: 20px;
        }
    }
    
    .front_heading {
        text-align: left;
        margin-bottom: 20px;
        span{
            color: #28a745;
        }
    }
    
    .logo_icon {
        height: 45px;
    }
    
    .course-list {
        width: 100%;
        border-collapse: collapse;
    }
    
    .course-list td {
        border: 1px solid #ddd;
        padding: 10px 20px;
        text-align: center;
        a{
            font-size: 20px;
        }
    
    }
    
    .course-list th{
        border: 1px solid #ddd;
        padding: 15px 20px;
        font-size: 20px;
        text-align: center;
        background-color: #f4f4f4;
    }
    
    .front_dis {
        height: 90vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}