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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

header, main, footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: #000 1px solid;
}

header img {
    width: 75px;
    height: auto;
}

.about {
    text-decoration: none;
    transition: 0.2s;
    color: #000;
}

.about:hover {
    text-decoration: underline;
}

.btn {
    border: 1px solid #000;
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    font-size: 1rem;
    line-height: 2.5;
    transition: 0.2s;
}

.btn:hover {
    background-color: #000;
    color: #fff;
}

.profile {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.profile h1 {
    font-size: 3rem;
}

.profile img {
    width: 540px;
    height: auto;
    object-fit: cover;
}

.profile > div {
    flex: 1;
}

.main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.card, .tools, .project-card {
    border: #000 1px solid;
    padding: 20px;
}

.tools:hover {
    background-color: #000;
    color: white;
}

.github-logo {
    background-color: white;
}

.card-header, .sec-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-header h2, .sec-title h2 {
    margin: 0;
}

.sec-title img, .card-header img {
    width: 48px;
    height: auto;
    object-fit: contain;
}

.sub-mid-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
}

.tools img {
    width: auto;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px auto;
}

.interest {
    border: none;
    padding: 6px 0;
    text-align: center;
}

.interest p {
    border: 1px solid #000;
}

.interest p:hover {
    background-color: #000;
    color: #fff;
}

.projects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.project-card {
    padding: 0;
}

.project-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.project-name h3 {
    margin-top: 8px;
    font-size: 16px;
    text-align: center;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: #000 1px solid;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials img {
    width: 48px;
    height: auto;
}