:root {
    --font-family: 'General Sans', sans-serif;

    --color-black: #000;
    --color-gray: #999;
    --color-green: #28a745;
    --color-white: #fff;

    --border-radius-outros: 35px;
    --border-radius-banner-works: 12px;

    --fs-xl: 4rem;
    --fs-lg: 42px;
    --fs-md: 22px;
    --fs-sm: 0.9rem;

    --spacing-section: 50px;
    --pulse-color: rgba(40, 167, 69, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'General Sans', sans-serif;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


/* --- Header + Menu --- */
header {
    position: fixed;
    z-index: 1000;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);

    width: 45%;

    text-align: center;
    font-weight: 400;

    border-radius: var(--border-radius-outros);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu-item {
    color: var(--color-black);
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
}

.menu-item:is(:hover, .active) {
    text-decoration: underline 2px;
    text-underline-offset: 4px;
}


/* --- SECTIONS --- */
section {
    padding: var(--spacing-section) 0;
}

/* --- home --- */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.home-container {
    display: flex;
    gap: 5%;
    margin-top: 5%;
}

.column {
    flex: 1;
    background-color: var(--color-white);
    border-radius: var(--border-radius-outros);
}

.home-image {
    display: block;
    width: 110%;
    height: auto;
    border-radius: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.headline {
    font-size: 7vw;
    font-weight: 700;
    line-height: 1.2;
}

.intro {
    font-size: var(--fs-lg);
    font-weight: 500;
}

.description,
.status {
    font-size: var(--fs-md);
    font-weight: 400;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10%;
    position: relative;
}

.status::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-green);
    display: inline-block;
    flex: 0 0 auto;
    box-shadow: 0 0 0 var(--pulse-color);
    animation: pulse 1.5s infinite ease-in-out;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 var(--pulse-color);
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
        box-shadow: 0 0 18px 6px rgba(40, 167, 69, 0.12);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 var(--pulse-color);
    }
}


/* --- works --- */
#works {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    text-align: left;
    margin: 5% 0 5% 5%;
}

.works-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.work-image {
    width: 40%;
    flex-shrink: 0;
    margin-left: 10%;
    border-radius: var(--border-radius-banner-works);
    object-fit: cover;
}

.work-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    margin-left: 3%;
    font-size: var(--fs-md);
    line-height: 1.2;
}

.work-category,
.work-year {
    color: var(--color-gray);
    margin: 0;
}

.work-category {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-info h3 {
    margin: 5px 0;
    font-weight: 500;
}

.work-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-item-link:hover .work-item {
    cursor: pointer;
}


/* --- about --- */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 3% 0 5%;
}

.about-container p {
    flex: 1;
    margin: -2% 0 0 5%;
    color: var(--color-black);
}

.aboutme-description {
    font-size: var(--fs-md);
}

#about .section-title {
    margin-left: 0;
    line-height: 2em;
}

.video-aboutme {
    width: 600px;
    height: 620px;
    margin-top: 5%;
    border-radius: var(--border-radius-outros);
    object-fit: cover;
    object-position: center -100px;
}


/* --- contacts --- */
.contacts-container {
    margin-left: 5%;
}

.contacts-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin: 6.5% 0 50px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--color-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-black);
}

.contact-value a,
.copy-text {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.contact-value a:hover,
.copy-text:hover {
    color: #555;
}

.copy-text {
    text-decoration: none;
}


/* --- Footer --- */
.footer {
    width: 90%;
    margin-left: 5%;
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--color-gray);
    text-align: left;
    border-top: 1px solid #eee;
    padding: 20px 0 32px;
}




/* --- RESPONSIVIDADE --- */

