

/* General Styling */
body {
  font-family: 'Kanit', sans-serif;
  background-color: #121212; /* Dark background */
  color: #e0e0e0; /* Light text color */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background-size: 300% 300%;
}

.container {
  max-width: 1800px; /* Limit max width for better readability on large screens */
  width: 90%; /* Use a percentage to adapt to smaller screens */
  padding: 0px;
  padding-top:0px;
  /*background-color: #1e1e1e; /* Darker container background */
  background-color:rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* More pronounced shadow */
  border-radius: 8px;
  text-align: center;
  margin: 0; /* Center-align the container */
}



h1 {
  font-size: 24px;
  color: #ffffff; /* White for better visibility */
}



/* Button Styling */
.btn {
  font-family: 'Kanit', sans-serif; /* Apply Kanit font */
  padding: 12px 20px;
  background-color: rgba(0, 123, 255, 0.2);
  color: #fff;
  border: 2px solid #0056b3;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  
}

.btn:hover {
  background-color: #0056b3;
}

/* Logout and Logged-In Content */
.logged-in-content {
  margin-top: 0px;
}

/* Toggle Buttons */
.toggle-buttons {
  margin: 0px 0;
  display: flex;
  justify-content: center;
}

.toggle-buttons .btn {
  font-family: 'Kanit', sans-serif; /* Apply Kanit font */
  padding: 12px 25px;
  margin: 0 15px;
  font-size: 14px;
}

/* Iframe Styling */
.iframe {
  width: 100%;
  height: 70vh; /* Larger height for better usability */
  margin-top: 0;
  border: 0px solid #444;
  border-radius: 8px; /* Add slight rounding for aesthetics */
  background-color: rgba(0, 0, 0, 0.2);
  
  margin-bottom: 0px; /* Adds spacing below the iframe area */
}

.music-iframe {
  height: 70vh; /* Music iframe height */
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 0px;
}

::-webkit-scrollbar-track:hover {
  background: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0px;
  }


  .iframe {
    height: 100vh; /* Reduce height for smaller viewports */
  }

  .music-iframe {
    height: 100vh; /* Adjust music iframe height */
  }
}

.fullscreen-like {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999; /* Ensure it appears on top */
  border: none;
  background: #000; /* Optional */
  transition: all 0.3s ease; /* Optional smooth transition */
  margin: 0px auto;
}

.instagram-widget-container {
  width: 420px; /* Match the iframe width */
  margin: 0px auto;
  background-color: rgba(42, 42, 42, 0.4);

  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.instagram-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(42, 42, 42, 0);

  padding: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
}


.instagram-widget-content {
  height: 480px; /* Match iframe height */
  overflow: hidden;
  transition: height 0.5s ease; /* Smooth height change */
}

.instagram-widget-content.hidden {
  height: 0;
}


.spinner-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-left: 5px; /* Optional: spacing between text and spinner */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}







.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.popup-content h2 {
  margin-bottom: 10px;
}

.popup-content button {
  margin-top: 15px;
  background-color: #0056b3;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #003f7f;
}




.footer {
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 30px;
}

.social-link img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(53%) sepia(0%) saturate(0%) hue-rotate(240deg);
  transition: filter 0.3s ease, transform 0.2s ease;
}

.social-link:hover img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(0%) saturate(0%) hue-rotate(240deg); /* Lighter gray on hover */
  transform: scale(1.1);
}

.btn.equip {
  background-color: #5555aa;
}
.btn.equip:hover {
  background-color: #7777ff;
}
