* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
/* TODO: should i add ms webkit and moz to other properties? */

:root {
  --background-color: white;
  --font-family: "Roboto", sans-serif;
  --logo-size: 192px;
}

/* TODO: Check license */
/* TODO: Add fallback fonts if Varela doesn't work */
/* TODO: User other formats, just .ttf is not enough */
/* TODO: You need woff, woff2 and eot (use font squirrel tool) */
@font-face {
  font-family: "Roboto";
  src: url(./assets/fonts/Roboto-Thin.ttf) format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(./assets/fonts/Roboto-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(./assets/fonts/Roboto-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(./assets/fonts/Roboto-Medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(./assets/fonts/Roboto-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(./assets/fonts/Roboto-Black.ttf) format("truetype");
  font-weight: 900;
  font-style: normal;
}

body {
  background-color: var(--background-color);
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  /* background-color: #f7f7f8; */
  /* padding-top: 32px; */
  /* padding-bottom: 32px; */
  padding: 32px;
  display: flex;
  justify-content: center;
}

.logo {
  /* width: 192px; */
  width: 192px;
  /* height: 96px; */
}

hr {
  border: 2px solid black;

}

main {
  flex-grow: 1;
}

section {
  flex-grow: 1;
}


/* Game List Section */
.games-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 32px 32px;
}

.game-card {
  /* background-color: #f7f7f8; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  border: 4px solid black;
  border-radius: 24px;
  padding-top: 48px;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 32px;
  width: 300px;
  transition: transform 0.3s ease;
  text-align: center;
}

.game-card:hover {
  /* transform: scale(1.1); */
}

.game-logo {
  height: 64px;
}

.game-title {
  padding-top: 24px;
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 900;
}

.game-description {
  font-size: 16px;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 32px;
  color: #464853;;
}

.play-btn {
  background-color: black;
  /* border: 4px solid black; */
  color: white;
  /* border: none; */
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: 900;
  cursor: pointer;
  font-size: 16px;
  /* transition: background-color 0.3s ease; */
}

@media (hover: hover) {
  .play-btn:hover {
    transition: transform 0.2s;
    transform: scale(1.1);
  }
}

.play-btn:active {
  /* background-color: #005f8a; */
  transition: transform 0.2s;
  transform: scale(1.1);
}

/* Footer Styles */
/* .footer {
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
} */

.footer {
  /* background-color: #f7f7f8; */
  /* background-color: #333; */
  /* border: 2px solid black; */
  padding-top: 32px;
  /* margin-top: 40px; */
  /* color: white; */
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.support-me {
  padding-top: 24px;
  font-size: 12px;
  font-weight: 700;
  /* gap: 24px; */
  display: flex;
  justify-content: center;
  /* align-items: center; */
  gap: 12px;
  padding-bottom: 24px;
}

.support-me a {
  text-decoration: none;
  color: black; 
}

@media (hover: hover) {
  .support-me a:hover {
    transition: transform 0.2s;
    transform: scale(1.2);
  }
}

.support-me a:active {
  transition: transform 0.2s;
  transform: scale(1.2);
}


/* Social Links inside Footer */
.social {
  /* margin-top: 20px; */
  /* height: 32px; */
  /* width: 32px; */
  /* justify-content: space-; */
  /* align-items: start; */
  /* margin-right: 16px; */
}

.social:hover {
  /* transform: scale(1.2); */
}

.social-links a {
  /* margin: 0 10px; */
  /* text-decoration: none; */
  /* color: black; */
}

.social-links a:hover {
  /* text-decoration: underline; */
}


.social-icon {
  /* position: relative; */
  /* display: inline-block; */
  /* margin: 10px; */
  cursor: pointer;
  transition: transform 0.2s;
}

/* Tooltip styling */
.social-icon .tooltip {
  visibility: hidden;
  background-color: black;
  color: #fff;
  font-weight: 900;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  bottom: 125%; /* Position the tooltip above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  white-space: nowrap;
}

@media (hover: hover) {
  .social-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
  }
}

.social-icon:active .tooltip {
  visibility: visible;
  opacity: 1;
}

@media (hover: hover) {
  .social-icon:hover {
    transform: scale(1.2);
  }
}

.social-icon:active {
  transform: scale(1.2);
}
