/* Fonts */
@font-face {
    font-family: 'Michroma';
    src: url('assets/fonts/Michroma-Regular.woff2') format('woff2'),
        url('assets/fonts/Michroma-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('assets/fonts/NotoSans-Italic.woff2') format('woff2'),
        url('assets/fonts/NotoSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/OpenSans-Italic.woff2') format('woff2'),
        url('assets/fonts/OpenSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('assets/fonts/NotoSans-Regular.woff2') format('woff2'),
        url('assets/fonts/NotoSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/OpenSans-Regular.woff2') format('woff2'),
        url('assets/fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik Glitch';
    src: url('assets/fonts/RubikGlitch-Regular.woff2') format('woff2'),
        url('assets/fonts/RubikGlitch-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* End Fonts */

/* Elements */
h1 {
    font-family: 'Open Sans', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: .75in;
}

h2 {
    font-family: 'Open Sans', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: xx-large;
}

h3 {
    font-family: 'Open Sans', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h4 {
    font-family: 'Open Sans', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

p {
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
}

ul {
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
}

li {
    padding: 3px;
}

/* End Elements */

/* Custom Classes */
.center-60 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}

.center-80 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.center-100 {
    display: block;
    width: 100%;
}

.left-20 {
    display: block;
    margin-left: 20%;
    width: 25%;
}

.text-center {
    text-align: center;
}

.pop {
    color: rgb(0, 158, 167);
}

.pop-red {
    color: rgb(185, 0, 0);
}

.bold {
    font-weight: bold;
}

.bg-grey {
    background-color: darkgray;
    background-repeat: repeat-x;
    color: whitesmoke;
}

.li-none {
    list-style-type: none;
}


.lift {
    transition: all 0.3s ease;
}

.lift:hover {
    transform: scale(1.05) rotate(0deg) translate(0px, -10px) skewX(0deg);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
    opacity: 1;
    filter: brightness(1.1);
    background-color: rgb(0, 158, 167);
    color: #ffffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fadein-05 {
    animation: ease-in 0.75s fadeIn 0.5s 1 normal forwards running;
    opacity: 0;
}

.animate-fadein-2 {
    animation: ease-in 0.75s fadeIn 2s 1 normal forwards running;
    opacity: 0;
}

.animate-fadein-35 {
    animation: ease-in 0.75s fadeIn 3.5s 1 normal forwards running;
    opacity: 0;
}

.animate-fadein-525 {
    animation: ease-in 0.75s fadeIn 5.25s 1 normal forwards running;
    opacity: 0;
}

/* End Custom Classes */

/* Scroll-driven animations */
/* Progress indicator */
@keyframes progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.progressbar {
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgb(0, 158, 167);
    transform-origin: left;
    animation: progress linear;
    animation-timeline: scroll();
}

/* End Progress indicator */

/* Begin scroll-based highlighting */
.highlight-animation {
    display: inline;
    background-position: left -100% center;
    padding-bottom: 0px;
    background-size: 200%;
    background-repeat: repeat-x;
    background-image: linear-gradient(to right, black 50%, rgb(0, 158, 167) 50%);
    transition: background-position 2s 0.1s;
}
/* End scroll-based highlighting */

/* End Scroll-driven animations */

/* Parralax */
body,
html {
    height: 100%;
    scroll-behavior: smooth;
}

.parallax {
    /* Full height */
    height: 80%;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-top {
    /* The image used */
    background-image: linear-gradient(rgba(0, 0, 0, 0.222), rgba(0, 0, 0, 0.5)), url("assets/images/MatthewDunbarTop.jpg");
}

.parallax-pwsh {
    background-image: linear-gradient(rgba(0, 0, 0, 0.222), rgba(0, 0, 0, 0.5)), url("assets/images/parallax-pwsh.png");
    height: 35%;
}

/* Turn off parallax scrolling for tablets and phones. */
@media screen and (max-width: 800px) {
    .parallax {
        background-attachment: scroll;
    }
}


/* Place text in the middle of the image */
.top-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

/* End Parallax */


/* Flexbox */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    margin: auto;
    list-style: circle;
}

.flex-contact {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: auto;
}

.flex-contact ul {
    list-style: none;
}

.flex-contact li {
    display: inline;
    margin-inline: 10px;
}

/* End Flexbox */

/* Cards */

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    margin: 10px;
}

/* On mouse-over, deepen shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

/* Add padding inside the card container */
.container {
    padding: 2px 16px;
}

/* End card */