/*Gliederung:
- body (25-47)
- text-box (49-118)
- table (120-154)
- form (156-163)
- search (165-193)
- footer (195-214)
- header (216-223)
- menu (225-469)
- link (side) (471-532)
- formular (535-571)
- textarea (576-609)
- submit (612-632)
- link (main) (637-659)
- contextmenu (664-694)







*/

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(45deg, #474747, #111157);
  background-size: 400% 400%;
  display: flex;
  flex-direction: column;
  animation: gradientAnimation 15s ease infinite;
  min-height: 100vh;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 100%;
  }
}

.text-box {
  text-decoration: none;
  position: relative;
  margin-top: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  font-family: Arial, sans-serif;
  text-align: center;
  color: #ffffff;
  width: 80%;
  height: auto;
  overflow: visible;
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  margin: 0 auto;
}

@keyframes pulse {
  from {
      box-shadow: 0 0 0 rgba(0, 188, 212, 0.4);
  }
  to {
      box-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
  }
}

.text-box:hover,
.form-group input:hover,
.form-group textarea:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.text-box,
.form-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.text-box,
.form-section {
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}

table {
  border-collapse: collapse;
  width: 100%;
  border: none;
  box-shadow: none;
}


th, td {
  border: none;
  padding: 15px;
  text-align: left;
  background-color: transparent;
}

th {
  font-weight: bold;
  color: #333;
  background-color: rgba(255, 255, 255, 0.2);
}

tr:nth-child(2n) {
  background-color: rgba(255, 255, 255, 0.1);
}

tr:nth-child(2n+1) {
  background-color: rgba(255, 255, 255, 0.05);
}

tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

div {
  text-align: center;
}

span {
  display: inline-block;
  margin-right: 10px;
}

#search {
  width: 300px;
  padding: 10px 10px 1px 10px;
  font-size: 25px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: transparent;
  transition: background-color 0.5s ease-in-out;
  text-align: center;
  display: inline-block;
  float: right;
  outline: none;
  background-color: rgba(158, 138, 138, 0.2);
  position: absolute;
  top: 35px;
  right: 20px;
}

#search:hover {
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#search:focus {
  background-color: rgba(72, 72, 114, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  outline: none;
}

footer {
  background-color: rgba(26, 26, 46, 0.5);
  color: white;
  text-align: center;
  padding: 10px 0;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

footer a {
  color: #00bcd4;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0097a7;
  text-decoration: underline;
}

header {
  background-color: rgba(26, 26, 46, 0.5);
  color: white;
  padding: 10px 0;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.search-container {
  margin-left: auto;
}

.menu-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  width: 25px;
  flex-direction: column;
}

.menu-toggle span {
  height: 3px;
  background-color: white;
  margin-bottom: 2px;
  transition: transform 0.3s ease;
  width: 25px;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(+10px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(-10px);
}

.menu-toggle:hover span:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}

.menu-toggle:hover span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:hover span:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

.menu-button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
  transition: color 0.3s ease;
  display: inline-block;
  margin: 0;
}

.menu-button:hover {
  color: #00bcd4;
}

.menu-button:focus {
  outline: none;
}


.hamburger {
  width: 25px;
  height: 3px;
  background-color: white;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  width: 25px;
  height: 3px;
  background-color: white;
  position: absolute;
  transition: transform 0.3s ease;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}
.nav-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
}

.nav-list li {
  padding: 10px 20px;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #00bcd4;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-list li a:hover {
  color: #00bcd4;
  transform: translateY(-3px);
}

.nav-list li a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% +5px);
  left: 0;
  background-color: rgba(26, 26, 46, 0.5);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  animation: dropdown 0.5s ease-in-out;
  z-index: 1;
}

.dropdown-menu li {
  margin-bottom: 10px;
  list-style: none;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  color: #00bcd4;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    display: block;
  }
  .nav-list {
    display: none;
    background-color: rgba(26, 26, 46, 0.5);
    animation: menu-toggle 0.5s ease-in-out;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
  }
  .nav-list li {
    padding: 10px 20px;
    border-bottom: 1px solid #333;
  }
  .nav-list li a {
    color: white;
    text-decoration: none;
  }
  .nav-list li a:hover {
    color: #00bcd4;
  }
  .nav-list.active {
    display: block;
    animation: menu-toggle 0.5s ease-in-out;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  .nav-list {
    display: block;
    position: relative;
  }
  .nav-list li {
    display: inline-block;
    margin-right: 20px;
  }
  .nav-list li a {
    color: white;
    text-decoration: none;
  }
  .nav-list li a:hover {
    color: #00bcd4;
  }
}

@keyframes menu-toggle {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dropdown {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.votelink {
  position: relative;
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  color: white;
  padding: 10px 20px;
}

.votelink::before,
.votelink::after,
.votelink span::before,
.votelink span::after {
  content: '';
  position: absolute;
  background-color: #00bcd4;
  transition: all 0.5s ease-in-out;
}

.votelink::before {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
}

.votelink::after {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
}

.votelink span::before {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
}

.votelink span::after {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
}

.votelink:hover::before {
  left: 100%;
}

.votelink:hover::after {
  right: 100%;
}

.votelink:hover span::before {
  top: 100%;
}

.votelink:hover span::after {
  bottom: 100%;
}


#anmeldeformular, #registrierungsformular {
  width: 300px;
  margin: 50px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#anmeldeformular label, #registrierungsformular label {
  display: block;
  margin-bottom: 10px;
}

#anmeldeformular input, #registrierungsformular input {
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#anmeldeformular button, #registrierungsformular button {
  width: 100%;
  height: 40px;
  background-color: #4CAF50;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#anmeldeformular button:hover, #registrierungsformular button:hover {
  background-color: #3e8e41;
}




textarea {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96%;
  height: 100px;
  margin: 20px 2%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: rgba(158, 138, 138, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  resize: none;
}

textarea:hover {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
}

textarea:focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(72, 72, 114, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  outline: none;
  transform: scale(1.02);
}


.submit-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.submit-button:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}




a {
  color: white;
  text-decoration: none;
  transition: color 3s ease;
}

a:hover {
  color: rgb(0, 188, 212, 0.8);
  text-decoration: none;
  transition: color 3s ease;
}

a:visited {
  color: white;
  text-decoration: none;
  transition: color 3s ease;
}

a:visited:hover {
  color: rgba(0, 188, 212, 0.8);
  text-decoration: none;
  transition: color 3s ease;
}




#contextMenu {
display: none;
position: absolute;
background-color: rgba(26, 26, 46, 0.8);
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
z-index: 1000;
animation: dropdown 0.3s ease-in-out;
}

#contextMenu ul {
list-style: none;
padding: 0;
margin: 0;
}

#contextMenu li {
padding: 10px 20px;
color: white;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}

#contextMenu li:hover {
background-color: rgba(0, 188, 212, 0.3);
color: #00bcd4;
}

#contextMenu li:active {
background-color: rgba(0, 188, 212, 0.5);
}
