@import url("fonts/poppins/poppins.css");
@import url("counter.css");

:root {
    --dark-purple: #35005b;
    --purple: #440075;
    --light-purple: #7D2FB5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #443A52;
    min-height: 100vh;
    position: relative;
    padding-bottom: 5.5rem;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.navbar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding-right: 35px;
    padding-left: 40px;
    background-color: var(--dark-purple);
    color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2;
}

.nav-links {
    display: flex;
    align-items: stretch;
}

.nav-links a {
    color: #fff;
    font-size: 1.1rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    text-align: center;
}

.logo {
    display: table-cell;
    height: 55px;
}

/* NAVBAR MENU */
.menu {
    display: flex;
    font-size: 16px;
}

.menu li:hover {
    background-color: var(--purple);
    transition: 0.3s ease;
}

.menu li {
    display: flex;
    align-items: stretch;
}

input[type=checkbox] {
    display: none;
}

.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}

@media (max-width: 49rem) {
    .navbar {
        padding-left: 0;
    }

    .menu {
        display: none;
        position: absolute;
        background-color: var(--dark-purple);
        right: 0;
        left: 0;
        text-align: center;
        margin-top: 55px;
    }

    .menu li {
        display: inline-block;
        width: 100%;
    }

    .menu a {
        display: block;
        padding: 1rem 0;
    }

    .menu li:hover {
        background-color: var(--purple);
        transition: 0.3s ease;
    }

    input[type=checkbox]:checked ~ .menu {
        display: block;
    }

    .hamburger {
        display: flex;
        align-items: center;
    }
}

.header-img {
    max-width: 100%;
    height: auto;
}

hr {
    display: block;
    border: none;
    height: 1px;
    line-height: 1px;
    color: #D0D0D0;
    background-color: #D0D0D0;
    width: 80%;
    margin: 4rem auto;
}

h1 {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: .5em;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-top: .7rem;
    margin-bottom: .5rem;
    line-height: 1.2;
}

.flex-box {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.box {
    width: 100%;
    height: 43rem;
    align-items: stretch;
}

.box div {
    height: 100%;
    word-break: break-word;
    hyphens: auto;
}

.crop {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

form * {
    font-size: inherit;
}

form label {
    display: none;
    font-size: 1rem;
    position: absolute;
    top: 0;
    margin: .7rem 1rem;
}

form .required {
    border-color: var(--light-purple);
    background-color: rgba(53, 0, 91, 0.1);
    padding: 1rem;
    margin: .5rem 0;
}

form .required:not(:placeholder-shown) {
    padding: 1.6rem 1rem .4rem 1rem;
}

form .required:not(:placeholder-shown):not(:focus) {
    border-color: rgb(200, 0, 0);
    background-color: rgba(200, 0, 0, 0.1);
}

form .required:not(:placeholder-shown) + label {
    display: block;
}

form .required:valid:not(:focus) {
    border-color: rgb(0, 160, 0);
    background-color: rgba(0, 160, 0, 0.1);
}

.button {
    border: 1px solid rgba(53, 0, 91, 0.5);
    border-radius: 0;
    background-color: var(--purple);
    color: #FFF;
    padding: .7rem;
    margin: .5rem 0;
}

.button:hover {
    background-color: var(--light-purple);
}

footer {
    background-color: var(--dark-purple);
    color: #FFF;
    font-size: 1rem;
    padding-bottom: .5rem;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

footer a {
    color: inherit;
    text-decoration: none;
    padding: 0 .5rem;
}

footer img {
    max-height: 100%;
    max-width: 100%;
}

#impressum_tud {
    color: var(--light-purple);
    font-weight: bold;
}

#impressum_tud:hover {
    color: var(--dark-purple);
}

.notification {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

@media (max-width: 54rem) {
    .flex-box {
        flex-direction: column;
    }

    .reverse-order-mobile {
        flex-direction: column-reverse;
    }

    .notification {
        position: relative;
        margin-top: -50%;
    }

    .notification a{
        margin: 0 20%;
    }

    .center-mobile {
        width: 100% !important;
    }

    .hide-mobile {
        display: none;
    }

    .box {
        height: 86rem;
    }

    .box > .crop {
        height: 43rem;
    }
}

@font-face {
    font-family: 'FontAwesome';
    src: url('fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.fa-comments:before {
    content: "\f086"
}


.fa-unlock-alt:before {
    content: "\f13e"
}

.fa-mortar-board:before, .fa-graduation-cap:before {
    content: "\f19d"
}

.fa-check-square-o:before {
    content: "\f046"
}

.fa-arrows-h:before {
    content: "\f07e"
}

.fa-comment-o:before {
    content: "\f0e5"
}

.fa-unlock-alt:before {
    content: "\f13e"
}
