*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    background: transparent;
    background-color: #111;
    flex-wrap: wrap;
}

.logo img {
    width: 70px;
}

.navbar-items{
    display: flex;
    gap: 40px;
    margin-right: 10px;
    flex-wrap: wrap;
}

.navbar-items a {
    text-decoration: none;
    color: white;
    font-family: monospace;
    font-size: 16px;
    transition: 0.3s;
}

.navbar-items a:hover {
    color: #3c3b3b;
}
.education-table {
    display: flex;
    font-family: monospace;
    font-size: clamp(12px, 2vw, 20px);
    align-items: center;
    justify-content: center;
    color: #838282;
    padding: 10px;
    flex-grow: 1;
    overflow-x: auto;
}
.education-table table {
    border: 5px solid #838282;
    border-collapse: collapse;
    border-radius: 10px;
    width: 100%;
    max-width: 900px;
}
.education-table td, .education-table th {
    border: 5px solid #838282;
    padding: 15px 20px;
    border-collapse: collapse;
}
.edu {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
    margin-top: 4%;
    font-family: monospace;
    color: white;
    font-size: clamp(18px, 3vw, 40px);
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111;
    padding: 20px;
    color: white;
}
.footer h3 {
    font-family: monospace;
    font-size: 15px;
    text-align: center;
}

/* ===== Tablet (max-width: 768px) ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 20px;
    }
    .navbar-items {
        gap: 20px;
    }
    .education-table td, .education-table th {
        padding: 10px 12px;
    }
}

/* ===== Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        padding: 10px 15px;
        gap: 10px;
    }
    .navbar-items {
        gap: 15px;
        margin-right: 0;
        justify-content: center;
    }
    .navbar-items a {
        font-size: 14px;
    }
    .education-table {
        padding: 10px 5px;
    }
    .education-table td, .education-table th {
        padding: 8px 6px;
        font-size: 11px;
    }
    .footer h3 {
        font-size: 13px;
    }
}