@charset "utf-8";

body {
    grid-template-columns: 1fr min(60rem, 90%) 1fr;
    background-color: #1b1d33;
    color: #50fa7b;
    min-height: 100vh;
}


body > header {
    height: 100px;
}

main {
  flex: 1 0 auto;
}

footer {
  margin-top: auto;
}
    
    
.animateBackground {
    background-image: url(/img/bullseye-gradient.svg);
    background-size: cover;
    position: relative;
}

.animateBackground::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Schwarze Farbe mit 50% Transparenz */
    z-index: 1;
}

@keyframes slideBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}


article span, small, small a, .font--green {
    color: turquoise; 
}
article {
    border-radius: 0.5em;
    overflow: auto;
    padding: 0;
    height: auto;
    background: #282a36;
    text-shadow: none;
    font-family: PT Mono,Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;
    text-align: left;
    /* white-space: pre; */
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
  }
details:first-child {
    margin-top: 1rem;
}
details {
    font-family: PT Mono,Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;
    padding: 0.7rem 1rem;
    background: none;
    border: none;
    margin-bottom: 1rem;
}
summary {
    background: none;
    margin: -1.5rem -1rem;
}

textarea#jsInput, pre, code, samp, var, textarea {
    background: #282a36;
    color: #50fa7b;
    border-radius: 6px;
    font-family: "FiraCode", monospace;
    overflow: auto;
    margin: 0.5em 0;
}

pre[class*="language"], textarea[class*="language"] {
    line-height: 1.5;
    vertical-align: middle;
    margin: 1em 0 2rem;
    padding: 1em 2%;
    box-shadow: 0 4px 10px rgba(51, 51, 51, 0.4);
}

h1, h2, h3, body > header h1, body > header h2 {
    font-weight: 300;
    color: #50fa7b;
}

a, a:visited, a:hover {
    color: #77ff00;
    text-decoration: underline;
}

header > nav a, header > nav a:visited {
    color: #ccc;
}

header > nav a:hover, header > nav a.active {
    border: 1px solid #77ff00;
    color: #77ff00;
}

header > nav a.active {
    background: #033c4e;
}

body > footer {
    margin-top: 11rem;
    padding: 0;
    border-top: 1px solid #474747;
}

.mb10, .mb20, .mb30, .mb40, .mb50, .mt10, .mt20, .mt30, .mt40, .mt50 {
    margin-bottom: 10px;
}

.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt50 { margin-top: 50px; }

.bars-and-stuff {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}
.dropdown ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.dropdown li {
    display: inline-block;
    margin-right: 10px;
}
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    background: rgba(27, 29, 51, 0.7);
    color: #898ea4;
    padding: 0 10px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {

}
.copy-btn,
.toggle-btn {
    margin-bottom: 20px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-btn:hover,
.toggle-btn:hover {
    background-color: #0056b3;
}
/* CSS für die Gestaltung des Quiz */

#quiz {
    text-align: center;
    padding: 20px;
}
#nextButton {
    color: #959595;
    border: 1px solid darkgreen;
    background: #474747;
    font-size: 18px;
}
@media (min-width: 576px) {
    #nextButton {
        font-size: 24px;
    }
}
#nextButton.correct {
    background-color: #05bb05;
    width: 100%;
    border: none;
    color: #ffffff;
    padding: 1.5rem 1.9rem;
    text-decoration: none;
    line-height: normal;
}

#nextButton.wrong {
    background-color: red;
    width: 100%;
    border: none;
    color: #ffffff;
    padding: 1.5rem 1.9rem;
    text-decoration: none;
    line-height: normal;
}

button#submitAnswer{
    margin: 20px 10px 10px 0px;
    width: 100%;
}
.question {
    background: #1b1d33;
    border: 1px solid #898ea4;
    border-radius: 1em;
    color: #ffde00;
    font-size: 18px;
    margin: 10px; 
    padding: 10px;
}
@media (min-width: 576px) {
    .question  {
        font-size: 24px;
    }
}

ul.answers{
    list-style: none!important;
    padding-inline-start: 0!important;
    text-align: center!important;

}
ul.answers li {
    border: 1px solid darkgreen;
    padding: 0px;
    padding-inline-start: 0!important;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    background: green;
}
ul.answers li:nth-child(4) {
    border: none;
    background-color:transparent;
}
ul.answers li:nth-child(4):hover {
    border: none;
    background-color:transparent;
}
ul.answers li:hover, #options li:visited {
    border: 1px solid white;
    cursor: pointer;
    background: green;
}

button.answer, button[disabled]  {
    width: 100%;
    font-size: 18px;
    border: none;
    background-color:transparent;
    color: #fff;
    margin: 0;
    padding: 1.5rem 1.9rem;
    text-decoration: none;
    line-height: normal;
}
@media (min-width: 576px) {
    button.answer, button[disabled]  {
        font-size: 24px;
    }
}

.button[aria-disabled="true"], button[disabled] {
    cursor: not-allowed;
    color: #959595;
    border: 1px solid darkgreen;
} 

input {
    margin-top: 0.5rem;
}

