* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    color: #000000;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.2em;
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: #000000;
}

@media screen and (min-width: 48em) {
    #wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 60em;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 48em) {
    #head {
        width: 100%;
    }
}

@media screen and (min-width: 56em) {
    #head-container-name h1::after {
        content: "AG Rechnersicherheit e.V.";
    }
    #head-container-name:lang(de) h2::after {
        content: "an der Technischen Universität Berlin";
    }
    #head-container-name:lang(en) h2::after {
        content: "at the Technische Universität Berlin";
    }
}

@media screen and (max-width: 56em) {
    #head-container-name h1::after {
        content: "AGRS e.V.";
    }
    #head-container-name:lang(de) h2::after {
        content: "an der TU Berlin";
    }
    #head-container-name:lang(en) h2::after {
        content: "at the TU Berlin";
    }
}

@media screen and (min-width: 80em) {
    #wrapper {
        margin-top: 8em;
    }
    #navigation {
        margin-top: 5em;
        position: relative;
    }
}

@media screen and (max-width: 80em) {
    #head {
        padding: 1em 1em 1em 0em;
        margin-top: 2em;
    }
    #head-container-img {
        margin-left: auto;
    }
    #head-container-name {
        margin-right: auto;
        text-align: center;
        padding-left: unset;
    }
    #head-container-name h1, #head-container-name h2 {
        line-height: 1;
        margin-bottom: 0;
    }
    #head-container-name h1 {
        font-size: 2em;
    }
    #head-container-name h2 {
        font-size: 1.5em;
    }
    #navigation {
        display: none;
    }
}

@media screen and (min-width: 80em) {
    #head-container-name h1 {
        font-size: 2.2em;
    }
    #head-container-name h2 {
        font-size: 1.3em;
    }
}

@media screen and (min-width: 90em) {
    #head-container-name h1 {
        font-size: 2.5em;
    }
    #head-container-name h2 {
        font-size: 1.5em;
    }
}

#wrapper {
    padding: 0.5em;
}

#navigation ul {
    border-left: 0.1em solid #C51F2E;
}
#navigation ul li {
    list-style-type: none;
    padding-right: 0.5em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    pointer-events: none;
}
#navigation ul li a {
    pointer-events: auto;
    color: #000000;
}
#navigation ul li:hover {
    color: #C51F2E;
    border-left: 0.3em solid #C51F2E;
}

.pure-menu-heading, .pure-menu-link {
    white-space: normal;
    font-size: 1.2em;
    line-height: 1.5;
}

.pure-menu-active > .pure-menu-link, .pure-menu-link:focus, .pure-menu-link:hover {
    background-color: unset !important;
}


#content h2 {
    padding-bottom: 1vh;
    border-bottom: 0.1em solid #C51F2E;
}


#head-container-name {
/*    padding-left: 2.5em;*/
}

#head-container-name h1 {
    margin: 0;
    line-height: 1;
}
#head-container-name h2 {
    margin: 0;
    color: #C51F2E;
    border-bottom: none;
}
#head-container-img {
    /*position: relative;*/
}
#head-container-img img {
    /*filter: grayscale(100%);*/
    width: 8em;
    /*max-width: 10em;*/
    /*height: auto;*/
    /*border-radius: 50%;*/
    margin: 0 auto;
}

#aboutus p {
    /*text-align: justify;*/
}
#aboutus a {
    text-decoration: underline;
}

#aboutus em {
    border-bottom: 0.1em solid #C51F2E;
}

#aboutus {
    margin-top: 1em;
}

#ctfs, #news, #contact, #member, #history, #impressum, #privacy {
    margin-bottom: 4em;
}

#aboutus a, #ctfs a, #news a, #contact a, #member a, #history a, #impressum a, #privacy a {
    color: #C51F2E;
    font-weight: bold;
    text-decoration: underline;
}

#ctfs ul {
    padding-left: unset;
    margin-left: unset;
}

.ctf-container, .news-container, .contact-container, .member-container, .history-container, .impressum-container, .privacy-container {
    margin-bottom: 2em;
}
.ctf-container p, .news-container p, .contact-container p, .member-container p, .history-container p, .privacy-container p{
    margin-top: 0;
    margin-bottom: 0.5em;
    /*text-align: justify;*/
}
.news-container .news-title, .ctf-container .ctf-title, .contact-container .contact-title, .member-container .member-title, .history-container .history-title {
    font-weight: bold;
}
.ctf-container .ctf-conference, .contact-container .contact-shortdesc, .member-container .member-type, .history-container .history-type {
    font-style: italic;
}

#footer {
    border-top: 1px solid #000000;
    padding-top: 1em;
}
#footer a{
    text-decoration: underline;
    font-weight: bold;
}
#footer a:hover {
    color: #C51F2E;
}

.left {
    float:left;
}
.right {
    float:right;
}
.clear {
    clear:both;
}
.blue {
    color: #C51F2E;
}
.text-right {
    text-align: right;
}
.vertical-center {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
