* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    justify-content: center;
    padding: 2rem 15% 0 15%;
}

.resume {
    display: flex;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3rem;
    padding-left: 3rem;
}

.links a {
    display: inline-block;
    color: #002a56;
    font-size: 1.05rem;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
    vertical-align: middle;
}

.links a:hover {
    color: #1a73e8;
    /* text-decoration: underline; */
}

.links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.left {
    color: #333;
    padding: 4rem 0;
    /* width: 40%; */
    width: 300px;
    text-align: right;
    position: relative;

    margin-right: 2rem;
}

#me {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

.right h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.skills img {
    width: 70px;
    height: 70px;
}

/* .email {
    padding-left: 2.2rem;
    margin-top: 1rem
} */

.section {
    margin-bottom: 2rem;
}

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 0.2rem;
}

.section p,
.section ul {
    font-size: 1.15rem;
    line-height: 1.5;
}

.section ul {
    padding-left: 1.2rem;
}

#hello {
    font-size: 2.2rem;
    font-weight: 600;
}

#hello-others {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

#summary {
    font-size: 1.15rem;
}

.project-container {
    margin-bottom: 1rem;
}

.project {
    background-color: #e6eaf0;
    padding: 1rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.project:hover {
    background-color: #d4dde9;
}

.project-header {
    font-weight: 600;
    font-size: 1.15rem;
}

.project a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project a:hover {
    color: #1a73e8;
    text-decoration: none;
}

p.project-description {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #4a5568;
}

.project-tags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
}

.tag {
    background-color: #82a2c1;
    color: #dbe3f0;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
    margin: 18px 0;
    align-items: center;
    justify-items: center;
}
.tech-icons img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: transform 0.2s;
}
.tech-icons img:hover {
    transform: scale(1.12);
}

#tech-stack {
    margin: 2rem 0 1rem 0;
}

@media (min-width: 1921px) {
    body {
        padding: 2rem 25% 0 25%;
    }
}

@media (max-width: 900px) {
    body {
        padding: 0;
    }

    .links {
        padding-left: 35%;
        align-items: flex-start;
    }

    .left {
        color: #e5e5e5;
        background-color: #dde8ee;
        text-align: center;
    }

    .left img {
        margin: 0;
    }

    .resume {
        flex-direction: column;
    }

    .right {
        padding: 2rem 0.5rem;
        max-width: 100%;
        min-width: 50%;
    }

    .left,
    .right {
        width: 100%;
    }
}