* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: #434343 url("../assets/images/background.png") no-repeat center / cover fixed;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.content-layer {
    position: relative;
    z-index: 2;
}

aside {
    .aside__description {
        max-width: 300px;
        margin: 0 auto;
        line-height: 1.6;
        opacity: 0.85;
    }

   .aside__social-media {
        display: flex;
        justify-content: center;
        align-items: center;
   }

   .aside__social-media img {
        height: 32px;
   }
}

main {
    color: #FFF;
}

section:not(:first-child):not(:last-child) {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    aside {
        position: sticky;
        top: 3rem;
        align-self: start;
    }
    section:not(:first-child):not(:last-child) {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* ABOUT ME */
.about-me__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 2rem;
    color: #f1f1f1;
}

.about-me__card p:first-child {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-me__card p:nth-child(2) {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-me__card p:nth-child(n+3):not(.about-me__stack-title) {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.about-me__card .highlight {
    color: #4DA167;
    font-weight: 600;
}

.about-me__separator {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-me__stack-title {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4DA167;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.badges li {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.badges li {
    transition: background 0.25s ease, transform 0.2s ease;
}

.badges li:hover {
    background: rgba(77, 161, 103, 0.25);
    transform: translateY(-2px);
}

/* EXPERIENCE */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.experience-company {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.experience-date {
    font-size: 0.85rem;
    color: #4DA167;
    white-space: nowrap;
}

.experience-description {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.experience-content {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(77, 161, 103, 0.4);
}

.experience-block+.experience-block {
    margin-top: 1.5rem;
}

.experience-block {
    max-width: 90%;
}

.experience-block-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4DA167;
    margin-bottom: 0.5rem;
}

.experience-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.experience-tech-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

/* CONTACT */
.contact-intro {
    max-width: 520px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: #4DA167;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.contact-value {
    font-size: 0.95rem;
    color: #fff;
}

/* FOOTER */
.site-footer {
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.site-footer__divider {
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    margin-bottom: 2rem;
}

.site-footer__content {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__content p {
    margin: 0.25rem 0;
}