
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}


body {
    text-align: center;
    font-style: normal;
}


@media (prefers-color-scheme: dark) {
    body {
        background-color: rgb(34, 34, 34);
        color: white;
    }
}


.textdiv {
    width: 75%;
    margin: 3em auto;
    max-width: 50em;
    word-wrap: break-word;
}


hr {
    width: 75%;
    height: 1px;
    border: none;
    background-color: gray;
    max-width: 50em;
    margin: 0 auto;
}


.imagecontainer {
    width: 75%;
    margin: 3em auto;
    max-width: 50em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    justify-items: center;
    align-items: center;
}


.shade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 46, 46, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 46, 46, 0.3);
    margin: 0;
    padding: 0;
}


img {
    width: 100%;
    object-fit: cover;
    transition: max-width 0.3s ease, max-height 0.3s ease;
    max-width: 100%;
    max-height: 100%;
}


.enlarged {
    z-index: 100;
    position: fixed;
    max-width: 90dvw;
    max-height: 90dvh;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: max-width 0.3s ease, max-height 0.3s ease;
}

label{
    max-width: 40%;
}

label.enlarged {
    position: fixed;
    font-size: 1.2em;
    color: white;
    top: 97dvh;
    text-decoration: underline;
    text-shadow: 3px 3px 10px black;
}
