html{
    scroll-behavior: smooth;
    max-width: 100%;
    max-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    color: rgb(17, 17, 19);
    background-color: #eaeded;
    max-width: 100%;
    max-height: 100%;
    overflow-x: hidden;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
}

header {
    background-color: #131921;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tagline {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f6e28979;
    padding: 7px;
    border-radius: 40px;
    width: max-content;
    text-transform: uppercase;
    font-weight: 600;
    word-spacing: 2px;
    letter-spacing: 2px;
    font-size: 18px;
}

.tagline-2 {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #eddc7a58;
    padding: 7px;
    border-radius: 40px;
    width: max-content;
    text-transform: uppercase;
    font-weight: 600;
    word-spacing: 2px;
    letter-spacing: 1px;
    font-size: 12px;
}

.texts {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #131921a3;
}

.orange-dot {
    background-color: #FF9900;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.orange-dot {
    background-color: #FF9900;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.tagline-4 {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff12;
    color: white;
    padding: 7px;
    border-radius: 40px;
    width: max-content;
    text-transform: uppercase;
    font-weight: 600;
    word-spacing: 2px;
    letter-spacing: 2px;
    font-size: 12px;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: #0b0f25b3;
    margin: 0;
}

.subject-title-bg {
    background-color: #131921;
    width: 100%;
}

.subjects-title {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 50px;
}

.subjects-title h1 {
    color: #f5f7f7;
    font-size: 70px;
}

.subjects-title p {
    color: #eaededb3;
    font-size: 20px;
}

.search-div {
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.26);
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.search-input {
    min-width: 0;
    flex: 1 1 200px;
    background-color: #0e386e26;
    border: 0;
    padding: 15px;
    border-radius: 15px;
}

.search-input:hover {
    cursor: pointer;
}

.dropdown {
    appearance: none;
    -webkit-appearance: none; /* These remove the native arrow that comes with a drop down box */
    -moz-appearance: none;

    padding: 14px;
    border-radius: 15px;
    background-color: white;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.37);
    text-align: center;
    flex: 0 0 auto;
}

.type-filter {
    appearance: none;
    padding: 14px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.37);
    text-align: center;
    flex: 0 0 auto;
    cursor: pointer;
    
}

.course-table-card {
    background-color: white;
}

/* TABLE CSS STYLES */

.resource-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #FF9900;
    text-decoration: none;
    border: 50%;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.resource-btn:hover {
    background-color: #131921;
    color: #FF9900;
    padding: 8px 16px;
}

.resource-div {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0;
}

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

.resource-table thead th {
    text-align: left;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a93a2;
    background: #f7f8fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.resource-table tbody td{
    padding: 16px 24px;
    font-size: 15px;
    color: #131921;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle; /* Aligns the text in the body of the table in the middle */
}

.resource-table tbody tr:last-child td {
    border-bottom: none;
}

.resource-table tbody tr {
    transition: background 0.2s ease;
}

.resource-table tbody tr:hover {
    background-color: #f9fafb;
}

.resource-table td:last-child {
    text-align: right;
}