

.body{
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1f5f9;
}

/* Navigation Bar Styles & Titles */

.my-navbar {
    background-color: #1f2937;
    padding: 10px;
}

.my-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0 1rem;
    gap: 1.25rem;

    max-height: 0;
    overflow: hidden;

    transform: scaleY(0);
    transform-origin: top;

    transition: 
        max-height 0.5s ease-in-out,
        transform 0.5s ease;
    
}

.my-nav-item {
    margin:0;   
}

.my-nav-link {
    display: block;
    padding: 1rem;
    border: 0.125rem solid #e5e7eb;
    border-radius: 0.45rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.my-nav-link:hover {
    background-color: #fd9c00;
    border-color: #fd9c00;
    color: #ffffff;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}

.menu-button {
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

.menu-button:hover {
    color: #fd9c00;
    transition: color 0.4s;
}

.my-nav-list.show {
    max-height: 30rem;
    transform: scaleY(1);
}

.title {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
}

h1 {
    margin: 1rem;
}

.profession {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 0;
    color: #48505b;
    font-style: italic;
    text-decoration: underline;
}

.avatar {
    display: block;
    margin: 1rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
}


/*Text Formatting*/


.tag-pins {
   padding-bottom: 1rem;
}

.pin-title {
    text-align: center;
    font-size: 1.5rem;
    color: #48505b;
    margin-top: 2rem;
    margin-bottom: 0;;
    background-color: #f1f5f9;
    padding-bottom: 0 0.5rem;
    text-decoration: underline;
}

.pin-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    list-style-type: none;
    margin: 0;
    padding-top: 0.5rem;;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    gap: 0.8rem;
}

.pin-item {
    flex: 0 0 calc(50% - 0.4rem);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    font-size: 1.25rem;
    border: 0.125rem solid #CBD5E1;
    padding: 0.25rem;
    background-color: #CBD5E1;
    border-radius: 0.9rem ;
    color: #48505b;

    
    
}

.pin-item:hover {
    background-color: #fd9c00;
    border-color: #fd9c00;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}

.autobiograbhy{
    display: block;
    margin: 1rem auto;
}

.autobiography-title {
    text-align: center;
    font-size:2rem;
    color: #000000;
    margin-bottom: 0;
    background-color: #f1f5f9;
    margin-top:0;
    
}

/*aside-block-initialize*/
.container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
}

.content {
    flex: 1;
    padding-right: 1rem;;
}

aside {
    width: 20rem;
    border: 0.125rem solid #CBD5E1;

}

/*description-formatting*/

.autobio-text{
    line-height: 1.6;
}

.autobio-title {
    font-size: 16pt;
}

.job-item-container {
    list-style: none;
    padding: 0;
}

.job-item-container li {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.6;
    padding-bottom: 2pt;
}

.job-company{
    font-size: 14pt;
    font-weight:bold;
}

.job-company::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/company-icon.svg") center / contain no-repeat;
}


.job-title {
    font-size: 12pt;
}

.job-title::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/suitcase-icon.svg") center / contain no-repeat;
}

.job-duration {
    font-size: 10pt;
    font-style:italic;
}

.job-duration::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/time-icon.svg") center / contain no-repeat;
}

.education-item-container {
    list-style: none;
    padding: 0;
}

.education-item-container li {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.6;
    padding-bottom: 2pt;
}

.education-degree {
    font-size: 14pt;
    font-weight:bold;
}

.education-degree::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/degree.svg") center / contain no-repeat;
}

.education-institution {
    font-size: 12pt;
}

.education-institution::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/university.svg") center / contain no-repeat;
}

.institution-location
{
    font-size: 12pt;
}

.institution-location::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/location-pin.svg") center / contain no-repeat;
}

.education-duration
{
    font-size: 10pt;
    font-style:italic;
}

.education-duration::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("icons/time-icon.svg") center / contain no-repeat;
}

.project-description {
    line-height: 1.6;
}


.hobby-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    justify-content: left;
    margin-bottom: 2rem;
    
}

.hobby-item {
    color:#000000;
    font-size: 12pt;
    font-weight: bold;
    border: 0.125rem solid #fd9c00;
    padding: 0.5rem;
    border-radius: 1rem;

}

/*Caruosel auto*/

.gallery-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#carousel {
    width: 40rem;
    max-width: 100%;
}

#carousel img {
    height: 20rem;
    object-fit: cover;
    border-radius: 2rem;
}

/*Contacts*/

.contact-list-container {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.6;
    padding-bottom: 0.3rem;
    flex-wrap:wrap;
}


.contact-item::before {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-email::before {
    background-image: url("icons/mail-icon.svg");
}

.contact-phone::before {
    background-image: url("icons/phone-icon.svg");
}

.contact-linkedin::before {
    background-image: url("icons/linkedin.svg");
}

footer {
    background-color: #1f2937;
    color: #e5e7eb;
}

.footer-list {
    display: flex;
    flex-wrap:nowrap;
    gap:3rem;
    list-style: none;
    justify-content: center;
}


.error-title
{
    display: flex;
    justify-content: center;
}

.error-header, .error-footer {
    width: 100%;
    height: 2rem;
    background-color: #000000;
}
/*mobile*/
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        padding: 1rem;
    }

    aside {
        width: 100%;
    }

    .content {
        padding-right: 0;
    }

    #carousel {
        width: 100%;
    }

    .my-nav-list {
        padding-left: 0;
        padding-right: 0;
    }
}