body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #663573, #225668);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}
h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: #e3ecf6;
  }
  h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #dfebee;
  }
  #otherPageBtn {
    top: 8%;
    left: 50%;
    padding: 11px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: rgba(183, 135, 93, 0.01);
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    margin-top: 2%;
  }
  #otherPageBtn:hover {
    background-color: #d79a48;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  #otherPageBtn:active {
    background-color: #d79a48;
    transform: scale(1);
  }
#shareWhatsapp { background: #25D366;color: white; }
#shareFacebook { background: #3b5998;color: white; }
#shareTwitter { background: #1da1f2;color: white; }
#shareCopy { background: linear-gradient(to right, #225668, #20687e );color: white; }
#closeModal {color: rgb(0, 0, 0);}

.share-buttons a:hover {
    opacity: 0.8;
}
button {
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#startBtn {
    background: #4caf50;
    color: white;
    margin-top: 10%;
}

#startBtn:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

#progressContainer {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 10px;
    height: 20px;
    margin-top: 20px;
}

#progressBar {
    height: 100%;
    background-color: #4caf50;
    border-radius: 10px;
}

.quiz-container {
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 55px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.quiz-info {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

input[type="text"] {
    width: 100%;
    max-width: 350px;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #dddddd;
    border-radius: 5px;
    margin-bottom: 15px;
    margin-top: 5%;
    text-align: center;
}

#nextBtn, #end-btn {
    background: #20687e;
    color: white;
    margin-top: 10px;
}

#nextBtn:hover, #end-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.dropdown-btn {
    background: linear-gradient(to right, #225668, #20687e);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    color: black;
    border-radius: 5px;
    margin-top: 7%;
    left: -13%;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal p {
    color: rgb(103, 74, 124);
}

.modal-content {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 300px;
    margin: auto;

}
#shareModal h2 {
    color: rgb(103, 74, 124);
}

button {
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: scale(1.1);
}

/* Medienabfragen für kleinere Geräte */
@media (max-width: 768px) {
    .quiz-container, .quiz-container1 {
        width: 95%;
        padding: 20px;
    }

    #startBtn {
        padding: 12px 20px;
        font-size: 1.2rem;
    }

    .countdown-timer {
        font-size: 28px;
    }

    #progressContainer {
        margin-top: 15px;
        height: 15px;
    }

    #progressBar {
        height: 100%;
        background-color: #4caf50;
        border-radius: 10px;
    }

    input[type="text"] {
        font-size: 1rem;
        padding: 8px;
    }

    .dropdown-btn {
        font-size: 1rem;
        padding: 8px 15px;
    }

    button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quiz-container, .quiz-container1 {
        width: 90%;
        padding: 15px;
    }

    .countdown-timer {
        font-size: 24px;
    }

    #startBtn {
        padding: 12px 20px;
        font-size: 1.1rem;
    }

    input[type="text"] {
        font-size: 0.9rem;
        padding: 8px;
        width: 75%;
    }

    .dropdown-btn {
        font-size: 1rem;
        padding: 8px 15px;
    }

    button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
