/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding:20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery img {
  width: 720px;
  height: auto;
  border: 1px solid #b266ff;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.game-card {
  border: 1px solid #b266ff;
  padding: 20px;
  margin: 30px auto;
  max-width: 700px;
  text-align: left;
}

.game-card img {
  width: 100%;
  margin-top: 10px;
  border: 1px solid #444;
}

.navbar {
  text-align: center;
  margin-bottom: 30px;
}

.navbar a {
  margin: 0 15px;
  color: #c084fc;
}

.navbar a:hover {
  color: white;
}

.topnav-centered {
  position:relative;
  overflow:hidden;
}

.topnav-centered a{
  float: none;
  color: #c084fc;
  text-align: center;
  padding: 14px 16px;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  text-decoration: none;
}

.topnav-centered a:hover{
  color:white
}

a {
  color: #c084fc;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration:underline;
}

body {
  background-color: #0b0b0b ;
  color: #d8d0e8 ;
  font-family: "Georgia", Serif;
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3 {
  color: #c084fc;
  text-align: center;
  text-shadow: 0 0 8px rgba(178,102,255,0.3);
}

h1 {
  font-size: 3em;
}

h2 {
  border-bottom:1px solid #b266ff;
  font-size:2em;
  margin: 50px auto 20px auto;
  margin-top:50px;
  padding-bottom: 5px;
  text-align: center;
  width: 70%;
}

li::before {
  content: "\2726  "; /* Unicode for ✦ */
  color: rgba(178,102,255,0.7);
}

li {
  margin-bottom: 10px;
}

p {
  line-height: 1.7;
  margin-bottom: 20px;
}

section, .list-section {
  text-align: center;
}

ul {
  display: inline-block;
  list-style-type: none;
  margin-bottom: 40px;
  margin-top: 15px;
  padding: 0;
  padding-left: 20px;
  text-align: left;
}