@tailwind base;
@tailwind components;
@tailwind utilities;

/*Buttons*/
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .button {
    position: relative;
    color: var(--color);
    border: 2px solid var(--color);
    border-radius: 4px;
    text-shadow: 0 0 15px var(--color);
    text-decoration: none;
    text-align: center;
    transition: 0.5s;
    z-index: 1;
  }
  
  .button:hover {
    color: #fff;
    border: 2px solid var(--color);
    box-shadow: 0 0 0px var(--color);
  }
  
  .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color);
    z-index: -1;
    transform: scale(0);
    transition: 0.5s;
  }
  
  .button:hover::before {
    transform: scale(1);
    transition-delay: 0.5s;
    box-shadow: 0 0 10px var(--color),
      0 0 30px var(--color),
      0 0 60px var(--color);
  }
  
  .button span {
    position: absolute;
    background: var(--color);
    pointer-events: none;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color),
      0 0 20px var(--color),
      0 0 30px var(--color),
      0 0 50px var(--color),
      0 0 100px var(--color);
    transition: 0.5s ease-in-out;
    transition-delay: 0.25s;
  }
  
  .button:hover span {
    opacity: 0;
    transition-delay: 0s;
  }
  
  .button span:nth-child(1){
    width: 40px;
    height: 4px;
  }
  
  .button:hover span:nth-child(1){
    transform: translateX(0);
  }
  
  .button span:nth-child(2) {
    width: 4px;
    height: 40px;
  }
  
  .button:hover span:nth-child(1){
    transform: translateY(0);
  }
 
  /*Eigene Anpassungen für die spans*/
  .button#kontakt_button span:nth-child(1) {
    top: calc(50% - 2px);
    left: -50px;   
    transform-origin: left;
  }
 
  .button#kontakt_button:hover span:nth-child(1) {
    left: 50%;
  }
 
  .button#kontakt_button span:nth-child(2) {
    left: calc(50% - 2px);
    top: -50px;
    transform-origin: top;
  }
  
  .button#kontakt_button:hover span:nth-child(2) {
    top: 50%;
  }
  
  .button#arbeiten_button span:nth-child(1) {
    top: calc(50% - 2px);
    right: -50px;   
    transform-origin: right;
  }
 
  .button#arbeiten_button:hover span:nth-child(1) {
    right: 50%;
  }
 
  .button#arbeiten_button span:nth-child(2) {
    left: calc(50% - 2px);
    top: -50px;
    transform-origin: top;
  }
  
  .button#arbeiten_button:hover span:nth-child(2) {
    top: 50%;
  }
 
  .button#leistungen_button span:nth-child(1) {
    top: calc(50% - 2px);
    left: -50px;   
    transform-origin: left;
  }
 
  .button#leistungen_button:hover span:nth-child(1) {
    left: 50%;
  }
 
  .button#leistungen_button span:nth-child(2) {
    left: calc(50% - 2px);
    bottom: -50px;
    transform-origin: bottom;
  }
  
  .button#leistungen_button:hover span:nth-child(2) {
    bottom: 50%;
  }
 
  .button#impressum_button span:nth-child(1) {
    top: calc(50% - 2px);
    right: -50px;
 
    transform-origin: right;
  }
 
  .button#impressum_button:hover span:nth-child(1) {
    right: 50%;
  }
 
  .button#impressum_button span:nth-child(2) {
    left: calc(50% - 2px);
    bottom: -50px;
    transform-origin: bottom;
  }
  
  .button#impressum_button:hover span:nth-child(2) {
    bottom: 50%;
  }

/*Text Anpassungen*/
p{
  color:#D1D5DB;
}
ul, ol {
  color: #D1D5DB;
  margin-left: 1.5rem;
  list-style-type: circle;
}

div#kontakt{
  --color:#22c55e;
}
div#arbeiten{
  --color:#3b82f6;
}
div#leistungen{
  --color:#eab308;
}
div#impressum{
  --color:#ef4444;
}

hr{
    background: var(--color);
    pointer-events: none;
    border-width: 2px;
    border-color: var(--color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color),
      0 0 20px var(--color),
      0 0 30px var(--color),
      0 0 50px var(--color),
      0 0 100px var(--color);
}

h1 {
   color: var(--color);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;  
}

h2 {
   color: var(--color);
    font-size: 1.25rem;
    font-weight: 700;    
    margin-top: 0.5rem;  
}

h3 {
   color: var(--color);
    font-size: 1.1rem;
    font-weight: 700;    
    margin-top: 0.25rem;  
}

h4 {
   color: var(--color);
    font-weight: 700;    
    margin-top: 0.15rem;  
}

/*Scrollbar Anpassungen*/

@-moz-document url-prefix() {
  /* Firefox */
  div{
    scrollbar-color: var(--color) #171717;
    scrollbar-width: thin;
  }
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track{
    background: #171717
}

::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: var(--color);
    background: var(--color);
   /* border: 1px solid var(--color);    */
    box-shadow: 0 0 10px var(--color),
    0 0 20px var(--color),
    0 0 30px var(--color),
    0 0 50px var(--color),
    0 0 100px var(--color); 
}
/*::-webkit-scrollbar-thumb:hover {
    background-color: var(--color);
    background: var(--color);
    border: none;    
}*/

