* {
    margin: 0;
    box-sizing: border-box;
    background-color: #282828;
}
body, html{
    height: 50%;
}
img {
    width: 100%;
    max-width: 750px;
    height: auto;
}

.portfolioPictureGinn {
    display: flex;
    width: 225px;
    height: 300px;
    margin: 0 auto;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgb(235, 235, 235);
  }

a{
    color: white;
}

header li:first-child {
    float: left;
}
 
header li {
    float: right;
}

li a {
    background-color: rgb(235, 235, 235);
    display: block;
    color: #2f2d3f;
    text-align: center;
    padding: 20px 16px;
    text-decoration: none;
}

footer li a {
    text-align: center;
    padding : 10px 10px;
}

li span {
    background-color: rgb(235, 235, 235);
    font-weight: bold;
    display: block;
    color: black;
    padding: 20px 16px;
}

li a:hover(.active) {
    color: #ff0000;
    transition: ease-in 0.15s;
}
li a:hover{
    color: #ff0000;
    transition: ease-in 0.15s;
}

li a.active {
    color: #cc0000;
}

h1, h2, h3{
    font-family: 'Rajdhani', sans-serif;
    color: white;
    text-align: center;
    margin: 0.51em;
}

h1{
    font-size: 45px;
}

h2{
    font-size: 35px;
    margin-bottom: 3em;
}

p {    
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    color: white;
    text-align: center;
    line-height: 1.5;
    max-width: 60%;
    margin: 0.5em auto;
}

.navbar {
    margin: 0 auto;
    width: 100%;
    height: auto;
    font-family: 'Rajdhani', sans-serif;    
    font-size: 18px;
    font-weight: bold;
}

.headerImage{
    max-width: unset;
    background: url(../Images/ImageLink/header.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax {
    height: 100%; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.homeImage{
    position: relative;
    text-align: center;
    align-items: center;
    padding: 0 1em;
    font-size: 35px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    color: white;
}

.homeImage > a,
.homeImage > img {
    display: block;
    margin: 0 auto;
}
.homeImage > a {
    margin-bottom: 0.5em;
}
.homeImage > img {
    margin-bottom: 2em;
}

.portfolio-section {
    margin: 0 auto;
    margin-bottom: 2em;
}

.portfolio-section h1, .portfolio-section h2 {
    text-align: center;
}

.projects-section div a {
    color: white;
    display: block;
    margin: 0.2em 0;
}

.projects-section {
    margin: 0 auto;
    margin-bottom: 2em;
}

.about-section {
    margin: 0 auto;
    margin-bottom: 2em;
    color: white;
}

.about-section .h3 {
    text-align: center;
}

.hover-frame {
	display: inline-block;
	margin: 0.8em;
	overflow: hidden;
    position: relative;
}

.hover-frame:hover .content-container{
	background-color: rgba(0,0,0,0.7);
	transition: ease-out 0.3s;
    opacity: 1;
}
.display-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    max-width: 75%;
    margin: 0 auto;
}

.project-image{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #f30000; 
}

.project-image-zkater{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #70C3B3; 
}

.project-image-beanwars{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #7BDCFF; 
}

.project-image-FSM{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #f30000; 
}

.project-image-legendofzelda{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #FFC07A; 
}

.project-image-NPCbrain{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #f30000; 
}

.project-image-spaceattack{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #3B4497; 
}

.project-image-targetpractice{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #f30000; 
}

.project-image-acorncollector{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #f30000; 
}

.project-image-villagerVSpillager{
    width: 430px; height: 240px;
    margin: 1em;
    box-shadow: 0px 0px 10px 10px #f30000; 
}

@media (max-width:500px) {
    .project-image{
        width: 330px; height: 140px;
    }
}

.img-container{
    text-align: center;
    position: relative;
}

.redirect-button {
	display: inline-block;
	padding: 0.4em;
	color: transparent;
	font-weight: bold;
	text-decoration: none;
	font-size: 120%;
    font-family: 'Rajdhani', sans-serif;
}

.hover-frame:hover .redirect-button {
	background: #be0000;
	color: white;
	transition: ease-out 0.3s
}

.text-tools{
    margin-top: 7.5em;
	text-align: center;
}

.Timestamp-text{
    margin-top: -0.5em;
    text-align: center;
}

.content-container {
    position: absolute;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
}

.project-title{
    margin: 0 auto;
}
