@import url("https://fonts.googleapis.com/css?family=Work+Sans:500,400,600|Urbanist:600,800");
* {
	box-sizing: border-box;
}
body {
	background-color: #1a171c;
	color: white;
	margin: 0;
	padding: 0;
}

section { 
    padding: 16px;
}
h1,
h2,
h3,
h4 {
	color: white;
	font-family: Urbanist, Helvetica;
}

h1 {
	letter-spacing: 1.12px;
	font-size: 56px;
	line-height: 60px;
	font-weight: 800;
}

h2 {
	font-size: 32px;
}

p,
li,
a {
	font-family: "Work Sans", Helvetica;
}

.game-cta { 
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        line-height: 1;
        padding: 12px 20px;
        border-radius: 100px;
        background: #fff;
        color: #1a171c;
        transition: 0.3s all;
        display: inline-block;
}

.game-cta:hover { 
    background: #dedddd;

}

/* Section Hero */
.hero-image {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	min-height: 725px;
	height: auto;
	z-index: -1;
}
.hero-title {
	text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
	/* max-width: 339px; */
}
.hero-text {
margin: 0;
}
#header { 
    display: flex;
    flex-direction: column;
}
.top-section { 
    flex-direction: row;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 16px;
}

#games-grid { 
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
margin: 0 auto;
  max-width: 1200px;
}

#games-grid > article { 
flex: 33%;
overflow: hidden;
position: relative;
}

.game-item { 
    width: 100%;
    height: auto;
}

.game-item .last { 
    width: 50%;
}

@media screen and (max-width: 600px) {
    h1 { 
        font-size: 2.5rem;
        line-height: normal;
    }
    #games-grid { 
        width: 100%;
        margin: 0
    }
    #games-grid > article { 
        flex: auto}
        .game-item .last { 
            width: 100%;
        }

        #contact { 
            justify-content: center;
            flex-direction: column;
            text-align: center;
        }
        footer { 
            text-align: center;
            flex-wrap: wrap;
            justify-content: center;
        }
        .social-content { 
            justify-content: center;
        }
        .footer-left-section, .footer-right-section { 
            flex-basis: 100%;
        }

        .footer-text { 
            margin-bottom: 16px;
        }


}

#games-grid article:hover .game-item { 
    scale: 1.05;
    filter: brightness(0.5) blur(4px);
}

#games-grid article:hover .game-hover-content { 
    filter: opacity(1); 
}

.game-item { 
    transition: 0.2s all ease-in-out;
    cursor: pointer;
}

.game-hover-content { 
   filter: opacity(0); 
   transition: 0.2s all ease-in-out;
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 1007px) {
    .lightning-image  { 
        display: none;
    }
}

.about-section { 
    background-color: black;
}

#header { 
    background-image: url('../img/headerlightning4.png');
    background-size: cover;
    background-position: 0 63%;
    background-repeat: no-repeat;      
}

.profile-pic { 
    border-radius: 50%;
    height: auto;
    max-width: 200px;
}

#contact { 
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}
#contact a { 
    color: #33FEFF;
    transition: 0.3s;
}

#contact a:hover { 
    color: white;
}

.lightning-image  { 
    height: auto;
    width: 50%;
}
footer { 
    background: #2e2930;
    padding: 16px;
    color: #D9D9D9;
    display: flex;
    gap: 16px;
}

.footer-left-section, .footer-right-section { 
    padding: 0;
    flex-basis: 50%;
}

.footer-right-section { 
    align-self: end;
}

.social-icon { 
    width: 50px;
    background: gray;
    border-radius: 20%;
    transition: 0.3s;
}

.social-icon:hover { 
    background: white;
}

.social-content { 
    display: flex;
    gap: 16px;
    justify-content: end;
}

.footer-text { 
    margin-bottom: 0;
}