*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

/*header*/
header{
  max-width: 85%;
  width: 1700px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
}

.logo{
  font-family: Fugaz One;
  font-size: 30px;
  color: #fff;
}

.logo:hover{
  color:#ff0000
}

nav ul{
  width: 350px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

nav ul li a{
  font-family: Roboto, SemiBoldBold 700;
  font-size: 18px;
  padding: 5px;
  color: #fff;
  margin: 0 auto;
}

nav ul li a:hover{
  color: #ff0000;
}

@media only screen and (max-width: 620px){
  
    header{
  max-width: 100%;
  width: 100px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }

    nav ul{
  width: 350px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  }

}


body {
  /*background: #111;*/
  background-image: url(IMG/PRUEBA.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 30px;
  text-align: center;
}

h1 {
  margin-bottom: 40px;
  margin-top: 30px;
}
.grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.card {
  position: relative; /* importante para tooltip */
  /*background: #1c1c1c;*/
  background-color: rgba(31, 30, 30, 0.3);
  border-radius: 10px;
  width: 250px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  text-align: left;
}
.card strong {
  font-weight: bold;
}
.status {
  font-weight: bold;
  margin-left: 8px;
}
.online {
  color: #00cc00;
}
.offline {
  color: #ff4444;
}
.card p {
  margin: 6px 0;
}
button {
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
}
.info-btn {
  background: #444;
  color: white;
  margin-right: 10px;
}
.join-btn {
  background: #12406f;
  margin-top: 10px;
  color: white;
}
.copy-btn {
  background: #ff0000;
  color: white;
  margin-left: 0px;
  margin-top: 10px;
  border-radius: 6px;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

/* Tooltip */
.tooltip-text {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
  z-index: 10;
}

