/* Customized CSS */

body {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

p {
    letter-spacing: 0;
    margin: 0 0.5rem 0.5rem;
    line-height: 24px;
    font-size: 1rem;
}

a {
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.8px;
    color: white;
}

a:hover {
    text-decoration: underline;
    color: #fff;
}

button:hover{
    filter: brightness(0.9);
}

.login-pf-page {
    padding-top: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-pf .container {
    bottom: 0;
    color: #515151;
}

#kc-header {
    background-color: #021816;
    max-height: 100px;
    min-height: 90px;
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    box-sizing: border-box;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    z-index: 3;
    position: relative;
    color: #515151;
}

.login-pf-page .card-pf p {
    color: white !important;
}

.kc-header-wrapper {
    min-height: 100px;
    padding: 0 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-self: stretch;
    align-items: center;
}

.kc-header-wrapper div {
    display: flex;
    align-items: center;
}

#kc-header-wrapper .light-text {
    padding: 12px 0 12px 12px;
    letter-spacing: 0;
    color: #fff;
    align-self: center;
}

ul li {
    color: white;
!important;
}

.logo.--small {
    max-width: 200px;
}

.logo {
    max-height: 100%;
}

.minnit-link {
    display: contents;
}

/********************
 Button styling
 ********************/

.login-pf-page button,
.login-pf-page input[type="submit"],
.login-pf-page input[type="button"],
.login-pf-page .pf-c-button,
.login-pf-page .pf-c-button.pf-m-block,
.login-pf-page .pf-c-button.pf-m-control,
.kc-social-links .pf-c-button.pf-m-block,
.kc-social-links .pf-c-button.pf-m-control {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0.5rem;
    height: 3rem;
    font-size: 1.25rem;
    cursor: pointer;
    border: 0 solid transparent;
    text-transform: none;
    box-shadow: none;
    font-weight: normal;
    padding-inline: 1rem;
}
button.pf-l-stack__item {
    height: auto;
    color: black;
    background-color: #e600cc;
}
button.pf-l-stack__item:hover {

}

.select-auth-container .pf-l-stack__item{

}
.select-auth-container .pf-l-stack{
    padding: .75rem;
    line-height: initial;
    margin: auto;
}
.select-auth-container .select-auth-box-icon{
    visibility: hidden;
    width: 0;
}
.select-auth-container .select-auth-box-desc{
    font-size: 1rem;
    line-height: initial;
    text-align: start;
    font-style: italic;
    color: white;
    margin-bottom: 1rem;
    padding: .25rem;
}
.select-auth-container .select-auth-box-headline{
    text-align: left;
}
.select-auth-container .select-auth-box-arrow{
    padding-right: 1rem;
}
.login-pf-page .pf-c-button.pf-m-control {
    --pf-c-button--BorderColor: transparent;
    --pf-c-button--BorderWidth: 0;
    --pf-c-button--after--BorderColor: transparent;
}
.login-pf-page .pf-c-button.pf-m-primary,
.login-pf-page input[type="submit"] {
    background-color: #e600cc !important;
    color: #000 !important;
}
#kc-select-credential-form .pf-c-button,
.login-pf-page .pf-c-button.pf-m-secondary {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}
.login-pf-page .pf-c-button:hover,
.login-pf-page input[type="submit"]:hover {
    filter: brightness(0.9);
}
.login-pf-page .pf-c-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 0, 204, 0.4);
}

/***************************
 Bw schule custom IDP button
 ***************************/
#social-oidc-bw-schule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffed36;
    margin: 0.5rem;
}
#social-oidc-bw-schule::before {
    content: "";
    width: 64px;
    height: 64px;
    background-image: url("../img/schule.bw_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

#lottie-container {
    position: absolute;
    z-index: 0;
    bottom: 0 !important;
    right: 0 !important;
    height: 100%;
    width: 18rem;
}

.lottie-octopus {
    transform: translate3d(0px, 0px, 0px);
    position: absolute;
    z-index: 1;
    bottom: -4.5rem;
    left: 15rem;
    width: 230px;
}

.lottie-bubbles {
    svg {
        position: absolute;
        z-index: 0;
        right: 0;
        height: 100%;
        width: 18rem;
    }
}

#treasure-chest {
    bottom: -5.75rem;
    width: 18rem;
    height: 18rem;
    position: absolute;
    overflow: hidden;

    svg {
        width: 100%;
        height: 100%;
        display: block;
        transform: scale(2);
        right: -3rem;
        z-index: 1;
    }
}

#kc-content {
    width: 100%;
    display: flex;
}