/* Small desktops */
@media (min-width: 1025px) and (max-width: 1280px) {

    /* --- Header + Menu --- */
    header {
        width: 70%;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 0;
    }

    .menu-container {
        gap: 10px;
    }

    .menu-item {
        flex: 1;
        text-align: center;
        padding: 5px 0;
        font-size: 16px;
    }

    .menu-item:is(:hover, .active) {
        text-decoration: underline 1px;
        text-underline-offset: 4px;
    }


    /* --- SECTIONS --- */

    /* --- home --- */
    #home {
        height: auto;
        padding-top: 10%;
    }

    .home-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 5% auto;
    }

    .home-container p,
    .column {
        flex: 1 1 300px;
        min-width: 250px;
        text-align: center;
    }

    .home-image {
        width: 100%;
        max-width: 500px;
    }

    .headline {
        font-size: 10vw;
        text-align: center;
    }

    .intro,
    .description {
        margin-bottom: 10px;
        text-align: center;
    }

    .section-title {
        text-align: center;
        margin: 0 0 3% 0;
    }


    /* --- works --- */
    .works-container {
        flex-direction: column;
        gap: 40px;
    }

    .section-title {
        margin-top: 5%;
    }

    .work-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-info {
        width: 60%;
        margin: 20px auto 0;
        text-align: center;
    }

    .work-image {
        width: 67%;
        margin: 0 auto;
    }


    /* --- about --- */
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0 auto;
        width: 65%;
    }

    .column.video-column {
        width: 90%;
        border-radius: var(--border-radius-outros);
        overflow: hidden;
    }

    .column.video-column .video-aboutme {
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .about-container p {
        margin: 0;
        text-align: center;
    }


    /* --- contacts + footer --- */
    .contacts-title,
    .contact-item,
    .footer {
        text-align: center;
    }

    .contacts-container {
        margin: 0 auto;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {

    /* --- Header + Menu --- */
    header {
        width: 70%;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 0;
    }

    .menu-container {
        gap: 10px;
    }

    .menu-item {
        flex: 1;
        text-align: center;
        padding: 5px 0;
        font-size: 16px;
    }

    .menu-item:is(:hover, .active) {
        text-decoration: underline 1px;
        text-underline-offset: 4px;
    }


    /* --- SECTIONS --- */

    /* --- home --- */
    #home {
        height: auto;
        padding-top: 10%;
    }

    .home-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 5% auto;
    }

    .home-container p,
    .column {
        flex: 1 1 300px;
        min-width: 250px;
        text-align: center;
    }

    .home-image {
        width: 100%;
        max-width: 500px;
    }

    .headline {
        font-size: 10vw;
        text-align: center;
    }

    .intro,
    .description {
        margin-bottom: 10px;
        text-align: center;
    }

    .section-title {
        text-align: center;
        margin: 0 0 3% 0;
    }


    /* --- works --- */
    .works-container {
        flex-direction: column;
        gap: 40px;
    }

    .section-title {
        margin-top: 7%;
    }

    .work-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-info {
        width: 60%;
        margin: 20px auto 0;
        text-align: center;
    }

    .work-image {
        width: 67%;
        margin: 0 auto;
    }


    /* --- about --- */
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0 auto;
        width: 65%;
    }

    .column.video-column {
        width: 90%;
        border-radius: var(--border-radius-outros);
        overflow: hidden;
    }

    .column.video-column .video-aboutme {
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .about-container p {
        margin: 0;
        margin-top: 8%;
        text-align: center;
    }


    /* --- contacts + footer --- */
    .contacts-title,
    .contact-item,
    .footer {
        text-align: center;
    }

    .contacts-container {
        margin: 0 auto;
    }
}


/* Tablets */
@media (min-width: 481px) and (max-width: 767px) {

    /* --- Header + Menu --- */
    header {
        width: 75%;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 10px;
    }

    .menu-item {
        flex: 1;
        text-align: center;
        padding: 5px 0;
        font-size: 16px;
    }

    .menu-item:is(:hover, .active) {
        text-decoration: underline 1px;
        text-underline-offset: 4px;
    }

    /* --- SECTIONS --- */

    /* --- Home --- */
    #home {
        height: auto;
        padding-top: 15%;
        text-align: center;
    }

    .home-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 5% auto;
        width: 90%;
    }

    .headline {
        font-size: 12vw;
    }

    .intro {
        font-size: 7vw;
    }

    .description,
    .status {
        font-size: 1.2rem;
        text-align: center;
    }

    .status {
        margin-top: 5px;
    }

    .home-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }


    /* --- Works --- */
    .section-title {
        text-align: center;
        font-size: 2.5rem;
        margin: 0 auto 20px auto;
    }

    .works-container {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        margin: 0 auto;
        align-items: center;
    }

    .work-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-info {
        width: 80%;
        margin: 15px auto 0;
        text-align: center;
        font-size: 16px;
    }

    .work-image {
        width: 80%;
        margin: 0 auto;
    }


    /* --- About --- */
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0 auto;
        width: 90%;
        text-align: center;
    }

    .column.video-column {
        width: 90%;
        border-radius: var(--border-radius-outros);
        overflow: hidden;
    }

    .column.video-column .video-aboutme {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: center -170px;
    }

    .aboutme-description {
        font-size: 16px;
    }

    /* --- Contacts + Footer --- */
    .contacts-title,
    .contact-item,
    .footer {
        text-align: center;
    }

    .contacts-container {
        width: 90%;
        margin: 0 auto;
    }
}


/* Mobile */
@media (max-width: 480px) {

    /* --- Header + Menu --- */
    header {
        width: 85%;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 10px;
    }

    .menu-container {
        justify-content: space-around;
    }

    .menu-item {
        flex: 1;
        text-align: center;
        padding: 5px 0;
        font-size: 14px;
    }

    .menu-item:is(:hover, .active) {
        text-decoration: underline 1px;
        text-underline-offset: 4px;
    }


    /* --- SECTIONS --- */
    section {
        text-align: center;
        padding: 20px 10px;
    }

    /* --- Home --- */
    #home {
        height: auto;
        padding-top: 15%;
        text-align: center;
    }

    .home-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 10% auto;
        width: 90%;
    }

    .home-image {
        width: 95%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .headline {
        font-size: 3rem;
    }

    .intro {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.93rem;
    }


    /* --- works + about + contacts + footer --- */
    .section-title,
    .contacts-title {
        text-align: center;
        font-size: 3rem;
        margin: 10% auto 20px auto;
    }

    .works-container,
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0 auto;
        width: 90%;
    }

    .about-container {
        margin-top: 15%;
    }

    .aboutme-description {
        margin: 0 auto;
    }

    .work-item {
        flex-direction: column;
        align-items: center;
    }

    .work-info {
        width: 80%;
        margin: 0 auto;
        margin-top: 15px;
        font-size: 16px;
    }

    .work-image {
        width: 94%;
        margin: 0 auto;
    }

    .column.video-column {
        width: 90%;
        border-radius: var(--border-radius-outros);
        overflow: hidden;
    }

    .column.video-column .video-aboutme {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: center -90px;
    }

    .aboutme-description {
        font-size: 16px;
    }

    .contacts-container,
    .footer {
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }
}