body {
    font-size: 1.1em;
    font-family: 'Helvetica Neue';
    background-color: #EEEEFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.flexible-content {
    flex: 1;
}

footer.sticky-footer {
    text-align: center;
    line-height: 1.2;
    margin-bottom: 5px;
}

header {
    margin-top: 25px;
    text-align: center;
}

header > h1 {
    font-family: 'Comic Sans';
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    color: rgb(36, 186, 255);
    font-size: 3.4em;
}

header, .category {
    margin-bottom: 20px;
}

.subheader {
    font-weight: 600;
}

#help {
    width: 66%;
    margin: auto;
    margin-top: 50px;
    font-size: 0.9em;
}

#help-content {
    display: none;
    font-family: sans-serif;
    font-size: 0.9em;
    background-color: ghostwhite;
    border: 1px solid #ccc;
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

#toggleHelpBtn {
    cursor: pointer;
    color: #ff3030d9;
    text-decoration: underline;
}

.arrow-down {
    display: inline-block;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.arrow-up {
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

#categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 45%;
    margin: auto;
    gap: 5px 12px;  /* Add space between the buttons */
}

@media (orientation: portrait) {
    #categories {
        max-width: 85%;
    }
}

section.items {
    margin-top: 50px;
}

section.items > div.category-header {
    margin-left: 15%;
    width: fit-content;
    font-size: 2em;
    background-image: linear-gradient(to left, blue, red);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 30px;
}

#bezos {
    position: absolute;
    height: 100px;
    display: none;
    pointer-events: none;
    z-index: 1;
}

section.items .card-footer {
    border: initial;
    background-color: initial;
}

h4 {
    font-weight: bold;
}

.card {
    border: 3px solid black;
    padding: 5px;
    box-shadow: 12px 12px 2px 1px #9831ff3b;
}

.card .col-md-5 {
    align-self: center;
}

.article-image {
    max-width: 85%;
    max-height: 85%;
}

.text-price {
    font-weight: bold;
    font-size: 1.3em;
}

.donor-list {
    font-size: 1.1em;
    font-weight: bold;
    color: gold;
    -webkit-text-stroke: 1px #b39700;
}

.donor-list > li {
    list-style-type: "★ ";
}

.donor-list > li::after {
    content: " ★";
}

button.btn.btn-item-taken:disabled {
    pointer-events: all;
    cursor: not-allowed;
}

.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.too-late {
    position: absolute;
    max-height: 70%;
    max-width: 70%;
    min-width: 20%;
    min-height: 20%;
    z-index: 2;
}

img.wow-discount {
    position: absolute;
    height: 75px;
    top: -85%;
}

.ttip {
    border-bottom: 2px dotted #000;
    cursor: help;
    position: relative;
    display: inline-block;
}

.ttip:hover .ttip-content {
    display: block;
}

.ttip.hover_effect .ttip-content {
    display: block;
}

.ttip-content {
    display: none;
    position: absolute;
    right: -50%;
    top: -75%;
    padding: 5px;
}

.ttip-content img {
    max-width: 100px;
    max-height: 100px;
}

#thanks-links {
    height: 5vh;
    text-align: center;
}

#homepage-link {
    color: grey;
    transition: opacity 3s linear, visibility 3s linear;
}

#homepage-link a {
    color: grey;
}

#homepage-link a:hover {
    color: darkgrey;
}

#more-confetti {
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 10px;
    color: grey;
    text-decoration: underline;
}

#more-confetti:hover {
    color: rgb(255, 47, 200);
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

.visible {
    opacity: 1;
    visibility: visible;
}

#thanks {
    display: flex;
    flex-direction: column;
    height: 80vh;
    align-items: center;
    justify-content: center;
}

.zoom-text {
    position: relative;
    font-size: 0;
    transition: font-size 3s;
    text-align: center;
}

.oscillate {
    animation: oscillation 2s infinite alternate;
}

@media only screen and (orientation: portrait) {
    @keyframes oscillation {
        from { font-size: 25vw; }
        to { font-size: 15vw; }
    }

    #help {
        width: 85%;
    }
}

@media only screen and (orientation: landscape) {
    @keyframes oscillation {
        from { font-size: 12vw; }
        to { font-size: 8vw; }
    }    
}

#videoModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

#videoPlayer {
    max-width: 75%;
    max-height: 75%;
}

#taxfraud {
    margin: auto;
    max-width: 40%;
}

.text-justify-bold {
    text-align: justify;
    font-weight: bold;
}
