@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");

* {
  text-shadow: 0px 0px 5px #ffffff;
  box-sizing: border-box; 
}

body {
  background: rgb(27, 18, 53);
  font-family: "Rubik", sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1200px; 
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.content img {
  width: 100px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: 0 24px;
  height: 54px;
  width: calc(100% - 40px); 
  border: none;
  border-radius: 20px;
  margin: 10px auto;
}

.logo img {
  height: 34px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.logo img:hover {
  background-color: #8c8fa1;
  transform: scale(0.9);
  border-radius: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.nav-links a img {
  margin-right: 8px;
}

.nav-links a:hover {
  background-color: #8c8fa1;
  border-radius: 10px;
  transform: scale(0.9);
}

.game-name {
  color: #cdd6f4;
  font-family: "Rubik", sans-serif;
  text-align: center;
  font-size: 14px; 
  margin-top: 5px; 
}

#image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 25px auto;
  overflow: hidden;
  padding: 0 10px; 
}

#image-container a {
  border-radius: 10px;
  margin: 10px;
  flex: 0 1 auto;
  background: rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

#image-container a:hover {
  transform: scale(0.9);
  cursor: pointer;
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.image-container img {
  align-self: flex-start;
}

.classy {
  width: 138px;
  height: 138px;
  border-radius: 20px;
}

p {
  margin-top: 10px;
  text-align: center;
}

#search-input {
  width: 100%;
  max-width: 550px; 
  height: 58px;
  font-family: "Rubik", sans-serif;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 20px;
  border-radius: 5px;
  text-align: center;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNjZGQ2ZjQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1zZWFyY2giPjxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiLz48cGF0aCBkPSJtMjEgMjEtNC4zLTQuMyIvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 29px 29px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  color: #ffffff;
  border: none;
  transition: width 0.3s ease;
  margin-top: 15px;
}

.index {
  width: 46px;
  height: 46px;
  text-align: center;
  overflow: hidden;
}

::placeholder {
  color: #ffffff;
  opacity: 1;
}

.search-container {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}
