body {
    background-color: #FFFBED;
}

html {
    scroll-behavior: smooth;
}

#hero-img {
    width: 100%;
    height: auto;
}

header {
    position: relative;
}

nav a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    text-transform: uppercase;
    font-size: inherit;
}

nav a:hover {
    color: #FFB902;
    text-decoration: none;
}

nav {
    font-family: "massilia", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 5vw;
    padding-block: clamp(1rem, 4vh, 3rem);
    background-color: transparent;
}

.nav-left,
.nav-right {
    display: flex;
}

.nav-left ul,
.nav-right ul {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: 0;
    margin: 0;
}

nav li {
    cursor: pointer;
    text-transform: uppercase;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.logo img {
    height: clamp(30px, 5vw, 60px);
    width: auto;
}

.martz-logo {
    position: absolute;
    top: calc(30% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10vw);
    max-width: 1200px;
    height: auto;
    z-index: 15;
    box-sizing: border-box;
}

h2 {
    font-family: "piepie", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
}

h3 {
    font-family: "piepie", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 42px;
    color: #191E25;
}

p {
    font-family: massilia, sans-serif;
    font-weight: 300;
    font-style: normal;
}

#work_title {
    padding-inline: 5vw;
    max-width: 1200px;
    margin-inline: auto;
    margin-top: 5rem;
}

.work,
.extra-work {
    display: flex;
    gap: 2.5vw;
    justify-content: center;
    padding: 0;
    margin: 7.5rem auto;
    list-style: none;
    flex-wrap: wrap;
    max-width: 1200px;
}

.work li,
.extra-work li {
    flex: 1 1 30%;
    max-width: 100%;
}

.work img,
.extra-work img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.work li {
    flex: 1 1 30%;
    max-width: 100%;
}

.work img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.work-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 5rem;
    padding-inline: 5vw;
}

.view-more-btn {
    background-color: #FFB902;
    color: #FFFBED;
    text-decoration: none;
    padding: 0.75rem 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: "massilia", sans-serif;
    text-transform: uppercase;
    border-radius: 999px;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.view-more-btn:focus,
.view-more-btn:focus-visible,
.view-more-btn:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.view-more-btn:hover {
    background-color: #191E25;
    color: #FFFBED;
}

#ABOUT {
    background-color: #191E25;
    color: #FFFBED;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    padding-block: 5rem;
    width: 100%;
    box-sizing: border-box;
}

#ABOUT img {
    max-width: 490px;
    height: auto;
    display: block;
    margin-left: 7.5rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 5rem;
    max-width: 600px;
    font-size: 20px;
}

#info {
    margin-right: 5rem;
}

#about_title {
    color: #FFB902;
    margin-bottom: 1rem;
}

#CONTACT {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 2rem;
    text-align: center;
    gap: 1rem;
    box-sizing: border-box;
}

#CONTACT ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}

#CONTACT ul li img {
    width: 32px;
    height: auto;
    transition: transform 0.2s ease;
}

#CONTACT ul li img:hover {
    transform: scale(1.1);
}

#FOOTER {
    text-align: center;
    padding-bottom: 1rem;
}

.martz-footer {
    width: calc(100% - 10vw);
    max-width: 1200px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.logo-marquee {
    overflow: hidden;
    background-color: #191E25;
    padding-block: 1rem;
    position: relative;
}

.logo-track {
    display: flex;
    width: fit-content;
    animation: scroll 60s linear infinite;
    gap: 4rem;
    align-items: center;
}

.logo-track img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.logo-track img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

@media (max-width: 1000px) {

    .about-text {
        overflow-x: hidden;
    }
}

@media (max-width: 900px) {

    .work,
    .extra-work {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 4rem 2vw;
        gap: 1.5rem;
    }

    .work li,
    .extra-work li {
        flex: 1 1 45%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {

    .work,
    .extra-work {
        flex-direction: column;
        margin: 3rem 1.5rem;
        gap: 1.5rem;
    }

    .work li,
    .extra-work li {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .work-button-wrapper {
        padding-inline: 1.5rem;
    }

    #ABOUT {
        flex-direction: column;
        padding-block: 3rem;
        gap: 2rem;
    }

    #ABOUT img {
        margin: 0 auto;
        max-width: 90vw;
    }

    .about-text {
        margin: 0 auto;
        max-width: 90vw;
        font-size: 18px;
        text-align: center;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        box-sizing: border-box;
    }

    #info {
        margin-right: 0;
    }
}

@media (max-width: 400px) {
    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    p,
    .about-text {
        font-size: 16px;
    }

    .about-text {
        padding-left: 2rem;
        padding-right: 2rem;
        font-size: 16px;

    }

    nav li {
        font-size: 0.875rem;
    }
}









/* pillars */

#pillars {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 5vw;
    box-sizing: border-box;
}

#pillars img {
    width: 100%;
    height: auto;
    display: block;
}





/* martz */

#martz-cover {
    width: 100vw;
    overflow-x: hidden;
}

#martz-cover-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100vw;
}

#martz-info {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20vw;
    padding-block: 7.5rem;
    box-sizing: border-box;
}

.martz-section-title {
    margin-bottom: 1.5rem;
    color: #FFB902;
}

#martz-info-img-container,
#martz-color-img-container {
    width: 100vw;
    overflow-x: hidden;
}

#martz-info-img,
#martz-color-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100vw;
}

/* Carousel Marquee */
#martz-carousel {
    background-color: #12161C;
    padding: 4rem 1rem;
    overflow: hidden;
}

.martz-carousel-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.martz-carousel-track {
    display: flex;
    gap: 2rem;
    animation: martz-scroll-marquee 30s linear infinite;
    width: max-content;
}

.martz-carousel-track figure {
    flex: 0 0 auto;
    width: 80vw;
    max-width: 600px;
    margin: 0;
}

.martz-carousel-track img {
    width: 100%;
    height: auto;
    display: block;
}

/* Marquee animation */
@keyframes martz-scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.martz-carousel-marquee:hover .martz-carousel-track {
    animation-play-state: paused;
}


.random-work {
    display: flex;
    justify-content: center;
    gap: 2.5vw;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 5rem auto;
    max-width: 1200px;

    box-sizing: border-box;
}

.random-work li {
    flex: 1 1 30%;
    max-width: 100%;
}

.random-work img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#martz-mwork-title {
    padding-inline: 5vw;
    max-width: 1200px;
    margin-inline: auto;
    margin-top: 5rem;
}


@media (max-width: 768px) {
    .random-work li {
        flex: 1 1 100%;
    }
}

/* leafland */

.leafland-section-title {
    margin-bottom: 1.5rem;

    color: #111111;
}

/* plot */

.plot-section-title {
    margin-bottom: 1.5rem;

    color: #90A628;
}

/* hobbydeast */

.hobbyfeast-section-title {
    margin-bottom: 1.5rem;

    color: #0F7B7E;
}

/* sowl */

.sowl-section-title {
    margin-bottom: 1.5rem;

    color: #DB99BF;
}