﻿:root {
    --pagePadding: 35px;
    --background: #042325;
    --divColor: #095256;
    --imageBorder: #000000;
    --textColor: #DDD5D0;
    --menuColor: #2e5eaaff;
    --selectionColor: #ddd5d0;

    --altColor1: #087F8C;
    
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Lato-Black";
    src: url("../Fonts/Lato-Black.ttf");
}

@font-face{
    font-family: "Lato-Italic";
    src: url("../Fonts/Lato-Italic.ttf");
}

@font-face{
    font-family: "Lato-Thin";
    src: url("../Fonts/Lato-Light.ttf");
}

* {
    margin: 0;
    padding: 0;

    color: var(--textColor);
}

body, html {
    overflow: auto;
    background-color: var(--background);
    font-family: "Lato-Thin";
}

h1 {
    font-family: Lato-Black;
}

/*###############################
             General
  ###############################*/

.ContentBox {
    background-color: var(--divColor);
    margin-top: var(--pagePadding);
    padding: 15px 0px 15px 0px;
    width: 100%;
}

/*###############################
            Main Page
  ###############################*/
#Main {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--divColor);
    text-align: center;
    font-family: Lato-Black;
}

#BackgroundVideo {
    margin-top: auto;
    height: 100%;
    justify-content: center;
}

#BackgroundVideo img {
    width: 100%;
    height: auto;
    margin: auto;
}

#Title {
    width: 100%;
    top: 50%;
    position: absolute;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
}

/*SCANLINES*/

.scanlines {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.scanlines:before, .scanlines:after {
    display: block;
    pointer-events: none;
    content: '';
    position: absolute;
}

.scanlines:before {
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, .3);
    opacity: 0.75;
    animation: scanline 6s linear infinite;
}

.scanlines:after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, .3) 51%);
    background-size: 100% 4px;
    animation: scanlines 1s steps(30) infinite;
}
/* ANIMATE UNIQUE SCANLINE */
@keyframes scanline {
    0% {
        transform: translate3d(0, 200000%, 0);
    }
}

@keyframes scanlines {
    0% {
        background-position: 0 50%;
    }
}

.hidden {
    opacity: 0;
}

.console-container {
    font-weight: bold;
    text-align: center;
    font-size: 3em;
    height: 100px;
    width: 100%;
    color: white;
    margin: auto;
}

.small-console-container {
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    height: 50px;
    width: 100%;
    color: white;
    margin: auto;
    clear: both;
}

.console-underscore {
    display: inline-block;
    position: relative;
    top: -0.14em;
    left: 10px;
}

/*###############################
            Menu Page
  ###############################*/

Menu {
    position: fixed;
    height: 100%;
    width: 100%;
}

.SideBar {
    background-color: var(--menuColor);
    position: fixed;
    top: 0;
    bottom: 0;
    left: -50%;
    width: 20%;
    z-index: 1;
    transition: 0.4s;
}

.itemList {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 100px;
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, .7);
}

.menuItem {
    border-bottom: 2px solid rgba(255, 255, 255, .7);
    padding: 20px 0;
    display: block;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    transition: color .3s .15s ease-in;
}

.menuItem::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    background-color: var(--selectionColor);
    width: 0;
    transition: width .3s ease-in;
    z-index: -1;
}

.menuItem:hover {
    color: var(--nickel);
}

.menuItem:hover::after {
    width: 100%;
}

.container {
    top: 15px;
    left: 15px;
    display: inline-block;
    position: fixed;
    cursor: pointer;
    z-index: 101;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: var(--altColor1);
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.menuSpacer {
    width: 100%;
    height: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, .7);
}

/*###############################
            Content Page
  ###############################*/

.AboutMe {
    justify-content: center;
    font-size: 24px;
    text-align: center;
    margin: 0px auto 0px auto;
    width: 600px;
}

.ProjectLine {
    display: flex;
    justify-content: center;
}

.ProjectLine:nth-child(n+2) {
    padding-top: var(--pagePadding);
}

.ProjectLine .Project {
    background-color: var(--imageBorder);
    float: left;
    max-width: 300px;
    margin: 0 75px 0px 75px;
    height: 300px;
    padding: 7px;
    position: relative;
}

.ProjectLine .Project img {
    width: 100%;
    height: 100%;
}

/*###############################
            Skills Page
  ###############################*/

#Skills {
    text-align: center;
}

#Skills .Grid {
    margin: auto;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(50px, auto);
    gap: 25px;
    width: 65%;
}

#SoftSkills{
    text-align: center;
}

#Skills img{
    padding: 0px 10px 0px 10px;
    width: auto;
    height: 75px;
}

#SoftSkills .Grid {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 70%;
    grid-auto-rows: minmax(100px, auto);
}

#SoftSkills .GridTile {
    width: 450px;
    margin: auto;
}

#SoftSkills .GridTile p {
    font-size: 18px;
}

/*###############################
            About Page
  ###############################*/

#AboutMe {
    display: flex;
    justify-content: center;
}

#AboutMe img {
    margin: auto 0px auto 0px;
}

.Text {
    float: left;
    font-family: Lato-Italic;
    width: 600px;
    margin: 0px 50px 0px 50px;
}

/*###############################
            Footer Page
  ###############################*/

#footer {
    margin-top: 50px;
    background: var(--altColor1);
    height: 100px;
    position: relative;
}

#footer .footer-content {
    height: 100px;
}

#footer .footer-contact{
    padding-top: 25px;
    text-align: center;
    display: block;
}

#footer .footer-contact img{
    margin: 0px 15px 0px 15px;
    width: 50px;
    height: 50px;
}