html{
    background-color: #1e1e1e;
    color: whitesmoke;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    overflow-x: hidden;
}

/*------------------ scrollbars ausblenden------------------------ */
html, body {
    -ms-overflow-style: none;      /* IE 10+ */
    scrollbar-width: none;         /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;                 /* Safari, Chrome, Edge */
}
/*----------------------------------------------------------------- */

header {
    background-color: #2d2d2d;
    padding: 1em;
    text-align: center;
    width: 100vw;
}

body {
    margin: 1em;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100vw;
    max-width: 1000px;
    padding: 1em;
    margin: 0 1em 0 1em;
    align-items: center;
}

.card {
    display: flex;
    flex-direction: row;
    background-color: #3d3d3d;
    height: 9em;
    max-width: 800px;
    padding: 1em;
    border-radius: 10px;
    margin: 0 1em 0 1em;
}
.card:hover {
    background-color: #8c7a7a;
}

.cardImg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9em;
    height: 9em;
}


.cardImg img {
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;

}

.cardText {
    padding-left: 1em;
    display: flex;
    flex-direction: column;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
}
.cardText h2 {
    margin: 0;
    font-size: clamp(1.5em, 2vw, 2em);
    overflow: clip;

}
.cardText p {
    margin: 0;
    font-size: clamp(1em, 1.5vw, 1.5em);
    overflow: clip;
    /* Ellipsen für mehrzeilige Texte */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Anzahl der sichtbaren Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cardLink {
    display: block;
    text-decoration: none;
    color: inherit;
}


/*----------------------Gallery Start----------------------------------*/
.gallery_container{
    display: flex;
    flex-direction: column;
    align-items: center;


}
.paintings_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    width: 100vw;
    max-width: 900px;
    padding: 1em;
    margin: 1em;
    align-items: center;
    justify-content: center;
}

.gallery_card {
    display: flex;
    flex-direction: column;
    background-color: #3d3d3d;
    height: 20em;
    max-width: 800px;
    padding: 1em;
    border-radius: 10px;
    margin: 0 1em 0 1em;
}
.gallery_card:hover {
    /*background-color: #8c7a7a;*/
}

.gallery_cardImg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14em;
    height: 14em;
    margin-bottom: 1em;
}


.gallery_cardImg img {
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;

}

.gallery_cardText {
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow: hidden;
}
.gallery_cardText h2 {
    margin: 0;
    font-size: clamp(1.2em, 2vw, 1.5em);
    overflow: clip;

}
.gallery_cardText p {
    margin: 0;
    font-size: clamp(0.9em, 1.5vw, 1.2em);
    overflow: clip;
    text-overflow: ellipsis;
    text-align: justify;

}

.gallery_cardLink {
    display: block;
    text-decoration: none;
    color: inherit;
}
/*----------------------Gallery End----------------------------------*/
.aboutContainer{
    font-size: clamp(1em, 1.5vw, 1.5em);

}
.aboutText{
    text-align: justify;

    max-width: 800px;
    margin: 0 1em 0 1em;
    padding: 1em;
    background-color: #3d3d3d;
    border-radius: 10px;
}

.aboutText p{
    margin: 0;
}

.linkArea{
    padding-bottom: 1em;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    text-align: start;
}
.linkArea h3{
    margin-bottom:1em;
    margin-top: 0;
}

.linkArea p{
    margin: 0;
    padding: 0;
    text-align: justify;
}

.linkArea a {
    display: block;
    text-decoration: none;
    color: inherit;
    color: #0799ac;
}
.linkArea a:hover {
    color: #73f0fd;
}

.linkArea a:active {
    color: whitesmoke;
}

.donateArea{
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: start;
    text-align: justify;
    max-width: 800px;
}

.titleH1{
    display:none;
}

@media (max-width: 768px) {
    .cardImg {
        width: 5em;
        height: 5em;
        margin-top: 1.7em;
    }

    .donateArea{
        display: flex;
        flex-direction: column;
        justify-content: left;
        align-items: start;
        text-align: justify;
        max-width: 90%;
        padding:1em;
    }

    .titleH1{
        display:block;
    }

    .displayNone{
        display:none;
    }

}

/*---------- Coin for the Light the Beacon game-----------------------------------------------------------------------*/
.collectableCoin img{
    width: 8em;
    height: 8em;
    margin: 0;
    padding: 0;
}