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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Barlow', sans-serif;
    /* background-color: rgb(252, 251, 233); */
    /* background-color: #de8b9977; */
    background-color: #eeb3cd;
    /* background-color: #f2ebe2; ---nice beige */
    /* background-color: #cfa1ac; */
    overflow-x: hidden;
}

main {
    padding: 24px;
}

p {
    color: #363232;
    font-size: 17px;
}

a {
    color: #363232;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    /* background: #e46292bc; */
    /* background: black; */
    
}

.navbar .logo img {
    height: 70px;
    width: auto;
    display: block;
}

.navbar a {
    text-decoration: none;
    color: #363232;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
}

.generic-div {
    margin-bottom: 2rem;
    padding: 1.5rem;
}

section {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
}

.generic-section-A {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        padding-bottom: 20px;
}

.generic-section-B {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        padding-bottom: 15px;
        /* background-color: #a1efc47c; */
        background-color: #ebc4d9;
        /* width: 100%; */
        /* overflow: hidden; */
}

.three-column-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 2rem;
}

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

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

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

.center video {
    max-height: 100%;
    width: auto;
    display: block;
}

h1 {
    font-size: 69px;
    font-weight: 500;
    color: #cd626e;
}

h2 {
    font-size: 40px;
    font-weight: 500;
    color: #cd626e;
}

h3 {
    color: #cd626e;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    color: #363232;
}

h5 {
    font-size: 16px;
    font-weight: 500;
    color: #363232;
}

.just-some-text {
    margin: 10px;
    max-width: 400px;
}

.just-some-centered-text {
    margin: 10px;
    max-width: 400px;
    text-align: center;
}

.discord-icon {
    width: 60px;
}

@media (prefers-reduced-motion: reduce) {
    .pattern-track {
        animation: none;
    }
}

/* ----- DISPLAYING YOUTUBE VIDEOS ----- */

.video-row-container {
    /* position: relative; */
    width: 100%;
    margin: 0 auto;
}

.video-row {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    scrollbar-width: none;
    width: 100%;
    padding: 1rem;
}

.video-row a {
    flex: 0 0 280px;
}

.thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 5px;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-row a:hover img {
    transform: scale(1.03);
}

.video-row::-webkit-scrollbar {
    display: none;
}

.scroll-arrows {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.scroll-arrow {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8e5959;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.scroll-arrow:hover {
    color: #333;
}

/* ----- end displaying youtube videos ----- */


/* -----  poetry page  ----- */

#poems-grid {
    column-count: 2;
    column-gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
}

/* Collapse to 1 column on small screens */
@media (max-width: 768px) {
    #poems-grid {
        column-count: 1;
    }
}

.poem-card {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ebc4d9;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.poem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.poem-card h1,
.poem-card h2,
.poem-card h3 {
    margin-top: 0;
}

.poem-card p {
    white-space: pre-wrap;
    line-height: 1.4;
    margin: 0.5rem 0;
}

#poem-content {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    padding: 1.5rem;
    white-space: pre-wrap;
}

/* ------ GALLERY ------ */

.gallery {
    column-count: 2;
    column-gap: 12px;
    margin-top: 12px;
}

.gallery figure {
    margin: 0 0 12px 0;
}

.gallery img {
    width: 100%;
    display: block;
}

@media (max-width: 480px) {
    .gallery {
        column-count: 1;
    }
}

#released-songs {
    margin-top: 12px;
}