body {
    font-family: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #1a73e8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#mobile-header {
    display: none;
}

#mobile-container {
    display: none;
}

#sidebar-menu {
    position: fixed;
    top: 0;
    left: 0; 
    height: 100vh;
    max-height: 100vh;
    width: 250px;
    background-color: #2d2d2d;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-y: auto;
}


#profile-section {
    text-align: center;
    padding: 10px;
}

#profile-picture {
    display: block;
    margin: 20px auto;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

#fullname {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

#sidebar-subtitle {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 25px;
}

#menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 50px 0;
    background-color: #1f1f1f;
}

.menu-item {
    width: 80%;
    text-align: center;
    padding: 10px 10px;
    color: #ffffff;
    background-color: #3a3a3a;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #555555;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: #555555;
    text-decoration: none;
}

#social-media-links {
    position: sticky;
    bottom: 0;
    background-color: #2d2d2d; /* match sidebar color */
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 35px;
    border-top: 1px solid #444444;
    z-index: 10;
}


.media-image {
    height: 28px;
    color: #ffffff;
    font-size: 25px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.media-image:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

#container {
    margin-left: 250px;
    min-height: 100vh;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.section-divider {
    border: 0;
    height: 2px;
    background-color: #cccccc;
    margin: 10px 0 20px;
}

.main-content {
    position: relative;
    margin-left: 10%;
    margin-right: 10%;
}

.page-title {
    color: #333333;
    font-size: 2.3rem;
    margin-bottom: 15px;
}
#introduction {
    color: #555555;
    line-height: 1.6;
    font-size: 1.3rem;
}

.section-title {
    color: #333333;
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 10px;
}

#skills-table {
    width: 100%;
    border-collapse: collapse;
}

#skills-table th, #skills-table td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

.project-link:hover {
    text-decoration: none;
}

.project {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #dddddd;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

#contact-info {
    font-size: 1.1rem;
    color: #555555;
    margin-top: 10px;
}

#projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.project-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #dddddd;
}

.fav-project-link {
    text-decoration: none;
    color: inherit;
}

.fav-project-link:hover {
    text-decoration: none;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #1a73e8;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #155ab6;
}

#contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    width: 100%;
    flex-shrink: 0;
    margin-right: 4px;
}

.contact-label {
    font-weight: 600;
    color: #333333;
    font-size: 1.2rem;
}

.contact-link {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    #profile-section {
        display: none;
    }

    #social-media-links {
        display: none;
    }

    #menu-items {
        padding: 100% 0;
    }

    #mobile-header {
        display: flex;
        align-items: center;
        top: 0;
        left: 0;
        right: 0;
        gap: 12px;
        padding: 15px 15px 10px 55px;
        background-color: #2d2d2d;
        color: #ffffff;
        position: fixed;
        z-index: 9999;
    }

    #menu-toggle {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        background-color: #2d2d2d;
        color: #ffffff;
        border: none;
        padding: 10px 12px;
        font-size: 1.2rem;
        border-radius: 5px;
        border: 1px solid #555555;
        cursor: pointer;
    }

    #mobile-profile-picture {
        border-radius: 50%;
        border: 2px solid #ffffff;
        margin-left: 15px;
    }

    .mobile-name {
        font-size: 1.1rem;
        margin: 0;
    }

    .mobile-subtitle {
        font-size: 0.8rem;
        margin: 2px 0 0;
        opacity: 0.8;
    }

    #sidebar-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        max-height: 100vh;
        width: 250px;
        background-color: #2d2d2d;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    #sidebar-menu.open {
        transform: translateX(0);
    }

    #mobile-social-media-links {
        display: flex;
        gap: 30px;
        margin-left: auto;
        padding-left: 10px;
        padding-right: 10px;
        align-items: center;
    }

    #container {
        margin-left: 0;
        padding: 20px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 80px;
    }

    .main-content {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    #introduction {
        text-align: left;
    }

    .contact-method {
        text-align: left;
    }
}
