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

@media (max-width: 920px) {
    :root {
        font-size: 15px;
    }
}

@media (max-width: 577px) {
    :root {
        font-size: 14px;
    }
}


body {
    font-family: "Inter", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.grid {
    margin-top: 8rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 0 2rem;
    gap: 0 1.25rem;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    z-index: 100;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
    padding: 0 2rem;
    font-size: 2rem;
}

header nav ul img {
    display: flex;
    align-items: center;
    height: 2rem;

}

header nav ul li {
    width: 33.33%;
}

header nav ul li:nth-child(2) {
    display: flex;
    justify-content: center;
}

header nav ul li:nth-child(3) {
    display: flex;
    justify-content: right;
    text-align: right;
}

@media (max-width: 577px) {
    header nav ul {
        height: 6rem;
        padding: 0 1.5rem;
        font-size: 3rem;
    }

    header nav ul img {
        height: 2.5rem;
    }

}


/* ======== MAIN ======== */

.intro .intro-logo {
    grid-column: span 7;
    margin-top: 22rem;
}

.intro .intro-logo img {
    width: 100%;
    height: auto;
}

/*  main {
    min-height: calc(100vh - 5rem - 3rem);
    margin-top: 5rem;
}
*/
/* ======== WORK ======== */

.card-title {
    font-size: 1.5rem;
    padding: 0.75rem 0;
}

.work .container {
    margin-top: 8rem;
    padding: 0rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 1.5rem;
}

@media (max-width: 577px) {
    .work .container {
        margin-top: 6rem;
        padding: 0 1.5rem;
        grid-template-columns: 1fr;
    }
}



.work .card-image {
    aspect-ratio: 4/2.5;
    background-color: rgb(223, 73, 73);
    overflow: hidden;
    transition: .5s ease;
}

.work article:hover .card-image {
    transform: scale(1.05);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.35));
}

.work .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: .5s ease;
    filter: grayscale(100%);

}

.work .card-image img:hover {
        filter: grayscale(0%);

}



/* ======== ABOUT ======== */
.about section {
    margin-top: 8rem;
    padding: 0rem 2rem;
}

.about .section-text p {
    font-size: 3rem;
}


.about .section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 577px) {
    .about section {
        margin-top: 6rem;
        padding: 0 1.5rem;
    }

    .about .section-text p {
        font-size: 1.5rem;
    }

    .about .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about .container {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ======== PROJECT ======== */

.project .container {
    margin-top: 8rem;

    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    padding: 0rem 2rem;
}

.project .project-text {
    position: sticky;
    top: 8rem;
}

.project .project-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.project .project-date {
    margin-top: 2rem;

}

.project .project-area {
    margin-top: 2rem;
}

.project .project-images img {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    background-color: black;
}

.project .project-images img~img,
.project .project-images img~iframe,
.project .project-images iframe~iframe,
.project .project-images iframe~img {
    margin-top: 1.5rem;
}

.project .project-images iframe {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
}


@media (max-width: 577px) {

    .project .container {
        margin-top: 6rem;
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

}

/* ======== FOOTER ======== */

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    height: 3rem;
    padding: 0 2rem;
}

footer nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

@media (max-width: 577px) {
    footer {
        font-size: .85rem;
        padding: 0 1.5rem;
    }
}