* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    line-height: 1.5;
    /* outline: inset thin; */
}

:root {
    --mainColor: #1d6686;
    --mainBrighter: hsla(198, 64%, 64%, 1);
    --mainDarker: hsla(198, 64%, 16%, 0.15);
    --mainDarkerSolid: hsla(198, 46%, 9%, 0.9);
    --accentColor: greenYellow;
    /* --textColor: rgb(243, 230, 207); */
    --textColor: hsl(32, 61%, 91%);
    --bgColor: black;
    --outline: hsla(0, 0%, 40%, 1);
    --headingsFont: "Big Shoulders Display", Helvetica, Arial, sans-serif;
    --bodyFont: "Big Shoulders Text", Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--mainColor);
    color: var(--text-color);
}

img,
video {
    max-width: 100%;
    /* height: auto; */
    display: block;
}

iframe {
    max-width: 100%;
    max-height: 300px;
}

body {
    background-color: var(--bgColor);
    font-family: var(--headingsFont);
    color: var(--textColor);
    overflow-y: scroll;
}

a {
    color: var(--mainBrighter);
    text-decoration: none;
}

a:hover {
    color: var(--accentColor);
}


/*******************************************************************
 
    Page Loader CLASSES

 *******************************************************************/

#curtainRod {
    display: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
}

.theCurtains {
    display: grid;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}


/*******************************************************************
 
    LAYOUT CLASSES

 *******************************************************************/

header {
    width: 100vw;
    min-height: 100vh;
    background-image: url(/images/homepage/logo-against-wall-faded.webp);
    background-size: cover;
    background-position: 17.9427083333333%, 50%;
    background-repeat: no-repeat;
    position: relative;
    text-align: right;
    align-items: center;
    padding-right: 0;
    justify-content: right;
}

header.homepage {
    display: grid;
}

section {
    padding: 2em 0 2em 0;
    border: 0;
    max-width: 90%;
    margin: 0 auto;
}

.job {
    border-bottom: 1px dotted var(--mainColor);
}

.job:last-child {
    border-bottom: 0;
}

#videos div.job,
#music div.job {
    border-bottom: 0;
}

#music div.job {
    padding-left: 1em;
}

.job-thumb {
    text-align: left;
}

.job-thumb img {
    width: 70%;
    max-width: 200px;
    padding: 2em 0;
    margin-bottom: 0;
}

.posters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.posters,
.twoByTwo {
    padding-top: 1em;
}

.poster-portrait,
.poster-landscape,
.poster-video,
.video-container {
    border: 1px dotted var(--textColor);
    overflow: hidden;
    background-size: 120%;
    transition: 1000ms;
}

.posters img {
    max-height: 300px;
    object-fit: contain;
}

.poster-portrait:hover,
.poster-landscape:hover,
.poster-video:hover {
    border: 1px solid var(--accentColor);
    transform: scale(1.05);
}

.twoByTwo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: space-evenly;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.oneOfTwo {
    max-width: 484px;
}

#videos {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* iframe {
    border: 1px dotted var(--outline);
}

iframe:hover {
    border: 1px dotted var(--accentColor);
} */

@media screen and (min-width: 856px) {
    #workExperience,
    #videos {
        display: grid;
        grid-template-columns: 1fr 3fr;
        grid-gap: 2rem;
        /*grid-auto-flow: flow;*/
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 2em;
        justify-content: center;
        align-items: space-evenly;
        color: var(--textColor);
        background-color: var(--bgColor);
    }
    .job-thumb img {
        padding: 0.8rem;
        margin-bottom: 2.5rem;
    }
    .poster-portrait img,
    .poster-landscape img {
        filter: opacity(90%);
    }
    .poster-portrait:hover img,
    .poster-landscape:hover img {
        filter: opacity(100%);
    }
}

