.header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.desktop {
    display: none;
}

.profile-icon {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-details {
    margin-left: 20px;
}

.profile-info {
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;;
}

.profile-info span {
    display: block;
    margin-bottom: 5px;
}

.profile-name {
    clear: both;
    display: block;
    width: 100%;
}

.profile-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: left;

}

.card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF6B3C;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    flex: 1 0 auto;
    max-width: 200px;
    text-align: center;
    text-transform: capitalize;
}

.card-button.secondary {
    background-color: #fff;
    color: #677788;
}

.card-button:hover {
    background-color: #FF4C1F;
    color: #fff;
}

.card-button:hover.secondary {
    background-color: #677788;
    color: #FF6B3C;
}

.portfolio-container {
    margin-top: 60px;
}

.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 6px;;
    overflow: hidden;
}

.portfolio-image {
    display: block;;
}

.portfolio-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding: 1.5rem;
    text-align: center;
    background: rgb(30,32,34);
    color: #fff;
    width: 100%;;
}

.portfolio-title p {
    margin-bottom: 0;
}

.meta-container {
    padding: 2rem;
    background: rgb(30,32,34);
    margin-top: 60px;
    border-radius: 6px;
}

.meta-title {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.meta-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
    margin: 0 !important;
    row-gap: 20px;;
}

.meta-item {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.meta-icon {
    width: 40px;
}

.invert-svg {
    filter: invert(1);
}

@media (min-width: 768px) {
    .header.desktop {
        display: flex;
    }
    .mobile {
        display: none;
    }
    .header {
        flex-direction: row;
        gap: 30px;
    }

    .profile-info {
        flex: 1;
    }
    
    .profile-icon {
        width: 120px;
        height: 120px;
    }
    .profile-details {
        display: flex;;
        flex-direction: row;
        gap: 30px;
        margin-left: 0;
        margin-bottom: 20px;
    }
    .profile-info span {
        margin-bottom: 10px;
    }

    .profile-actions {
        display: block;
    }

    .portfolio-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .portfolio-item {
        display: flex;
        flex-direction: column;
        width: calc(25% - 20px);
        box-sizing: border-box;
        overflow: hidden;
    }

    .portfolio-link {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .portfolio-image-container {
        width: 100%;
        position: relative;
        padding-bottom: 100%;
        overflow: hidden;
    }

    .portfolio-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    .portfolio-title {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
}