body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f5f5dc;
    color: #333;
    font-family: 'Times New Roman', serif;
}
#quote-container {
    text-align: center;
    max-width: 800px;
    background: #fdf5e6;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}
#quote {
    font-size: 2.5em;
    margin-bottom: 10px;
}
#quote-content {
    font-weight: bold;
}
#author {
    font-size: 1.5em;
    margin-bottom: 20px;
}
#favorite-label {
    display: none;
    font-weight: bold;
    font-size: 1.2em;
}
.favorite {
    color: #4f0000;
}
@media (max-width: 576px) {
    #quote {
        font-size: 1.5em;
    }
    #author {
        font-size: 1em;
    }
}
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#logo {
    max-width: 200px; /* Adjust as needed */
    height: auto;
}

body.dark-theme {
    background: #242729;
    color: #f5f5dc;
}

body.dark-theme #quote-container {
    background: #555;
    color: #f5f5dc;
}

body.dark-theme .favorite {
    color: #4f4f9d;
}

#toggle-theme {
    background: #2d3133;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50%;  /* make the button oval-shaped */
    cursor: pointer;
    font-family: sans-serif; 
    font-size: 1.2em;  /* adjust to fit the emoji size */
    width: 50px;  /* adjust to fit the emoji size */
    height: 50px;  /* adjust to fit the emoji size */
    display: flex;
    align-items: center;
    justify-content: center;
}

#toggle-theme:hover {
    background: #555;
}


body.dark-theme #quote-container {
    background-color: #333  !important;
    color: #f5f5dc  !important;
}


body.dark-theme .favorite {
    color: #ffaeae; /* or any other color suitable for dark mode */
}

#new-quote {
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    outline: none;
    transition: color 0.3s ease;
    border-radius: 50%;  
    width: 60px;  
    height: 60px;  
    display: flex;
    justify-content: center;
    align-items: center;
}

#new-quote:focus {
    outline: none;
    box-shadow: 0 0 10px #007bff; /* This will give a subtle blue glow when focused */
}


#new-quote:hover {
    color: #007bff;
}

body.dark-theme #new-quote {
    color: white;
}

body.dark-theme #new-quote:hover {
    color: #007bff;
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: rotate 1s linear infinite;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

#github-link {
    position: absolute;
    top: 10px;       /* Adjust the distance from the top as needed */
    right: 18px;     /* Adjust the distance from the right as needed */
    font-size: 2em;
    color: #2d2d2d;
    transition: color 0.3s ease;
    z-index: 100; /* Ensure it's above other content */
}


#github-link:hover {
    color: #153456; /* Change to desired hover color */
}

body.dark-theme #github-link {
    color: white;
}

body.dark-theme #github-link:hover {
    color: #6cb3ff; /* Adjust if needed for dark mode hover */
}