body {
    background-color: rgb(48, 51, 52);
    color: cadetblue;
    max-height: fit-content;
    max-width: 100vw;
}

h1 {
    text-align: center;
    background: linear-gradient(90deg, #394255 30%, #1E293B 70%);
}

main {
    margin: 0;
    padding: 0;
    /* margin-bottom: 200px; */

    max-height: fit-content;
}



.welcome-main {
    padding: 15px;
    color: antiquewhite;
    background: linear-gradient(90deg, #394255 30%, #1E293B 70%);
    border-radius: 12px;
    font-size: 1em;
    text-align: center;

}

footer {
    position: sticky;
    bottom: -200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 10px;

    background-color: rgba(0, 0, 0, 0.721);
}

.langs-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
}

.login-popup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    padding: 15px;
    background: linear-gradient(90deg, #0F172A 50%, #1E293B 50%);
}

.disclamer {

    border-radius: 7px;
    max-width: 270px;
    color: antiquewhite;
    font-size: small;
    text-align: center;
    padding-bottom: 5px;
}

.disclamer a {
    color: rgb(206, 198, 187);
    text-decoration: none;
    font-style: italic;
}

.disclamer-footer {

    max-width: 230px;
    font-size: small;
    text-align: center;
    padding-bottom: 5px;

}

.disclamer-footer a {
    text-decoration: none;
    color: cadetblue;
}

.invisible {
    display: none;
}

.logo-section-large {
    background: url("/img/imglib/connect_logo.png") no-repeat center;
    background-size: contain;

    width: 300px;
    height: 300px;
    margin: 15px;
    border-radius: 7px;
}

.sign-in-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    justify-content: center;
    row-gap: 10px;
    color: black;
}



.sign-in-container div span {
    margin: 5px;

}

.sign-in-container img {
    border-radius: 50%;
    border: 3px outset rgb(19, 69, 0);
}

.login-button {
    display: flex;
    align-items: center;
    justify-items: center;
    padding-bottom: 10px;
    padding-top: 10px;
    background-color: rgb(178, 182, 192);
    border-radius: 7px;
}

#presentation-init {
    display: flex;
    justify-content: center;
    /* Centers the image horizontally */
    align-items: center;
    /* Centers the image vertically */
    width: 100%;
    /* Ensures the div takes up the full screen width */
    background-color: #3d3d3d;
    /* Optional: adjust to match your splash screen background */

}

/* The image */
#presentation-init img {
    max-width: 100%;
    /* Ensures the image never overflows the screen width */
    height: auto;
    /* Maintains the correct aspect ratio */
}

.feature-element {
    display: grid;
    grid-template-columns: 350px 1fr;
    background: linear-gradient(90deg, #394255 30%, #1E293B 70%);
    margin-bottom: 15px;
    margin-top: 10px;
    justify-items: center;
    align-items: center;
}

.feature-element img {
    width: 300px;
    object-fit: cover;
    margin: 15px;
    border-radius: 12px;

}

.feature-element .feature-content {
    width: 90%;
    padding: 20px;
    border-radius: 12px;

}

.feature-element .feature-content p {
    text-indent: 1em;
    text-align: left;
    padding: 7px;

}

.shiny-option {
    position: relative;
    overflow: hidden;
    /* Keeps the shine contained within the element */

    /* Example styles - replace with your own */
    background-color: #18446117;
    color: antiquewhite;
    padding: 15px 30px;
    border-radius: 8px;
}

.shiny-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    /* Start outside the left edge */
    width: 50%;
    height: 100%;

    /* The shiny gradient */
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    /* Angles the shine */

    /* 3-second total cycle */
    animation: shine-cycle 10s ease-in infinite;
}

@media (min-width: 300px) and (max-width: 700px) {
    h1 {
        background: linear-gradient(90deg, #394255 30%, #1E293B 70%);
        font-size: x-large;
        padding: 12px;
        color: antiquewhite;
    }

    .feature-element {
        display: flex;
        flex-direction: column;
        background: linear-gradient(90deg, #394255 30%, #1E293B 70%);
        margin-bottom: 15px;
        margin-top: 10px;
        justify-items: center;
        align-items: center;
    }

    .welcome-main {
        font-size: medium;
        text-align: left;
        text-indent: 1em;
        margin-top: 10px;
        background: linear-gradient(90deg, #394255 30%, #1E293B 70%);
    }

    .feature-element h2 {
        text-align: center;
        color: beige;
    }

    .feature-element .feature-content {
        width: 90%;
        padding: 10px;
        border-radius: 7px;
        font-size: small;

    }

    .login-popup {

        display: block;
        padding: 15px;
        background: linear-gradient(90deg, #0F172A 50%, #1E293B 50%);
    }

    .logo-section-large {
        background: url("/img/imglib/connect_logo.png") no-repeat center;
        background-size: contain;
        width: 100px;
        height: 100px;
        margin: 15px;
        border-radius: 7px;
    }

    .sign-in-container {
        padding: 20px;
        background-color: rgba(44, 44, 44, 0.803);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
        justify-content: center;
        row-gap: 10px;
        color: black;
    }

    #presentation-init {
        position: fixed;
        /* Locks it to the screen, ignoring scrolling */
        top: 0;
        left: 0;
        width: 100vw;
        /* Forces full viewport width */
        height: 100vh;
        /* CSS fallback for the height */
        z-index: 9999;
        /* Forces it to the very front layer */
        background-color: #474747;
        /* Solid background so nothing bleeds through */

        /* Flexbox centering (from previous step) */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    footer {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }
}

@keyframes shine-cycle {
    0% {
        left: -900%;
    }

    100% {
        left: 200%;
    }
}