:root {
    --bg-body-light: unset;
    --bg-body-dark: unset;
    --bg-ulr-medium: url('/img/galaxy-light.png');
    --bg-url-dark: url('/img/space_dark.webp');
    --bw: unset;
    --bh: unset;
    --frame-width: unset;
    --frame-height: unset;
    --left-frame: unset;
    --top-frame: unset;
    --popupw: unset;
    --popuph: fit-content;
    --popupt: unset;
    --popupl: unset;
}

p {
    color: rgb(202, 192, 148);
    text-indent: 1em;
    padding: 5px;
}

body {
    background-image: var(--bg-url-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    background-color: #001a2b69;
    color: grey;
}

footer {
    position: fixed;
    top: calc(100% - 70px);
    width: 100%;
    background: linear-gradient(15deg, rgba(128, 128, 128, 0.123), rgb(0, 0, 46));
    height: 75px;
}

h1,
h2,
h3 {

    text-align: center;
}

.content-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0;

}

.content-frame {
    max-width: 800px;
    padding-bottom: 25px;
    padding-top: 15px;
}

.content-holder video {
    opacity: 0.7;
    box-shadow: 3px 3px 4px 2px rgba(255, 0, 0, 0.788);
    min-width: 100%;
}

.nav-menu-btn {
    width: 100px;
    height: 35px;
    text-align: center;
    background: linear-gradient(32deg, rgba(104, 60, 60, 0.521), rgba(0, 46, 77, 0.87));
    color: rgb(142, 158, 138);
    border-radius: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    border: none;
    box-shadow: 3px 2px 4px 2px rgba(172, 255, 47, 0.856);
    font-size: 1em;
    transition: transform .3s ease-in-out;
}

.nav-menu-btn:hover {
    transform: scale(1.2);
    box-shadow: 3px 2px 4px 2px rgba(156, 163, 146, 0.856);
}

.invisible {
    display: none;
}

.set-grid-auto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    justify-items: center;
    margin-top: 15px;
    width: 90%;
    margin-left: 3%;
    gap: 10px;
    border: none;
}

.language-switch {
    color: goldenrod;
    position: fixed;
    top: 10px;
    right: 15px;
    width: fit-content;

}

.table-container-repr {
    display: block;
    width: 100%;
    overflow-x: auto;
    /* only scroll if truly needed */
    text-align: center;
    /* centers small tables visually */
    box-sizing: border-box;
    margin: 1rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 15px;
}

.table-container-repr table {
    width: auto;
    /* let table size itself naturally */
    max-width: 100%;
    /* never exceed container */
    border-collapse: collapse;
    table-layout: auto;
    /* natural column sizing */
    font-size: clamp(0.8em, 1vw + 0.4em, 1em);
    margin: 0 auto;
}


.language-switch select {
    background: rgb(53, 52, 52);
    color: azure;
    cursor: pointer;
    border-radius: 6px;
    border: 1px rgb(0, 36, 0) solid;
}

.language-switch select option {
    background: rgb(53, 52, 52);
    cursor: pointer;
    color: goldenrod;
}

.container-msgs-hub-arts {
    background-color: black;
    border: red 1px solid;
    border-radius: 8px;
    padding: 12px;

}
figcaption{
    color: rgb(135, 205, 222);
    margin-top: 12px;
}
.set-msgs-hub-flex {
    background-color: black;
    display: flex;
    justify-content: center;
    /* centers horizontally */
    align-items: center;
    position: absolute;
}

.fieldset {
    max-width: 100%;
    margin: 7px;
    border: wheat 1px solid;
    padding: 10px;
    margin-top: 25px;
}

.fieldset .legend {
    max-width: 250px;
    padding: 0;
    margin: 0;
    background-color: black;
    border-radius: 8px;
    color: burlywood;
    box-shadow: 3px 2px 3px 2px rgba(119, 0, 0, 0.884);
}

.underscored {
    border-bottom: 2px solid rgb(136, 129, 117);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.section-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
.section-logo img{
    border-radius: 30px;
    max-width: 100%;
    height: auto;
    min-width: 30%;


}

.collapsable {
    box-shadow: 2px 2px 3px 1px rgba(85, 88, 90, 0.829);
    border-radius: 7px;
    background-color: rgba(0, 0, 0, 0.753);
    padding-top: 10px;
    padding-bottom: 10px;
}

.expandable-contaner {
    border-top: 1px dashed rgba(21, 182, 21, 0.726);
    padding-top: 10px;

}

.spin2 {
    width: 100px;
    height: 100px;
    background-color: #333;
    /* dark gray */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.spin1 {

    width: 50%;
    height: 50px;
    border: 3px solid red;
    border-top-color: green;
    /* alternate color on top edge */
    border-radius: 50%;
    animation: spin1 0.6s linear infinite;

}

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

    to {
        transform: rotate(360deg);
    }
}

@media (min-width:350px) and (max-width:800px) {
    .content-frame {
        max-width: 100%;
        padding-bottom: 25px;
        padding-top: 15px;
    }

    .content-holder video,
    .content-holder img {
        opacity: 0.7;
        box-shadow: 3px 3px 4px 2px rgba(255, 0, 0, 0.788);
        max-width: 100%;
    }
    .section-logo img{
        min-width: 50%;
        max-width: 100%;
    }
}