body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.content {
    width: 98.76%;
    margin: 0 auto;
    padding: 20px;
    background: rgb(237, 237, 237);
    box-shadow: 0 0 0px rgba(0, 0, 0, 0);
}

.about-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content horizontally */
    padding: 20px;
    background: white;
    margin-top: 90px;
    margin-bottom: 10px;
    margin-left: 19%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.559);
    border-radius: 10px;
    max-width: 60%;
    text-align: center; /* Center the text content */
}

.profile-pic {
    position: absolute;
    top: -100px; /* Adjust as necessary */
    left: 50%;
    transform: translateX(-50%);
    background: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.323);
    z-index: 10; /* Ensure it is above other elements */
}

.about-section img {
    width: 160px;  /* Ajusta este valor para hacer la imagen más grande */
    height: 180px; /* Asegúrate de mantener la proporción */
    border-radius: 50%;
}

.text-content {
    flex: auto;
    font-size: 0.8em;
    padding-top: 75px; /* Add padding to make space for the image */
}

.about-section h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    margin: 10px 0 5px;
}

.about-section p {
    font-size: 1.1em;
    color: #000000;
    margin: 10px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-section {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0);
}

.portfolio-item {
    position: relative;
    width: 20%;
    min-height: 150px;
    max-height: 150px;
    text-align: center; /* Center the text content */
    background: white;
    padding: 35px 5px 5px; /* Add padding to create space for the image */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.542), 0 8px 10px rgba(0, 0, 0, 0.1); /* Add extra shadow for 3D effect */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-item img {
    position: absolute;
    top: -50px; /* Adjust as necessary */
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    background: rgb(255, 255, 255);
}

.portfolio-item h2 {
    margin-top: 80px; /* Increase margin to push the text content down */
    font-family: 'Roboto', cursive;
    font-size: 1.5em;
    margin: 5px 6px;
}

.portfolio-item p {
    font-size: 1em;
    color: #000000;
    margin: 10px 0; /* Adjust margin */
}

.portfolio-item .office {
    margin-top: 1px; /* Increase the top margin to push the content down */
    margin-bottom: 2px; /* Adjust the bottom margin */
}