.client-container {
    display: flex;
    flex: 1 1 10px;
    /* flex-basis: 100%; */
    gap: 1em;
    /* flex-wrap: wrap; */
    padding-bottom: 2em;
    border-bottom: 1px dotted var(--mainColor);
    max-width: 400px;
}

.client {
    border-radius: 10%;
    background-color: hsla(0, 0%, 5%, 1);
}

.client img {
    filter: grayscale(100%);
    transition: filter 500ms;
}

.client:hover img {
    filter: grayscale(0);
}

@media screen and (min-width: 400px) {
    .job-thumb {
        text-align: center;
    }
}

@media screen and (min-width: 1700px) {
    header {
        /*background-image: url('/logo/SVG/mm-logo-100.svg');*/
        background-image: url("/images/homepage/logo-against-wall.webp");
    }
}


/******************************************************************
 
    NAVIGATION CLASSES

 *******************************************************************/

nav {
    top: 1px;
    font-size: clamp(1.25em, 5vw, 2.5em);
}

nav ul {
    display: flex;
    font-weight: 300;
    flex-direction: row;
    list-style: none;
}

nav ul li::after {
    content: "|";
    padding: 0 0.3em;
    color: var(--mainColor);
    font-weight: normal;
    text-shadow: none;
}

nav ul li:last-of-type::after {
    content: "";
    padding: 0;
}

nav ul li a {
    color: var(--textColor);
    text-decoration: none;
    transition: 0.15s;
    text-shadow: 0.03em 0.05em 0 black, 0.06em 0.1em 0 var(--mainColor);
}

nav ul li a:hover {
    color: var(--mainBrighter);
    text-shadow: none;
}

nav p.sub {
    font-size: clamp(0.5em, 5vw, 1em);
}

.sticky {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 1px dotted var(--mainColor);
    border-left: 1px dotted var(--mainColor);
    text-align: right;
    padding-top: 0;
    padding-bottom: 0;
}

.toTheTop {
    display: grid;
    font-size: 0.75rem;
    color: var(--textColor);
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px dotted var(--mainColor);
    width: 4em;
    height: 4em;
    font-family: var(--headingsFont);
    border-radius: 50%;
    position: fixed;
    bottom: 2vh;
    right: 2vw;
    background-color: rgba(29, 103, 134, 0.6);
    z-index: 100;
    margin: 0;
    transition: 500ms;
}

.toTheTop:hover {
    border: 2px dotted var(--accentColor);
    background-color: rgba(29, 103, 134, 1);
    transform: scale(1.2);
    transform: rotate(720);
}

@media screen and (min-width: 856px) {
    .toTheTop {
        font-size: 1rem;
        width: 5em;
        height: 5em;
    }
}


/******************************************************************
 
    TYPOGRAPHY CLASSES

 *******************************************************************/

h1 {
    font-size: clamp(4rem, 10vw, 8em);
    position: relative;
    /* padding-bottom: 1em; */
}

h1::after {
    content: "";
    display: block;
    position: relative;
    width: 100%;
    height: 0.045em;
    background: var(--mainColor);
    left: 0;
    bottom: 0;
}

h2 {
    font-size: 1.75em;
}

h1,
h2,
nav {
    padding: 0.4rem;
    font-weight: 300;
}

h2.fullSecHead {
    font-size: 3rem;
    padding: 0;
    margin-bottom: 0;
    display: inline-block;
    text-align: left;
    width: 100%;
    text-shadow: 0.03em 0.05em 0 black, 0.06em 0.1em 0 var(--mainColor);
}

