/*BUTTONS*/
/*Allgemeines Aussehen der Buttons*/
.Button-rot, .Button-transp, .Button-helltransp, .Button-hell{
    font-family: Arial, Helvetica, sans-serif;
    font-family: Barlow-SemiCondensed-Bold-Text;
    font-size: 1.2rem;
    border: 2px solid var(--global-color-rot);
    border-radius: 3em;
    padding: 0.5em 1.75em;
    margin: auto; 
    margin-left: 0; 
    margin-top: 0rem; 
    text-align: center;
    position: relative; 
    text-decoration: none;
}

/*Farbunterschiede Buttons*/
.Button-rot{
    background-color: var(--global-color-rot);
    color: var(--global-color-hintergrund);
}
.Button-transp{
    color: var(--global-color-rot);
    transition: 1s background-color 0.5s;
}
.Button-hell{
    border: 2px solid var(--global-color-hintergrund);
    background-color: var(--global-color-hintergrund);
    color: var(--global-color-rot);
}
.Button-helltransp{
    border: 2px solid var(--global-color-hintergrund);
    color: var(--global-color-hintergrund);
}
.AbstandButton{
    margin-top: 0.5rem;
    display: flex;
    justify-content: left;
    width: 100%;
}
.AbstandButton a{
    margin-right: 1rem;
}
.Button-transp-hell{
    border: 2px solid var(--global-color-hintergrund);
    color: var(--global-color-hintergrund);
    transition: 1s background-color 0.5s;
    margin-top: 1rem;
}
/*Hintergrundelement 1 + 2 der Buttons fürs Hovern erstellt*/
.Button-rot::after, .Button-transp::after, .Button-helltransp::after, .Button-hell::after, .Button-transp-hell::after, .Button-rot::before, .Button-transp::before, .Button-hell::before, .Button-helltransp::before, .Button-transp-hell::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    border-radius: inherit;
    border: inherit;
    border-color: #84412e;
    background-color: #84412e;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%) scale(0.9);
    opacity: 0;   
}
/*extra Farbe für Hintergrundelemente*/
.Button-transp::after, .Button-hell::after{
    background-color: inherit;
}
.Button-hell::before{
    border-color: inherit;
}
.Button-hell::after{
    background-color: var(--global-box-Schrift-T);
    border-color: var(--global-box-Schrift-T);
}
.Button-transp-hell::after{
    background-color: inherit;
    border-color: var(--global-box-Schrift-T);
}
.Button-transp-hell::before{
    border-color: inherit;
    background-color: inherit;
}
.Button-rot::before, .Button-transp::before, .Button-hell::before{
    background-color: inherit;
}
/*Bewegung Hintergrundelement 1 beim Hovern*/
.Button-rot:hover::after, .Button-transp:hover::after, .Button-hell:hover::after, .Button-transp-hell:hover::after{
    transform: translateY(-50%) translateX(-50%) scale(1) rotate(-7deg);
    transform-origin: 10% 50%;
    opacity: 1;
}
/*Bewegung Hintergrundelement 2 beim Hovern*/
.Button-rot:hover::before, .Button-transp:hover::before, .Button-hell:hover::before, .Button-transp-hell:hover::before{
    transform: translateY(-50%) translateX(-50%) scale(1) rotate(-14deg);
    transform-origin: 10% 50%;
    opacity: 0.5;
}
/*Farbe bei transperentem Button beim Hovern*/
.Button-transp:hover{
    background-color: var(--global-color-hintergrund);
    transition: 0s background-color 0s;
}
.Button-transp-hell:hover{
    background-color: var(--global-color-rot);
    transition: 0s background-color 0s;
}
.buttonGroß:hover::before{
    transform: translateY(-50%) translateX(-50%) scale(1) rotate(-6deg);
}
.buttonGroß:hover::after{
    transform: translateY(-50%) translateX(-50%) scale(1) rotate(-3deg);
}
.buttonKlein{
    display: none;
}

.ButtonContainer_Text{
    margin: 0;
    display: flex;
    justify-content: left;
}
.ButtonContainer_Text .Button-transp{
    margin-right: 2.5rem;
}
.ButtonContainer_Text .Button-helltransp{
    margin-right: 2.5rem;
}
.TeilbildschirmText .Button-transp{
    margin-top: 0.5rem;
}
.TeilbildschirmText .Button-transp-hell{
    margin-top: 0.5rem;
}
.Extrabutton{
    margin: auto;
    margin-top: 3rem;
}
.Button-klein{
    display: none;
} 

@media (max-width: 1200px) {
    .buttonGroß{
        display: none;
    }
    .buttonKlein{
        display: flex;
    }
}
@media (max-width: 790px){
    
    .Button-rot, .Button-transp, .Button-hell, .Button-transp-hell {
        font-size: 1rem;
        padding: 0.4em 1.2em;
    }   
}
@media (max-width: 480px){
    .Button-rot, .Button-transp, .Button-hell, .Button-transp-hell {
        font-size: 0.9rem;
        padding: 0.3em 1em;
        text-align: center;
    }  
}