/* Write your global styles here, in PostCSS syntax */

@tailwind base;

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.card {
  padding: 2em;
}

#app {
  margin: 0 auto;
  text-align: center;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}






@font-face {
  font-family: "Komika";
  src: url("/fonts/komika_axis/KOMIKAX_.woff2") format("woff2"),
    url("/fonts/komika_axis/KOMIKAX_.woff") format("woff"),
    url("/fonts/komika_axis/KOMIKAX_.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background-color: #1f1313;
}

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgb(51, 51, 51, 0.2);
  color: white;
}

header {
  height: 10%;
}

nav {
  display: flex;
  align-items: center;
}

button {
  margin-left: 10px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}


.stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.komika {
  font-family: "Komika", sans-serif;
}

a:hover {
  color: black;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* make sure it's on top */
}

.popup-content {
  position: relative;
  background-color: rgb(108, 50, 168);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto; /* add scroll if content is too long */
  width: 50%;
}

.popup-login-btn {
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: whitesmoke;
}

.popup-login-btn:hover {
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: #dddddd;
}

.popup-login-btn img {
  width: 40px;
}

.popup-login-github-btn img {
  width: 40px;
}

.popup-header {
  border-radius: 4px 4px 0 0;
  background-color: white;
  padding: 16px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.popup-body {
  padding: 16px;
  display: flex;
}

.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background-color: #fff;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 20px;
  border-radius: 50%; /* Makes it circular */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  color: black;
}

.popup-close-btn:hover {
  background-color: #dddddd;
}

.popup-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popup-login-buttons button {
  padding: 0;
  border: 0;
}


@tailwind components;

@tailwind utilities;
