body {
    padding: 0;
    margin: 0;
    background-color: black;
    color: white;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 100;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: 2rem;
    font-weight: 200;
    padding: 0;
    margin: 1rem 0;
    padding-top:1em;
    border-top:1px dotted #888;
}

hr {
    border:1px dotted #888;
}

/* importants needed to override picflow */
h2, h3 {
    font-size: 1.4rem!important;
    font-weight: 200!important;
    padding: 0!important;
    margin: 1rem 0;
    text-align: left!important;
    font-family: "Roboto Flex"!important;
}

h3 {
    font-size: 1.2rem!important;
}

.picflow-gallery, .gallery-padding, .gallery-section-content, .gallery-section-container {
    padding: 0!important;
    margin: 0!important;
    padding-top: 2rem!important;
}

b, strong {
    font-weight:500;
}

.tab {
    margin-left: 50px;
}

.content {
    margin-top: 98vh;
}

.section {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    margin-top: 15rem;
}

.section.hide-down {
    transform: translateY(30vh);
    opacity: 0;    
}

.section.hide-up {
    transform: translateY(-30vh);
    opacity: 0;    
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

a {
    color: white;
    text-decoration: underline dotted;
    font-weight: 500;
}

a.light {
    font-weight: 100;
    text-decoration: none;
}

a:hover {
    color: #FF0;
    text-decoration: underline;
}

.footer {
    color: #aaa;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10rem;
}

.footer a {
    color: #aaa;
}


ul {
    list-style: square;
    padding-left: 1em;
    /* margin-left: 0;  */
}

ul.spaced li {
    margin-top: 1em;
}

ul.compact li {
    margin-top: 0;
}


/* home */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    transition: opacity 0.5s ease;
}

#video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  
  .video {
    width: 100%;
    height: 100%;
  }

.quotes {
    margin: 15rem 0;
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 2px;
}

p.small {
    font-size: 0.8rem;
    font-style: italic;
}

.big-text {
    font-size: 1.3rem;
    /* line-height: 2; */
}

/* CHAPTERS */
.chapter {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px dotted #888;
}

.chapter-video {
    width: 100%;
}

/* CREDITS */

.columns-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2em;
    /* width: 100%; */
    /* box-sizing: border-box; */
    /* flex-wrap: wrap; */
}

.columns-container * {
    flex: 1;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    flex-wrap: wrap;
    padding: 1em;
    box-sizing: border-box; */
}

.profile-image {
    width: 14rem;
    /* margin: 0 auto; */
    /* display: block; */
}


/* SCRIPT */
#script p {
    margin: 0;
}

/* Large desktops (1440px and above) */
@media (min-width: 1440px) {
    .narrow {
        margin-left:20%;
        margin-right:20%;
    }
    
    .wide {
        margin-left:2rem;
        margin-right:2rem;
    }
}

/* Laptops (1025px to 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
    .narrow {
        margin-left:10%;
        margin-right:10%;
    }

    .wide {
        margin-left:2rem;
        margin-right:2rem;
    }
}

/* Tablets (768px to 1024px) */
/* @media (min-width: 768px) and (max-width: 1024px) {
    .narrow {
        margin-left:10%;
        margin-right:10%;
    }
} */

/* Mobile (up to 767px) */
@media (max-width: 1024px) {
    .narrow {
        margin-left:5%;
        margin-right:5%;
    }

    .wide {
        margin-left:1rem;
        margin-right:1rem;
    }

    .columns-container {
        flex-direction: column;
    }
}
