/* Common Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #222831;
    color: #EEEEEE;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

.container-double, .double-container, .header-container, .container, .container-index, .container-projects, .footer-container{
    text-align: center;
    max-width: 100%;
    padding: 20px;
    background-color: #31363F;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    box-sizing: border-box;
}




h1, h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin: 10px 0;
}

.highlight {
    color: #76ABAE;
}

a {
    color: #76ABAE;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.burger-menu {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: #EEEEEE;
    padding: 10px;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav a {
    color: #EEEEEE;
    text-decoration: none;
    padding: 10px;
    font-size: 1em;
    transition: color 0.3s;
}

.nav a:hover {
    color: #76ABAE;
}

/* Layouts */

.header-container {
    max-width: 97%;
    height: 70px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.container {
    max-width: 90%;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
}

.container-double {
    max-width: 90%;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
    display: flex;
}

.container-small {
    width: 50%;
    height: 300px;
    padding: 10px;
    background-color: #31363F;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(118, 171, 174, 0.2);
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
}

.container-index {
    max-width: 90%;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
    display: flex;
}

.container-projects {
    max-width: 90%;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
    display: flex;
}

.title-page {
    text-align: center;
    max-width: 90%;
    padding: 1px;
    background-color: #31363F;

    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    margin-bottom: 10px;
}

.featured {
    text-align: center;
    padding: 1px;
    background-color: #31363F;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    margin-bottom: 10px;

    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.featured-box {
    flex: 1 0 200px;
}
.featured-box > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-container {
    max-width: 97%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.left-section, .right-section{
    flex: 1;
    padding: 20px;
    max-width: 50%;
    text-align: center;
}

.skills-list {
   display: inline-table;
   text-align: center;
   width: 35%;
   margin: 0 10px;
}
.skills-list p {
    line-height: 1.2;
    margin: 0;
}

/* Profile Pic */
.profile-pic {
    width: 250px;
    height: auto;
    max-width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid #EEEEEE;
    display: inline-block;
}

.project-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: inline-block;
}
.left-section > div {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gp-button {
    background-color: transparent; 
    border: none; 
    padding: 0; 
    cursor: pointer; 
    display: inline-block; 
}

.gp-button img {
    display: block; 
    width: 100px; 
    height: auto; 
}


/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.contact-list li img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-list a {
    color: #76ABAE;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* Make sure images scale with the display */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Media Query for small screen sizes (e.g., phones) */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
        position: absolute; /* Make it independent of other elements */
        right: 20px; /* Position it from the right edge */
        top: 15px; /* Adjust the top spacing */
        font-size: 1.5em; /* Optional: Adjust size */
        cursor: pointer;
    }
    
    .header-container {
        position: relative; /* To contain the absolute positioning of .burger-menu */
        text-align: left; /* Default alignment */
        padding: 10px 20px;
        background-color: #31363F;
    }

    .nav {
        display: none; /* Hide navigation menu */
        flex-direction: column; /* Stack items vertically */
        position: absolute;
        top: 100px; /* Adjust based on your header height */
        width: 90%;
        background-color: rgba(34, 40, 49, 0.98);
        text-align: center;
        z-index: 1000;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
    }
    .nav a {
        padding: 15px 0;
        font-size: 1.2em;
        border-bottom: 1px solid #222831;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav.show {
        display: flex; /* Show menu when toggled */
    }


    .container-projects {
        flex-direction: column;
    }
    .container-index {
        flex-direction: column;
    }
    .container-small {
        width: 100%;
        height: 40%;
        padding: 10px;
        background-color: #31363F;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(118, 171, 174, 0.2);
        margin-top: 10px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    .container-double {

        flex-direction: column; /* Stack elements vertically */
    }

    .left-section, .right-section {
        max-width: 100%; /* Make both sections full width */
        flex: none; /* Prevent them from taking equal width */
    }
}
