html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;

    /* The "frame" color around the page */
    background-color: #000;
}

.container .placeholder {
    width: 100%;
    text-align: center;
    color: #FFFFFFAA;
    font-size: 0.95em;
}

body {
    margin: 30px; /* tweak to 5–10px */
    padding: 0;
    min-height: calc(100vh - 30px);

    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFFCC;
    font-family: 'Inter';

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border: 1px solid #000;

    /* Background image */
    background-image: url('../images/shsf.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    padding: 2.5% 4%;
    border-radius: 15px;
    background-color: #202c35f0;
    background: linear-gradient(45deg, #252728e3, #1b1d1fce);
    

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    max-width: 800px;
    width: 85%;

    /* Fade-in animation */
    opacity: 0;
    animation: fadeIn 1.2s ease-in-out forwards;
}

/* Footer nav: same width as container */
.footer {
    max-width: 800px;
    width: 85%;
    margin-top: 2em;
    padding: 0.75em 0;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

.footer li {
    padding: 0;
    margin: 0;
}

.footer a {
    color: #FFFFFFAA;
    text-decoration: none;
    font-size: 0.85em;
    text-transform: lowercase;
    padding: 0.5em 1em;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.footer a:hover {
    color: #FFFFFFCC;
    background-color: rgba(255, 255, 255, 0.06);
}

/* Current page: bubble highlight */
.footer a.current {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left, .right { 
    height: 485px;
}

.left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 40%;
    padding-right: 5%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
 
}

.left h1 { 
    margin-bottom: -5px;
}

.left button {
    margin-top: auto;
}

.profile-pic {
    /* "Profile picture" circle crop */
    width: 110px;
    height: 110px;
    border-radius: 50%;

    /* Crop instead of squish */
    object-fit: cover;

    /*
      Move the crop window to center your face/goat.
      Try: 50% 15% (higher), 50% 25% (lower), or 55% 20% (slightly right)
    */
    object-position: 50% 20%;

    /* Nice frame */
    border: 3px solid #E3EBD829;

    display: block;
}

.right {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-left: 5%;

}

.skills {
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.updates {
    padding-top: 1em;
} 

 ul { 
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 1em;
}

 ul, li {
    padding: 0;
    margin: 0;
}

button {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    color: #FFFFFFCC;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.65em 1.25em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    position: relative;
    overflow: hidden;
}

/* Style links inside buttons */
button a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
    height: 100%;
}

/* Style button icons */
.button-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

/* Make SVG icons white to match the aesthetic */
.button-icon[src$=".svg"] {
    filter: brightness(0) invert(1);
}

/* Make PNG icons white to match the aesthetic - except email which may already be styled */
.button-icon[src$=".png"]:not([src*="email"]) {
    filter: brightness(0) invert(1);
}

/* Email icon - black circle with white logo: invert to white circle, then brighten logo */
button a img[src*="email-icon"] {
    width: 20px;
    height: 20px;
    filter: invert(1) brightness(1.8) contrast(1.2);
    opacity: 0.7;
}

button:hover .button-icon {
    opacity: 1;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:active {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

p { 
    font-size: .9em;
    font-weight: 300;
}

.container .placeholder {
    width: 100%;
    text-align: center;
    color: #FFFFFFAA;
    font-size: 0.95em;
}

h1 {
    font-size: 1.5em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

th, td { 
    text-align: left;
    font-size: .75em;
    padding: 0.5em 0.75em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    font-weight: 500;
    color: #FFFFFFCC;
    padding-bottom: 0.75em;
}

td {
    color: #FFFFFFAA;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.footer {
    width: 95%;
    max-width: 100%;
    margin-top: 1.5em;
}

.footer ul {
    justify-content: center;
    gap: 0.35em;
}

.footer a {
    font-size: 0.8em;
    padding: 0.45em 0.85em;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    body {
        margin: 15px;
        min-height: calc(100vh - 30px);
    }

    .container {
        flex-direction: column;
        width: 95%;
        padding: 4% 5%;
        max-width: 100%;
    }

    .left {
        width: 100%;
        padding-right: 0;
        padding-bottom: 2em;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .right {
        padding-left: 0;
        padding-top: 2em;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
    }

    .updates ul {
        flex-wrap: wrap;
    }

    .footer {
        width: 95%;
        max-width: 100%;
        margin-top: 1.5em;
    }

    .footer ul {
        justify-content: center;
        gap: 0.35em;
    }

    .footer a {
        font-size: 0.8em;
        padding: 0.45em 0.85em;
    }
}
