@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
  font-family: 'Roboto', sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #333 !important;
  color: #f8f8f8 !important;
}

a {
  color: #f8f8f8;
  text-decoration: none;
}

/* Farbe für Links */
.custom-table-responsive a {
  color: #4d88ff; 
  text-decoration: none;
  font-size: 16px; 
  transition: font-size 0.5s ease, color 0.9s ease; 
  display: inline-block;
}

/* Stil für Links beim Überfahren mit der Maus */
.custom-table-responsive a:hover {
  color: #e83e8c; 
  text-decoration: underline;
  font-size: 24px; 
  cursor: pointer; 
}




/* Header */
header {
  position: relative;
  background-color: #333 !important;
  padding: 20px;
  text-align: center;
  z-index: 1;
}

header #logo {
  display: inline-block;
  text-shadow: none;
  color: transparent;
  background: url(../img/vibez-motd.png);
  background-size: 100% 100%;
  width: 30vw;
  height: 12em;
  border: 2px solid #ffffff;
  border-radius: 10px;
  opacity: 0;
  animation: dropLogo 3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes dropLogo {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  
  25% {
    transform: translateY(25%);
  }
  
  50% {
    transform: translateY(-50%) rotate(180deg);
  }
  
  75% {
    transform: translateY(0%) rotate(360deg);
  }
  
   100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  header #logo {
    width: 80vw;
  }
}

header #logo:hover {
  transform: scale(1.1);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333 !important;
  border-radius: 5px;
  overflow: hidden;
}

nav .hamburger-menu {
  display: flex;
  align-items: center;
  cursor: pointer;
}

nav .hamburger-menu div {
  width: 25px;
  height: 3px;
  background-color: #f8f8f8;
  margin: 3px;
  transition: all 0.3s ease;
}

nav ul {
  display: flex;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-right: 10px;
}

nav ul li:first-child {
  margin-right: 0;
}

nav ul li a {
  color: #f8f8f8;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px 20px;
  border-radius: 20px;
  transition: transform 0.3s ease;
  display: inline-block;
}

nav ul li a:hover {
  background-color: #ffd700 !important;
  color: #222;
  transform: scale(1.05);
}

nav ul li a.active {
  background-color: #ffd700 !important;
  color: #222;
  transform: scale(1.05);
}



/* Page headings */
.page-heading {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
}

.page-heading:before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #ffd700;
}

.page-heading:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #ffd700;
}

/* Main content */
main {
  padding: 20px;
  background-color: #333 !important;
}

.container {
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.custom-table {
  width: 100%;
  table-layout: auto;
}

.custom-table-responsive {
  overflow-x: auto;
  overflow-y: auto !important;
  max-width: 100%;
  width: 100%;
}

.custom-table-responsive table {
  min-width: 100%;
  white-space: nowrap;
}

.custom-table-responsive td,
.custom-table-responsive th {
  white-space: nowrap;
}

.card {
  border: none !important;
  background-color: #333 !important;
}

.card-header {
  background-color: #333 !important; /* Passen Sie die Hintergrundfarbe an */
  color: #000 !important; /* Passen Sie die Schriftfarbe an */
}

/* Footer */
footer {
  background-color: #333 !important; /* Passen Sie die Hintergrundfarbe an */
  color: #f8f8f8 !important; /* Passen Sie die Schriftfarbe an */
  position: fixed;
  bottom: 0;
  width: 100%;
}

#discord-widget {
  position: fixed;
  top: 10vh;
  bottom: 20vh;
  right: 0vh;
  z-index: 9999;
  transition: width 0.5s;
}


#discord-toggle {
  position: fixed;
  top: 10vh;
  bottom: 20vh;
  right: 0vh;
  z-index: 9999;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

#discord-widget.minimized {
  width: 10px;
}

#discord-widget.overlap {
  width: 35vh; 
}





.fab.fa-discord {
    color: #7289da; 
    font-size: 24px; 
    transition: color 0.5s ease; 
}


.fab.fa-discord:hover {
    color: #546ddb; 
    cursor: pointer; 
}

.fa-youtube {
    color: #ff0000; 
    font-size: 24px; 
    transition: color 0.5s ease; 
}


.fa-youtube:hover {
    color: #c4302b; 
    cursor: pointer; 
}




@media (max-width: 768px) {
  #discord-widget {
    display: none;
  }
  #discord-toggle {
    display: block;
  }
}
