
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: #fafafa; 
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px; 
    width: auto;
}

.navigation {
    display: flex;
    gap: 20px;
    font-size: 2em;
}

.navigation a {
    text-decoration: none;
    color: #fafafa; 
    transition: transform 0.3s ease;
}


.navigation a:hover {
    transform: scale(1.2);
}

p {
    margin:0;
}

a {
    color: #fafafa;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: #bdbdbd;
    text-decoration: underline;
    transform: translateX(5px);
}

a:active {
    color: #a1a1a1;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 100; 
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%; 
  background: rgba(0, 0, 0, 0.8);
  justify-content: center; 
  align-items: center;
}

.modal-content {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  color: #fafafa;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2em;
  cursor: pointer;
}

.modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-icon, .music-icon, .discord-icon {
    filter: invert(32%) sepia(99%) saturate(2967%) hue-rotate(227deg) brightness(96%) contrast(101%);
}

.mainpage-icon {
    width: 40px;
    height: 40px;
}

#name {
    font-size: 25px;
    font-style: bold;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 10px;
}

/* Wrapper */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

/* Bubble container */
.tooltip-bubble {
  position: absolute;
  top: 100%;       /* show below */
  left: 50%;
  transform: translateX(-50%);
  background: #5865F2; /* Discord blurple */
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  margin-top: 8px;
  z-index: 9999;

  /* Prevent going outside screen */
  max-width: calc(100vw - 20px); /* keep within viewport */
  overflow-wrap: break-word;

  /* New: prevent overflow left/right */
  left: 50%;
  transform: translateX(-65%);

  margin-top: 0; /* or maybe 2px for a tiny gap */
}


.tooltip-bubble a {
  color: #fff;
  text-decoration: none;
}

.tooltip-bubble a:hover {
  text-decoration: underline;
}

/* Show and clickable */
.tooltip-wrapper:hover .tooltip-bubble {
  opacity: 1;
  pointer-events: auto; /* allows clicks inside */
}


/* Arrow */
.tooltip-bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #5865F2 transparent;
}



@media (max-width: 768px) {
  .modal-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 1.5em;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    .navigation {
        font-size: 1.2em;
        gap: 10px;
    }
}
