/* Remove default spacing */
.header,
.header-nav,
.header-branding,
.nav-links,
.nav-hamburger-list {
    margin: 0;
    padding: 0;
}

.header {
    max-width: none;
    width: 100%;
}

/* Remove bullet points if nav-hamburger-list is a <ul> */
.nav-hamburger-list {
    list-style: none;
}

.nav-title {
    padding: 0 !important;
}

/* Make nav a flex container, brand left & links right */
.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0;   /* remove auto-centering */
    padding: 0;
    width: 100%; /* ensure full width */
}

/* Optional: adjust spacing between image & text */
.header-branding {
    display: flex;
    align-items: center;
    gap: 1rem; /* spacing between the image and the title */
}

/* Make sure the image doesn't exceed a certain size */
.header-image img {
    display: block;  /* avoids extra bottom space */
    max-width: 46px;
    height: auto;
    padding-left: 15px;
    transition: transform 0.3s ease;
}

@keyframes rotateRightLeft {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.header-image:hover img {
    animation: rotateRightLeft 0.6s ease-in-out;
}

/* Home page content */
/* Avatar size */
.size-xl {
    height: 20rem !important;
    width: 20rem !important;
}
/* Title */
.home-about h1 {
    font-size: 2rem;
}
/* Description */
.home-about h2 {
    font-size: 1.5rem;
    font-weight: normal;
}

/* My CV page */
.job-header {
    display: flex;
    align-items: center;
}

.job-header-logo img {
    max-width: 80px;
    height: auto;
    border-radius: 8px;
}

.job-header-info {
    margin-left: 1rem;
}

.job-role {
    font-weight: bold;
    font-size: 1.2rem;
}

.job-location {
    color: #999;
}
