body {
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment:fixed;
}

header{
text-align: center;
background-color: #8c00ff9d;
border: 2px solid black;

}
main{
align-items: center;
text-align: center;
}
section{
align-items: center;
text-align: center;
}
#games{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
#games figure{
    flex: 1 1 280px;
    max-width: 280px;
    margin: 0;
}
#games img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.final{
width: 400px;
}
figcaption{
background-color: rgba(0, 0, 0, 0.452);
color: white;
margin: auto;
margin-bottom: 10px;
}
p{
background-color: #8c00ff9d;
border: 2px solid black;
font-size: 23px;
width: 1200px;
text-align: center;
margin: auto;
margin-bottom: 10px;
}
.links{
text-align: center;
background-color:#8c00ff ;
width: 600px;
gap: 30px;
margin: 15px auto;
position: sticky;
top: 0;
display: flex;
flex-direction: row;
justify-content: center;
list-style: none;
border:2px solid black ;
font-size: 23px;
}
.links a{
text-decoration: none;
color: black;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.share{
position:sticky;
width: 100px;
top: 0;
}
#share{
background-image: url(image2.jpg);
color: aliceblue;
width: 200px;
height: 100px;
}
footer{
background-image: url(image2.jpg);
color: aliceblue;
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    
    p {
        width: 100%;
        font-size: 16px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .links {
        width: 100%;
        flex-direction: column;
        font-size: 18px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    #games {
        gap: 5px;
    }
    
    #games figure {
        flex: 1 1 150px;
        max-width: 150px;
    }
    
    .final {
        width: 90%;
    }
    .share{
position:none;
width: 100px;
top: 0;
}
#share{
background-image: url(image2.jpg);
color: aliceblue;
width: 100px;
height: 50px;
}
}