@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
:root{
    --main-width:1200px;
    --main-color:rgb(255, 213, 0);
}
*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    color: white;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    text-decoration: none;
}
body{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto 1fr 400px;
    background-color: black;
    min-height: 100svh;
    justify-items: stretch;
    gap: 3rem;
}
p, li, a{
    font-size: 1.5rem;
}
a{
    color: var(--main-color);
    text-decoration: underline;
}
a:hover{
    color: rgb(255, 162, 0);
}
p,h3{
    padding-top: 1rem;
    padding-bottom: 1rem;
}
h3{
    font-size: 2rem;
    color: var(--main-color);
}
/* Header */
header{
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.797);
    z-index: 1;
}
header,.hero,main,footer{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
    padding-left: 10px;
}
/* Nav */
.nav-links, nav{
    display: flex;
    gap: 25px;
}
.nav-links{
    display: flex;
    align-items: center;
}
.nav-links li , .nav-links a{
    display: flex;
    align-items: center;
    text-decoration: none;
}
nav{
    justify-content: space-between;
    align-items: center;
    max-width: var(--main-width);
    flex-grow: 1;
    font-size: 1.2rem;

}
.contact-button{
    padding: 10px 35px 10px 35px;
    border: none;
    font-size: 1.2rem;
    border-radius: 50px;
    background-color: var(--main-color);
    cursor: pointer;
    font-weight: bold;
    transition: 0.1s;
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.contact-button:hover{
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}
/* Hero */
.hero-content{
    max-width: var(--main-width);
    flex-grow: 1;
}
.hero-title{
    font-size: 5rem;
    line-height: 4rem;
}
/* Games */
main{
    align-items: flex-start;
}
.games{
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(500px,1fr));
    grid-auto-rows: 300px;
    max-width: min(var(--main-width),100%);
}
.game-thumbnail{
    object-fit:cover;
    transition: 0.2s;
    width: 100%;
    height: 100%;
}
.game-card{
    overflow: hidden;
    position: relative;
}
.game-card .info{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.769);
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.game-card:hover .game-thumbnail{
    scale: 1.1;
}
.game-card .links img{
    filter: invert(42%) sepia(0%) saturate(1352%) hue-rotate(0deg) brightness(1119%) contrast(119%);
}
.game-card .links, .links a{
    display: flex;
    align-items: center;
    flex-direction: row;
}
.links{
    flex-shrink: 0;
}
.logo img{
    width: 150px;
    height: 80px;
}
/* Footer */
footer{
    flex-direction: column;
}
footer h3{
    width: min(var(--main-width),100%);
}
.footer-items ul{
    display: flex;
    gap: 35px;
    align-items: center;
}
.footer-items ul:last-child{
    justify-content: flex-end;
}
.footer-items{
    width: min(var(--main-width),100%);
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(500px,1fr));
    gap: 15px;
}
.footer-items li img{
    filter: invert(42%) sepia(0%) saturate(1352%) hue-rotate(0deg) brightness(1010%) contrast(119%);
    height: 70px;
}
.footer-items a{
    text-decoration: none;
}
.container{
    width: min(var(--main-width),100%);
}