.container.main {
    display: flex;
    height: calc(100% - 75px);
    min-height: 100%;
    flex: 1;
    margin: 0;
    padding: 0;
    position: relative;
    bottom: 0;
}

.form-group {

}

#kc-form-wrapper {
    display: flex;
    justify-content: center;
}

#kc-form-wrapper div:last-child {
    margin-top: 2em;
}

.btn-default {
    border-radius: 0.5rem !important;
    font-size: 1.25rem;
    background: transparent !important;
    border: solid 2px #fff !important;
    color: white !important;
    margin-left: calc(100% - 340px) !important;
}

.container .info-text {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #fff;
}

.container .card-pf {
    background-image: url(../img/landingpage_bg.455896a0665a0f1b.jpg);
    background-position: center;
    background-position-y: 65%;
    background-size: cover;
    color: white;
    flex: 5;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container .card-pf .flexContainer {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.container .card-pf .flexContainer header {
    width: 100%;
}

.container .card-pf .flexContainer header h1 {
    font-size: 34px;
    line-height: 40px;
    text-align: center !important;
}

/*footer {*/

/*    display: flex;*/
/*    font: 500 20px/32px "Inter", sans-serif;*/
/*    position: relative;*/
/*    background-color: #000013;*/
/*    height: auto;*/
/*    padding: 0.5rem 0;*/
/*    min-height: 75px;*/
/*    align-items: center;*/
/*    flex-wrap: wrap;*/
/*}*/

/*footer .logos {*/
/*    margin-right: auto;*/
/*}*/

/*footer .logos .logo {*/
/*    margin-top: 0;*/
/*    margin-bottom: 0;*/
/*    width: 150px;*/
/*    padding-left: 10px;*/
/*}*/

/*footer .logos .logo + .logo {*/
/*    margin-left: 1rem;*/
/*    padding: 0.5rem;*/
/*}*/

/*footer > :not(.links) {*/
/*    display: flex;*/
/*    flex: 1;*/
/*    align-items: center;*/
/*}*/

/*footer .links {*/
/*    font-size: 12px;*/
/*    font-family: "Inter", sans-serif !important;*/
/*    padding: 1rem;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/

/*footer .links .link, footer .links .seperator {*/
/*    color: #fff;*/
/*    text-decoration: none;*/
/*}*/



.minnit-footer {
    background-color: #021816;
    color: white !important;
    min-height: 130px;
    flex-wrap: wrap;
    display: flex;
    padding: 0 16px !important;

    .footer_logo, .right-helper {
        flex: 1;
        display: flex;
        align-items: center;

        img {
            padding-left: 10px;
            width: 150px;
        }
    }

    .footer-content {
        font-size: 14px;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: 0.8px;
        align-items: center;
        gap: 20px;
p {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 26px;
}
    }

    .flex
    {
        display: flex;
        flex-direction: column;
    }

    .footer-nav-links {
        display: flex;
        gap: 20px;
        margin-right:15px;
        margin-bottom: 30px;
        margin-top: 1rem;
        padding: 0 10px;
    }

    a {
        text-decoration: none;
        color: white;
    }
}

/* Responsive Design Fixes */
@media (min-width: 768px) and (max-width: 1389px) {
    .minnit-footer {
        flex-wrap: nowrap !important;
    }
}
@media (max-width: 780px) and (max-height: 1200px) {
    .footer_logo img {
        width: 130px;
    }
    .footer-content {
        font-size: 10px;
        margin-left: 12rem;
    }
}

@media only screen and (max-width: 480px) {
    .minnit-footer {
        padding: 1rem;
        flex-direction: column;
        align-items: center;

        .footer_logo {
            display: none;
        }

        .footer-content {
            font-size: 0.6rem;
            margin-left: 0;
        }

        .version {
            display: none;
        }
    }
}

@media only screen and (max-width: 400px) {
    .minnit-footer {
        margin-top: 48vh;
    }
    .footer-content {
        font-size: 0.5rem;
    }
}

@media only screen and (max-width: 320px) {
    .minnit-footer {
        margin-top: 52vh;
    }
    .footer-content {
        font-size: 0.5rem;
    }
}


#kc-terms-text a {
    text-decoration: underline;
    color: #00FFFF !important;
    font-size: 1rem !important;
}

#kc-terms-text a:hover {
    text-decoration: underline;
    color: #FF1493 !important;
}

#kc-terms-text {
    line-height: 1.5;
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.card-3d-blur {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    perspective: 1000px;
}



#kc-terms-text {
    color: #fff;
    font-size: 1rem;
}


.form-actions {
    margin-top: 20px;
}

input[type="submit"] {
    cursor: pointer;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
