* {
    font-family: 'Open Sans', sans-serif;
    background-color: #A7DFF3;
    align-items: center;
    text-align: center;
}


element.style {
    padding-top: 0;
    padding-bottom: 0;
}

body {
    margin: 0;
    padding: 0;
}

h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.8rem;
    color: white;
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1.2rem;
    padding-top: 1em;
    color: white;
}


p {
    font-weight: 800;
    font-size: 0.9rem;
}

p.quote {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.6rem;
    color: black;
}

p.author {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: gray;
}

p.category {
    display: none;
}

header {

    min-height: 4.5em;
}

#indexHeaderContainer {
    display: flex;
    justify-content: space-between;
    padding-top: 1em;
}

#indexAlertContainer {
    display: flex;
    justify-content: center;
    width: auto;
}

#indexAlertContainer .alertBanner {
    position: absolute;
    width: auto;
    max-width: 400px;
}

a {
    color: black;
    text-decoration: none;
}

#highestStreakContainer {
    display: flex;
    justify-content: center;
    min-width: 126px;
}

main {
    padding: 2em;
    margin: auto;
    max-width: 800px;
}

.quoke {
    max-width: 10rem;
    max-height: auto;
}


/*Login, Logout, Weiterspielen Button*/
.loginRegistrationButton,
#continueButton {
    background-color: green;
    border: none;
    color: white;
    padding: 12px 24px;
    margin-top: 24px;
    width: 10rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 0.8rem;
}

#continueButton:hover {
    cursor: pointer;
    background-color: rgb(2, 108, 2);
}

.exitButton {
    background-color: #357CE5;
    border: none;
    color: white;
    padding: 12px 24px;
    margin-top: 16px;
    width: 10rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 0.8rem;
}

.exitButton:hover {
    cursor: pointer;
    background-color: #2261be;
}

#logoutButton:hover {
    cursor: pointer;
    background-color: #2261be;
}

.functionGroup {
    display: flex;
    flex-direction: column;
}

.quoteGroup {
    display: flex;
    flex-direction: column;
    padding: 10px;

}

/*Streak Anzeige*/

.trophy {
    padding-top: 2rem;
    padding-bottom: 1rem;
    width: 3rem;
    height: auto;
    margin: auto;
    max-width: 600px;
    text-align: center;
}

.streakGroup {
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
}

#bestStreak {
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: 1.6rem;
    margin: 0;
}

#highestStreakAccount {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-size: 1.6rem;
    padding-bottom: 1rem;
    margin: 0;
}

/* Save Quote Button*/

.heartshape {
    width: 3rem;
}

#likedQuotesButton {
    background-color: white;
    border: none;
    color: black;
    padding: 12px 24px;
    margin-top: 16px;
    width: 90%;
    margin: auto;
    max-width: 600px;
    height: 12rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 16px;
}

#likedQuotesButton p {
    background-color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.4rem;
}


span.zitate {
    font-size: 2rem;
}

.likedQuotesButtonHover {
    cursor: pointer;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.24);
}

#likedQuotesButton span,
svg {
    background-color: transparent;
}

/*Account*/
#accountButtonImage {
    max-width: 40%;
    max-height: auto;
}

#accountContainer {
    display: flex;
    justify-content: space-evenly;

}

/*Start Button*/

.startGame {
    background-color: green;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 24px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 32px;
}

.startGame:hover {
    cursor: pointer;
    background-color: rgb(2, 108, 2);
}

/* Real Fake Buttons */

#realFakeButtonContainer {
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    max-width: 600px;
}

#realButton,
#fakeButton {
    flex: 1;
}

#realButton {
    border: none;

}


#realButtonImage {
    max-width: 8rem;
    max-height: auto;

}

#realButtonImage:hover {
    cursor: pointer;
    background-image: url('images/fake_button.png');
}

#fakeButton {
    border: none;

}

#fakeButtonImage {
    max-width: 8rem;
    max-height: auto;
}

#fakeButtonImage:hover {
    cursor: pointer;
}

/* Save Button */

#saveButton {
    border: none;
    max-width: 4rem;
}

#saveButton:hover {
    cursor: pointer;

}

.buttongroesse {
    max-width: 40%;
    max-height: auto;

}

.quote {
    font-size: 3rem;
}

.author {
    font-size: 2rem;
}

