@font-face {
	font-family: "Inter";
	src: url("/fonts/Inter.ttf") format("truetype");
}

body {
    font-family: "Inter", sans-serif;
    background-color: #262626;
    color: #ffffff;
}

.container {
    margin-top: 100px;
}

a {
    color: white;
    text-decoration: none;
}

.centered-text-container {
    margin: auto;
    margin-top: 20px;
    width: 80%;
    text-align: center;
    margin-bottom: 80px;
}

.hover-underline-animation {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #6667d7, #aa8ee4);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.player-count-container {
    width: 100%;
    text-align: center;
}

.green-circle {
    position: relative;
    top: 5px;
    width: 10px;
    height: 10px;
    background: greenyellow;
    border-radius: 10px;
    margin-right: 10px;
}

.player-count {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

#player-count {
    margin-right: 0.5ex;
}

.menu {
    width: 100%;
    height: 75px;
    background-color: #252525;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.footer {
    width: 100%;
    height: 75px;
    margin-top: 100px;
    background-color: #252525;
    border-top: 1px solid #353535;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    color: #fff;
}

.footer-element {
    margin: 0 5vw 0 5vw;
}

.logo-menu {
    height: 37px;
    transition: 200ms ease-in-out;
    margin-left: 30px;
    position: absolute;
    right: 30px;
    top: 20px;
}

.logo-menu:hover {
    transform: scale(1.1);
    transition: 200ms ease-in-out;
}

.title-galaxy-container {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-content: center;
}

.title-galaxy {
    width: 400px;
    text-align: center;
    font-size: 50px;
}

.galaxysmp-gradient {
    font-size: inherit;
    background: linear-gradient(45deg, #6667d7, #aa8ee4, #6667d7);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: galaxyGradient 2s linear infinite;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: auto;
  width: 90vw;
  margin-top: 100px;
}

.card {
  background: var(--panel);
  backdrop-filter: blur(6px);
  border: 1px solid #4b4b4b;
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border: 1px solid #7b7b7b;
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.card p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}


.image-galaxy {
    width: 300px;
    border-radius: 20px;
    margin-top: 50px;
}

.dev-warning {
    color: #ffb700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.dev-warning-txt {
    margin-left: 5px;
}

.copy-text-container {
    display: flex;
    justify-content: center;
    align-content: center;
}

.copy-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border: 1px solid #4b4b4b;
    border-radius: 30px;
    cursor: pointer;
    transition: ease-out 300ms;
    width: 30vw;
}

.copy-text:hover {
    transform: scale(1.03);
    border: 1px solid #7b7b7b;
}

.copy-svg {
    width: 25px;
    filter: invert(1);
}

@media screen and (max-width: 800px) {
    .join-container {
        flex-direction: column;
    }
    .title-galaxy {
        margin-left: 0;
        margin-top: 30px;
    }
    .join-galaxy {
        margin: 0;
    }
    .down-arrow-container {
        display: flex;
        justify-content: right;
    }
    .down-arrow {
        margin: 0;
        margin-right: 5%;
    }
}

@keyframes galaxyGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
