/* Emergency Page — Uni Bamberg Layout */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; }

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #000;
    background: #fff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: #00457d; text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    margin-top: 0;
}

/* Page Wrapper */
.page__wrapper {
    max-width: 93.225rem;
    margin: 0 auto;
    padding: 0 1.1rem;
    width: 100%;
    flex: 1;
}

/* Header */
.page-head {
    padding-top: 1.1rem;
}

.page-head__item {
    background: linear-gradient(to bottom, #00457d 10%, #336a97 85%);
    border-top-right-radius: 67px;
    border-top-left-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-head__logo a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

.page-head__logo__img {
    display: block;
    width: 299px;
    height: 99px;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-head__useractions {
    display: flex;
    align-items: center;
}

/* Language Switcher */
.nav-language__list {
    display: flex;
}

.nav-language__list li {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    padding: 0 8px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.nav-language__list li:last-child {
    border-right: none;
}

.nav-language__list li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.nav-language__list li a:hover {
    color: #fff;
}

.nav-language__list li.c-nav-lang__link--active,
.nav-language__list li.c-nav-lang__link--active a {
    color: #fff;
    font-weight: 700;
}

/* Main Navigation */
.nav-main {
    background: linear-gradient(to bottom, #1a588a, #174f7d);
}

.nav-main__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-main__item {
    text-transform: uppercase;
}

.nav-main__item:first-child .nav-main__link {
    padding-left: 25px;
}

.nav-main__delimiter {
    border-left: 1px solid rgb(75,124,163);
    border-right: 1px solid rgb(0,49,88);
    height: 30px;
}

.nav-main__link {
    display: block;
    color: #fff;
    padding: 14px 18px;
    line-height: 1.1;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-main__link:hover,
.nav-main__link:focus {
    box-shadow: inset 0 15px 30px rgba(0,0,0,0.1);
    background-color: #336a97;
    text-decoration: none;
    color: #e6ecf2;
}

/* Content */
.page-content {
    padding: 2rem 0 3rem;
}

.page-content__footer {
    border-top: 1px solid #ccdae5;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #333;
    text-align: right;
}

/* Alert Box */
.alert-box {
    border: 2px solid #c0392b;
    border-left: 6px solid #c0392b;
    background: #fdf2f0;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.alert-box__heading {
    color: #c0392b;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert-box__text {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.page-footer {
    background-color: #e6ecf2;
    color: #00457d;
    border-top: 1px solid #ccdae5;
}

.page-footer__admin {
    display: inline-block;
    margin-top: 3rem;
    font-size: 0.7rem;
    color: #c8d1da;
    text-decoration: none;
}

.page-footer__admin:hover,
.page-footer__admin:focus {
    color: #00457d;
    text-decoration: underline;
}

.page-footer__container {
    max-width: 93.225rem;
    margin: 0 auto;
    padding: 3.3rem 1.1rem;
}

.page-footer__items {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.page-footer__item {
    flex: 1;
    color: #00457d;
}

.page-footer__item .page-footer__item__headline {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #00457d;
}

.page-footer__item a {
    color: #1a588a;
}

.page-footer__item a:hover,
.page-footer__item a:focus {
    color: #123d5f;
}

.page-footer__item p {
    margin-bottom: 0.5rem;
    color: #00457d;
    line-height: 1.7;
}

.page-footer__item ul li {
    margin-bottom: 0.3rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
    .page-head__item {
        flex-direction: column;
        align-items: flex-start;
        border-top-right-radius: 30px;
        padding: 15px;
    }

    .page-head__logo__img {
        width: 220px;
        height: 73px;
    }

    .page-head__useractions {
        margin-top: 10px;
    }

    .nav-main {
        background: #003764;
    }

    .nav-main__delimiter {
        display: none;
    }

    .nav-main__list {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-main__link {
        padding: 10px 15px;
        line-height: 1.6;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-main__item:first-child .nav-main__link {
        padding-left: 15px;
    }

    .page-footer__items {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .page-head__logo__img {
        width: 180px;
        height: 60px;
    }

    .alert-box {
        padding: 1rem;
    }
}