.category {
    font-size: 1rem;
}

.fill-heart {
    fill: hsl(356, 77%, 40%);
    /* Fill the heart with the red color of the outline */
}

.heart:hover .heartshape {
    fill: hsl(356, 77%, 40%);
    /* Hier die gewünschte Farbe einfügen */
    stroke: hsl(356, 77%, 40%);
    /* Hier die gewünschte Farbe einfügen */
}

/* Registration/Login Popup  */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.modal-content {
    background-color: #A7DFF3;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    max-width: 400px;
    position: relative;
}

.inputfields {
    display: flex;
    flex-direction: column;
}

input {
    background-color: #6E7D81;
    border: none;
    border-radius: 14px;
    padding: 12px;
    margin-top: 8px;
    color: white;
    text-align: left;
}

::placeholder {
    color: white;
    font-weight: 800;
    text-align: left;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

#registration-login-form {
    padding-top: 20px;
}

#registration-success-alert {
    opacity: 0;
}

#login-success-alert {
    opacity: 0;
}

#password-requirements-alert {
    opacity: 0;
}

#password-requirements-alert {
    opacity: 0;
}

#signout-alert {
    opacity: 0;
}

/* CSS for the temporary alert banner */
.alertBanner {
    position: sticky;
    top: 1em;
    /* Centered with 50% width */
    width: 50%;
    margin: 0 auto auto auto;
    padding: 12px 24px;
    /* Similar to the button styling */
    background-color: green;
    /* Same as the button background color */
    color: white;
    text-align: center;
    border: none;
    /* No border */
    border-radius: 16px;
    /* Rounded corners */
    /* Initially hidden */
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 0.8rem;
    transition: opacity 0.5s;
    z-index: 9999;
}

.alert {
    background-color: green;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Toggle Button Styles */
.toggle-buttons {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 20px;
}

.toggle-btn {
    cursor: pointer;
    padding: 10px 20px;
    border: none;
    background-color: #7f8c8d;
    color: white;
    border-radius: 20px;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 0.8rem;
}

.toggle-btn.active {
    background-color: green;
}

/* Input Field Styles */
.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Login Button Styles */
.login-btn {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: green;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary::-moz-details-marker {
    display: none;
}

summary::after {
    content: '';
    /* Make the pseudo-element content empty */
    display: inline-block;
    /* Ensure it is an inline block */
    width: 100%;
    /* Occupy the full width of the container */
    height: 100%;
    /* Occupy the full height of the container */
    visibility: hidden;
    /* Hide the content visually */
}

#loadedQuotes {
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}


#loadedQuotes::-webkit-scrollbar {
    width: 0;
    /* Hide scrollbar width */
}

#loadedQuotes::-webkit-scrollbar-thumb {
    background-color: transparent;
    /* Hide scrollbar thumb */
}

#scrollIndicator {
    /*     color: white;*/
    /* position: fixed;
    bottom: 20px; 
    left: 50%;
    transform: translateX(50%); */
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 999;
    border-radius: 10%;
}

#scrollIndicator::before {
    content: '\25BE';
    /* Unicode for downward-pointing triangle */
    font-size: 20px;
}

/* Even button style */
.even-button {
    background-color: green;
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: 12px;
    width: 90%;
    max-width: 600px;
}

.even-button:hover {
    background-color: rgb(2, 108, 2)
}

/* Odd button style */
.odd-button {
    background-color: white;
    color: black;
    border: none;
    border-radius: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: 12px;
    width: 90%;
    max-width: 600px;
    /* Change the text color as needed */
}

.odd-button:hover {
    background-color: rgb(245, 243, 243);
}


#quoteModal {
    background-color: #A7DFF3;
    position: fixed;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    box-shadow: 1px 1px 20px 2000px rgba(0, 0, 0, 0.726);
    border-radius: 16px;
    width: 80%;
    max-width: 400px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

h2#modalQuote {
    color: black;
    background-color: #A7DFF3;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 1.6rem;
}

p#modalRealFake {
    background-color: #A7DFF3;
}

p#modalAuthor {
    background-color: #A7DFF3;
    font-style: italic;
    font-weight: 400;
    color: gray;
}

#highestStreakEnd {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-size: 1.6rem;
    padding-bottom: 1rem;
    margin: 0;
}