/*
First Color:  #c80a48
Second Color: #D90429
*/

@font-face {
    font-family: firstFont;
    src: local('Open Sans'),
    local('OpenSans'),
    url('../fonts/open-sans.woff2') format('woff2'),
    url('../fonts/open-sans.eot') format('eot'),
    url('../fonts/open-sans.woff') format('woff'),
    url('../fonts/open-sans.ttf') format('truetype'),
    url('../fonts/open-sans.svg#open_sansregular') format('svg');
}

@font-face {
    font-family: secondFont;
    src: local('Lucida Console'),
    local('Lucida Sans Typewriter'),
    local('Consolas'),
    url('../fonts/lucida-console.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: firstFont, sans-serif;
    color: #d7d7d7;
    background-color: #000000;
    text-align: justify;
}

h1, h2, h3, h4, h5 {
    font-family: secondFont, monospace;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.3rem;
}

a:hover, a:visited:hover {
    color: #c80a48;
}

a, a:visited {
    color: #b9b9b9;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track, ::-webkit-scrollbar-corner {
    background-color: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background-color: #3e3e3e;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #919191;
}

.main-nav-container {
    width: 20%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #c80a48;
}

.main-nav {
    width: 20%;
    text-align: center;
    position: fixed;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
}

.main-nav a {
    display: inline-block;
    padding: 10px 25px 10px 25px;
    margin-bottom: 5px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 0 5px black;
    transition: all 0.4s ease;
    width: 80%;
    background-color: #b40a45;
    border-radius: 3px;
}

.main-nav a:hover, .main-nav a.active {
    color: white;
    text-shadow: none;
    background-color: #c80a48;
    background: linear-gradient(#3e001f, #4e0018, #3f001f);
}

.main-nav .fa-solid {
    display: block;
    margin-bottom: 25px;
    font-size: 60px;
}

.main-content {
    float: right;
    width: 80%;
}

.parallaxParent {
    height: 50vh;
    overflow: hidden;
    background-color: #ffffff;
    color: #7b7b7b;
    position: relative;
}

.parallaxParent .parallaxBackground {
    width: 100%;
    position: relative;
    top: 0;
}

.parallaxBackground {
    height: 100%;
    text-align: center;
    padding: 30vh 0;
}

.parallaxBackground .quote {
    padding: 0 10% 30px 10%;
    line-height: 1.5;
}

#parallax1 {
    height: 100vh;
}

#parallax1 .parallaxBackground {
    padding: 0;
    background-image: url('../images/home.jpg');
    background-size: 100% 100%;
}

#parallax1 .title {
    text-align: center;
    color: white;
    position: absolute;
    top: 45%;
    width: 100%;
    z-index: 1;
    text-shadow: 0 0 5px black;
}

#parallax1 .title h1 {
    padding: 0 10px 0 10px;
    position: relative;
    top: -3rem;
    opacity: 0;
}

#parallax1 .title h2 {
    position: relative;
    top: 3rem;
    opacity: 0;
    color: #e1e1e1;
    margin-top: 5px;
}

.spacer {
    width: 100%;
}

.spacer .title {
    color: #c80a48;
    padding: 50px 0;
    margin: 0 10%;
    border-bottom: 3px solid #c80a48;
    text-align: center;
}

.spacer .title .fa-solid {
    font-size: 30px;
    margin-bottom: 10px;
}

#profile .content {
    line-height: 2.5;
    padding: 30px 5% 40px 10%;
}

#portfolio .content {
    padding: 30px 0;
}

#contactMe .content {
    text-align: center;
    padding: 25vh 0 30vh 0;
}

#contactMe .content .fa-solid {
    vertical-align: text-bottom;
    font-size: 20px;
}


#contactMe .content h4 {
    display: inline-block;
    vertical-align: middle;
}

#footer {
    font-size: 0.8rem;
    text-align: center;
    padding: 15px 0;
    background-color: #141414;
}

.table {
    table-layout: fixed;
    display: table;
    width: 100%;
}

.table .row {
    display: table-row;
}

.table .row .col {
    display: table-cell;
}

.gallery .image-link {
    position: relative;
    overflow: hidden;
    height: 200px;
    display: block;
}

.gallery .image {
    height: 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.2s ease;
}

.gallery .image-background {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: -1;
    background-color: #FDFFFC;
}

.gallery .image-link:hover .image {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.gallery .poster {
    text-align: center;
    padding: 5px;
    text-shadow: 0 0 5px black;
    min-width: 70%;
    color: white;
    position: absolute;
    top: 300px;
    background-color: rgba(120, 120, 120, 0.6);
    border-radius: 3px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.7s ease 0.3s;
    -moz-transition: all 0.7s ease 0.3s;
    -o-transition: all 0.7s ease 0.3s;
    transition: all 0.3s ease 0s;
}

.gallery .image-link:hover .poster {
    top: 50%;
}

.gallery .image-hover {
    opacity: 0;
    padding-top: 75px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.gallery .image-link:hover .image-hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

.loading-spinner {
    height: 50px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-25px) translateY(-25px);
}

.loading-spinner .speeding-wheel {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid rgb(0, 0, 0);
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: loading-spinner 575ms infinite linear;
    -o-animation: loading-spinner 575ms infinite linear;
    -ms-animation: loading-spinner 575ms infinite linear;
    -webkit-animation: loading-spinner 575ms infinite linear;
    -moz-animation: loading-spinner 575ms infinite linear;
}

@keyframes loading-spinner {
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes loading-spinner {
    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes loading-spinner {
    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loading-spinner {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes loading-spinner {
    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