h3 {
    font-size: 2em;
    font-weight: 500;
    line-height: 1;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

h3.fullSecSub {
    color: var(--textColor);
    text-shadow: 0.03em 0.05em 0 black, 0.06em 0.1em 0 var(--mainColor);
    text-align: center;
    margin-top: 1rem;
}

h3.fullSecSub::before {
    content: ". .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . .  . . ";
    display: block;
    width: 100%;
    height: 1px;
    color: var(--mainColor);
    margin: 1.5rem 0;
    text-align: center;
    font-size: 0.25em;
    text-shadow: none;
}

.h3sub {
    color: var(--mainBrighter);
    font-size: 0.8em;
    line-height: 1;
    padding-top: 0;
}

#thePosters p {
    margin: 0 auto;
    text-align: left;
    max-width: 45rem;
    font: var(--bodyFont);
}

@media screen and (min-width: 865px) {
    header {
        padding-right: 5rem;
        border-top: 3px solid var(--accentColor);
    }
    header.contactpage {
        display: grid;
    }
    h2 {
        font-size: 3rem;
    }
    h1,
    h2,
    nav {
        padding: 1rem;
    }
}

p,
section ul {
    font-family: var(--bodyFont);
    font-size: 1.25rem;
    max-width: 46em;
    text-align: left;
}

p {
    padding: 0.75rem 0;
}

section ul {
    padding: 1.5rem 0;
}

section ul {
    list-style: none;
    margin-left: 1em;
    max-width: 46em;
    text-align: left;
}

