html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* background-color:rgba(20, 212, 237, 0.532); */
    background-image: linear-gradient(rgba(255, 251, 0, 0.21), rgba(186, 146, 0, 0.265)), url("images/triangleBackground.PNG");
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

a {
    color: rgb(255, 234, 1);
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    color: rgb(255, 211, 54);
}
a:active {
    color: rgb(220, 164, 53);
}
.normalHL a {
    color: blue;
    text-decoration: underline;
}

/* Universal elements */

.sectionHeader {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    font-weight: bold;
    color: rgb(0, 0, 0)
}
.sectionHeader::before,
.sectionHeader::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: rgb(138, 0, 236);
}
.sectionHeader::before {
    margin-right: 20px;
}
.sectionHeader::after {
    margin-left: 20px;
}

.thinLine {
    border: none;
    height: 1px;
    background-color: #636262;
    margin: 40px;
}

.stickyHeader {
    position: sticky;
    min-height: 61px;
    top: 0; 
}

.stickyFooter {
    position: sticky;
    bottom: 0; 
}

.stickyLeftBar {
    position: sticky;
    left: 0; 
}

.button {
    background-color:#8336a7;
    color: white;
    padding: 12px 24px;
    font-size: 16px;

    border: none;
    border-radius: 5px;
    cursor: pointer;

    /* transition: background-color 0.00s ease; */
}
.button:hover {
    background-color:#9047b7;
    transform: scale(1.01);
}
.button:active {
    background-color:#7431a0;
    transform: scale(0.99);
}

/* Classes */

.column {
    flex: 0;
    padding: 5px;
}

.pushLeft {
    display: flex;
    justify-content: left;
    margin-right: auto;
}

.pushMiddle {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.pushRight {
    display: flex;
    justify-content: right;
    margin-left: auto;
}

.flexContainer { /* Best for distributing space dynamically along one row */
    display: flex;
    gap: 20px;
}

.gridContainer { /* Best for controlling exact sizing of track columns */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.doubleColumn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 60%;
    gap: 20px;
    column-gap: 50px;
}

.tripleColumn {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-width: 100px;
    gap: 20px;
}

.coloredBar {
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    background-color: #562591;
    padding: 16px 24px;
    color: white;
}

/* Regular */

.projectShowcase {
    width: 100%;
    display: flex;
    gap: 20px;
}
.projectShowcase img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
}
.projectText {
    width: 40%;
    min-width: 40%; 
    overflow-wrap: break-word; 
}
.projectImage {
    width: 100%;
    flex: 1;
    max-width: 500px
}

.projectArt img {
    width: 100%;
    height: 100%;
    max-width: 500px;
    object-fit: contain;
}

.animation {
    width: 360px;
    height: 220px;
    object-fit: contain;
    overflow: hidden;
}
.animation img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.miniShowcase { /* One column, two rows */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    background-color: #ffffff;
    min-width: 200px;
    max-width: 350px;
}
.miniShowcase img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
    min-width: 200px;
    max-width: 350px;
}

.columnWrapper {
    width: 95%;
    display: flex;
    gap: 20px;
    align-items: flex-start; /* Allows the sticky element to move within the parent */
}

.sidebar {
    width: 170px;
    flex-shrink: 0; /* Prevent shrink */
    position: sticky;
    height: fit-content;
    top: 40px;
    left: 0px;
    margin-right: 50px;
    padding: 10px;
    height: 100vh; /* Takes up 100% of the viewport height */
    /* background-color: #3b50d6; */
    background-color: rgba(86, 1, 120, 0.701); 
    color: white;
}

.content {
    flex-grow: 1;
}

.intro, .bringHeader {
    text-align: center;
}

/* Who am I */

.aboutMe {
    width: fit-content;
    height: fit-content;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    padding: 10px;
    background-position: top;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    font-size: 13px;
}
.aboutMe div {
    width: 300px;
    align-items: center;
}
.aboutMe img {
    height: 300px;
    border-radius: 5px;
    border: 2px solid rgb(0, 0, 0);
    align-items: left;
    object-fit: cover;
    object-position: center;
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 1px;
}
.portrait div {
    width: 10px;
    margin-right: 300px;
}
.headShot {
    object-fit: cover;
    flex: 1;
    max-width: 500px;
    height: auto;
    border: #ae00ff;
    border-radius: 5px;
}

/* Recommendation stuff */

.speaker {
    padding: 8%;
    width: 80%;
    background: rgba(137, 137, 137, 0.265);
}
.speakerPic { 
    align-items: center;
    justify-content: center;
    background: rgba(255, 166, 0, 0);
    display: flex;
    padding-bottom: 15px;
}
.speakerPic img {
    min-width: 70px;
    max-width: 150px;
    border-radius: 20px;
    border-color: rgba(35, 35, 35, 0.799);
    border: 2px solid;
    aspect-ratio: 1 / 1;
}
.speakerName {
    text-align: center;
    background: rgba(255, 255, 0, 0);
    font-weight: bold;
    font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
}
.speakerRole {
    text-align: center;
    background: rgba(255, 192, 203, 0);
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.speakerQuote {
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background: rgba(252, 252, 252, 0.336);
}


/* Audio stuff */

.motifColumn {
    padding-left: 25px;
    padding-right: 25px;
    background: rgba(252, 252, 252, 0.336);
}

.motifDouble {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 15px 20px;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
}

.motifInfo {
    background-color: rgba(255, 0, 0, 0);
    padding-bottom: 10px;
}

.scoreMotif img {
    min-width: 100%;
    max-width: 100%;
    border: 1px solid black;
}

.soundItem {
    padding-top: 5px;
    display: inline-block;
}

.audioButton {
    background: rgba(255, 192, 203, 0);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.audioButton img {
    max-width: 30px;
}

.snippets {
    align-items: center;
    justify-content: center;
    background: rgba(250, 250, 250, 0.308);
    width: fit-content;
    max-width: 400px;
}

/* .soundboardContainer {
    display: flex;
    gap: 15px;
    padding: 20px;
} */