body {
    background: url("bg.webp");
    background-size:
        100px 100px,
        100% 100%;
    font-family: "Courier New", monospace;
    color: #333;
    background-color: pink;
    cursor: url("cursor.gif"), auto;
}
.container {
    border-width: 10px;
    border-style: solid;
    border-image: url("border.webp") 9 fill round;
    z-index: -999;
}

.sidebar {
    padding: 10px;
    margin-top: 30px;
    border: solid #ffb6c1 2px;
    background: #ffe4e1;
    text-align: center;
    overflow-wrap: break-word;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.sidebar ul li {
    margin-bottom: 2px;
}

.sidebar ul li a {
    color: #ff69b4;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.content {
    padding: 10px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.footer {
    text-align: center;
    padding-top: 30px;
    margin-top: 20px;
    font-size: 0.8em;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
a {
    color: #ff69b4;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.glitter {
    color: #ff69b4;
    font-weight: bold;
    animation: glitter 3s infinite alternate;
}
@keyframes glitter {
    0% {
        color: #ff69b4;
    }
    25% {
        color: #ff1493;
    }
    50% {
        color: #db7093;
    }
    75% {
        color: #ff69b4;
    }
    100% {
        color: #ffa07a;
    }
}

.border-img {
    max-width: 100%;
    border: solid #ff69b4 2px;
}

marquee {
    font-size: 1.2em;
    color: #ff69b4;
    margin-bottom: 10px;
}

blink {
    color: #ff1493;
    animation: blinker 1.5s linear infinite;
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.welcome-box {
    border-style: dashed;
    border: 2px dashed #ff69b4;
    padding: 20px;
}

.general-section {
    margin-top: 20px;
    padding: 10px;
    background: #ffebf0;
    border: solid #ffb6c1 2px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.general-section h3 {
    color: #ff69b4;
    text-shadow: 1px 1px 2px #fff;
}

.general-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.general-section ul li {
    margin-bottom: 10px;
}

.contacts-section {
    margin-top: 20px;
    padding: 10px;
    background: #ffe4e1;
    border: solid #ffb6c1 2px;
}
.contacts-section h3 {
    color: #ff69b4;
    text-shadow: 1px 1px 2px #fff;
}
.contacts-section ul {
    list-style-type: none;
    padding: 0;
}
.contacts-section ul li {
    margin-bottom: 5px;
}

.discord-status {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    color: white;
    transition: background-color 0.3s ease-in-out;
    margin-top: 20px;
    margin-bottom: 10px;
    background: #7289da;
}

.discord-status img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 20px;
}

.discord-status h2 {
    font-size: 1.2rem;
}

.discord-status p {
    font-size: 1rem;
    opacity: 0.8;
}

@keyframes crazy-animation {
    0% {
        transform: rotate(0deg) scale(1) translateX(0) skew(0deg) rotateY(0deg);
        filter: hue-rotate(0deg) blur(0px);
        opacity: 1;
    }
    10% {
        transform: rotate(30deg) scale(1.3) translateX(10px) skew(10deg)
            rotateY(90deg);
        filter: hue-rotate(50deg) blur(2px);
        opacity: 0.8;
    }
    25% {
        transform: rotate(45deg) scale(1.5) translateX(20px) skew(-10deg)
            rotateY(180deg);
        filter: hue-rotate(120deg) blur(4px);
        opacity: 0.6;
    }
    50% {
        transform: rotate(-45deg) scale(0.8) translateX(-30px) skew(15deg)
            rotateY(270deg);
        filter: hue-rotate(200deg) blur(6px);
        opacity: 1;
    }
    75% {
        transform: rotate(90deg) scale(1.8) translateX(15px) skew(-15deg)
            rotateY(360deg);
        filter: hue-rotate(300deg) blur(3px);
        opacity: 0.7;
    }
    100% {
        transform: rotate(0deg) scale(1) translateX(0) skew(0deg) rotateY(0deg);
        filter: hue-rotate(360deg) blur(0px);
        opacity: 1;
    }
}

.crazy-image:hover {
    animation: crazy-animation 3s ease-in-out infinite;
}

.fullscreen-text {
    top: 0;
    left: 0;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s,
        visibility 0.5s;
    z-index: 10;
}

.crazy-image:hover + .fullscreen-text {
    opacity: 1;
    visibility: visible;
}

/* Mobile-specific overrides for custom elements */
@media (max-width: 768px) {
    .header-animation img {
        width: 30px;
        height: 30px;
    }

    .discord-status {
        flex-direction: column;
        align-items: flex-start;
    }

    .discord-status img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .discord-status h2 {
        font-size: 1rem;
    }

    .discord-status p {
        font-size: 0.9rem;
    }

    .crazy-image {
        max-width: 200px;
    }

    /* Ensure no horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .header-animation img {
        width: 25px;
        height: 25px;
    }

    .crazy-image {
        max-width: 150px;
    }

    /* Further mobile optimizations */
    .general-section {
        padding: 8px;
        margin-top: 15px;
    }

    .sidebar {
        padding: 8px;
        margin-top: 20px;
    }

    .content {
        padding: 8px;
    }
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.music-player {
    margin-top: 20px;
    padding: 10px;
    background: #ffebf0;
    border: dotted #ffb6c1 2px;
}

.music-player h3 {
    color: #ff69b4;
    text-shadow: 1px 1px 2px #fff;
    margin-bottom: 10px;
    text-align: center;
}

.music-player audio {
    width: 100%;
}

.now-playing {
    margin-top: 10px;
    padding: 10px;
    text-align: center;
}

.now-playing h4 {
    margin: 0;
    font-size: 1.2em;
}

.now-playing p {
    margin: 5px 0;
}

.header {
    position: relative;
    text-align: center;
    font-size: 2em;
    color: #ff69b4;
    text-shadow:
        1px 1px 2px #fff,
        2px 2px 4px #ffa07a;
    animation: glitter 3s infinite alternate;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -997;
}

.header-animation img {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.8;
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-40px);
    }
    100% {
        transform: translateY(0);
    }
}

.random-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.random-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}
.top-navbar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(5px);
}

.top-navbar nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-navbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-navbar li {
  margin: 0;
}

.top-navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: block;
}

.top-navbar a:hover,
.top-navbar a:focus {
  background-color: #ff69b4;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
}

.top-navbar a[aria-current="page"] {
  background-color: #ff69b4;
  color: white;
  font-weight: bold;
}

@media (max-width: 768px) {
  .top-navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .top-navbar {
    padding: 15px 0;
  }
}
