/* ========== BASE STYLES ========== */

body {
    font-family: "Helvetica Neue", monospace;
    background-color: #222;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========== NAVIGATION ========== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #222;
    display: flex;
    justify-content: center;
    gap: 64px;
    padding: 20px 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #d3d3d3;
}

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

.main-content {
    max-width: 1080px;
    margin: auto;
    padding: 0 32px;
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 90vh;
    gap: 48px;
}

.title-section h1 {
    font-size: 12rem;
    line-height: 7.6rem;
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    color: #FF99C0;
    margin: 0;
}

.block {
    display: block;
}

.image-section img {
    width: 520px;
    height: auto;
}

/* ========== SCROLL ARROW ========== */

.scroll-arrow {
    text-align: center;
    margin-top: -32px;
}

.scroll-arrow a {
    font-size: 2.4rem;
    color: #FF99C0;
    text-decoration: none;
    animation: bounce 2s infinite;
    display: inline-block;
    transition: transform 0.2s ease;
}

.scroll-arrow a:hover {
    transform: scale(1.2);
    color: #d3d3d3;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ========== INTRO SECTION ========== */

.intro-section {
    margin: auto;
    padding: 64px 48px 48px;
    background: url('../img/bg1.svg') no-repeat center/cover;
}

.intro-section h2 {
    max-width: 1240px;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 5.04rem;
    font-style: italic;
    color: #FF99C0;
    /*    margin-bottom: 24px;*/
    margin: auto auto 24px auto;
}

.intro-text {
    max-width: 1240px;
    margin: auto;
    display: flex;
    gap: 64px;
    justify-content: center;
    flex-wrap: wrap;
}

.column {
    flex: 1 1 400px;
    max-width: 560px;
}

.column:nth-child(2) {
    margin-top: 144px;
}

p {
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-weight: normal;
}

/* ========== IMAGE ========== */

.susan {
    width: 100%;
    height: 345px;
    margin-top: 3.2%;
    background: url('../img/susan.png') no-repeat center/cover;
    background-attachment: fixed;
}

/* ========== SUBNAV (SECOND NAV) ========== */

.subnav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 80px 0;
    font-family: "Helvetica Neue", sans-serif;
    max-width: 1080px;
    margin: auto;
    font-weight: 500;
    background: url('../img/bg2.svg') no-repeat right;
}

.subnav-link {
    font-size: 4.8rem;
    font-style: italic;
    color: #FF99C0;
    opacity: 0.6;
    text-decoration: none;
    transition: all 0.3s ease;
    transform-origin: left;
}

.subnav-link:hover {
    opacity: 1;
    transform: scale(1.1);
    font-weight: bold;
}

.next-page {
    max-width: 1080px;
    margin-left: 80%;
    padding-bottom: 40px;
    display: inline-block;
    margin-top: 16px;
    font-size: 1.44rem;
    font-style: italic;
    color: #FF99C0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.next-page:hover {
    color: #d3d3d3;
    transition: ease 0.2s;
}

/* ========== INFLUENCE SECTION ========== */

.influence-section {
    margin-top: 5.6%;
    display: flex;
    max-width: 1080px;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    padding: 64px 48px 48px 64px;
    background: url('../img/bg3.svg') no-repeat center/cover;
}

.influence-title h1 {
    max-width: 1080px;
    margin: auto;
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    color: #FF99C0;
    font-size: 9.6rem;
}

.influence-quote {
    max-width: 1080px;
    margin: auto;
    margin-top: 220px;
}

.influence-quote p {
    font-size: 1.44rem;
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.92rem;
    color: white;
    position: relative;
    max-width: 520px;
}

.quote-mark {
    color: #FF99C0;
    font-size: 2rem;
    font-weight: bold;
    vertical-align: top;
    margin-right: 4px;
}

.influence-block {
    max-width: 1120px;
    margin: 80px auto;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.block-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 48px;
}

.block-text {
    flex: 1 1 480px;
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: white;
    max-width: 680px;
}

.block-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ========== CONTRIBUTIONS SECTION ========== */

.contributions-section {
    margin-top: 5.6%;
    max-width: 1080px;
    height: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 64px 48px 48px 64px;
    background: url('../img/bg4.svg') no-repeat center/cover;
}

.contributions-title h1 {
    max-width: 1080px;
    margin: auto;
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    color: #FF99C0;
    font-size: 9.6rem;
}

.contribution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
    max-width: 1080px;
    margin: auto;
    padding: 1.6rem;
    font-family: 'Helvetica Neue', sans-serif;
    margin-bottom: 24px;
}

.contribution-block {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.image img {
    width: 100%;
    height: auto;
    border: 2px solid #888;
    border-radius: 8px;
}

.text h2 {
    color: #FF99C0;
    font-size: 1.44rem;
    margin: 0;
    font-style: italic;
}

.text p {
    line-height: 1.28;
    margin-top: 0.8rem;
}

/* ========== TYPEFACES SECTION ========== */

.typefaces-section {
    max-width: 1080px;
    margin: auto;
    padding: 64px 0;
    position: relative;
    background: url('../img/bg5.svg') no-repeat center/cover;
}

.typefaces-title h1 {
    font-size: 9.6rem;
    color: #FF99C0;
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
}

.typefaces-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
}

.typefaces-text-left,
.typefaces-text-right {
    max-width: 480px;
    text-align: left;
}

.typefaces-text h2 {
    color: #FF99C0;
    font-style: italic;
    font-size: 1.44rem;
}

.typefaces-text-left {
    align-self: flex-start;
}

.typefaces-text-right {
    align-self: flex-end;
}

.type-sample img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: auto;
}

/* ========== COMPOSITIONS SECTION ========== */

.compositions-section {
    max-width: 1080px;
    margin: auto;
    padding: 120px 48px 64px;
    background: url('../img/bg6.svg') no-repeat center/cover;
    font-family: 'Helvetica Neue', sans-serif;
    position: relative;
    z-index: 1;
    background: url('../img/bg6.svg') no-repeat center/cover;

}

.section-title {
    max-width: 1080px;
    margin: auto;
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    color: #FF99C0;
    font-size: 9.6rem;
    margin-bottom: 200px;
}

.composition-content {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.composition-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.right-align {
    justify-content: flex-end;
}

.left-align {
    justify-content: flex-start;
}

.composition-text,
.composition-description {
    max-width: 480px;
}

.composition-text h2 {
    font-size: 1.6rem;
    font-style: italic;
    color: #FF99C0;
    margin-bottom: 16px;
}

.composition-text p,
.composition-description p {
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: white;
    margin-bottom: 24px;
}

.composition-image img {
    max-width: 100%;
    height: 500px;
    border: 2px solid #ccc;
    display: block;
    margin: 0 auto;
}
