body, html {
    margin: 0; padding: 0;
    width: 100%; height: 100%;
    background-color: #171717;
    color: #E0E0E0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.left-bar {
    width: 300px;
    height: 100vh;
    background-color: #1c1c1c;
    border-right: 1px solid #272727;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    left: 0; top: 0;
    z-index: 1000;
}

.profile-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #252525;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.2);
}
.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #272727;
}
.text-wrapper {
    display: flex;
    flex-direction: column;
}
.name-p {
    font-size: 1.2rem;
    margin: 0;
    text-decoration: none;
    color: #ffffff;
}
.name-p2 {
    font-size: 0.9rem;
    color: #AAAAAA;
    margin: 0;
}

.left-bar-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #1E1E1E;
    border: 1px solid #272727;
    border-radius: 8px;
    color: #d8d8d8;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.2);
}
.nav-button:hover {
    background-color: #2a2a2a;
}

.nav-button:active {
    background-color: #393939;
}

.nav-button svg {
    width: 20px;
    height: 20px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.socials{
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 20px;
}
.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #1E1E1E;
    border: 1px solid #272727;
    border-radius: 8px;
    color: #E0E0E0;
    text-decoration: none;
    transition: background-color 0.2s;
    cursor: pointer;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.37);
}
.social-button:hover {
    background-color: #2a2a2a;
}
.social-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

main.content {
    margin-left: 260px;
    padding: 60px 40px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-height: 100vh;
    line-height: 1.6;
    font-size: 1rem;
    background-color: transparent;
}

.section-box {
    padding: 30px;
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    max-width: 1000px;
}
.section-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
}

.section-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 10px;
    text-align: center;
}

@media (max-width: 768px) {
    main.content {
        margin-left: 0;
        margin-bottom: 60px;
        padding: 20px 15px;
        font-size: 0.95rem;
    }

    .section-box {
        padding: 20px;
        font-size: 0.95rem;
    }

    .section-box p {
        font-size: 0.95rem;
    }

    .section-text {
        padding: 0 5px;
        font-size: 0.95rem;
    }
}

.highlight{
    background: -webkit-linear-gradient(#eee, #2e2e2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-h1 {
    font-size: 5rem;
    line-height: 0.5;
}
.text-h2 {
    font-size: 4rem;
    line-height: 0.5;
}
.section-box h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}
.section-box p {
    line-height: 1.5;
    color: #bbb;
}
.project-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.projects-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-top: 30px;
}
.project-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(100% - 15px);
    background-color: #161616;
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.11);
}
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 40px;
}
.skills-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
    background-color: #161616;
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.11);
}
.project-card:hover {
    transform: scale(1.02);
}
.project-img{
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.11);
}
.project-card img {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.11);
}
.skills-card:hover {
    transform: scale(1.03);
}
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
}
.modal-content {
    background-color: #1e1e1e;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #323232;
    width: 80%;
    max-width: 600px;
    border-radius: 12px;
    color: #fff;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: #fff;
    text-decoration: none;
}
.info-text{
    padding: 8px;
    border-radius: 12px;
    width: 20%;
    border: 1px solid #232323;
    background-color: #121212;
}
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    .social-buttons{
        display: none;
    }
    .info-text{
        padding: 10px;
        border-radius: 20px;
        width: 70%;
        border: 1px solid #232323;
        background-color: #121212;
    }
    .text-h1 {
        font-size: 4rem;
        line-height: 1.2;
    }
    .left-bar {
        flex-direction: row;
        width: 100%;
        height: 60px;
        padding: 5px 10px;
        position: fixed;
        bottom: 0;
        top: unset;
        left: 0;
        border-right: none;
        border-top: 1px solid #272727;
        justify-content: space-between;
        align-items: center;
        z-index: 10000;
    }
    .profile-wrapper {
        display: none;
    }
    .left-bar-items {
        flex-direction: row;
        gap: 5px;
        flex-grow: 1;
        justify-content: space-around;
        margin: 0;
    }
    .nav-button {
        flex-basis: auto;
        flex-grow: 1;
        max-width: none;
        padding: 6px 8px;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .nav-button svg {
        width: 20px;
        height: 20px;
    }
    .social-buttons {
        gap: 8px;
        margin: 0;
    }
    .social-button {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }
    .social-button svg {
        width: 18px;
        height: 18px;
    }
    main.content {
        margin-left: 0;
        margin-bottom: 60px;
        padding: 20px 15px;
    }
    .section-box {
        padding: 20px;
    }
    .GitHub{
        display: none;
    }
    .projects-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
        justify-content: space-between;
        margin-top: 20px;
    }
    .project-card {
        width: 100%;
        max-width: 100%;
    }
    .text-h2 {
        font-size: 2rem;
        line-height: 0.5;
        margin-top: -20px;
    }
    .skills-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
        justify-content: space-between;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    .skills-card {
        width: 100%;
        max-width: 100%;
        border: 1px solid rgba(71, 71, 71, 0.38);
        border-radius: 12px;
        padding: 20px;
        color: #fff;
        cursor: pointer;
        transition: transform 0.2s;
        box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.11);
    }
    .modal-image{
        width: 100%;
    }
}
.modal-image {
    max-width: 550px;
    border-radius: 12px;
}


