@import url('https://fonts.googleapis.com/css?family=Hind+Siliguri:700|Noto+Sans+Bengali:400');

:root[data-theme="light"] {
    --text: #0a0a0a;
    --text-muted: #525252;
    --background: #f5f5f5;
    --primary: #000000;
    --secondary: #e6e6e6;
    --accent: #d1d1d1;
}

:root[data-theme="dark"] {
    --text: #f5f5f5;
    --text-muted: #a3a3a3;
    --background: #0a0a0a;
    --primary: #ffffff;
    --secondary: #1a1a1a;
    --accent: #2e2e2e;
}

:root {
    --text: #0a0a0a;
    --background: #f5f5f5;
    --primary: #3e5e60;
    --secondary: #e6e6e6;
    --accent: #d1d1d1;
    --text-muted: #a3a3a3;
}



body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Noto Sans Bengali';
    font-weight: 400;
}

nav ul {
    display: flex;
    justify-content: center;
    column-gap: 2%;
}

nav li {
    list-style-type: none;
}

nav a {
    color: var(--primary);
    text-decoration: none;
}

.main-header {
    background-color: var(--primary);
    min-height: 60%;
    display: grid;
    grid-template-rows: auto;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.main-header h1 {
    text-align: center;
    font-size: 600%;
    padding: 0;
    margin: 0;
    color: var(--background);
}

.main-header p {
    text-align: center;
    font-size: 200%;
    margin: auto;
    color: var(--text-muted);
    /* margin-top: -10%; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-family: 'Hind Siliguri';
    font-weight: 700;
    text-align: center;
}

section {
    margin: auto;
    width: 90%;
    font-size: 125%;
}
@media screen and (max-width: 576px) {
    .projects {
        display: flex;
        flex-flow: column wrap;
    }
}
.projects {
    display: flex;
    gap: 10px;
}
 .projects a{
    text-decoration: none;
    color: var(--text);
 }
.project {
    display: grid;
    grid-template-columns: 132px auto;
    grid-template-rows: 34px 96px;
    gap: 5px;
    border: 1px solid var(--secondary);
    border-radius: 20px;
    padding: 5px;
}

.project p {
    padding: 10px;
}

.project img {
    grid-row: 1/3;

}

.project h3 {
    font-size: 100%;
    align-self: end;
    color: var(--primary);
}

.project-grid-item {
    background-color: var(--background);
    place-self: center;
    margin: 0;
}

td,
th {
    text-align: center;
    border: 1px solid var(--primary);

}

table {
    border-collapse: collapse;
    width: 80%;
    margin: auto;
}