/* Flex container for profile pic and name in header */
#YT {
    width: 100%;
    aspect-ratio: 2/1;
}

#portofolio {
    height: fit-content;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.utility-bar-buttons {
    display: flex;
    gap: 0.75rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}
.site-icon {
    width: 48px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    border-radius: 50%;
    margin: 0.5rem;
}
/* Flex container for logo and title in header */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.utility-bar {
    height: 64px;
    width: 100%;
    background: #FFFAEF;
    box-shadow: 0 2px 12px rgba(25,35,53,0.25);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    display: flex;
    justify-content: space-evenly;
    max-width: 100vw;
    align-items: center;
}

.utility-link {
    background: linear-gradient(90deg, #FFFAEF 60%, #FFD700 100%);
    color: #192335;
    border: 2px solid #FFD700;
    border-radius: 24px;
    padding: 0.2rem 0.6rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.75rem;
    box-shadow: 0 4px 18px rgba(25,35,53,0.18);
    transition: background 0.3s, color 0.3s, border 0.3s, box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
    outline: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.utility-link::after {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(255,250,239,0.15);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 24px;
}
.utility-link:hover, .utility-link:focus {
    background: linear-gradient(90deg, #FFD700 0%, #FFFAEF 100%);
    color: #192335;
    border: 2px solid #192335;
    box-shadow: 0 8px 32px rgba(25,35,53,0.22);
    transform: scale(1.07);
}
.utility-link:hover::after, .utility-link:focus::after {
    opacity: 1;
}
/* Links tab buttons */
.links-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.link-btn {
    background: #192335;
    color: #FFFAEF;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(25,35,53,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
    display: inline-block;
    text-align: center;
}
.link-btn:hover, .link-btn:focus {
    background: #FFFAEF;
    color: #192335;
    box-shadow: 0 4px 16px rgba(25,35,53,0.18);
}


body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #FFFAEF;
    margin: 0;
    color: #192335;
    padding-bottom: 64px;
}
header {
    background: #192335;
    color: #FFFAEF;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
    margin-top: 3.5rem; /* Push header below utility bar */
}
header .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    box-shadow: 0 8px 32px rgba(25,35,53,0.25);
}
header h1 {
    margin: 0.5rem 0 1rem 0;
    font-size: 2.2rem;
    font-weight: 700;
}
nav {
    margin: 1rem 0 0 0;
}
nav a {
    color: #FFFAEF;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #ffd700;
}
main {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(25,35,53,0.25);
    padding: 2rem;
}
section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(25,35,53,0.18);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: justify;
}

h2 {
    color: #192335;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #19233522;
    padding-bottom: 0.5rem;
}

ul {
    padding-left: 1.2rem;
}

footer {
    text-align: center;
    background: #192335;
    color: #FFFAEF;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

#title-centered {
    text-align: center;
}