/* ----------- Main Body ------------*/
@font-face {
 font-family: 'OrbitronRegular';
 src: url(../Fonts/Orbitron-Regular.ttf);
}
@font-face {
    font-family: 'OrbitronBold';
    src: url(../Fonts/Orbitron-Bold.ttf);
}
*{
 box-sizing: border-box;
 background-color: #0f0f0f
}
/* ----------- NAVIGATION ------------*/
body {
 font-family: Arial, Helvetica, sans-serif;
 margin: 0px;
 padding: 0px;
 background-color: #000000;
}

ul {
 list-style-type: none;
 margin: 0;
 padding: 0;
 overflow: hidden;
 background-color: #0f0f0f;
}

ul li {
 float: left;
}

ul li a {
 display: block;
 color: white;
 text-align: center;
 padding: 20px 30px;
 text-decoration: none;
}

ul li a:hover {
 background-color: #300000;
 color: #ff0000;
 cursor: crosshair; /*Changes the mouse cursor when hovering on the Navbox*/
}

.PortfolioSubMenu{
    display: none; /*Hides submenu from the portfolio tab*/
}

.NavLineBox ul li:hover .PortfolioSubMenu{ /*Shows submenu from the portfolio tab*/
    display: block;
    position: absolute;
}

#NavMenuActive{ /* Sets red underline in Navbox */
 border-bottom: 6px solid #D71818;
 color: #D71818;;
 border-radius: 1px;
 margin-bottom: 1px;
 position: relative;
 opacity: 100%;
}

/* ----------- CSS GRID CONTAINER ------------*/

.grid-container {
 display: grid;
 background-color: #000000;
 grid-template-columns: 1fr 1fr 5vw;
 grid-auto-rows: 30em 60em;
 gap: 0.0em;

 margin-top: 1px;
 margin-left: 1px;
 margin-bottom: 1px;

 grid-template-areas:
"box-1 box-1 box-2"
"box-3 box-4 box-2";
}

/* ----------- CSS GRID CONTENT ------------*/

div.box1 h1 {
 color: #D71818;
 opacity: 90%;
 background:none;
 font-family: 'OrbitronRegular';
 font-size: 15rem;
 padding-bottom: 0.2em;
 padding-left: 0.2em;
 overflow:hidden;
 margin: auto;
 align-content:flex-end;
}

.box1 {
 border-top: 1px solid #D71818;
 border-bottom: 1px solid #D71818;
 background-color: #000000;
 align-content: flex-end;
}


.box2{
 border-top: 1px solid #D71818;
 background-color: #D71818;
 display: flex;
 align-content:center;
 justify-content: center;
 align-items: center;
 overflow: hidden;
}

.ScrollBoxContent{
    writing-mode: vertical-rl;
    background: none;
    animation: ScrollBoxContent 10s infinite linear;
    overflow: hidden;
}

.ScrollBoxContent h1{
 color: aliceblue;
 background: none;
 font-family:'OrbitronBold';
 font-size: 5em;
 margin: auto;
}

.box3{
 background-color: #000000;
 display: flex;
 justify-content: center;
 
}

.welcomeSection{
    width: 40em;
    height: 18em;
    background-color: #000000;
    border: 0.3em solid #ff0000;
    margin-top: 0.8em;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.lineBrk{
    width: 95%;
    height:0.1em;
    background-color: hsla(hue, saturation, lightness, alpha);
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1), rgba(255,0,0,0));
    display: flex;
}

.welcomeSection h2{
    color: aliceblue;
    font-size: 3rem;
    font-family: 'OrbitronBold';
    background: none;
    display: flex;
    justify-content: center;
    align-content: center;  
    margin: 0.1em;
    margin-top: 0.3em;
}

.welcomeSection p{
    color: aliceblue;
    font-size: 1.2rem;
    font-family: 'OrbitronRegular';
    background: none;
    display: flex;
    justify-content: center;
    align-content: center;  
    margin: 0.4em;
}

.box4{
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-content: center;
  

}
.latestUpdate{
    background-color: #000000;
    width: 50em;
    height:8em;
    margin: 0.3em;
    
}
.latestUpdate h2{

    color: aliceblue;
    font-size: 3rem;
    font-family: 'OrbitronRegular';
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.4em;
    text-align:center;
}

#latestUpdateBoxA{
    width: 100%;
    height: 3em;
    background-color: #D71818;
    display: flex;
    justify-content: center;
}
 #latestUpdateBoxA h1{
 color: #000000;
 background: none;
 font-family:'OrbitronRegular';
 font-size: 3rem;
 text-align: center;
 display: flex;
 align-items: center;
}
#latestUpdateBoxB{
    width: 100%;
    height: 50em;
    border: 0.15em dotted #ff0000;
    background-color: #000000;
    margin:auto;
    overflow: hidden;
}
#latestUpdateBoxB img{
border: #D71818;
width: 100%;
height: 100%;
object-fit:contain;
}


/* ----------- HOME ANIMATION ------------*/

@keyframes ScrollBoxContent {
    from{
        transform: translateY(100%);
    }
    to{
        transform: translateY(-100%);
    }
}
