/* ----------- 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;
}
/* ----------- 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 {
 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: 2fr 0.9fr;
 grid-auto-rows: 10em 70em 10em 150em;
 gap: 0.0em;
 right: 10px;

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

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

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

/* ----------- IMAGE TITLE ------------*/

.imageTitle {
    color:#D71818;
    font-family: 'OrbitronBold';
    background: none;
    font-size: 10em;
    margin: 0.05em;
    overflow: hidden;
    text-align: center;
    padding-top: 0.03em;
}

.imageTitle h1{
    text-transform: capitalize;
}

/* ----------- IMAGE ------------*/

.box2{
    padding: min(20px, 7%);
    overflow: auto;
}

.imageBG{
    width:100%;
    height:100%;
}

.box2 img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----------- DESCRIPTION CONTENT ------------*/

.box3{
   padding: min(5px, 7%);
   padding: 1.4em;
   overflow: auto;
}
.descriptionBG{
    width:100%;
    height:100%;
    background-color: #0f0f0f;
    border-radius: 20px;  
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.box3 h1{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
}
.box3 h2{
    font-family: Arial, Helvetica, sans-serif;
    color: #D71818;
    margin-left: 0.2em;
}
.descriptionContent{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 1.3em;
    text-align: justify;
    margin-left: 0.8em;
    margin-right: 0.8em;
    line-height: 1.6;
}
.softwareSection{
    display: flex;
    padding: 0.5em;
    margin:0.5em;
    flex-wrap: wrap;
}
.softwareTabA{
    border-radius: 10px;
    margin: 0.6em;
    padding: auto;
    width:10em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    flex-wrap: wrap;
}
.softwareTabB{
    border-radius: 10px;
    margin: 0.6em;
    padding: auto;
    width:10em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    flex-wrap: wrap;
}
.softwareTabC{
    border-radius: 10px;
    margin: 0.6em;
    padding: auto;
    width:10em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    flex-wrap: wrap;
}
.softwareTabD{
    border-radius: 10px;
    margin: 0.6em;
    padding: auto;
    width:10em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    flex-wrap: wrap;
}
.softwareTabE{
    border-radius: 10px;
    margin: 0.6em;
    padding: auto;
    width:10em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    flex-wrap: wrap;
}
#softwareTabPrt{
    background-color: #272727;
}
#softwareName{
    padding: 0.2em;
    color: white;
}

/* ----------- BREAKDOWN TITLE ------------*/

.box4{
   padding: min(5px, 7%);
   padding: 1em;
}
.breakdownTitle {
    color:white;
    font-family: 'OrbitronBold';
    background: none;
    font-size: 8em;
    margin: 0.05em;
    overflow: hidden;
    text-align: center;
    text-decoration-line: overline underline;
    text-decoration-color: #D71818;
    padding-top: 0.1em;
}
.breakdownTitle h1{
    text-transform: capitalize;
}

/* ----------- BREAKDOWN CONTENT------------*/
.box5{
   padding: min(10px, 7%);
}
.breakdownImages{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.breakdownImages img{
    padding: 10px;
    max-width: 45em;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #D71818;
    margin: 0.2em;
}


.unrealEngineLogo{
    mask-image: url(../icons/logos/UnrealEngineLogo.png);
    mask-repeat: no-repeat;
}

@media screen and (max-width:45em) {
    .breakdownImages img{
        max-width: 50%;
    }
}