@import url("css/family=Fira+Sans_display=swap/index.html"));

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.top-spacing {
    margin-top: 40px !important;
}

body {
    font-family: Fira Sans;
    padding-bottom: 10px;
    /* padding: 50px; */
    box-sizing: border-box;
}

table {
    width: 100%;
}

.content-wrapper > img {
    width: 900px;
    margin: 0 auto;
    display: block;
}

.content {
    padding: 30px;
}

.grid {
    display: grid;
}
.grid.gap {
    grid-gap: 10px;
}

#body-splash {
    grid-template-rows: 100px 1fr 150px;
    height: 100%;
    width: 100%;
}

#body-content {
    grid-template-rows: 100px max-content 150px;
}

a {
    color: #00668d;
    transition: all .3s ease-in-out;
    text-decoration: none;
}
a:hover {
    color: #00a0e4;
    transition: all .3s ease-in-out;
}

.menu {
    overflow: hidden;
    background: aliceblue;
    display: grid;
    grid-gap: 10px;
    background: #2b2b2a;
    grid-auto-flow: column;
    padding: 0 20px;
    box-sizing: border-box;
    color: white;
    /* text-align: center; */
}

.menu a {
    height: 100%;
    display: flex;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    /* background: #00a0e4; */
    color: white;
    text-decoration: none;
}
.menu a:hover {
    color: #00a0e4;
    transition: all .2s ease-in-out;
}

#splash-logo {
    background: #ffee00 url("background.png") no-repeat;
    background-size: contain;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
#splash-logo #caption {
    padding: 10px;
    font-size: 11px;
    color: #00668d;
    text-align: right;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

#splash-subtext {
    padding: 20px 100px;
    display: grid;
    grid-auto-flow: column;
}
#splash-subtext button {
    align-self:center;
    width: 200px;
}
#splash-subtext img {
    display: block;
    width: 250px;
    margin-right:50px;
}
#splash-subtext h2, #splash-subtext .h2 {
    font-size: 35px;
}

#splash-subtext-container {
    justify-self: end;
}

.button {
    background: #00668d;
    font-weight: bold;
    border: 1px solid lightblue;
    color: white;
    border-radius: 6px;
    padding: 10px;
    transition: all .2s ease-in-out;
}
.button:not(.nohover):hover {
    background: #00a0e4;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

h1, .h1 {
    color: #00668d;
    margin: 2px;
    font-size: 40px;
}

h2, .h2 {
    color: #00668d;
    margin: 2px;
    font-size: 23px;
}

.inline {
    display: inline-block;
}

ol.top {
    list-style-type: none;
}
ol.top > li {
    counter-increment: step-counter;
    margin-top: 20px;
}
ol.top > li::before {
    float: left;
    height: 35px;
    display: block;
    content: counter(step-counter, upper-roman);
    font-weight: bold;
    width: 30px;
    color: #00668d; 
}

em, .em {
    color: #00668d;
    font-weight: bold;
}

.box {
    box-sizing: border-box;
    margin: 20px auto;
    color: white;
    background: #00668d;
    width: 400px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
}

h3, .h3 {
    color: #00a0e4;
    margin: 2px;
}

.pull-right {
    text-align: right;
}

#universitaeten {
    grid-auto-flow: column; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr;
}

.content, table {
    word-break: break-word;
}

#menu {
    display: none;
}

a.button:hover {
    color: lightgray;
}

@media screen and (max-width: 1024px) {
    #news {
        max-width: 200px;
    }

    .hide {
        height: 0;
    }

    #menu {
        display: block;
    }

    h1, .h1 {
        font-size: 26px;
    }
    h2, .h2 {
        font-size: 20px !important;
    }
    h3, .h3 {
        font-size: 16px;
    }

    #splash-logo {
        background: #ffee00 url("background-mobile.png") no-repeat;
        background-size: contain;
        background-position: top center;
    }

    #splash-subtext {
        grid-auto-flow: row;
        padding: 10px;
        grid-gap: 20px;
    }
    #splash-subtext button, #splash-subtext img {
        justify-self: center;
    }
    #splash-subtext img {
        margin-right: 0;
    }


    .menu {
        grid-auto-flow: row;
        text-align: center;
        line-height: 100px;
    }

    .menu > * {
        line-height: initial;            
    }

    #body-splash {
        grid-template-rows: max-content max-content 390px max-content;
        height: auto;
    }

    #body-content {
        grid-template-rows: max-content max-content max-content max-content;
        height: auto;
    }

    .menu a {
        height: 100px;
        font-size: 25px;
    }

    .grid {
        grid-auto-flow: row !important;
        grid-template-columns: 1fr !important;
    }

    .content-wrapper > img {
        width: 100% !important;
    }

    .content {
        width: 100% !important;
        box-sizing: border-box;
    }

    .box {
        width: 100%;
    }

    h1, .h1, h2, .h2, h3, .h3 {
        margin: 2px 0;
    }
}