section ul li::before {
    content: "\2022";
    color: var(--mainBrighter);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.pipe {
    color: var(--mainColor);
    padding: 0 10px;
    font-weight: 500;
}

.littlePipes {
    color: var(--mainBrighter);
}

header p {
    width: 90%;
    margin: 0 auto;
    max-width: 54em;
}

header p:first-of-type {
    margin-top: 1em;
}

@media screen and (min-width: 865px) {
    header p {
        width: 100%;
    }
}


/******************************************************************
 
    HORIZONTAL RULE CLASSES

 *******************************************************************/


/* div.hr {
    width: 100%;
    height: 30px;
    border: 0;
    background: repeating-linear-gradient(-45deg, var(--mainDarker), var(--mainDarker) 1px, var(--bgColor) 4px, var(--bgColor) 10px);
}

hr {
    display: none;
} */


/* alt horizontal and animated bars rule */

div.hr {
    height: 3em;
    position: bottom;
    background-color: hsla(0, 0%, 10%, 1);
    background-image: url(/images/bars.svg);
    background-repeat: repeat-x;
    background-size: 600px;
    animation: barflowfull 2000s linear infinite;
    opacity: 50%;
}

hr {
    height: 3em;
    position: bottom;
    background-image: url(/images/bars.svg);
    background-size: 600px;
    background-repeat: repeat-x;
    mix-blend-mode: multiply;
    opacity: 75%;
    animation: insidebarflowfull 1000s linear infinite;
}


/* header {
    height: 100%;
    position: bottom;
    background-color: hsla(0, 0%, 10%, 1);
    background-image: url(/images/bars.svg);
    background-repeat: repeat-x;
    background-size: 600px;
    animation: barflowfull 2000s linear infinite;
    opacity: 50%;
}

header div {
    width: 100vw;
    min-height: 100vh;
    position: bottom;
    background-image: url(/images/bars.svg);
    background-size: 600px;
    background-repeat: repeat-x;
    mix-blend-mode: multiply;
    opacity: 75%;
    animation: insidebarflowfull 1000s linear infinite;
} */

@keyframes barflowfull {
    0% {
        background-position: -25000px 0px;
    }
    100% {
        background-position: 0px 0px;
    }
}

@keyframes insidebarflowfull {
    0% {
        background-position: 50000px 0px;
    }
    100% {
        background-position: 0px 0px;
    }
}


/* end of alt horizontal rule */


/*******************************************************************
 
    FORM CLASSES

 *******************************************************************/

*:focus {
    outline: none;
}

input:focus,
textarea:focus {
    outline: 1px solid var(--mainBrighter);
}

input[type="submit"]:focus {
    outline: 1px solid var(--accentColor);
}

a:focus {
    outline: 1px solid var(--mainColor);
}

form {
    width: 90%;
    margin: 0 auto;
    min-width: 30vw;
    text-align: left;
    margin-top: 1em;
}

input {
    width: 100%;
    height: 2em;
}

input[type="submit"] {
    height: 3em;
}

textarea {
    width: 100%;
    height: 6em;
}

input,
textarea {
    background-color: var(--mainDarkerSolid);
    color: var(--textColor);
    font-family: var(--bodyFont);
    font-size: 1.25em;
    padding: 0.5em;
    border-radius: 0.5em;
}

.cta {
    display: block;
    font-family: var(--headingsFont);
    font-size: 1rem;
    color: var(--textColor);
    text-decoration: none;
    background-color: var(--mainColor);
    padding: 0.5em 1em;
    border: 1px solid var(--mainBrighter);
    border-radius: 0.5em;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.cta:hover {
    border: 1px solid var(--accentColor);
    cursor: pointer;
}

.cta,
label {
    font-size: 1.5rem;
}

.g-recaptcha {
    margin-top: 1.5em;
}

@media screen and (min-width: 856px) {
    form {
        width: 100%;
    }
}


/******************************************************************
 
    VIDEO CLASSES

 *******************************************************************/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    text-align: center;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: "";
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/******************************************************************
 
    Music Classes

 *******************************************************************/

#music .musicCard,
#moGraph .musicCard {
    background: repeating-linear-gradient(-45deg, var(--mainDarker), var(--mainDarker) 1px, var(--bgColor) 4px, var(--bgColor) 10px);
    width: 25%;
    min-width: 300px;
    border-bottom: 1px dotted var(--mainColor);
}


/******************************************************************
 
    EFFECTS

 *******************************************************************/


/* start fadein classes */

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Firefox < 16 */

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Internet Explorer */

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Opera < 12.1 */

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadein {
    -webkit-animation: fadein 1000ms;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1000ms;
    /* Firefox < 16 */
    -ms-animation: fadein 1000ms;
    /* Internet Explorer */
    -o-animation: fadein 1000ms;
    /* Opera < 12.1 */
    animation: fadein 1000ms;
}


/* end fadein classes */


/* start fadeout classes */

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/* Firefox < 16 */

@-moz-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/* Internet Explorer */

@-ms-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/* Opera < 12.1 */

@-o-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeout {
    -webkit-animation: fadeout 2000ms;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeout 2000ms;
    /* Firefox < 16 */
    -ms-animation: fadeout 2000ms;
    /* Internet Explorer */
    -o-animation: fadeout 2000ms;
    /* Opera < 12.1 */
    animation: fadeout 2000ms;
}


/* end of fadeout classes */


/* start rotation classes */

@-webkit-keyframes rotating
/* Safari and Chrome */

{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 1s linear infinite;
    -moz-animation: rotating 1s linear infinite;
    -ms-animation: rotating 1s linear infinite;
    -o-animation: rotating 1s linear infinite;
    animation: rotating 1s linear infinite;
}


/* end rotation classes */


/******************************************************************
 
    RESUME Classes

 *******************************************************************/

.fa-file-download {
    color: white;
    padding-right: 0.4em;
}


/******************************************************************
 
    FOOTER Classes

 *******************************************************************/

footer {
    text-align: center;
    font-size: clamp(0.5em, 5vw, 2rem);
    padding: 2em 0;
    /* background-color: rgba(29, 103, 134, 0.1); */
    /* background: repeating-linear-gradient(-45deg, var(--mainDarker), var(--mainDarker) 1px, var(--bgColor) 4px, var(--bgColor) 10px); */
    border-bottom: 1px dotted var(--accentColor);
}

footer a {
    color: var(--mainBrighter);
    text-decoration: none;
}

div.footer-contact {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: space-evenly;
}

footer a:hover {
    color: var(--accentColor);
    text-decoration: underline;
}

footer .sub {
    font-size: 1rem;
}