*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: "Atkinson Hyperlegible Next";
    font-weight: 300;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
  }

.header {
    padding: 0.5em 0.5em 1.5em;
    min-height: 92vh;
    background-color: #000000;
    color: #ffff;
    font-size: 1.5rem;
}

.bio {
    font-size: 3em;
    width: 30ch;
    margin-bottom: 1em;
}

.bio2 {
    width: 30ch;
    }

.sectionContainer {
    z-index: 2;
    display: flex;
    position: sticky;
    top: 0;
    background-color: #ffff;
    height: 8vh;
}

.sectionLeft {
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
}

.sectionRight {
    display: flex;
    flex-grow: 1;
    justify-content: right;
}

.section {
    padding: 1.5em 2em;
}

.section2 {
    padding: 1em 2em;
}

.link {
    text-decoration: none;
    color: #080B0D;
}

.link:hover {
    text-decoration: none;
    color: gray;
    cursor: pointer;
}

#listPortfolio {
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: 1rem;
}

.header2 {
    color: gray;
}

#colSection {
    margin-bottom: 4em;
    order: 1;
}


.title {
    text-align: center;
    margin: 2em 0 1em;
    font-size: 1.5rem;
    color: gray;
}

.title2 {
    text-align: center;
    margin: 3em 0 1em;
    font-size: 2rem;
    color: #ffffff;
}

.centered {
    text-align: center;
    margin-inline: auto;
    width: 100ch;
    margin-top: 5em;
}

.columns {
    display: grid;
    grid-template: 1fr/1.25fr 1fr 1.5fr 0.5fr;
    padding: 0.25em 1em;
    border-bottom: 1px solid rgb(217, 217, 217);
    margin: 0.5em 0 0;
    font-size: 1rem;
}

.bottomCol {
    display: flex;
    flex-direction: column;
    padding-bottom: 2em;
    background-color: #000000;
}

.otherActivities {
    display: grid;
    grid-template: 1fr/ 1fr 1fr 1fr 1fr;
    background-color: #000000;
}

.pLink {
    color: #000000;
    cursor: pointer;
}

.pLink:hover {
    color: gray;
}

#portfolio {
    background-color: #000000;
    display: flex;
    flex-direction: column;
    order: 2;
}

.videoHeader {
    width: 100%;
    height: 200px;
    overflow: hidden;
    align-items: center;
    transition: 0.25s;
    position: relative;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.iframeResponsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    width: 100%;
}

.iframeResponsive .reel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.portfolioTitle {
    font-size: 2rem;
    padding: 0 0.2em 0.5em;
    color: #ffffff;
}

.reel {
    width: 100%;
    filter: brightness(0.5);
    transition:0.25s;
}

.reelImg {
    width: 100%;
    height: 250px;
    filter: brightness(0.5);
    transition:0.25s;
    object-fit: cover;
}

.overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    top: 0;
    transition: 0.25s;

}

.gradient {
    height: 100%;
    width: 100%;
    background: #000000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: 0.25s;
}

.videoTitle{
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    padding: 0 0.2em 0.5em;
    color: #ffffff;
    top: 0.2em;
}

.icon {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    color: #ffffff;
    font-size: 2.5em;
    background-color: #00000000;
    opacity: 0.5;
    z-index: 2;
    display: block;
}

.muted {
    visibility: visible;
}

.sound {
    visibility: hidden;
    opacity: 1;
}

.mute:hover {
    opacity: 1;
}

.mute:has(input:checked) .muted{
    visibility: hidden; 
}

.mute:has(input:checked) .sound{
    visibility: visible;
}

.chevron {
    position: absolute;
    font-size: 3em;
    width: 100%;
    color: #ffffff;
    bottom: 15px;
    text-align: center;
    opacity: 0;
    transition: 0.25s;
}

.videoHeader:hover {
    height: 205px;
}

.videoHeader:hover .gradient {
    opacity: 50%;
}

.videoHeader:hover .chevron {
    opacity: 20%;
}

.portfolioCol {
    display: grid;
    grid-template: 1fr/1fr 1fr 1fr;
    padding: 0 0.75em;
    height: 0;
}

input {
    display: none;
}

.videoHeader:has(input:checked){
    height: auto;
    z-index: 2;
}

#imgHeader {
    z-index: 0;
}

.videoHeader:has(input:checked) + .portfolioCol {
    height: auto;
    padding: 3em 0 1em;
    transition: 0.1s;
}

.videoHeader:has(input:checked) .reel {
    filter: brightness(1);
}

.videoHeader:has(input:checked) .reelImg {
    height: 400px;
    filter: brightness(1);
}

.videoHeader:has(input:checked) .overlay {
    display: none;
}


.workContainer {
    grid-area: 0/0/1/1;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    margin: 0.3em;
    text-decoration: none;
    cursor: pointer;
    border-radius: 15px;
    border: 0px solid rgba(255, 255, 255, 0);
    box-sizing: border-box;
}

.workContainer:hover{
    filter: brightness(0.7);
    transition: 0.1s;
}

.iframeResponsive .workImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.workImg {
    height: 15em;
    width: 100%;
    object-fit: cover;
    filter: brightness(1);
    border: none;
}

.workInfo {
    display: grid;
    grid-template: 1fr 1fr/1fr 1fr;
    align-content: center;
    height: 5em;
    margin-top: 0.25em;
}

.workTitle {
    color: #c6c6c6;
    font-size: 1.5rem;
    padding-left: 0.1em;
}

.tagCont {
    color: #c6c6c6;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    justify-content: right;
}

.tag {
    color: #c6c6c6;
    padding: 0.5em 0.5em;
    border-radius: 10px;
    text-align: right;
    line-height: 0.5;
    font-size: 0.9em;
}

.left {
    text-align: left;
    padding: 0 ;
    color: #737373;
}

.tagRole {
    grid-area: 2/1/3/3;
    color: #c6c6c6;
    display: flex;
    list-style-type: none;
    justify-content: left;
    padding-left: 0.1em;
    gap: 1em;
    font-size: 0.9rem;
}

#music {
    order: 1;
}

#film {
    order: 2;
}

#installation {
    order: 3;
}

#theatre {
    order: 4;
}

#radio {
    order: 5;
}

#advert {
    order: 6;
}

.bottomBar {
    z-index: 1;
    display: flex;
    background-color: #000000;
}

.showHide {
    display: flex;
    align-items: center;
    padding-left: 1em;
}

.chev {
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.1s;
}

.chev:hover {
    filter: brightness(0.5);
}

.showHide:has(input:checked) .chev {
    rotate: 180deg;
}

.showHide:has(input:checked) + .bottomSectionLeft {
    opacity: 1;
    transition: 0.1s;
}

.showHide:has(input:not(:checked)) + .bottomSectionLeft {
    opacity: 0;
    transition: 0.1s;
}

.bottomSectionLeft {
    display: flex;
    flex-grow: 1;
    justify-content: left;
    opacity: 0;
}

.bottomSection {
    padding: 0.7em 2em;
}

.linkBottom {
    text-decoration: none;
    color: #c6c6c6;
}

.linkBottom:hover {
    text-decoration: none;
    color: gray;
    cursor: pointer;
}

#bottom {
        color: #c6c6c6;
        cursor: auto;
}

#CV{
    scroll-margin-top: 1.5em;
}


#music{
    scroll-margin-top: 4em;
}

#film{
    scroll-margin-top: 4em;
}

#installation{
    scroll-margin-top: 4em;
}

#theatre{
    scroll-margin-top: 4em;
}

#radio{
    scroll-margin-top: 4em;
}

#advert{
    scroll-margin-top: 4em;
}